1 | Name: zziplib |
---|
2 | Summary: Lightweight library to easily extract data from zip files |
---|
3 | Version: 0.13.62 |
---|
4 | Release: 1%{?_dist_release} |
---|
5 | License: LGPLv2+ or MPLv1.1 |
---|
6 | Group: System Environment/Libraries |
---|
7 | URL: http://zziplib.sourceforge.net/ |
---|
8 | |
---|
9 | Source: http://dl.sf.net/zziplib/zziplib-%{version}.tar.bz2 |
---|
10 | Patch0: zziplib-0.13.59-multilib.patch |
---|
11 | Patch1: zziplib-0.13.62-xmlto.patch |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
14 | BuildRequires: perl |
---|
15 | BuildRequires: python |
---|
16 | BuildRequires: zip |
---|
17 | BuildRequires: xmlto |
---|
18 | BuildRequires: zlib-devel |
---|
19 | BuildRequires: SDL-devel |
---|
20 | BuildRequires: pkgconfig |
---|
21 | #BuildRequires: autoconf |
---|
22 | #BuildRequires: automake |
---|
23 | |
---|
24 | %description |
---|
25 | The zziplib library is intentionally lightweight, it offers the ability to |
---|
26 | easily extract data from files archived in a single zip file. Applications |
---|
27 | can bundle files into a single zip archive and access them. The implementation |
---|
28 | is based only on the (free) subset of compression with the zlib algorithm |
---|
29 | which is actually used by the zip/unzip tools. |
---|
30 | |
---|
31 | |
---|
32 | %package utils |
---|
33 | Summary: Utilities for the zziplib library |
---|
34 | Group: Applications/Archiving |
---|
35 | Requires: %{name} = %{version}-%{release} |
---|
36 | |
---|
37 | %description utils |
---|
38 | The zziplib library is intentionally lightweight, it offers the ability to |
---|
39 | easily extract data from files archived in a single zip file. Applications |
---|
40 | can bundle files into a single zip archive and access them. The implementation |
---|
41 | is based only on the (free) subset of compression with the zlib algorithm |
---|
42 | which is actually used by the zip/unzip tools. |
---|
43 | |
---|
44 | This packages contains all the utilities that come with the zziplib library. |
---|
45 | |
---|
46 | |
---|
47 | %package devel |
---|
48 | Summary: Development files for the zziplib library |
---|
49 | Group: Development/Libraries |
---|
50 | Requires: %{name} = %{version}-%{release} |
---|
51 | Requires: pkgconfig |
---|
52 | Requires: zlib-devel |
---|
53 | Requires: SDL-devel |
---|
54 | |
---|
55 | %description devel |
---|
56 | The zziplib library is intentionally lightweight, it offers the ability to |
---|
57 | easily extract data from files archived in a single zip file. Applications |
---|
58 | can bundle files into a single zip archive and access them. The implementation |
---|
59 | is based only on the (free) subset of compression with the zlib algorithm |
---|
60 | which is actually used by the zip/unzip tools. |
---|
61 | |
---|
62 | This package contains files required to build applications that will use the |
---|
63 | zziplib library. |
---|
64 | |
---|
65 | |
---|
66 | %prep |
---|
67 | %setup -q |
---|
68 | %patch0 -p1 |
---|
69 | %patch1 -p1 |
---|
70 | |
---|
71 | autoreconf -f -i |
---|
72 | |
---|
73 | # Save the common patched _config.h file to overwrite the generated one |
---|
74 | %{__cp} -a zzip/_config.h _config.h |
---|
75 | |
---|
76 | |
---|
77 | %build |
---|
78 | %configure \ |
---|
79 | --disable-static \ |
---|
80 | --enable-sdl \ |
---|
81 | --enable-frame-pointer |
---|
82 | # Remove rpath on 64bit archs |
---|
83 | sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' */libtool |
---|
84 | sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' */libtool |
---|
85 | %{__make} %{?_smp_mflags} |
---|
86 | |
---|
87 | |
---|
88 | %install |
---|
89 | %{__rm} -rf %{buildroot} |
---|
90 | %{__make} install DESTDIR=%{buildroot} |
---|
91 | |
---|
92 | # Overwrite the platform specific _config.h with our own modified common one |
---|
93 | %{__rm} -f %{buildroot}%{_includedir}/zzip/_config.h |
---|
94 | %{__install} -p -m 0644 _config.h %{buildroot}%{_includedir}/zzip/_config.h |
---|
95 | |
---|
96 | |
---|
97 | %clean |
---|
98 | %{__rm} -rf %{buildroot} |
---|
99 | |
---|
100 | |
---|
101 | %post -p /sbin/ldconfig |
---|
102 | |
---|
103 | %postun -p /sbin/ldconfig |
---|
104 | |
---|
105 | |
---|
106 | %files |
---|
107 | %defattr(-,root,root,-) |
---|
108 | %doc docs/COPYING* ChangeLog README TODO |
---|
109 | %{_libdir}/*.so.* |
---|
110 | |
---|
111 | %files utils |
---|
112 | %defattr(-,root,root,-) |
---|
113 | %{_bindir}/* |
---|
114 | |
---|
115 | %files devel |
---|
116 | %defattr(-,root,root,-) |
---|
117 | %doc docs/README.SDL docs/*.htm |
---|
118 | %{_includedir}/* |
---|
119 | %exclude %{_libdir}/*.la |
---|
120 | %{_libdir}/*.so |
---|
121 | %{_libdir}/pkgconfig/*.pc |
---|
122 | %{_datadir}/aclocal/*.m4 |
---|
123 | %{_mandir}/man3/* |
---|
124 | |
---|
125 | |
---|
126 | %changelog |
---|
127 | * Thu Oct 02 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.13.62-1 |
---|
128 | - updated to 0.13.62 |
---|
129 | - added Patch1 to build xmlto-0.0.26 |
---|
130 | - moved main package to System Environment/Libraries Group |
---|
131 | |
---|
132 | * Fri Apr 01 2011 Munehiro Yamamoto <munepi@vinelinux.org> - 0.13.59-1 |
---|
133 | - initial build based on Fedora rawhide |
---|
134 | |
---|
135 | * Thu Dec 9 2010 Hans de Goede <hdegoede@redhat.com> 0.13.59-2 |
---|
136 | - Fix broken zzip/_config.h which causes apps using zziplib to fail to compile |
---|
137 | |
---|
138 | * Sat Dec 4 2010 Matthias Saou <http://freshrpms.net/> 0.13.59-1 |
---|
139 | - Update to 0.13.59. |
---|
140 | - Remove no longer needed 'open' patch. |
---|
141 | - Rebase the multilib patch, still required. |
---|
142 | - Re-enable _smp_mflags, build works again with it apparently. |
---|
143 | |
---|
144 | * Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.49-8 |
---|
145 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
146 | |
---|
147 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.49-7 |
---|
148 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
149 | |
---|
150 | * Mon Dec 22 2008 Matthias Saou <http://freshrpms.net/> 0.13.49-6 |
---|
151 | - Patch _config.h to make it identical for 32bit and 64bit archs (#343521). |
---|
152 | |
---|
153 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> |
---|
154 | - Autorebuild for GCC 4.3 |
---|
155 | |
---|
156 | * Wed Aug 8 2007 Matthias Saou <http://freshrpms.net/> 0.13.49-4 |
---|
157 | - Include patch to fix fd.open calls with recent glibc. |
---|
158 | - Disable _smp_mflags since the docs fail to build. |
---|
159 | |
---|
160 | * Fri Aug 3 2007 Matthias Saou <http://freshrpms.net/> 0.13.49-3 |
---|
161 | - Update License field. |
---|
162 | |
---|
163 | * Tue Jun 19 2007 Matthias Saou <http://freshrpms.net/> 0.13.49-2 |
---|
164 | - Disable static lib build instead of excluding it later. |
---|
165 | - Remove rpath on 64bit archs. |
---|
166 | - Switch to using DESTDIR install method. |
---|
167 | |
---|
168 | * Mon Mar 26 2007 Matthias Saou <http://freshrpms.net/> 0.13.49-1 |
---|
169 | - Update to 0.13.49 to fix CVE-2007-1614 (rhbz #233700). |
---|
170 | - Include new man3 pages to the devel sub-package. |
---|
171 | |
---|
172 | * Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 0.13.47-1 |
---|
173 | - Update to 0.13.47. |
---|
174 | - FC6 rebuild. |
---|
175 | |
---|
176 | * Mon Jul 24 2006 Matthias Saou <http://freshrpms.net/> 0.13.45-3 |
---|
177 | - Split off -utils sub-package (#199467). Could have been plain "zzip"? |
---|
178 | - Have sub-packages require exact release too. |
---|
179 | - Build require automake to make the aclocal-1.9 check happy. |
---|
180 | - Use --enable-frame-pointer otherwise -g gets removed from the CFLAGS. |
---|
181 | |
---|
182 | * Mon Mar 6 2006 Matthias Saou <http://freshrpms.net/> 0.13.45-2 |
---|
183 | - FC5 rebuild. |
---|
184 | |
---|
185 | * Thu Feb 9 2006 Matthias Saou <http://freshrpms.net/> 0.13.45-1 |
---|
186 | - Update to 0.13.45. |
---|
187 | - Exclude static library. |
---|
188 | |
---|
189 | * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.13.38-2 |
---|
190 | - rebuild on all arches |
---|
191 | |
---|
192 | * Tue Apr 5 2005 Matthias Saou <http://freshrpms.net/> 0.13.38-1 |
---|
193 | - Update to 0.13.38, fixes gcc4 compile issues (Adrian Reber). |
---|
194 | |
---|
195 | * Tue Nov 16 2004 Matthias Saou <http://freshrpms.net/> 0.13.36-2 |
---|
196 | - Bump release to provide Extras upgrade path. |
---|
197 | |
---|
198 | * Tue Jun 8 2004 Matthias Saou <http://freshrpms.net/> 0.13.36-1 |
---|
199 | - Initial RPM release. |
---|
200 | |
---|