1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
Summary: A set of GNU Interactive Tools.
Name: git
Version: 4.3.20
Release: 1
Copyright: GNU
Group: Applications/File
Source: ftp://ftp.gnu.org:/pub/gnu/git/git-%{version}.tar.gz
URL: http://www.cs.unh.edu/~tudor
Packager: Tudor Hulubei <tudor@cs.unh.edu>
BuildRoot: /var/tmp/git-root
Prereq: /sbin/install-info
%description
GIT (GNU Interactive Tools) provides an extensible file system browser,
an ASCII/hexadecimal file viewer, a process viewer/killer and other
related utilities and shell scripts. GIT can be used to increase the
speed and efficiency of copying and moving files and directories, invoking
editors, compressing and uncompressing files, creating and expanding
archives, compiling programs, sending mail and more. GIT uses standard
ANSI color sequences, if they are available.
You should install the git package if you are interested in using its file
management capabilities.
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS='-s' ./configure --prefix=/usr --with-terminfo
make
%install
make prefix=$RPM_BUILD_ROOT/usr/ install-strip
gzip -9nf $RPM_BUILD_ROOT/usr/info/git.info*
%files
%doc COPYING ChangeLog LSM NEWS PLATFORMS PROBLEMS README INSTALL doc/git.html
/usr/bin/*
/usr/bin/.gitaction
/usr/man/man1/*
/usr/info/git*
/usr/share/git/.gitrc*
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info /usr/info/git.info.gz /usr/info/dir
%preun
if [ "$1" = 0 ]; then
/sbin/install-info --delete /usr/info/git.info.gz /usr/info/dir
fi
|