- moved devel libraries, headers and man pages into devel sub package
    (#193188)
- new libs sub package for libraries
- using BuildRequires instead of BuildPreReq
This commit is contained in:
Thomas Woerner 2006-12-04 13:47:56 +00:00
parent 3476f3d118
commit 93f3158684

View File

@ -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 <twoerner@redhat.com> 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 <jkeating@redhat.com> - 7.6-40.2.1
- rebuild