]> git.pld-linux.org Git - packages/bzip2.git/blob - bzip2.spec
- new libtoolizeautoconf (added bzgrep script).
[packages/bzip2.git] / bzip2.spec
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
4 Name:           bzip2
5 Version:        1.0.1
6 Release:        2
7 License:        GPL
8 Group:          Utilities/Archiving
9 Group(fr):      Applications/Archivage
10 Group(pl):      Narzêdzia/Archiwizacja
11 Source0:        ftp://sourceware.cygnus.com/pub/bzip2/v100/%{name}-%{version}.tar.gz
12 Patch0:         bzip2-libtoolizeautoconf.patch
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  libtool
16 URL:            http://sourceware.cygnus.com/bzip2/
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
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
26 identical.
27
28 %description -l fr
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.
34
35 %description -l pl
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.
41
42 %package devel
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 Group(fr):      Development/Librairies
48 Group(pl):      Programowanie/Biblioteki
49 Requires:       %{name} = %{version}
50
51 %description devel
52 Libbz2 library header files
53
54 %description -l pl devel
55 Pliki nag³ówkowe do libbz2.
56
57 %package static
58 Summary:        Static libbz2 library
59 Summary(pl):    Biblioteka statyczna libbz2
60 Group:          Development/Libraries
61 Group(fr):      Development/Librairies
62 Group(pl):      Programowanie/Biblioteki
63 Requires:       %{name}-devel = %{version}
64
65 %description static
66 Static libbz2 library.
67
68 %description -l pl static
69 Biblioteka statyczna libbz2.
70
71 %prep
72 %setup -q
73 %patch -p1
74
75 %build
76 aclocal
77 libtoolize --copy --force
78 automake -a -c
79 autoconf
80 LDFLAGS="-s"; export LDFLAGS
81 %configure
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install DESTDIR=$RPM_BUILD_ROOT
88
89 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
90
91 gzip -9nf README* NEWS Y2K_INFO \
92         $RPM_BUILD_ROOT%{_mandir}/{,pl}/man1/*
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %clean
98 rm -rf $RPM_BUILD_ROOT
99
100 %files
101 %defattr(644,root,root,755)
102 %doc CHANGES.gz 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(pl) %{_mandir}/pl/man1/*
107
108 %files devel
109 %defattr(644,root,root,755)
110 %doc manual*html 
111 %doc *.html
112 %attr(755,root,root) %{_libdir}/lib*.so
113 %{_includedir}/*.h
114
115 %files static
116 %defattr(644,root,root,755)
117 %{_libdir}/lib*.a
This page took 0.045171 seconds and 4 git commands to generate.