]> git.pld-linux.org Git - packages/lzo.git/blob - lzo.spec
- changed req for static subpkg in static subpkg (!!!) to devel
[packages/lzo.git] / lzo.spec
1 Summary:        LZO -- a real-time data compression library
2 Summary(pl):    LZO -- biblioteka kompresji danych w czasie rzeczywistym
3 Name:           lzo
4 Version:        1.07
5 Release:        4
6 Group:          Libraries
7 Group(de):      Libraries
8 Group(fr):      Librairies
9 Group(pl):      Biblioteki
10 License:        GPL
11 Source0:        http://wildsau.idv.uni-linz.ac.at/mfx/download/lzo/%{name}-%{version}.tar.gz
12 URL:            http://wildsau.idv.uni-linz.ac.at/mfx/lzo.html
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 LZO is a portable lossless data compression library written in ANSI C.
17 It implements a number of algorithms with the following features:
18 - Decompression is simple and *very* fast.
19 - Requires no memory for decompression.
20 - Compression is pretty fast.
21 - Requires 64 kB of memory for compression.
22 - Allows you to dial up extra compression at a speed cost in the
23   compressor. The speed of the decompressor is not reduced.
24 - Includes compression levels for generating pre-compressed data which
25   achieve a quite competitive compression ratio.
26 - There is also a compression level which needs only 8 kB for
27   compression.
28 - Supports overlapping compression and in-place decompression.
29 - Algorithm is thread safe.
30 - Algorithm is lossless.
31
32 %package devel
33 Summary:        LZO -- a real-time data compression library
34 Group:          Development/Libraries
35 Group(de):      Entwicklung/Libraries
36 Group(fr):      Development/Librairies
37 Group(pl):      Programowanie/Biblioteki
38 Requires:       %{name} = %{version}
39
40 %description devel
41 Header files for LZO.
42
43 %description -l pl devel
44 Pliki nag³ówkowe dla LZO
45
46 %package static
47 Summary:        LZO static library
48 Group:          Development/Libraries
49 Group(de):      Entwicklung/Libraries
50 Group(fr):      Development/Librairies
51 Group(pl):      Programowanie/Biblioteki
52 Requires:       %{name}-devel = %{version}
53
54 %description static
55 LZO static library.
56
57 %description -l pl static
58 Biblioteki statyczne dla LZO
59
60 %prep
61 %setup  -q
62 %build
63 %configure2_13 \
64         --enable-shared
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install DESTDIR=$RPM_BUILD_ROOT
72
73 gzip -9nf README ChangeLog 
74
75 %post   -p /sbin/ldconfig
76 %postun -p /sbin/ldconfig
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %attr(755,root,root) %{_libdir}/lib*.so.*.*
84
85 %files devel
86 %defattr(644,root,root,755)
87 %doc *.gz
88 %{_includedir}/*
89 %{_libdir}/lib*.so
90 %{_libdir}/lib*.la
91
92 %files static
93 %defattr(644,root,root,755)
94 %{_libdir}/lib*.a
This page took 0.097909 seconds and 4 git commands to generate.