info: gzip
Marcin Korzonek
mkorz w shadow.eu.org
Sob, 26 Wrz 1998, 23:06:24 CEST
Hej,
Eol był nieubłagany, wróciłem i podsyłam spec do gzipa:
--
Marcin Korzonek
mkorz w shadow.eu.org
-------------- następna część ---------
Summary: GNU gzip file compression
Summary(de): Dateikomprimierung GNU-gzip
Summary(fr): GNU gzip pour la compression de fichiers.
Summary(pl): Program kompresujący GNU gzip
Summary(tr): GNU gzip dosya sýkýţtýrma aracý
Name: gzip
Version: 1.2.4
Release: 13
Copyright: GPL
Group: Utilities/Archiving
Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
Source1: zless
Patch: %{name}-basename.patch
Patch1: %{name}-gzexe.patch
Patch2: %{name}-mktemp.patch
Patch3: %{name}-paths.patch
Prereq: /sbin/install-info
Requires: mktemp
Buildroot: /var/tmp/%{name}-%{version}-root
%description
This is the popular GNU file compression and decompression
program, gzip.
%description -l de
Dies ist das beliebte GNU-Dateikompressions- und Dekompressionsprogramm,
gzip.
%description -l fr
Programme de compression et de décompression gzip de GNU
%description -l pl
gzip jest popularnym programem kompresującym i dekompresującym pliki.
%description -l tr
gzip, Unix iţletim sistemlerinde çok yaygýn olarak kullanýlan bir dosya
sýkýţtýrma ve açma aracýdýr.
%prep
%setup -q
%patch -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr
make
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT/usr/man
install -d $RPM_BUILD_ROOT/bin
make install prefix=$RPM_BUILD_ROOT/usr
strip $RPM_BUILD_ROOT/usr/bin/gzip
mv -f $RPM_BUILD_ROOT/usr/bin/gzip $RPM_BUILD_ROOT/bin/gzip
rm -f $RPM_BUILD_ROOT/usr/bin/{gunzip,zcat}
ln -f $RPM_BUILD_ROOT/bin/gzip $RPM_BUILD_ROOT/bin/gunzip
ln -f $RPM_BUILD_ROOT/bin/gzip $RPM_BUILD_ROOT/bin/zcat
install %{SOURCE1} $RPM_BUILD_ROOT/usr/bin
ln -sf ../../bin/gzip $RPM_BUILD_ROOT/usr/bin/gzip
ln -sf ../../bin/gunzip $RPM_BUILD_ROOT/usr/bin/gunzip
gzip -9nf $RPM_BUILD_ROOT/usr/info/gzip.info*
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/install-info /usr/info/gzip.info.gz /usr/info/dir --entry="* gzip: (gzip). The GNU compression utility."
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete /usr/info/gzip.info.gz /usr/info/dir --entry="* gzip: (gzip). The GNU compression utility."
fi
%files
%defattr(644, root, root, 755)
%doc NEWS README
%attr(711, root, root) /bin/*
%attr(755, root, root) /usr/bin/*
%attr(644, root, man) /usr/man/*/*
%attr(644, root, root) /usr/info/gzip.info*
%changelog
* Sat Sep 26 1998 Marcin Korzonek <mkorz w shadow.eu.org>
- translations modified for pl
- defined files permission
- removed PATH lines from scripts (seems to be useless)
* Mon Jul 20 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[1.2.4-13]
- build against glibc-2.1
- added %defattr support
* Thu May 07 1998 Prospector System <bugs w redhat.com>
- translations modified for de, fr, tr
* Thu Apr 09 1998 Cristian Gafton <gafton w redhat.com>
- added /usr/bin/gzip and /usr/bin/gunzip symlinks as some programs are too
brain dead to figure out they should be at least trying to use $PATH
- added BuildRoot
* Wed Jan 28 1998 Erik Troan <ewt w redhat.com>
- fix /tmp races
* Sun Sep 14 1997 Erik Troan <ewt w redhat.com>
- uses install-info
- applied patch for gzexe
* Mon Jun 02 1997 Erik Troan <ewt w redhat.com>
- built against glibc
* Tue Apr 22 1997 Marc Ewing <marc w redhat.com>
- (Entry added for Marc by Erik) fixed gzexe to use /bin/gzip
Więcej informacji o liście dyskusyjnej pld-devel-pl