2 Summary: ZZipLib
- libZ
-based ZIP
-access Library with an Easy
-to
-Use API
7 Group: System
/Libraries
8 URL: http
://zziplib.sf.net
9 Vendor: Guido Draheim
<guidod@gmx.de
>
10 Source0: http
://prdownloads.sf.net
/%{name}/%{name}-%{version}.tar.bz2
11 BuildRoot: /var
/tmp
/%{name}-%{version}-%{release}
13 Distribution: Original
14 Packager: Guido Draheim
<guidod@gmx.de
>
16 BuildRequires
: zlib
-devel
17 BuildRequires
: SDL
-devel
20 Provides: libzzip0
= %version
21 Provides: libzzip
-0.so
.10
22 Provides: zziplib
-lib010
= %version
25 # Author1: too@iki.fi (Tomi Ollila)
26 # Author2: guidod@gmx.de (Guido Draheim)
27 # Maintained-by: guidod@gmx.de (Guido Draheim)
28 # Primary-Site: zziplib.sf.net
29 # Keywords: zip zlib inflate archive gamedata
30 # Platforms: zlib posix
31 # Copying-Policy: Lesser GPL Version 2
35 Summary: ZZipLib
- Documentation Files
36 Group: Development
/Languages
/C and C
++
42 Summary: ZZipLib
- Development Files
43 Group: Development
/Languages
/C and C
++
44 Requires: zziplib
= %version
47 %package SDL_rwops
-devel
48 Summary: ZZipLib
- Development Files
for SDL_rwops
49 Group: Development
/Languages
/C and C
++
50 Requires: zziplib
= %version
52 BuildRequires
: SDL
-devel
55 : zziplib provides
read access to zipped files
in a zip
-archive
,
56 : using compression based solely on free algorithms provided by zlib.
57 zziplib provides an additional API to transparently access files
58 being either real files or zipped files with the same filepath argument.
59 This is handy to package many files being shared data into a single
60 zip file
- as it is sometimes used with gamedata or script repositories.
61 The library itself is fully multithreaded
, and it is namespace clean
62 using the zzip_ prefix
for its exports and declarations.
65 : zziplib provides
read access to zipped files
in a zip
-archive
,
66 : using compression based solely on free algorithms provided by zlib.
67 these are the
(html
) docs
, mostly generated actually.
70 : zziplib provides
read access to zipped files
in a zip
-archive
,
71 : using compression based solely on free algorithms provided by zlib.
72 these are the header files needed to develop programs using zziplib.
73 there are
test binaries to hint usage of the library
in user programs.
75 %description SDL_rwops
-devel
76 : zziplib provides
read access to zipped files
in a zip
-archive
,
77 : using compression based solely on free algorithms provided by zlib.
78 these are example headers and implementation along with a pkgconfig
79 script that allows to easily use zziplib through SDL_rwops calls.
86 CFLAGS
="$RPM_OPT_FLAGS" \
87 sh configure
--prefix
=%{_prefix} \
91 --with
-docdir
=%{_docdir} \
92 --disable
-static
--with
-pic \
93 --enable-sdl TIMEOUT
=9
97 %__make %{?jobs:-j%jobs}
98 %__make %{?jobs:-j%jobs} zzip64
-build
99 %__make %{?jobs:-j%jobs} doc
106 %__rm -rf
%{buildroot}
107 %__make zzip64
-install DESTDIR
=%{buildroot}
108 %__make install DESTDIR
=%{buildroot}
109 %__make zzip32
-postinstall DESTDIR
=%{buildroot}
110 %__make zzip
-postinstall
111 %__make install-doc DESTDIR
=%{buildroot}
112 %__make install-mans DESTDIR
=%{buildroot}
113 %__make install-sdl DESTDIR
=%{buildroot}
116 %__rm -rf
%{buildroot}
119 %defattr(-,root
,root
)
122 %post -p
/sbin
/ldconfig
123 %postun -p
/sbin
/ldconfig
126 %defattr(-,root
,root
)
128 %dir %{_datadir}/omf/%{name}
129 %{_datadir}/omf/%{name}/*
132 test ! -f
%_bindir/scrollkeeper
-update ||
%_bindir/scrollkeeper
-update
134 test ! -f
%_bindir/scrollkeeper
-update ||
%_bindir/scrollkeeper
-update
137 %defattr(-,root
,root
)
138 %doc ChangeLog README TODO
140 %dir %{_includedir}/zzip
141 %{_includedir}/zzip
/*
146 %{_libdir}/pkgconfig
/zzip
*
147 %{_datadir}/aclocal/%{name}*.m4
150 %files SDL_rwops
-devel
151 %defattr(-,root
,root
)
152 %{_libdir}/pkgconfig
/SDL
*zzip
*
153 %dir %{_includedir}/SDL_rwops_zzip
154 %{_includedir}/SDL_rwops_zzip
/*
157 * So Mar
11 2012 guidod
<guidod@gmx.de
> 0.13.62-1