]> git.pld-linux.org Git - packages/lzlib.git/blob - lzlib.spec
053c79b975390b389bea2a559a405eab39c1805e
[packages/lzlib.git] / lzlib.spec
1 Summary:        Data compression library providing in-memory LZMA compression and decompression
2 Summary(pl.UTF-8):      Biblioteka zapewniająca kompresję i dekompresję LZMA dla danych w pamięci
3 Name:           lzlib
4 Version:        1.10
5 Release:        1
6 # library license is (2-clause) BSD
7 # minilzip license is GPL v2, but it's not packaged
8 License:        BSD
9 Group:          Libraries
10 Source0:        http://download.savannah.gnu.org/releases/lzip/lzlib/%{name}-%{version}.tar.lz
11 # Source0-md5:  6fb4be6e01371c32a379f7fd225a2ef9
12 Patch0:         %{name}-info.patch
13 URL:            http://savannah.nongnu.org/projects/lzip/
14 BuildRequires:  lzip
15 BuildRequires:  tar >= 1:1.22
16 BuildRequires:  texinfo
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Lzlib is a data compression library providing in-memory LZMA
21 compression and decompression functions, including integrity checking
22 of the decompressed data. The compressed data format used by the
23 library is the lzip format. Lzlib is written in C.
24
25 %description -l pl.UTF-8
26 Lzlib to biblioteka kompresji danych zapewniająca funkcje do kompresji
27 i dekompresji LZMA w pamięci wraz z kontrolą integralności
28 dekompresowanych danych. Format skompresowanych danych używany przez
29 bibliotekę to format lzip. Biblioteka jest napisana w C.
30
31 %package devel
32 Summary:        Header file for lzlib library
33 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki lzlib
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36
37 %description devel
38 Header file for lzlib library.
39
40 %description devel -l pl.UTF-8
41 Plik nagłówkowy biblioteki lzlib.
42
43 %package static
44 Summary:        Static lzlib library
45 Summary(pl.UTF-8):      Statyczna biblioteka lzlib
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static lzlib library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka lzlib.
54
55 %prep
56 %setup -q
57 %patch0 -p1
58
59 %build
60 %configure \
61         --enable-shared
62 %{__make} all info
63
64 %install
65 rm -rf $RPM_BUILD_ROOT
66
67 %{__make} install \
68         DESTDIR=$RPM_BUILD_ROOT
69
70 %clean
71 rm -rf $RPM_BUILD_ROOT
72
73 %post   -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
75
76 %post   devel -p /sbin/postshell
77 -/usr/sbin/fix-info-dir -c %{_infodir}
78
79 %postun devel -p /sbin/postshell
80 -/usr/sbin/fix-info-dir -c %{_infodir}
81
82 %files
83 %defattr(644,root,root,755)
84 %doc AUTHORS COPYING ChangeLog NEWS README
85 %attr(755,root,root) %{_libdir}/liblz.so.*.*
86 %attr(755,root,root) %ghost %{_libdir}/liblz.so.1
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/liblz.so
91 %{_includedir}/lzlib.h
92 %{_infodir}/lzlib.info*
93
94 %files static
95 %defattr(644,root,root,755)
96 %{_libdir}/liblz.a
This page took 0.048834 seconds and 2 git commands to generate.