36 lines
549 B
RPMSpec
36 lines
549 B
RPMSpec
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
|
|
cd %{name}-%{version}
|
|
make -i 1>/dev/null
|
|
|
|
@install
|
|
cd %{name}-%{version}
|
|
make -i install DESTDIR="%{pkg}"
|