Summary: A set of GNU Interactive Tools. Name: git Version: 4.3.20 Release: 2 Copyright: GNU Group: Applications/File Source: ftp://ftp.cs.unm.edu/mirrors/gnu/git/git-%{version}.tar.gz Buildroot: /var/tmp/git-root Prefix: %{_prefix} 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, and sending mail. 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="-D_GNU_SOURCE $RPM_OPT_FLAGS" LDFLAGS='-s' ./configure --prefix=%{prefix} \ --with-terminfo make %install rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix}/ install-strip gzip -9nf $RPM_BUILD_ROOT%{prefix}/info/git.info* (cd $RPM_BUILD_ROOT for dir in bin share do mkdir -p usr/$dir cd usr/$dir ln -sf ../..%{_prefix}/$dir/* . cd - done mkdir -p usr/lib cd usr/lib ln -s ../..%{prefix}/git . ) %files %doc COPYING ChangeLog LSM NEWS PLATFORMS PROBLEMS README INSTALL %{prefix}/bin/* %{prefix}/info/git* %{prefix}/share/git/.gitrc* %{prefix}/man/man1/* /usr/bin/* /usr/share/git/.gitrc* %docdir %{prefix}/lib/git/html /usr/lib/git %clean rm -rf $RPM_BUILD_ROOT %post /sbin/install-info %{prefix}/info/git.info.gz %{prefix}/info/dir %preun if [ "$1" = 0 ]; then /sbin/install-info --delete %{prefix}/info/git.info.gz %{prefix}/info/dir fi %changelog * Fri Oct 27 2000 pkgmgr - Modify for AIX Freeware distribution * Fri Feb 4 2000 Matt Wilson - only get /usr/info/get* to avoid pulling in dir * Thu Feb 03 2000 Cristian Gafton - version 4.3.19 - man pages are compressed * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 5) * Thu Dec 17 1998 Cristian Gafton - build against glibc 2.1 * Wed May 06 1998 Cristian Gafton - Fixed the dumb requirement for /usr/lib/git/term * Fri Apr 24 1998 Prospector System - translations modified for de, fr, tr * Wed Apr 08 1998 Cristian Gafton - updated to 4.3.17 * Wed Oct 21 1997 Cristian Gafton - added BuildRoot to spec file; added the path-correction patch - added info file handling * Fri Oct 10 1997 Erik Troan - built against readline library w/ proper soname * Thu Jul 10 1997 Erik Troan - built against glibc * Thu Mar 20 1997 Michael Fulbright - Updated to v. 4.3.16