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
16 URL: http://sourceware.cygnus.com/bzip2/
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Bzip2 compresses files using the Burrows-Wheeler block-sorting text
21 compression algorithm, and Huffman coding. Compression is generally
22 considerably better than that achieved by more conventional
23 LZ77/LZ78-based compressors, and approaches the performance of the PPM
24 family of statistical compressors. The command-line options are
25 deliberately very similar to those of GNU Gzip, but they are not
29 Bzip2 compresse des fichiers en utilisant l'algorithme de compression
30 en tri de blocks de texte Burrows-Wheeler, et le codage Huffman. La
31 compression est considérablement meilleure que celle effectuée par les
32 plus conventionels compresseurs basés sur LZ77/LZ78, et approche la
33 performance de la famille PPM de compresseurs statistiques.
36 Kompresor bzip2 u¿ywa algorytmu Burrows-Wheelera do kompresji danych i
37 metody Huffmana do ich kodowania. Kompresja pliku czy archiwum tar
38 jest z regu³y lepsza ni¿ w przypadku stosowania klasycznych
39 kompresorów LZ77/LZ78. Opcje linii poleceñ s± bardzo podobne do
40 poleceñ GNU Gzip ale nie s± identyczne.
43 Summary: Libbz2 library header files
44 Summary(fr): Librairie statique et fichiers d'en-tête pour bzip2
45 Summary(pl): Pliki nag³ówkowe do libbz2
46 Group: Development/Libraries
47 Requires: %{name} = %{version}
50 Libbz2 library header files.
52 %description devel -l pl
53 Pliki nag³ówkowe do libbz2.
56 Summary: Static libbz2 library
57 Summary(pl): Biblioteka statyczna libbz2
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}
62 Static libbz2 library.
64 %description static -l pl
65 Biblioteka statyczna libbz2.
73 libtoolize --copy --force
80 rm -rf $RPM_BUILD_ROOT
82 %{__make} install DESTDIR=$RPM_BUILD_ROOT
84 # Substitute %{_bindir} in bzless.
85 mv -f $RPM_BUILD_ROOT%{_bindir}/bzless{,.tmp}
86 sed -e "s@%%{_bindir}@%{_bindir}@g" \
87 $RPM_BUILD_ROOT%{_bindir}/bzless.tmp > \
88 $RPM_BUILD_ROOT%{_bindir}/bzless
89 rm -f $RPM_BUILD_ROOT%{_bindir}/bzless.tmp
91 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
93 gzip -9nf README* NEWS Y2K_INFO
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
103 %doc README.gz Y2K_INFO.gz
104 %attr(755,root,root) %{_libdir}/lib*.so.*.*
105 %attr(755,root,root) %{_bindir}/*
106 %lang(en) %{_mandir}/man1/*
107 %lang(es) %{_mandir}/es/man1/*
108 %lang(fr) %{_mandir}/fr/man1/*
109 %lang(hu) %{_mandir}/hu/man1/*
110 %lang(ja) %{_mandir}/ja/man1/*
111 %lang(ko) %{_mandir}/ko/man1/*
112 %lang(pl) %{_mandir}/pl/man1/*
115 %defattr(644,root,root,755)
116 %attr(755,root,root) %{_libdir}/lib*.so
120 %defattr(644,root,root,755)