From b0ea1c7a9ae4e3253d0ffb77166449fe7f4eee93 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Thu, 19 Aug 1999 20:07:26 +0000 Subject: [PATCH] almost raw Changed files: git.spec -> 1.1 --- git.spec | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 git.spec diff --git a/git.spec b/git.spec new file mode 100644 index 0000000..8d0e718 --- /dev/null +++ b/git.spec @@ -0,0 +1,58 @@ +Summary: A set of GNU Interactive Tools. +Name: git +Version: 4.3.17 +Release: 5 +Copyright: GNU +Group: Applications/File +Source: ftp://prep.ai.mit.edu:/pub/gnu/git-4.3.17.tar.gz +Patch0: git-4.3.17-path.patch +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 +%patch0 -p1 -b .path + +%build +CFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS" LDFLAGS='-s' ./configure --prefix=/usr \ + --with-terminfo +make + +%install +rm -rf $RPM_BUILD_ROOT +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 +/usr/bin/* +/usr/bin/.gitaction +/usr/man/man1/* +/usr/info/* +/usr/lib/git/.gitrc* +%docdir /usr/lib/git/html + +%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 -- 2.44.0