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