- separate static subpackage

This commit is contained in:
Ivana Varekova 2007-11-14 15:30:48 +00:00
parent 34f1e9dbde
commit ff254449b6

View File

@ -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 <varekova@redhat.com> - 1.2.3-15
- separate static subpackage
* Wed Aug 15 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-14
- create minizip subpackage