3 Summary: ZZipLib - libZ-based ZIP-access Library
8 Group: Development/Libraries
9 URL: http://zziplib.sf.net
10 Vendor: Guido Draheim <guidod@gmx.de>
11 Source0: http://prdownloads.sf.net/%{name}/%{name}-%{version}.tar.bz2
12 BuildRoot: /var/tmp/%{name}-%{version}-%{release}
14 Distribution: Original
15 Packager: Guido Draheim <guidod@gmx.de>
17 BuildRequires: zlib-devel
18 BuildRequires: SDL-devel
22 # Author1: too@iki.fi (Tomi Ollila)
23 # Author2: guidod@gmx.de (Guido Draheim)
24 # Maintained-by: guidod@gmx.de (Guido Draheim)
25 # Primary-Site: zziplib.sf.net
26 # Keywords: zip zlib inflate archive gamedata
27 # Platforms: zlib posix
28 # Copying-Policy: Lesser GPL Version 2
32 Summary: ZZipLib - Documentation Files
33 Group: Development/Libraries
34 Provides: zziplib = %version
35 Provides: libzzip0 = %version
36 Provides: libzzip-0.so.10
39 Summary: ZZipLib - Documentation Files
40 Group: Development/Libraries
46 Summary: ZZipLib - Development Files
47 Group: Development/Libraries
48 Requires: zziplib-%lib = %version
51 %package SDL_rwops-devel
52 Summary: ZZipLib - Development Files for SDL_rwops
53 Group: Development/Libraries
54 Requires: zziplib-%lib = %version
56 BuildRequires: SDL-devel
59 : zziplib provides read access to zipped files in a zip-archive,
60 : using compression based solely on free algorithms provided by zlib.
63 : zziplib provides read access to zipped files in a zip-archive,
64 : using compression based solely on free algorithms provided by zlib.
65 zziplib provides an additional API to transparently access files
66 being either real files or zipped files with the same filepath argument.
67 This is handy to package many files being shared data into a single
68 zip file - as it is sometimes used with gamedata or script repositories.
69 The library itself is fully multithreaded, and it is namespace clean
70 using the zzip_ prefix for its exports and declarations.
73 : zziplib provides read access to zipped files in a zip-archive,
74 : using compression based solely on free algorithms provided by zlib.
75 these are the (html) docs, mostly generated actually.
78 : zziplib provides read access to zipped files in a zip-archive,
79 : using compression based solely on free algorithms provided by zlib.
80 these are the header files needed to develop programs using zziplib.
81 there are test binaries to hint usage of the library in user programs.
83 %description SDL_rwops-devel
84 : zziplib provides read access to zipped files in a zip-archive,
85 : using compression based solely on free algorithms provided by zlib.
86 these are example headers and implementation along with a pkgconfig
87 script that allows to easily use zziplib through SDL_rwops calls.
94 CFLAGS="$RPM_OPT_FLAGS" \
95 sh configure --prefix=%{_prefix} \
96 --with-docdir=%{_docdir} \
100 --enable-sdl TIMEOUT=9
104 %__make %{?jobs:-j%jobs}
107 %__make %{?jobs:-j%jobs} zzip64-build
108 %__make %{?jobs:-j%jobs} doc
111 %__rm -rf %{buildroot}
112 %__make zzip64-install DESTDIR=%{buildroot}
113 %__make install DESTDIR=%{buildroot}
114 %__make zzip32-postinstall DESTDIR=%{buildroot}
115 %__make zzip-postinstall
116 %__make install-doc DESTDIR=%{buildroot}
117 %__make install-mans DESTDIR=%{buildroot}
118 %__make install-sdl DESTDIR=%{buildroot}
121 %__rm -rf %{buildroot}
124 %defattr(-,root,root)
128 /sbin/ldconfig || true
130 /sbin/ldconfig || true
133 %defattr(-,root,root)
135 %dir %{_datadir}/omf/%{name}
136 %{_datadir}/omf/%{name}/*
139 test ! -f %_bindir/scrollkeeper-update || %_bindir/scrollkeeper-update
141 test ! -f %_bindir/scrollkeeper-update || %_bindir/scrollkeeper-update
144 %defattr(-,root,root)
146 %dir %{_includedir}/zzip
147 %{_includedir}/zzip/*
152 %{_libdir}/pkgconfig/zzip*
153 %{_datadir}/aclocal/%{name}*.m4
156 %files SDL_rwops-devel
157 %defattr(-,root,root)
158 %{_libdir}/pkgconfig/SDL*zzip*
159 %dir %{_includedir}/SDL_rwops_zzip
160 %{_includedir}/SDL_rwops_zzip/*