7c2bf07
Name:           libnetfilter_cttimeout
7c2bf07
Version:        1.0.0
72e6339
Release:        7%{?dist}
7c2bf07
Summary:        Timeout policy tuning for Netfilter/conntrack
7c2bf07
Group:          System Environment/Libraries
7c2bf07
License:        GPLv2+
7c2bf07
URL:            http://netfilter.org
7c2bf07
Source0:        http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
7c2bf07
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7c2bf07
7c2bf07
BuildRequires:  libmnl-devel >= 1.0.0, pkgconfig, kernel-headers
7c2bf07
7c2bf07
%description
7c2bf07
This infrastructure allows you to define fine-grain timeout
7c2bf07
policies per flow. Basically, from user-space, you can create
7c2bf07
timeout policy objects via nfct_timeout_alloc(), set the
7c2bf07
policy attributes, via nfct_timeout_*_attr_set(), and then
7c2bf07
build the ctnetlink message to communicate this new timeout
7c2bf07
policy to the kernel.
7c2bf07
7c2bf07
%package        devel
7c2bf07
Summary:        Timeout policy tuning for Netfilter/conntrack
7c2bf07
Group:          Development/Libraries
7c2bf07
Requires:       %{name}%{?_isa} = %{version}-%{release}
7c2bf07
Requires:       libmnl-devel >= 1.0.0
7c2bf07
Requires:       kernel-headers
7c2bf07
7c2bf07
%description    devel
7c2bf07
This infrastructure allows you to define fine-grain timeout
7c2bf07
policies per flow. Basically, from user-space, you can create
7c2bf07
timeout policy objects via nfct_timeout_alloc(), set the
7c2bf07
policy attributes, via nfct_timeout_*_attr_set(), and then
7c2bf07
build the ctnetlink message to communicate this new timeout
7c2bf07
policy to the kernel.
7c2bf07
7c2bf07
%prep
7c2bf07
%setup -q
7c2bf07
7c2bf07
%build
7c2bf07
%configure --disable-static
7c2bf07
7c2bf07
make %{?_smp_mflags}
7c2bf07
7c2bf07
%install
7c2bf07
rm -rf $RPM_BUILD_ROOT
7c2bf07
make install DESTDIR=$RPM_BUILD_ROOT
7c2bf07
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
7c2bf07
7c2bf07
%clean
7c2bf07
rm -rf $RPM_BUILD_ROOT
7c2bf07
7c2bf07
%post -p /sbin/ldconfig
7c2bf07
%postun -p /sbin/ldconfig
7c2bf07
7c2bf07
%files
7c2bf07
%doc COPYING README
7c2bf07
%{_libdir}/*.so.*
7c2bf07
7c2bf07
%files devel
7c2bf07
%{_libdir}/*.so
7c2bf07
%{_libdir}/pkgconfig/*.pc
7c2bf07
%dir %{_includedir}/libnetfilter_cttimeout
7c2bf07
%{_includedir}/libnetfilter_cttimeout/*.h
7c2bf07
7c2bf07
%changelog
72e6339
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-7
72e6339
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
72e6339
504fc83
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-6
504fc83
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
504fc83
14fd8ca
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-5
14fd8ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
14fd8ca
1472946
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-4
1472946
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1472946
647ce05
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
647ce05
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
647ce05
400d3af
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
400d3af
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
400d3af
7c2bf07
* Fri Aug 10 2012 Paul P. Komkoff Jr <i@stingr.net> - 1.0.0-1
7c2bf07
- initial commit