From fa8fe4c49a0c65bc95d238bb550a3f5f58e459bc Mon Sep 17 00:00:00 2001 From: Matthias Saou Date: Mon, 24 Jul 2006 14:52:57 +0000 Subject: [PATCH] Split off -utils sub-package (#199467), and a few other minor changes. --- zziplib.spec | 41 ++++++++++++++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 7 deletions(-) diff --git a/zziplib.spec b/zziplib.spec index 94d0111..9e6826b 100644 --- a/zziplib.spec +++ b/zziplib.spec @@ -1,32 +1,47 @@ Summary: Lightweight library to easily extract data from zip files Name: zziplib Version: 0.13.45 -Release: 2%{?dist} +Release: 3%{?dist} License: LGPL/MPL Group: Applications/Archiving URL: http://zziplib.sourceforge.net/ Source: http://dl.sf.net/zziplib/zziplib-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root -BuildRequires: zlib-devel, zip, python, SDL-devel, xmlto, pkgconfig +BuildRequires: zlib-devel, zip, python, SDL-devel, xmlto, pkgconfig, automake %description The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation -is based only on the (free) subset of compression with the zlib algorithm +is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools. +%package utils +Summary: Utilities for the zziplib library +Group: Applications/Archiving +Requires: %{name} = %{version}-%{release} + +%description utils +The zziplib library is intentionally lightweight, it offers the ability to +easily extract data from files archived in a single zip file. Applications +can bundle files into a single zip archive and access them. The implementation +is based only on the (free) subset of compression with the zlib algorithm +which is actually used by the zip/unzip tools. + +This packages contains all the utilities that come with the zziplib library. + + %package devel Summary: Development files for the zziplib library Group: Development/Libraries -Requires: %{name} = %{version}, pkgconfig, zlib-devel, SDL-devel +Requires: %{name} = %{version}-%{release}, pkgconfig, zlib-devel, SDL-devel %description devel The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementation -is based only on the (free) subset of compression with the zlib algorithm +is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools. This package contains files required to build applications that will use the @@ -38,7 +53,9 @@ zziplib library. %build -%configure --enable-sdl +%configure \ + --enable-sdl \ + --enable-frame-pointer %{__make} %{?_smp_mflags} @@ -59,9 +76,12 @@ zziplib library. %files %defattr(-, root, root, 0755) %doc docs/COPYING* ChangeLog README TODO -%{_bindir}/* %{_libdir}/*.so.* +%files utils +%defattr(-, root, root, 0755) +%{_bindir}/* + %files devel %defattr(-, root, root, 0755) %doc docs/README.SDL docs/*.htm @@ -75,6 +95,13 @@ zziplib library. %changelog +* Mon Jul 24 2006 Matthias Saou 0.13.45-3 +- FC6 rebuild. +- Split off -utils sub-package (#199467). Could have been plain "zzip"? +- Have sub-packages require exact release too. +- Build require automake to make the aclocal-1.9 check happy. +- Use --enable-frame-pointer otherwise -g gets removed from the CFLAGS. + * Mon Mar 6 2006 Matthias Saou 0.13.45-2 - FC5 rebuild.