1 Summary: Extremely powerful file compression utility
2 Summary(fr): Utilitaire de compression de fichier extrêmement puissant
3 Summary(pl): Kompresor plików bzip2
8 Group: Applications/Archiving
9 Source0: ftp://sourceware.cygnus.com/pub/bzip2/v102/%{name}-%{version}.tar.gz
10 Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
11 Patch0: %{name}-libtoolizeautoconf.patch
12 BuildRequires: autoconf
13 BuildRequires: automake
14 BuildRequires: libtool
15 URL: http://sourceware.cygnus.com/bzip2/
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Bzip2 compresses files using the Burrows-Wheeler block-sorting text
20 compression algorithm, and Huffman coding. Compression is generally
21 considerably better than that achieved by more conventional
22 LZ77/LZ78-based compressors, and approaches the performance of the PPM
23 family of statistical compressors. The command-line options are
24 deliberately very similar to those of GNU Gzip, but they are not
28 Bzip2 compresse des fichiers en utilisant l'algorithme de compression
29 en tri de blocks de texte Burrows-Wheeler, et le codage Huffman. La
30 compression est considérablement meilleure que celle effectuée par les
31 plus conventionels compresseurs basés sur LZ77/LZ78, et approche la
32 performance de la famille PPM de compresseurs statistiques.
35 Kompresor bzip2 u¿ywa algorytmu Burrows-Wheelera do kompresji danych i
36 metody Huffmana do ich kodowania. Kompresja pliku czy archiwum tar
37 jest z regu³y lepsza ni¿ w przypadku stosowania klasycznych
38 kompresorów LZ77/LZ78. Opcje linii poleceñ s± bardzo podobne do
39 poleceñ GNU Gzip ale nie s± identyczne.
42 Summary: Libbz2 library header files
43 Summary(fr): Librairie statique et fichiers d'en-tête pour bzip2
44 Summary(pl): Pliki nag³ówkowe do libbz2
45 Group: Development/Libraries
46 Requires: %{name} = %{version}
49 Libbz2 library header files.
51 %description devel -l pl
52 Pliki nag³ówkowe do libbz2.
55 Summary: Static libbz2 library
56 Summary(pl): Biblioteka statyczna libbz2
57 Group: Development/Libraries
58 Requires: %{name}-devel = %{version}
61 Static libbz2 library.
63 %description static -l pl
64 Biblioteka statyczna libbz2.
72 libtoolize --copy --force
79 rm -rf $RPM_BUILD_ROOT
81 %{__make} install DESTDIR=$RPM_BUILD_ROOT
83 # Substitute %{_bindir} in bzless.
84 mv -f $RPM_BUILD_ROOT%{_bindir}/bzless{,.tmp}
85 sed -e "s@%%{_bindir}@%{_bindir}@g" \
86 $RPM_BUILD_ROOT%{_bindir}/bzless.tmp > \
87 $RPM_BUILD_ROOT%{_bindir}/bzless
88 rm -f $RPM_BUILD_ROOT%{_bindir}/bzless.tmp
90 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
92 gzip -9nf README* NEWS Y2K_INFO
95 rm -rf $RPM_BUILD_ROOT
97 %post -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
101 %defattr(644,root,root,755)
102 %doc README.gz Y2K_INFO.gz
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*
104 %attr(755,root,root) %{_bindir}/*
105 %lang(en) %{_mandir}/man1/*
106 %lang(es) %{_mandir}/es/man1/*
107 %lang(fr) %{_mandir}/fr/man1/*
108 %lang(hu) %{_mandir}/hu/man1/*
109 %lang(ja) %{_mandir}/ja/man1/*
110 %lang(ko) %{_mandir}/ko/man1/*
111 %lang(pl) %{_mandir}/pl/man1/*
114 %defattr(644,root,root,755)
115 %attr(755,root,root) %{_libdir}/lib*.so
119 %defattr(644,root,root,755)