]> git.pld-linux.org Git - SPECS.git/blob - libzio.spec
SPECS updated Mon 29 Apr 22:05:02 CEST 2024
[SPECS.git] / libzio.spec
1 Summary:        Wrapper library for reading or writing gzip/bzip2/lzma/xz files
2 Summary(pl.UTF-8):      Biblioteka pośrednia do odczytu i zapisu plików gzip/bzip2/lzma/xz
3 Name:           libzio
4 Version:        1.02
5 Release:        1
6 License:        GPL v2+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/libzio/%{name}-%{version}.tar.bz2
9 # Source0-md5:  b1d94e51ee8c963335510881b677a55f
10 URL:            http://libzio.sourceforge.net/
11 BuildRequires:  bzip2-devel
12 BuildRequires:  xz-devel
13 BuildRequires:  zlib-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 This small library provides with the help of the fopencookie(3) of the
18 glibc and the libz, libbz2 and libzma a simple interface for reading
19 or writing gzip/bzip2/lzma/xz files.
20
21 %description -l pl.UTF-8
22 Ta mała biblioteka przy pomocy funkcji fopencookie(3) z glibc i
23 bibliotek libz/libbz2/liblzma dostarcza prosty interfejs do odczytu i
24 zapisu plików gzip/bzip2/lzma/xz.
25
26 %package devel
27 Summary:        Header files for libzio library
28 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki libzio
29 Group:          Development/Libraries
30 Requires:       %{name} = %{version}-%{release}
31
32 %description devel
33 Header files for libzio library.
34
35 %description devel -l pl.UTF-8
36 Pliki nagłówkowe biblioteki libzio.
37
38 %package static
39 Summary:        Static libzio library
40 Summary(pl.UTF-8):      Statyczna biblioteka libzio
41 Group:          Development/Libraries
42 Requires:       %{name}-devel = %{version}-%{release}
43
44 %description static
45 Static libzio library.
46
47 %description static -l pl.UTF-8
48 Statyczna biblioteka libzio.
49
50 %prep
51 %setup -q
52
53 %build
54 %{__make} \
55         CC="%{__cc}" \
56         RPM_OPT_FLAGS="%{rpmcflags}"
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT \
63         libdir=%{_libdir}
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post   -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
70
71 %files
72 %defattr(644,root,root,755)
73 %doc README
74 %attr(755,root,root) %{_libdir}/libzio.so.*.*
75 %attr(755,root,root) %ghost %{_libdir}/libzio.so.1
76
77 %files devel
78 %defattr(644,root,root,755)
79 %attr(755,root,root) %{_libdir}/libzio.so
80 %{_includedir}/zio.h
81 %{_mandir}/man3/fzopen.3*
82
83 %files static
84 %defattr(644,root,root,755)
85 %{_libdir}/libzio.a
This page took 0.214944 seconds and 3 git commands to generate.