1 Summary: Extremely powerful file compression utility
2 Summary(pl): Kompresor plików bzip2
7 Group: Utilities/Archiving
8 Group(pl): Narzêdzia/Archiwizacja
9 URL: http://www.digistar.com/bzip2
10 Source: %{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 Kompresor bzip2 u¿ywa algorytmu Burrows-Wheelera do kompresji danych i metody
25 Huffmana do ich kodowania. Kompresja pliku czy archiwum tar jest z regu³y
26 lepsza ni¿ w przypadku stosowania klasycznych kompresorów LZ77/LZ78.
27 Opcje linii poleceñ s± bardzo podobne do poleceñ GNU Gzip ale nie s±
34 make CFLAGS="$RPM_OPT_FLAGS"
37 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT/usr/{bin,lib,man/man1}
41 install -s {bzip2,bzip2recover} $RPM_BUILD_ROOT/usr/bin
42 install *.a $RPM_BUILD_ROOT/usr/lib
44 ln -sf bzip2 $RPM_BUILD_ROOT/usr/bin/bunzip2
45 ln -sf bzip2 $RPM_BUILD_ROOT/usr/bin/bzcat
47 install bzip2.1 $RPM_BUILD_ROOT/usr/man/man1
49 echo .so bzip2.1 > $RPM_BUILD_ROOT/usr/man/man1/bunzip2.1
50 echo .so bzip2.1 > $RPM_BUILD_ROOT/usr/man/man1/bzcat.1
51 echo .so bzip2.1 > $RPM_BUILD_ROOT/usr/man/man1/bzip2recover.1
53 cat > $RPM_BUILD_ROOT/usr/bin/bzless <<EOF
55 /usr/bin/bunzip2 -c "\$@" | /usr/bin/less
59 gzip -9fn $RPM_BUILD_ROOT/usr/man/man1/*
62 %defattr(644,root,root,755)
63 %doc README.bz2 *.html
65 %attr(755,root,root) /usr/bin/*
66 %attr(644,root, man) /usr/man/man1/*
71 rm -rf $RPM_BUILD_ROOT
74 * Fri Jan 15 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
77 - added static bzip2 library,
78 - added symlink bzcat,
80 - compressed %doc with bzip2 (bzip2 must by instaled in system ;)
82 * Mon Oct 05 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
86 * Thu Sep 24 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
88 - translation modified for pl,
89 - install -d instead mkdir -p,
90 - added %defattr support,
91 - fixed files permissions,
92 - minor modifications of the spec file.
94 * Mon Jul 20 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
96 - build against GNU libc-2.1.