Name: ncompress Version: 4.2.4.6 Release: 1mamba Summary: Fast compression/decompression compatible with the original *nix compress utility Group: Applications/Archiving Vendor: openmamba Distribution: openmamba Packager: Aleph0 URL: http://ncompress.sourceforge.net/ Source: http://sourceforge.net/projects/ncompress/files/ncompress-%{version}.tar.gz # note: patches from Fedora Core 2 Patch0: %{name}-4.2.4-make.patch Patch1: %{name}-4.2.4-lfs2.patch Patch2: %{name}-4.2.4-filenamelen.patch Patch3: %{name}-4.2.4-CVE-2006-1168.patch License: Public Domain ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description The ncompress package contains the compress and uncompress file compression and decompression utilities, which are compatible with the original UNIX compress utility (.Z file extensions). These utilities can't handle gzipped (.gz file extensions) files, but gzip can handle compressed files. Install ncompress if you need compression/decompression utilities which are compatible with the original UNIX compress utility. %prep %setup -q #%patch1 -p1 -b .lfs %patch3 -p0 -b .CVE-2006-1168 %build %make CC='%{_target_platform}-gcc $(RPM_OPT_FLAGS)' %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall BINDIR=%{_bindir} MANDIR=%{_mandir}/man1 for f in zcat zcmp zdiff zmore; do rm -f %{buildroot}%{_bindir}/$f rm -f %{buildroot}%{_mandir}/man1/$f* done ln -sf compress %{buildroot}%{_bindir}/uncompress ln -sf compress.1 %{buildroot}%{_mandir}/man1/uncompress.1 %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/compress %{_bindir}/uncompress %{_mandir}/man1/compress.1* %{_mandir}/man1/uncompress.1* %doc Acknowleds # Changes LZW.INFO README %changelog * Sat Feb 01 2020 Automatic Build System 4.2.4.6-1mamba - automatic version update by autodist * Mon Oct 29 2012 Silvan Calarco 4.2.4.4-2mamba - remove files provided by zlib * Wed Oct 12 2011 Automatic Build System 4.2.4.4-1mamba - update to 4.2.4.4 * Tue Nov 13 2007 Aleph0 4.2.4-4mamba - rebuilt * Wed Aug 30 2006 Davide Madrisan 4.2.4-3qilnx - security update against CVE-2006-1168 (bugtraq#223) * Thu Oct 06 2005 Stefano Cotta Ramusino 4.2.4-2qilnx - added cross-compilation support * Tue Aug 31 2004 Davide Madrisan 4.2.4-1qilnx - package created