From 2ea0003cdf6d8710d807b6785731e46bec55fe21 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:09:09 +0100 Subject: [PATCH] package created by silvan using the webbuild interface [release 1.0.0-1mamba;Mon Feb 25 2013] --- README.md | 2 ++ libnetfilter_cttimeout.spec | 65 +++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 libnetfilter_cttimeout.spec diff --git a/README.md b/README.md index b72a0f7..f19d43c 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libnetfilter_cttimeout +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. + diff --git a/libnetfilter_cttimeout.spec b/libnetfilter_cttimeout.spec new file mode 100644 index 0000000..cc3a805 --- /dev/null +++ b/libnetfilter_cttimeout.spec @@ -0,0 +1,65 @@ +Name: libnetfilter_cttimeout +Version: 1.0.0 +Release: 1mamba +Summary: Interface library to the fine-grain connection tracking timeout infrastructure +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.iptables.org/projects/libnetfilter_cttimeout/index.html +Source: http://www.iptables.org/projects/libnetfilter_cttimeout/files/libnetfilter_cttimeout-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libmnl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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 +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Requires: pkg-config + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libnetfilter_cttimeout.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libnetfilter_cttimeout +%{_includedir}/libnetfilter_cttimeout/libnetfilter_cttimeout.h +%{_libdir}/libnetfilter_cttimeout.la +%{_libdir}/libnetfilter_cttimeout.so +%{_libdir}/pkgconfig/libnetfilter_cttimeout.pc +%doc README + +%changelog +* Mon Feb 25 2013 Silvan Calarco 1.0.0-1mamba +- package created by silvan using the webbuild interface