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 Source1: %{name}-non-english-man-pages.tar.bz2
18 Patch0: %{name}-libtoolizeautoconf.patch.gz
19 %{!?_without_tetex:BuildRequires: tetex}
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: libtool
23 URL: http://sourceware.cygnus.com/bzip2/
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Bzip2 compresses files using the Burrows-Wheeler block-sorting text
28 compression algorithm, and Huffman coding. Compression is generally
29 considerably better than that achieved by more conventional
30 LZ77/LZ78-based compressors, and approaches the performance of the PPM
31 family of statistical compressors. The command-line options are
32 deliberately very similar to those of GNU Gzip, but they are not
36 Bzip2 compresse des fichiers en utilisant l'algorithme de compression
37 en tri de blocks de texte Burrows-Wheeler, et le codage Huffman. La
38 compression est considérablement meilleure que celle effectuée par les
39 plus conventionels compresseurs basés sur LZ77/LZ78, et approche la
40 performance de la famille PPM de compresseurs statistiques.
43 Kompresor bzip2 u¿ywa algorytmu Burrows-Wheelera do kompresji danych i
44 metody Huffmana do ich kodowania. Kompresja pliku czy archiwum tar
45 jest z regu³y lepsza ni¿ w przypadku stosowania klasycznych
46 kompresorów LZ77/LZ78. Opcje linii poleceñ s± bardzo podobne do
47 poleceñ GNU Gzip ale nie s± identyczne.
50 Summary: Libbz2 library header files
51 Summary(fr): Librairie statique et fichiers d'en-tête pour bzip2
52 Summary(pl): Pliki nag³ówkowe do libbz2
53 Group: Development/Libraries
54 Group(de): Entwicklung/Libraries
55 Group(es): Desarrollo/Bibliotecas
56 Group(fr): Development/Librairies
57 Group(pl): Programowanie/Biblioteki
58 Group(pt_BR): Desenvolvimento/Bibliotecas
59 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
60 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
61 Requires: %{name} = %{version}
64 Libbz2 library header files.
66 %description -l pl devel
67 Pliki nag³ówkowe do libbz2.
70 Summary: Static libbz2 library
71 Summary(pl): Biblioteka statyczna libbz2
72 Group: Development/Libraries
73 Group(de): Entwicklung/Libraries
74 Group(es): Desarrollo/Bibliotecas
75 Group(fr): Development/Librairies
76 Group(pl): Programowanie/Biblioteki
77 Group(pt_BR): Desenvolvimento/Bibliotecas
78 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
79 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
80 Requires: %{name}-devel = %{version}
83 Static libbz2 library.
85 %description -l pl static
86 Biblioteka statyczna libbz2.
94 libtoolize --copy --force
101 rm -rf $RPM_BUILD_ROOT
103 %{__make} install DESTDIR=$RPM_BUILD_ROOT
105 # Substitute %{_bindir} in bzless.
106 mv -f $RPM_BUILD_ROOT%{_bindir}/bzless{,.tmp}
107 sed -e "s@%%{_bindir}@%{_bindir}@g" \
108 $RPM_BUILD_ROOT%{_bindir}/bzless.tmp > \
109 $RPM_BUILD_ROOT%{_bindir}/bzless
110 rm -f $RPM_BUILD_ROOT%{_bindir}/bzless.tmp
112 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
114 %{!?_without_tetex: ( cd doc ; texi2html bzip2.texi )}
116 gzip -9nf README* NEWS Y2K_INFO
119 rm -rf $RPM_BUILD_ROOT
121 %post -p /sbin/ldconfig
122 %postun -p /sbin/ldconfig
125 %defattr(644,root,root,755)
126 %doc README.gz Y2K_INFO.gz
127 %attr(755,root,root) %{_libdir}/lib*.so.*.*
128 %attr(755,root,root) %{_bindir}/*
129 %lang(en) %{_mandir}/man1/*
130 %lang(es) %{_mandir}/es/man1/*
131 %lang(fr) %{_mandir}/fr/man1/*
132 %lang(hu) %{_mandir}/hu/man1/*
133 %lang(ja) %{_mandir}/ja/man1/*
134 %lang(ko) %{_mandir}/ko/man1/*
135 %lang(pl) %{_mandir}/pl/man1/*
138 %defattr(644,root,root,755)
139 %{!?_without_tetex: %doc doc/*.html}
140 %attr(755,root,root) %{_libdir}/lib*.so
144 %defattr(644,root,root,755)