ALT Linux repos
S: | 1.13-alt2 |
5.0: | 1.3.5-alt4.M40.1 |
4.1: | 1.3.5-alt4.M40.1 |
4.0: | 1.3.5-alt4.M40.1 |
3.0: | 1.3.5-alt2 |
+updates: | 1.3.5-alt2.M30.1 |
Other repositories
Upstream: | 1.3.12 |
Group :: Archiving/Compression
RPM: gzip
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: gzip
Version: 1.3.5
Release: alt2.M30.1
Summary: The GNU data compression program
License: GPL
Group: Archiving/Compression
Url: http://www.gnu.org/software/gzip/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: ftp://alpha.gnu.org/gnu/gzip/gzip-%version.tar
Source1: zme.sh
Source2: zme.1
Patch1: gzip-1.3.5-alt-texinfo.patch
Patch2: gzip-1.3.5-alt-basename.patch
Patch3: gzip-1.3.5-openbsd-owl-alt-tmp.patch
Patch4: gzip-1.3.5-rh-alt-stderr.patch
Patch5: gzip-1.3.5-rh-owl-alt-zgrep.patch
Patch6: gzip-1.3.5-deb-alt-signal.patch
Patch7: gzip-1.3.5-deb-alt-original-filename.patch
Patch8: gzip-1.3.5-alt-copy_stat.patch
Patch9: gzip-1.3.5-alt-bzip2.patch
Patch10: gzip-1.3.5-alt-znew.patch
Patch11: gzip-1.3.5-gentoo-huft_build-return.patch
Patch12: gzip-1.3.5-google-owl-bound.patch
Provides: /bin/gzip, /bin/gunzip, /bin/zcat
%package utils
Summary: Utilities for handy use of the GNU gzip
Group: Archiving/Compression
Requires: %name = %version-%release, mktemp >= 1:1.3.1
Provides: %name-devel = %version-%release
Obsoletes: %name-devel
Provides: bzip2-utils = 0:1.0.3-alt5
Obsoletes: bzip2-utils
%description
This package contains the popular GNU gzip data compression
program and its associated scripts to manage compressed files.
%description utils
This package contains additional utilities for the popular
GNU gzip and bzip2 data compression programs.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p0
%patch12 -p1
bzip2 -9k ChangeLog
%build
%define _optlevel 3
%add_optflags %optflags_notraceback
%configure --bindir=/bin
%make_build
%install
mkdir -p %buildroot%_bindir
%makeinstall bindir=%buildroot/bin
for i in zcmp zegrep zforce znew gzexe zdiff zfgrep zgrep; do
mv %buildroot/bin/$i %buildroot%_bindir/
done
# Replace hardlinks with symlinks.
ln -sf gzip %buildroot/bin/gunzip
ln -sf gzip %buildroot/bin/zcat
ln -sf zdiff %buildroot%_bindir/zcmp
ln -sf zgrep %buildroot%_bindir/zegrep
ln -sf zgrep %buildroot%_bindir/zfgrep
# Add compatibility symlinks.
for i in gzip gunzip zcat; do
ln -s ../../bin/gzip %buildroot%_bindir/$i
done
# Additional utilities.
ln -s zdiff %buildroot%_bindir/bzcmp
ln -s zdiff %buildroot%_bindir/bzdiff
ln -s zgrep %buildroot%_bindir/bzgrep
ln -s zgrep %buildroot%_bindir/bzegrep
ln -s zgrep %buildroot%_bindir/bzfgrep
install -pm755 %_sourcedir/zme.sh %buildroot%_bindir/zme
ln -s zme %buildroot%_bindir/bzme
# Additional manpages.
echo '.so man1/zgrep.1' >%buildroot%_man1dir/zegrep.1
echo '.so man1/zgrep.1' >%buildroot%_man1dir/zfgrep.1
echo '.so man1/zgrep.1' >%buildroot%_man1dir/bzgrep.1
echo '.so man1/zgrep.1' >%buildroot%_man1dir/bzegrep.1
echo '.so man1/zgrep.1' >%buildroot%_man1dir/bzfgrep.1
echo '.so man1/zdiff.1' >%buildroot%_man1dir/bzcmp.1
echo '.so man1/zdiff.1' >%buildroot%_man1dir/bzdiff.1
install -pm755 %_sourcedir/zme.1 %buildroot%_man1dir/
ln -s zme.1 %buildroot%_man1dir/bzme.1
# Our zless and zmore live in less package.
rm %buildroot{/bin/z{less,more},%_man1dir/z{less,more}.1}
%files
/bin/*
%_bindir/g*zip
%_bindir/zcat
%_man1dir/g*zip.*
%_man1dir/zcat.*
%_infodir/*.info*
%doc AUTHORS ChangeLog.bz2 NEWS README THANKS TODO
%files utils
%_bindir/*
%_man1dir/*
%exclude %_bindir/g*zip
%exclude %_bindir/zcat
%exclude %_man1dir/g*zip.*
%exclude %_man1dir/zcat.*
%changelog
…
Full changelog you can see here
Version: 1.3.5
Release: alt2.M30.1
Summary: The GNU data compression program
License: GPL
Group: Archiving/Compression
Url: http://www.gnu.org/software/gzip/
Packager: Dmitry V. Levin <ldv at altlinux.org>
Source: ftp://alpha.gnu.org/gnu/gzip/gzip-%version.tar
Source1: zme.sh
Source2: zme.1
Patch1: gzip-1.3.5-alt-texinfo.patch
Patch2: gzip-1.3.5-alt-basename.patch
Patch3: gzip-1.3.5-openbsd-owl-alt-tmp.patch
Patch4: gzip-1.3.5-rh-alt-stderr.patch
Patch5: gzip-1.3.5-rh-owl-alt-zgrep.patch
Patch6: gzip-1.3.5-deb-alt-signal.patch
Patch7: gzip-1.3.5-deb-alt-original-filename.patch
Patch8: gzip-1.3.5-alt-copy_stat.patch
Patch9: gzip-1.3.5-alt-bzip2.patch
Patch10: gzip-1.3.5-alt-znew.patch
Patch11: gzip-1.3.5-gentoo-huft_build-return.patch
Patch12: gzip-1.3.5-google-owl-bound.patch
Provides: /bin/gzip, /bin/gunzip, /bin/zcat
%package utils
Summary: Utilities for handy use of the GNU gzip
Group: Archiving/Compression
Requires: %name = %version-%release, mktemp >= 1:1.3.1
Provides: %name-devel = %version-%release
Obsoletes: %name-devel
Provides: bzip2-utils = 0:1.0.3-alt5
Obsoletes: bzip2-utils
%description
This package contains the popular GNU gzip data compression
program and its associated scripts to manage compressed files.
%description utils
This package contains additional utilities for the popular
GNU gzip and bzip2 data compression programs.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p0
%patch12 -p1
bzip2 -9k ChangeLog
%build
%define _optlevel 3
%add_optflags %optflags_notraceback
%configure --bindir=/bin
%make_build
%install
mkdir -p %buildroot%_bindir
%makeinstall bindir=%buildroot/bin
for i in zcmp zegrep zforce znew gzexe zdiff zfgrep zgrep; do
mv %buildroot/bin/$i %buildroot%_bindir/
done
# Replace hardlinks with symlinks.
ln -sf gzip %buildroot/bin/gunzip
ln -sf gzip %buildroot/bin/zcat
ln -sf zdiff %buildroot%_bindir/zcmp
ln -sf zgrep %buildroot%_bindir/zegrep
ln -sf zgrep %buildroot%_bindir/zfgrep
# Add compatibility symlinks.
for i in gzip gunzip zcat; do
ln -s ../../bin/gzip %buildroot%_bindir/$i
done
# Additional utilities.
ln -s zdiff %buildroot%_bindir/bzcmp
ln -s zdiff %buildroot%_bindir/bzdiff
ln -s zgrep %buildroot%_bindir/bzgrep
ln -s zgrep %buildroot%_bindir/bzegrep
ln -s zgrep %buildroot%_bindir/bzfgrep
install -pm755 %_sourcedir/zme.sh %buildroot%_bindir/zme
ln -s zme %buildroot%_bindir/bzme
# Additional manpages.
echo '.so man1/zgrep.1' >%buildroot%_man1dir/zegrep.1
echo '.so man1/zgrep.1' >%buildroot%_man1dir/zfgrep.1
echo '.so man1/zgrep.1' >%buildroot%_man1dir/bzgrep.1
echo '.so man1/zgrep.1' >%buildroot%_man1dir/bzegrep.1
echo '.so man1/zgrep.1' >%buildroot%_man1dir/bzfgrep.1
echo '.so man1/zdiff.1' >%buildroot%_man1dir/bzcmp.1
echo '.so man1/zdiff.1' >%buildroot%_man1dir/bzdiff.1
install -pm755 %_sourcedir/zme.1 %buildroot%_man1dir/
ln -s zme.1 %buildroot%_man1dir/bzme.1
# Our zless and zmore live in less package.
rm %buildroot{/bin/z{less,more},%_man1dir/z{less,more}.1}
%files
/bin/*
%_bindir/g*zip
%_bindir/zcat
%_man1dir/g*zip.*
%_man1dir/zcat.*
%_infodir/*.info*
%doc AUTHORS ChangeLog.bz2 NEWS README THANKS TODO
%files utils
%_bindir/*
%_man1dir/*
%exclude %_bindir/g*zip
%exclude %_bindir/zcat
%exclude %_man1dir/g*zip.*
%exclude %_man1dir/zcat.*
%changelog
…
Full changelog you can see here