From ff254449b63b419e83f633aabb5a17f854b31775 Mon Sep 17 00:00:00 2001 From: Ivana Varekova Date: Wed, 14 Nov 2007 15:30:48 +0000 Subject: [PATCH] - separate static subpackage --- zlib.spec | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/zlib.spec b/zlib.spec index 4ce32f4..6d2d7b6 100644 --- a/zlib.spec +++ b/zlib.spec @@ -1,7 +1,7 @@ Summary: The zlib compression and decompression library Name: zlib Version: 1.2.3 -Release: 14%{?dist} +Release: 15%{?dist} Group: System Environment/Libraries Source: http://www.zlib.net/zlib-%{version}.tar.gz Patch3: zlib-1.2.3-autotools.patch @@ -18,13 +18,23 @@ library which is used by many different programs. %package devel Summary: Header files and libraries for Zlib development Group: Development/Libraries -Requires: zlib = %{version}-%{release} +Requires: %{name} = %{version}-%{release} %description devel The zlib-devel package contains the header files and libraries needed to develop programs that use the zlib compression and decompression library. +%package static +Summary: Static libraries for Zlib development +Group: Development/Libraries +Requires: %{name}-devel = %{version}-%{release} + +%description static +The zlib-static package includes static libraries needed +to develop programs that use the zlib compression and +decompression library. + %package -n minizip Summary: Minizip manipulates files from a .zip archive Group: System Environment/Libraries @@ -49,7 +59,6 @@ developing applications which use minizip. %patch4 -p1 -b .autotools2 %build -make %{?_smp_mflags} autoreconf --install; %configure make %{?_smp_mflags} @@ -110,12 +119,16 @@ rm -rf ${RPM_BUILD_ROOT} %files devel %defattr(-,root,root,-) -%doc algorithm.txt minigzip.c example.c -%{_libdir}/libz.a +%doc README algorithm.txt minigzip.c example.c %{_libdir}/libz.so %{_includedir}/* %{_mandir}/man3/zlib.3* +%files static +%defattr(-,root,root,-) +%doc README +%{_libdir}/libz.a + %files -n minizip %defattr(-,root,root,-) %doc contrib/minizip/ChangeLogUnzip @@ -127,6 +140,9 @@ rm -rf ${RPM_BUILD_ROOT} %{_libdir}/pkgconfig/minizip.pc %changelog +* Wed Nov 14 2007 Ivana Varekova - 1.2.3-15 +- separate static subpackage + * Wed Aug 15 2007 Ivana Varekova - 1.2.3-14 - create minizip subpackage