32 lines
495 B
RPMSpec
32 lines
495 B
RPMSpec
name: git
|
|
version: 2.9.5
|
|
release: 3
|
|
sources: https://mirrors.edge.kernel.org/pub/software/scm/git/git-%{version}.tar.xz
|
|
|
|
build-dependencies:
|
|
- curl
|
|
- libressl-dev
|
|
- perl
|
|
- autoconf
|
|
- automake
|
|
- gettext
|
|
|
|
dependencies:
|
|
- binutils
|
|
|
|
# -i prevents the use of gettext (msgfmt)
|
|
options:
|
|
- make: -i -j1
|
|
- make install: -i
|
|
|
|
@configure
|
|
cd %{name}-%{version}
|
|
make distclean
|
|
autoconf
|
|
./configure \
|
|
--prefix=%{prefix} \
|
|
--with-curl \
|
|
--without-tcltk \
|
|
--disable-nls \
|
|
--enable-openssl
|