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 Source: http://www.digistar.com/bzip2/%{name}-%{version}.tar.gz
10 Patch: bzip2-shlib.patch
11 URL: http://www.muraroa.demon.co.uk/
12 BuildRoot: /tmp/%{name}-%{version}-root
15 Bzip2 compresses files using the Burrows-Wheeler block-sorting text
16 compression algorithm, and Huffman coding. Compression is generally
17 considerably better than that achieved by more conventional LZ77/LZ78-based
18 compressors, and approaches the performance of the PPM family of statistical
21 The command-line options are deliberately very similar to those of GNU Gzip,
22 but they are not identical.
25 Kompresor bzip2 u¿ywa algorytmu Burrows-Wheelera do kompresji danych i metody
26 Huffmana do ich kodowania. Kompresja pliku czy archiwum tar jest z regu³y
27 lepsza ni¿ w przypadku stosowania klasycznych kompresorów LZ77/LZ78.
28 Opcje linii poleceñ s± bardzo podobne do poleceñ GNU Gzip ale nie s±
32 Summary: Libbz2 library header files
33 Summary(pl): Pliki nag³ówkowe do libbz2
34 Group: Development/Libraries
35 Group(pl): Programowanie/Biblioteki
36 Requires: %{name} = %{version}
39 Libbz2 library header files
41 %description -l pl devel
42 Pliki nag³ówkowe do libbz2.
45 Summary: Static libbz2 library
46 Summary(pl): Biblioteka statyczna libbz2
47 Group: Development/Libraries
48 Group(pl): Programowanie/Biblioteki
49 Requires: %{name}-devel = %{version}
52 Static libbz2 library.
54 %description -l pl static
55 Biblioteka statyczna libbz2.
62 make CFLAGS="$RPM_OPT_FLAGS"
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT/usr/{bin,lib,include,man/man1}
68 install -s {bzip2,bzip2recover} $RPM_BUILD_ROOT/usr/bin
70 ln -sf bzip2 $RPM_BUILD_ROOT/usr/bin/bunzip2
71 ln -sf bzip2 $RPM_BUILD_ROOT/usr/bin/bzcat
73 install bzip2.1 $RPM_BUILD_ROOT/usr/man/man1
74 install bzlib.h $RPM_BUILD_ROOT/usr/include
76 echo .so bzip2.1 > $RPM_BUILD_ROOT/usr/man/man1/bunzip2.1
77 echo .so bzip2.1 > $RPM_BUILD_ROOT/usr/man/man1/bzcat.1
78 echo .so bzip2.1 > $RPM_BUILD_ROOT/usr/man/man1/bzip2recover.1
80 cat > $RPM_BUILD_ROOT/usr/bin/bzless <<EOF
82 /usr/bin/bunzip2 -c "\$@" | /usr/bin/less
85 install lib*so.*.* lib*.a $RPM_BUILD_ROOT/usr/lib
86 ln -sf libbz2.so.0.9.0 $RPM_BUILD_ROOT/usr/lib/libbz2.so
87 strip --strip-unneeded $RPM_BUILD_ROOT/usr/lib/lib*so.*.*
89 gzip -9nf $RPM_BUILD_ROOT/usr/man/man1/*
91 %post -p /sbin/ldconfig
92 %postun -p /sbin/ldconfig
95 rm -rf $RPM_BUILD_ROOT
98 %attr(755,root,root) /usr/lib/lib*.so.*.*
99 %attr(755,root,root) /usr/bin/*
100 %attr(644,root,root) /usr/man/man1/*
103 %defattr(644,root,root,755)
105 %attr(755,root,root) /usr/lib/lib*.so
109 %attr(644,root,root) /usr/lib/lib*.a
112 * Sun Mar 14 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
114 - added build a shared libbz2.so,
115 - added devel and static subpackage,
116 - gzipping man pages instead bzipping2,
117 - removed man group from man pages.
119 * Fri Jan 15 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
122 - added static bzip2 library,
123 - added symlink bzcat,
125 - compressed man pages with bzip2 (bzip2 must by instaled in system ;)
127 * Mon Oct 05 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
131 * Thu Sep 24 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
133 - translation modified for pl,
134 - install -d instead mkdir -p,
135 - added %defattr support,
136 - fixed files permissions,
137 - minor modifications of the spec file.
139 * Mon Jul 20 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
141 - build against glibc-2.1.