54 lines
1.4 KiB
RPMSpec
54 lines
1.4 KiB
RPMSpec
Name: libnetfilter_cttimeout
|
|
Version: 1.0.0
|
|
Release: 13
|
|
Summary: Netfilter/conntrack Timeout policy tuning
|
|
License: GPLv2+
|
|
URL: http://netfilter.org
|
|
Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
|
|
BuildRequires: libmnl-devel >= 1.0.0 pkgconfig kernel-headers
|
|
|
|
%description
|
|
libnetfilter_cttimeout is the userspace library that provides the programming
|
|
interface to the fine-grain connection tracking timeout infrastructure. With
|
|
this library, you can create, update and delete timeout policies that can be
|
|
attached to traffic flows. This library is used by conntrack-tools
|
|
|
|
%package devel
|
|
Summary: Development files for the libnetfilter_cttimeout library
|
|
Requires: %{name} = %{version}-%{release} libmnl-devel >= 1.0.0 kernel-headers
|
|
|
|
%description devel
|
|
The libnetfilter_cttimeout-devel package includes header files and libraries necessary
|
|
for the libnetfilter_cttimeout library.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
%delete_la
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
|
|
%files
|
|
%doc COPYING README
|
|
%{_libdir}/*.so.*
|
|
|
|
%files devel
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
%dir %{_includedir}/libnetfilter_cttimeout
|
|
%{_includedir}/libnetfilter_cttimeout/*.h
|
|
|
|
%changelog
|
|
* Tue Dec 31 2019 gulining<gulining1@huawei.com> - 1.0.0-13
|
|
- Pakcage init
|