ALT Linux repos
Group :: Archiving/Compression
RPM: ncompress
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: ncompress
Version: 4.2.4.2
Release: alt1
Summary: Fast compression and decompression utilities
License: Public domain
Group: Archiving/Compression
Url: http://ncompress.sourceforge.net/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# ftp://ibiblio.org/pub/Linux/utils/compress/ncompress-%version.tar.bz2
Source: ncompress-%version.tar
Patch1: ncompress-4.2.4-rh-lfs.patch
Patch2: ncompress-4.2.4-rh-endians.patch
%description
This 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.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
%add_optflags -DNOFUNCDEF -DDIRENT -DSYSDIR -DUTIME_H -DUSERMEM=800000 -DREGISTERS=20 -DIBUFSIZ=1024 -DOBUFSIZ=1024
%ifarch %ix86 x86_64
%add_optflags -DBYTEORDER=4321
%endif
%ifarch sparc m68k armv4l ppc
%add_optflags -DBYTEORDER=1234
%endif
%ifarch alpha
%add_optflags -DNOALLIGN=0 -DBYTEORDER=4321
%endif
%__cc %optflags `getconf LFS_CFLAGS` -DCOMPILE_DATE="\"`LC_TIME=C date +%%Y%%m%%d`\"" compress42.c -o compress
%install
install -pD -m755 compress %buildroot%_bindir/compress
install -pD -m644 compress.1 %buildroot%_man1dir/compress.1
ln -s compress %buildroot%_bindir/uncompress
ln -s compress.1 %buildroot%_man1dir/uncompress.1
%files
%_bindir/*
%_man1dir/*
%doc Acknowleds Changes LZW.INFO README
%changelog
…
Full changelog you can see here
Version: 4.2.4.2
Release: alt1
Summary: Fast compression and decompression utilities
License: Public domain
Group: Archiving/Compression
Url: http://ncompress.sourceforge.net/
Packager: Dmitry V. Levin <ldv at altlinux.org>
# ftp://ibiblio.org/pub/Linux/utils/compress/ncompress-%version.tar.bz2
Source: ncompress-%version.tar
Patch1: ncompress-4.2.4-rh-lfs.patch
Patch2: ncompress-4.2.4-rh-endians.patch
%description
This 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.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
%add_optflags -DNOFUNCDEF -DDIRENT -DSYSDIR -DUTIME_H -DUSERMEM=800000 -DREGISTERS=20 -DIBUFSIZ=1024 -DOBUFSIZ=1024
%ifarch %ix86 x86_64
%add_optflags -DBYTEORDER=4321
%endif
%ifarch sparc m68k armv4l ppc
%add_optflags -DBYTEORDER=1234
%endif
%ifarch alpha
%add_optflags -DNOALLIGN=0 -DBYTEORDER=4321
%endif
%__cc %optflags `getconf LFS_CFLAGS` -DCOMPILE_DATE="\"`LC_TIME=C date +%%Y%%m%%d`\"" compress42.c -o compress
%install
install -pD -m755 compress %buildroot%_bindir/compress
install -pD -m644 compress.1 %buildroot%_man1dir/compress.1
ln -s compress %buildroot%_bindir/uncompress
ln -s compress.1 %buildroot%_man1dir/uncompress.1
%files
%_bindir/*
%_man1dir/*
%doc Acknowleds Changes LZW.INFO README
%changelog
…
Full changelog you can see here