Hello community, here is the log from the commit of package zziplib for openSUSE:Factory checked in at Thu Sep 22 10:54:02 CEST 2011.
-------- --- zziplib/zziplib.changes 2011-04-30 21:04:22.000000000 +0200 +++ /mounts/work_src_done/STABLE/zziplib/zziplib.changes 2011-09-16 18:18:56.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Sep 16 16:02:33 UTC 2011 - jeng...@medozas.de + +- Implement shlib policy/packaging for package, add baselibs.conf + and resolve redundant constructs + +------------------------------------------------------------------- calling whatdependson for head-i586 New: ---- baselibs.conf ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zziplib.spec ++++++ --- /var/tmp/diff_new_pack.3qo6Op/_old 2011-09-22 10:53:59.000000000 +0200 +++ /var/tmp/diff_new_pack.3qo6Op/_new 2011-09-22 10:53:59.000000000 +0200 @@ -15,32 +15,42 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # -# norootforbuild Name: zziplib +%define lname libzzip-0-13 Summary: ZZipLib: Free Zip Compression Library with an Easy-to-Use API Version: 0.13.58 Release: 9 License: LGPLv2.1+ Group: System/Libraries -AutoReqProv: on -Url: http://zziplib.sourceforge.net +URL: http://zziplib.sourceforge.net Source0: http://prdownloads.sourceforge.net/zziplib/%{name}-%{version}.tar.bz2 +Source2: baselibs.conf Patch: zziplib-0.13.49.patch Patch1: zziplib-0.13.58-wronglinking.patch -BuildRequires: pkgconfig python zlib-devel +BuildRequires: fdupes 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 -n %lname +Summary: ZZipLib: free zip compression library with easy to use API +Group: System/Libraries +Obsoletes: zziplib < %version-%release +Provides: zziplib = %version-%release + +%description -n %lname +ZZipLib is a library for dealing with zip and zip-like archives by +using free algorithms of zlib. + %package devel License: LGPLv2.1+ Summary: ZZipLib: free zip compression library with easy to use API Group: Development/Libraries/C and C++ -Requires: %{name} = %{version} zlib-devel +Requires: %lname = %version, zlib-devel %description devel That are the header files needed for developing applications using @@ -54,27 +64,25 @@ %build autoreconf -fiv %configure --enable-largefile --disable-static --with-pic -%{__make} %{?jobs:-j%jobs} -make doc +make %{?_smp_mflags} all; +make doc; %install -%{__make} DESTDIR=%{buildroot} install +%makeinstall %{__rm} -f docs/Make* docs/zziplib-manpages.ar -%{__rm} -f %{buildroot}%{_libdir}/*.la +find "%buildroot" -name "*.la" -type f -delete +%fdupes %buildroot %check %{__make} check || exit 0 -%clean -%{__rm} -rf %{buildroot} - -%post -p /sbin/ldconfig +%post -n %lname -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n %lname -p /sbin/ldconfig -%files +%files -n %lname %defattr(-,root,root) -%{_libdir}/libzzip*-*.so.* +%{_libdir}/libzzip*.so.* %files devel %defattr(-,root,root) ++++++ baselibs.conf ++++++ # Obsoletes added in 0.13.58; change to "<" starting with 0.13.59 libzzip-0-13 obsoletes "zziplib-<targettype> <= <version>" provides "zziplib-<targettype> = <version>" zziplib-devel requires -zziplib-<targettype> requires "libzzip-0-13-<targettype> = <version>" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... -- To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org For additional commands, e-mail: opensuse-commit+h...@opensuse.org