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 Group(pl): Narzêdzia/Archiwizacja
10 Source: http://www.muraroa.demon.co.uk/%{name}-%{version}.tar.gz
11 BuildRoot: /tmp/%{name}-%{version}-root
14 Bzip2 compresses files using the Burrows-Wheeler block-sorting text
15 compression algorithm, and Huffman coding. Compression is generally
16 considerably better than that achieved by more conventional LZ77/LZ78-based
17 compressors, and approaches the performance of the PPM family of statistical
20 The command-line options are deliberately very similar to those of GNU Gzip,
21 but they are not identical.
24 Bzip2 kompresuje pliki u¿ywaj±c algorymtu kompresji blokowego-sortowania tekstu
25 Burrows-Wheeler'a oraz kodowania Huffmana. Generalnie kompresja jest znacznie
26 lepsza ni¿ w konwencjonalnych kompresorach u¿ywaj±cych algorytmów LZ77/LZ78
27 i zbli¿a siê do wydajno¶ci statystycznych kompresorów z rodziny PPM.
34 make CFLAGS="$RPM_OPT_FLAGS"
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT/usr/{bin,lib,man/man1}
40 install -s bzip2 bzip2recover $RPM_BUILD_ROOT/usr/bin
42 ln -sf bzip2 $RPM_BUILD_ROOT/usr/bin/bunzip2
44 install bzip2.1 $RPM_BUILD_ROOT/usr/man/man1
45 echo ".so bzip2.1" > $RPM_BUILD_ROOT/usr/man/man1/bunzip2.1
47 cat > $RPM_BUILD_ROOT/usr/bin/bzless <<EOF
49 /usr/bin/bunzip2 -c "\$@" | /usr/bin/less
53 rm -rf $RPM_BUILD_ROOT
56 %attr(644, root, root, 755) %doc README LICENSE
57 %attr(755, root, root) /usr/bin/*
58 %attr(644, root, man) /usr/man/man1/*
61 * Sun Nov 1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
63 - added %clean section.
65 * Sat Sep 26 1998 Arkadiusz Mi¶kiewicz <misiek@misiek.eu.org>
67 - added pl translation.
69 * Mon Sep 7 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
71 - changed base source Url to http://www.muraroa.demon.co.uk/,
75 * Thu Aug 13 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
77 - added -q %setup parameter,
78 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
79 - added using %%{name} and %%{version} in Source,
80 - bunzip2(1) man page is now maked as nroff include to bzip(1) instead
81 making sym link to bzip2.1 (this allow compress man pages in future),
82 - added %attr and %defattr macros in %files (allows build package from