Accepting request 579215 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/579215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zziplib?expand=0&rev=29
This commit is contained in:
Dominique Leuenberger 2018-02-24 15:37:28 +00:00 committed by Git OBS Bridge
commit f1e20752a0
2 changed files with 21 additions and 12 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Feb 19 12:55:26 UTC 2018 - adam.majer@suse.de
- Drop BR: fdupes since it does nothing.
-------------------------------------------------------------------
Mon Feb 19 11:30:47 UTC 2018 - jengelh@inai.de
- Fix RPM groups. Remove ineffective --with-pic.
Trim redundancies from description.
Do not let fdupes run across partitions.
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 18 03:25:53 UTC 2018 - avindra@opensuse.org Sun Feb 18 03:25:53 UTC 2018 - avindra@opensuse.org

View File

@ -20,9 +20,9 @@
Name: zziplib Name: zziplib
Version: 0.13.68 Version: 0.13.68
Release: 0 Release: 0
Summary: Free Zip Compression Library with an Easy-to-Use API Summary: ZIP Compression Library
License: LGPL-2.1+ License: LGPL-2.1+
Group: System/Libraries Group: Development/Libraries/C and C++
Url: http://zziplib.sourceforge.net Url: http://zziplib.sourceforge.net
Source0: https://github.com/gdraheim/zziplib/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source0: https://github.com/gdraheim/zziplib/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source2: baselibs.conf Source2: baselibs.conf
@ -31,28 +31,27 @@ Patch1: zziplib-0.13.62-wronglinking.patch
Patch2: zziplib-largefile.patch Patch2: zziplib-largefile.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: fdupes
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: xmlto BuildRequires: xmlto
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
%description %description
ZZipLib is a library for dealing with zip and zip-like archives by ZZipLib is a library for dealing with ZIP and ZIP-like archives by
using free algorithms of zlib. using algorithms of zlib.
%package -n %{lname} %package -n %{lname}
Summary: Free zip compression library with easy to use API Summary: ZIP compression library
Group: System/Libraries Group: System/Libraries
Obsoletes: zziplib < %{version}-%{release} Obsoletes: zziplib < %{version}-%{release}
Provides: zziplib = %{version}-%{release} Provides: zziplib = %{version}-%{release}
%description -n %{lname} %description -n %{lname}
ZZipLib is a library for dealing with zip and zip-like archives by ZZipLib is a library for dealing with ZIP and ZIP-like archives by
using free algorithms of zlib. using algorithms of zlib.
%package devel %package devel
Summary: Free zip compression library with easy to use API Summary: Development files for zziplib, a ZIP compression library
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: %{lname} = %{version} Requires: %{lname} = %{version}
Requires: pkgconfig(zlib) Requires: pkgconfig(zlib)
@ -74,15 +73,13 @@ autoreconf -fiv
%configure \ %configure \
--with-largefile \ --with-largefile \
--enable-frame-pointer \ --enable-frame-pointer \
--disable-static \ --disable-static
--with-pic
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
%make_install %make_install
rm -f docs/Make* docs/zziplib-manpages.ar rm -f docs/Make* docs/zziplib-manpages.ar
find %{buildroot} -type f -name "*.la" -delete -print find %{buildroot} -type f -name "*.la" -delete -print
%fdupes %{buildroot}
%post -n %{lname} -p /sbin/ldconfig %post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig