source: projects/specs/trunk/z/zziplib/zziplib-vl.spec @ 8995

Revision 8995, 6.2 KB checked in by inagaki, 9 years ago (diff)

2014-10-03 Ryoichi INAGAKI <ryo1@…>

  • util-linux: updated summary and group
  • zziplib: updated


Line 
1Name: zziplib
2Summary: Lightweight library to easily extract data from zip files
3Version: 0.13.62
4Release: 1%{?_dist_release}
5License: LGPLv2+ or MPLv1.1
6Group: System Environment/Libraries
7URL: http://zziplib.sourceforge.net/
8
9Source: http://dl.sf.net/zziplib/zziplib-%{version}.tar.bz2
10Patch0: zziplib-0.13.59-multilib.patch
11Patch1: zziplib-0.13.62-xmlto.patch
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
14BuildRequires: perl
15BuildRequires: python
16BuildRequires: zip
17BuildRequires: xmlto
18BuildRequires: zlib-devel
19BuildRequires: SDL-devel
20BuildRequires: pkgconfig
21#BuildRequires: autoconf
22#BuildRequires: automake
23
24%description
25The zziplib library is intentionally lightweight, it offers the ability to
26easily extract data from files archived in a single zip file. Applications
27can bundle files into a single zip archive and access them. The implementation
28is based only on the (free) subset of compression with the zlib algorithm
29which is actually used by the zip/unzip tools.
30
31
32%package utils
33Summary: Utilities for the zziplib library
34Group: Applications/Archiving
35Requires: %{name} = %{version}-%{release}
36
37%description utils
38The zziplib library is intentionally lightweight, it offers the ability to
39easily extract data from files archived in a single zip file. Applications
40can bundle files into a single zip archive and access them. The implementation
41is based only on the (free) subset of compression with the zlib algorithm
42which is actually used by the zip/unzip tools.
43
44This packages contains all the utilities that come with the zziplib library.
45
46
47%package devel
48Summary: Development files for the zziplib library
49Group: Development/Libraries
50Requires: %{name} = %{version}-%{release}
51Requires: pkgconfig
52Requires: zlib-devel
53Requires: SDL-devel
54
55%description devel
56The zziplib library is intentionally lightweight, it offers the ability to
57easily extract data from files archived in a single zip file. Applications
58can bundle files into a single zip archive and access them. The implementation
59is based only on the (free) subset of compression with the zlib algorithm
60which is actually used by the zip/unzip tools.
61
62This package contains files required to build applications that will use the
63zziplib library.
64
65
66%prep
67%setup -q
68%patch0 -p1
69%patch1 -p1
70
71autoreconf -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
83sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' */libtool
84sed -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
Note: See TracBrowser for help on using the repository browser.