2008-10-25 02:54:35 +00:00
|
|
|
#
|
2009-08-13 15:39:31 +00:00
|
|
|
# spec file for package zziplib (Version 0.13.56)
|
2008-10-25 02:54:35 +00:00
|
|
|
#
|
2009-01-27 01:29:32 +00:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-10-25 02:54:35 +00:00
|
|
|
#
|
|
|
|
# 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
|
2009-08-13 15:39:31 +00:00
|
|
|
Version: 0.13.56
|
|
|
|
Release: 1
|
2008-10-25 02:54:35 +00:00
|
|
|
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.
|
|
|
|
|
|
|
|
%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++
|
2009-01-27 01:29:32 +00:00
|
|
|
Requires: %{name} = %{version} zlib-devel
|
2008-10-25 02:54:35 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
That are the header files needed for developing applications using
|
|
|
|
ZZipLib.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch
|
|
|
|
|
|
|
|
%build
|
2009-01-27 01:29:32 +00:00
|
|
|
autoreconf -fiv
|
2008-10-25 02:54:35 +00:00
|
|
|
%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
|
2009-01-27 01:29:32 +00:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2008-10-25 02:54:35 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
%{__make} check || exit 0
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
|
2009-01-27 01:29:32 +00:00
|
|
|
%post -p /sbin/ldconfig
|
2008-10-25 02:54:35 +00:00
|
|
|
|
2009-01-27 01:29:32 +00:00
|
|
|
%postun -p /sbin/ldconfig
|
2008-10-25 02:54:35 +00:00
|
|
|
|
|
|
|
%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*.so
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%{_datadir}/aclocal/*.m4
|
|
|
|
|
|
|
|
%changelog
|