3 # --without tetex - build without html documentation(don't request tetex)
5 Summary: Extremely powerful file compression utility
6 Summary(fr): Utilitaire de compression de fichier extrêmement puissant
7 Summary(pl): Kompresor plików bzip2
12 Group: Applications/Archiving
13 Group(de): Applikationen/Archivierung
14 Group(fr): Applications/Archivage
15 Group(pl): Aplikacje/Archiwizacja
16 Source0: ftp://sourceware.cygnus.com/pub/bzip2/v100/%{name}-%{version}.tar.gz
17 Patch0: %{name}-libtoolizeautoconf.patch
18 %{!?_without_tetex:BuildRequires: tetex}
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: libtool
22 URL: http://sourceware.cygnus.com/bzip2/
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Bzip2 compresses files using the Burrows-Wheeler block-sorting text
27 compression algorithm, and Huffman coding. Compression is generally
28 considerably better than that achieved by more conventional
29 LZ77/LZ78-based compressors, and approaches the performance of the PPM
30 family of statistical compressors. The command-line options are
31 deliberately very similar to those of GNU Gzip, but they are not
35 Bzip2 compresse des fichiers en utilisant l'algorithme de compression
36 en tri de blocks de texte Burrows-Wheeler, et le codage Huffman. La
37 compression est considérablement meilleure que celle effectuée par les
38 plus conventionels compresseurs basés sur LZ77/LZ78, et approche la
39 performance de la famille PPM de compresseurs statistiques.
42 Kompresor bzip2 u¿ywa algorytmu Burrows-Wheelera do kompresji danych i
43 metody Huffmana do ich kodowania. Kompresja pliku czy archiwum tar
44 jest z regu³y lepsza ni¿ w przypadku stosowania klasycznych
45 kompresorów LZ77/LZ78. Opcje linii poleceñ s± bardzo podobne do
46 poleceñ GNU Gzip ale nie s± identyczne.
49 Summary: Libbz2 library header files
50 Summary(fr): Librairie statique et fichiers d'en-tête pour bzip2
51 Summary(pl): Pliki nag³ówkowe do libbz2
52 Group: Development/Libraries
53 Group(de): Entwicklung/Libraries
54 Group(fr): Development/Librairies
55 Group(pl): Programowanie/Biblioteki
56 Requires: %{name} = %{version}
59 Libbz2 library header files
61 %description -l pl devel
62 Pliki nag³ówkowe do libbz2.
65 Summary: Static libbz2 library
66 Summary(pl): Biblioteka statyczna libbz2
67 Group: Development/Libraries
68 Group(de): Entwicklung/Libraries
69 Group(fr): Development/Librairies
70 Group(pl): Programowanie/Biblioteki
71 Requires: %{name}-devel = %{version}
74 Static libbz2 library.
76 %description -l pl static
77 Biblioteka statyczna libbz2.
85 libtoolize --copy --force
92 rm -rf $RPM_BUILD_ROOT
94 %{__make} install DESTDIR=$RPM_BUILD_ROOT
96 # Substitute %{_bindir} in bzless.
97 mv -f $RPM_BUILD_ROOT%{_bindir}/bzless{,.tmp}
98 sed -e "s@%%{_bindir}@%{_bindir}@g" \
99 $RPM_BUILD_ROOT%{_bindir}/bzless.tmp > \
100 $RPM_BUILD_ROOT%{_bindir}/bzless
101 rm -f $RPM_BUILD_ROOT%{_bindir}/bzless.tmp
103 %{!?_without_tetex: ( cd doc ; texi2html bzip2.texi )}
105 gzip -9nf README* NEWS Y2K_INFO
107 %post -p /sbin/ldconfig
108 %postun -p /sbin/ldconfig
111 rm -rf $RPM_BUILD_ROOT
114 %defattr(644,root,root,755)
115 %doc README.gz Y2K_INFO.gz
116 %attr(755,root,root) %{_libdir}/lib*.so.*.*
117 %attr(755,root,root) %{_bindir}/*
118 %lang(en) %{_mandir}/man1/*
119 %lang(pl) %{_mandir}/pl/man1/*
122 %defattr(644,root,root,755)
123 %{!?_without_tetex: %doc doc/*.html}
124 %attr(755,root,root) %{_libdir}/lib*.so
128 %defattr(644,root,root,755)