1 Summary: Extremely powerful file compression utility
5 Copyright: Distributable (see LICENSE)
6 Vendor: Julian Seward <jseward@acm.org>
7 Group: Utilities/Archiving
8 Source: http://www.muraroa.demon.co.uk/%{name}-%{version}.tar.gz
9 BuildRoot: /tmp/%{name}-%{version}-root
12 Bzip2 compresses files using the Burrows-Wheeler block-sorting text
13 compression algorithm, and Huffman coding. Compression is generally
14 considerably better than that achieved by more conventional LZ77/LZ78-based
15 compressors, and approaches the performance of the PPM family of statistical
18 The command-line options are deliberately very similar to those of GNU Gzip,
19 but they are not identical.
26 make CFLAGS="$RPM_OPT_FLAGS"
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT/usr/{bin,lib,man/man1}
31 install -s bzip2 bzip2recover $RPM_BUILD_ROOT/usr/bin
33 ln -sf bzip2 $RPM_BUILD_ROOT/usr/bin/bunzip2
35 install bzip2.1 $RPM_BUILD_ROOT/usr/man/man1
36 echo ".so bzip2.1" > $RPM_BUILD_ROOT/usr/man/man1/bunzip2.1
38 cat > $RPM_BUILD_ROOT/usr/bin/bzless <<EOF
40 /usr/bin/bunzip2 -c "\$@" | /usr/bin/less
44 %attr(644, root, root, 755) %doc README LICENSE
45 %attr(755, root, root) /usr/bin/*
46 %attr(644, root, man) /usr/man/man1/*
49 * Mon Sep 7 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
51 - changed base source URl to http://www.muraroa.demon.co.uk/,
55 * Thu Aug 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
57 - added -q %setup parameter,
58 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
59 - added using %%{name} and %%{version} in Source,
60 - bunzip2(1) man page is now maked as nroff include to bzip(1) instead
61 making sym link to bzip2.1 (this allow compress man pages in future),
62 - added %attr and %defattr macros in %files (allow build package from