From 13f0880e013bc7a585fa85aae5dd18074624624f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 05:09:01 +0100 Subject: [PATCH] package created by silvan using the webbuild interface [release 1.0.0-1mamba;Thu Apr 25 2013] --- README.md | 2 ++ libnetfilter_cthelper.spec | 66 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 libnetfilter_cthelper.spec diff --git a/README.md b/README.md index c3caf9f..c42044a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libnetfilter_cthelper +libnetfilter_cthelper is the userspace library that provides the programming interface to the user-space helper infrastructure available since Linux kernel 3.6. With this library, you register, configure, enable and disable user-space helpers. This library is used by conntrack-tools. + diff --git a/libnetfilter_cthelper.spec b/libnetfilter_cthelper.spec new file mode 100644 index 0000000..6c065e2 --- /dev/null +++ b/libnetfilter_cthelper.spec @@ -0,0 +1,66 @@ +Name: libnetfilter_cthelper +Version: 1.0.0 +Release: 1mamba +Summary: Programming interface to the user-space helper infrastructure available since Linux kernel 3.6 +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.netfilter.org/projects/libnetfilter_cthelper/index.html +Source: http://www.netfilter.org/projects/libnetfilter_cthelper/files/libnetfilter_cthelper-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libmnl-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +libnetfilter_cthelper is the userspace library that provides the programming interface to the user-space helper infrastructure available since Linux kernel 3.6. With this library, you register, configure, enable and disable user-space helpers. This library is used by conntrack-tools. + +%package devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +## note: you can add this requirement if .pc files are provided by this package +#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_cthelper.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%dir %{_includedir}/libnetfilter_cthelper +%{_includedir}/libnetfilter_cthelper/libnetfilter_cthelper.h +%{_libdir}/libnetfilter_cthelper.la +%{_libdir}/libnetfilter_cthelper.so +%{_libdir}/pkgconfig/libnetfilter_cthelper.pc +%doc README + +%changelog +* Thu Apr 25 2013 Silvan Calarco 1.0.0-1mamba +- package created by silvan using the webbuild interface