]> git.pld-linux.org Git - packages/zziplib.git/blob - zziplib.spec
1ff043d4cde8e98954a009e1dbbe6185a1bb46de
[packages/zziplib.git] / zziplib.spec
1 Summary:        ZZipLib - libZ-based ZIP-access Library
2 Summary(pl):    ZZipLib - biblioteka dostêpu do archiwów ZIP
3 Name:           zziplib
4 Version:        0.10.64
5 Release:        2
6 Epoch:          1
7 License:        LGPL with exceptions (see COPYING.ZZIP)
8 Vendor:         Guido Draheim <guidod@gmx.de>
9 Group:          Libraries
10 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/%{name}/%{name}-%{version}.tar.gz
11 URL:            http://zziplib.sourceforge.net/
12 BuildRequires:  zlib-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 ZZipLib provides read access to zipped files in a zip-archive, using
17 compression based solely on free algorithms provided by zlib. ZZipLib
18 provides an additional API to transparently access files being either
19 real files or zipped files with the same filepath argument. This is
20 handy to package many files being shared data into a single zip file -
21 as it is sometimes used with gamedata or script repositories. The
22 library itself is fully multithreaded, and it is namespace clean using
23 the zzip_ prefix for its exports and declarations.
24
25 %description -l pl
26 ZZipLib pozwala na odczyt plików skompresowanych w archiwach zip,
27 u¿ywaj±c do dekompresji wolnodostêpnych algorytmów z biblioteki zlib.
28 ZZipLib dostarcza dodatkowe API do przezroczystego dostêpu do plików
29 rzeczywistych lub umieszczonych w archiwach zip przy pomocy takiej
30 samej ¶cie¿ki. Jest to przydatne przy trzymaniu wielu plików w jednym
31 archiwum, co bywa stosowane w przypadku danych dla gier lub
32 repozytoriów. Biblioteka jest w pe³ni wielow±tkowa i ma czyst±
33 przestrzeñ nazw (u¿ywa prefiksu zzip_).
34
35 %package devel
36 Summary:        ZZipLib - Development Files
37 Summary(pl):    Pliki dla programistów ZZipLib
38 Group:          Development/Libraries
39 Requires:       %{name} = %{version}
40
41 %description devel
42 These are the header files needed to develop programs using zziplib.
43
44 %description devel -l pl
45 Ten pakiet zawiera plikia nag³ówkowe potrzebne do tworzenia programów
46 korzystaj±cych z biblioteki zziplib.
47
48 %package static
49 Summary:        ZZipLib static library
50 Summary(pl):    Statyczna biblioteka ZZipLib
51 Group:          Development/Libraries
52 Requires:       %{name}-devel = %{version}
53
54 %description static
55 ZZipLib static library.
56
57 %description static -l pl
58 Statyczna biblioteka ZZipLib.
59
60 %prep
61 %setup -q
62
63 %build
64 %configure
65
66 %{__make}
67 %{__make} doc
68
69 %install
70 rm -rf $RPM_BUILD_ROOT
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
73         
74 mv -f zzip-INTRO.html index.html || true
75 rm -f zzip-SFNET.html
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %post   -p /sbin/ldconfig
81 %postun -p /sbin/ldconfig
82
83 %files
84 %defattr(644,root,root,755)
85 %doc ChangeLog TODO COPYING.Z*
86 %attr(755,root,root) %{_bindir}/zz[^i]*
87 %attr(755,root,root) %{_libdir}/lib*.so.*.*
88
89 %files devel
90 %defattr(644,root,root,755)
91 %doc SDL_* zzcat.c zzdir.c zziptest.c *.html
92 %attr(755,root,root) %{_bindir}/zzip-config
93 %attr(755,root,root) %{_libdir}/lib*.so
94 %attr(755,root,root) %{_libdir}/lib*.la
95 %{_includedir}/*
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/lib*.a
This page took 0.051589 seconds and 2 git commands to generate.