diff --git a/tcp_wrappers.spec b/tcp_wrappers.spec index 599a128..ae254a9 100644 --- a/tcp_wrappers.spec +++ b/tcp_wrappers.spec @@ -1,7 +1,7 @@ Summary: A security tool which acts as a wrapper for TCP daemons. Name: tcp_wrappers Version: 7.6 -Release: 40.2.1 +Release: 41 %define LIB_MAJOR 0 %define LIB_MINOR 7 @@ -28,8 +28,9 @@ Patch14: tcp_wrappers-7.6-ldflags.patch Patch15: tcp_wrappers-7.6-fix_sig-bug141110.patch Patch16: tcp_wrappers-7.6-162412.patch # required by sin_scope_id in ipv6 patch -BuildPreReq: glibc-devel >= 2.2 +BuildRequires: glibc-devel >= 2.2 BuildRoot: %{_tmppath}/%{name}-root +Requires: tcp_wrappers-libs = %{version}-%{release} %description The tcp_wrappers package provides small daemon programs which can @@ -41,6 +42,22 @@ filtering incoming network services requests. This version also supports IPv6. +%package libs +Summary: tcp_wrappers libraries. +Group: System Environment/Libraries + +%description libs +tcp_wrappers-libs contains the libraries of the tcp_wrappers package. + +%package devel +Summary: tcp_wrappers development libraries and headers. +Group: Development/Libraries +Requires: tcp_wrappers-libs = %{version}-%{release} + +%description devel +tcp_wrappers-devel contains the libraries and header files needed to +develop applications with tcp_wrappers support. + %prep %setup -q -n %{name}_%{version} %patch0 -p1 -b .config @@ -99,13 +116,27 @@ rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %doc BLURB CHANGES README* DISCLAIMER Banners.Makefile -%{_mandir}/man[358]/* +%{_sbindir}/* +%{_mandir}/man8/* + +%files libs +%defattr(-,root,root) +%{_libdir}/*.so.* +%{_mandir}/man5/* + +%files devel +%defattr(-,root,root) %{_includedir}/* %{_libdir}/*.a -%{_libdir}/*.so* -%{_sbindir}/* +%{_libdir}/*.so +%{_mandir}/man3/* %changelog +* Mon Dec 4 2006 Thomas Woerner 7.6-41 +- moved devel libraries, headers and man pages into devel sub package (#193188) +- new libs sub package for libraries +- using BuildRequires instead of BuildPreReq + * Wed Jul 12 2006 Jesse Keating - 7.6-40.2.1 - rebuild