# # spec file for package zziplib (Version 0.13.49) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: zziplib Summary: ZZipLib: Free Zip Compression Library with an Easy-to-Use API Version: 0.13.49 Release: 104 License: LGPL v2.1 or later Group: System/Libraries AutoReqProv: on Url: http://zziplib.sourceforge.net Source0: http://prdownloads.sourceforge.net/zziplib/%{name}-%{version}.tar.bz2 Patch: zziplib-0.13.49.patch BuildRequires: pkgconfig python zlib-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description ZZipLib is a library for dealing with zip and zip-like archives by using free algorithms of zlib. Authors: -------- Guido Draheim %package devel License: LGPL v2.1 or later Summary: ZZipLib: free zip compression library with easy to use API Group: Development/Libraries/C and C++ Requires: %{name} = %{version} glibc-devel zlib-devel %description devel That are the header files needed for developing applications using ZZipLib. Authors: -------- Guido Draheim %prep %setup -q %patch %build autoreconf -fi %configure --enable-largefile --disable-static --with-pic %{__make} %{?jobs:-j%jobs} make doc %install %{__make} DESTDIR=%{buildroot} install %{__rm} -f docs/Make* docs/zziplib-manpages.ar grep -r include %{buildroot}%{_includedir} %check %{__make} check || exit 0 %clean %{__rm} -rf %{buildroot} %post -n %{name} -p /sbin/ldconfig %postun -n %{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_libdir}/libzzip*-*.so.* %files devel %defattr(-,root,root) %doc docs/README* docs/* ChangeLog README TODO %{_bindir}/unzzip* %{_bindir}/zz* %{_bindir}/unzip-mem %{_libdir}/libzzip*.la %{_libdir}/libzzip*.so %{_includedir}/* %{_libdir}/pkgconfig/*.pc %{_mandir}/man3/* %{_datadir}/aclocal/*.m4 %changelog * Fri Oct 24 2008 wgottwalt@suse.de - removed ./msvc7/pkzip.exe and ./msvc8/zip.exe to avoid license problems * Wed Aug 15 2007 crrodriguez@suse.de - update to version 0.13.49 fixes #260734 buffer overflow due to wrong usage of strcpy() * Thu Mar 29 2007 dmueller@suse.de - adjust buildrequires * Mon Dec 04 2006 dmueller@suse.de - don't build as root * Tue Oct 03 2006 aj@suse.de - Fix build. * Fri Aug 18 2006 aj@suse.de - Fix build. * Mon May 22 2006 wgottwalt@suse.de - initial release - still problems with the "make check" build option