Blame SPECS/libnetfilter_cttimeout.spec

673786
Name:           libnetfilter_cttimeout
673786
Version:        1.0.0
673786
Release:        7%{?dist}
673786
Summary:        Timeout policy tuning for Netfilter/conntrack
673786
Group:          System Environment/Libraries
673786
License:        GPLv2+
673786
URL:            http://netfilter.org
673786
Source0:        http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
673786
673786
BuildRequires:  libmnl-devel >= 1.0.0, pkgconfig, kernel-headers
673786
673786
%description
673786
This infrastructure allows you to define fine-grain timeout
673786
policies per flow. Basically, from user-space, you can create
673786
timeout policy objects via nfct_timeout_alloc(), set the
673786
policy attributes, via nfct_timeout_*_attr_set(), and then
673786
build the ctnetlink message to communicate this new timeout
673786
policy to the kernel.
673786
673786
%package        devel
673786
Summary:        Timeout policy tuning for Netfilter/conntrack
673786
Group:          Development/Libraries
673786
Requires:       %{name}%{?_isa} = %{version}-%{release}
673786
Requires:       libmnl-devel >= 1.0.0
673786
Requires:       kernel-headers
673786
673786
%description    devel
673786
This infrastructure allows you to define fine-grain timeout
673786
policies per flow. Basically, from user-space, you can create
673786
timeout policy objects via nfct_timeout_alloc(), set the
673786
policy attributes, via nfct_timeout_*_attr_set(), and then
673786
build the ctnetlink message to communicate this new timeout
673786
policy to the kernel.
673786
673786
%prep
673786
%setup -q
673786
673786
%build
673786
%configure --disable-static
673786
673786
make %{?_smp_mflags}
673786
673786
%install
673786
rm -rf $RPM_BUILD_ROOT
673786
make install DESTDIR=$RPM_BUILD_ROOT
673786
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
673786
673786
%post -p /sbin/ldconfig
673786
%postun -p /sbin/ldconfig
673786
673786
%files
673786
%doc COPYING README
673786
%{_libdir}/*.so.*
673786
673786
%files devel
673786
%{_libdir}/*.so
673786
%{_libdir}/pkgconfig/*.pc
673786
%dir %{_includedir}/libnetfilter_cttimeout
673786
%{_includedir}/libnetfilter_cttimeout/*.h
673786
673786
%changelog
673786
* Fri Sep 06 2019 Phil Sutter <psutter@redhat.com> - 1.0.0-7
673786
- Rebuild for inclusion into s390x.
673786
673786
* Fri Jun 19 2015 Paul Wouters <pwouters@redhat.com> - 1.0.0-6
673786
- Resolves: rhbz#1233221 Add libnetfilter_cttimeout package to RHEL-7