name: git
version: 2.9.5
release: 2
sources: https://mirrors.edge.kernel.org/pub/software/scm/git/git-%{version}.tar.xz
build-dependencies:
- curl
- openssl-dev
- perl
- gmp
- mpfr
- autoconf
- automake
- mpc
dependencies:
- binutils
# -i prevents the use of gettext (msgfmt)
options:
- make: -i
@configure
cd %{name}-%{version}
make distclean
autoconf
./configure --without-tcltk --disable-nls --enable-openssl
@build
make -i 1>/dev/null
@install
make -i install DESTDIR="%{pkg}"