1 Summary: Extremely powerful file compression utility
2 Summary(pl): Extremalnie wydajny program do kompresowania plików
6 Copyright: Distributable (see LICENSE)
7 Vendor: Julian Seward <jseward@acm.org>
8 Group: Utilities/Archiving
9 Source: http://www.muraroa.demon.co.uk/%{name}-%{version}.tar.gz
10 BuildRoot: /tmp/%{name}-%{version}-root
13 Bzip2 compresses files using the Burrows-Wheeler block-sorting text
14 compression algorithm, and Huffman coding. Compression is generally
15 considerably better than that achieved by more conventional LZ77/LZ78-based
16 compressors, and approaches the performance of the PPM family of statistical
19 The command-line options are deliberately very similar to those of GNU Gzip,
20 but they are not identical.
23 Bzip2 kompresuje pliki u¿ywaj±c algorymtu kompresji blokowego-sortowania tekstu
24 Burrows-Wheeler'a oraz kodowania Huffmana. Generalnie kompresja jest znacznie
25 lepsza ni¿ w konwencjonalnych kompresorach u¿ywaj±cych algorytmów LZ77/LZ78
26 i zbli¿a siê do wydajno¶ci statystycznych kompresorów z rodziny PPM.
33 make CFLAGS="$RPM_OPT_FLAGS"
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT/usr/{bin,lib,man/man1}
39 install -s bzip2 bzip2recover $RPM_BUILD_ROOT/usr/bin
41 ln -sf bzip2 $RPM_BUILD_ROOT/usr/bin/bunzip2
43 install bzip2.1 $RPM_BUILD_ROOT/usr/man/man1
44 echo ".so bzip2.1" > $RPM_BUILD_ROOT/usr/man/man1/bunzip2.1
46 cat > $RPM_BUILD_ROOT/usr/bin/bzless <<EOF
48 /usr/bin/bunzip2 -c "\$@" | /usr/bin/less
52 rm -rf $RPM_BUILD_ROOT
55 %attr(644, root, root, 755) %doc README LICENSE
56 %attr(755, root, root) /usr/bin/*
57 %attr(644, root, man) /usr/man/man1/*
60 * Sun Nov 1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
62 - added %clean section.
64 * Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
66 - added pl translation.
68 * Mon Sep 7 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
70 - changed base source Url to http://www.muraroa.demon.co.uk/,
74 * Thu Aug 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
76 - added -q %setup parameter,
77 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
78 - added using %%{name} and %%{version} in Source,
79 - bunzip2(1) man page is now maked as nroff include to bzip(1) instead
80 making sym link to bzip2.1 (this allow compress man pages in future),
81 - added %attr and %defattr macros in %files (allow build package from