diff --git a/libnetfilter_cthelper-1.0.0.tar.bz2 b/libnetfilter_cthelper-1.0.0.tar.bz2 new file mode 100644 index 0000000..a88e009 Binary files /dev/null and b/libnetfilter_cthelper-1.0.0.tar.bz2 differ diff --git a/libnetfilter_cthelper.spec b/libnetfilter_cthelper.spec new file mode 100644 index 0000000..fc97b5a --- /dev/null +++ b/libnetfilter_cthelper.spec @@ -0,0 +1,66 @@ +Name: libnetfilter_cthelper +Version: 1.0.0 +Release: 15 +Summary: Library providing programming interface to the user-space helper infrastructure. +License: GPLv2 +URL: http://www.netfilter.org/projects/libnetfilter_cthelper/index.html +Source0: http://www.netfilter.org/projects/libnetfilter_cthelper/files/libnetfilter_cthelper-%{version}.tar.bz2 +BuildRequires: gcc libmnl-devel >= 1.0.0, pkgconfig, kernel-headers + +%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. + +%package devel +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} libmnl-devel >= 1.0.0 kernel-headers + +%description devel +This package contains libraries and header files for developing applications that use %{name}. + +%package help +Summary: Usage help documentation for %{name} + +%description help +Connection tracking helpers allows you to filter multi-flow protocols that usually \ +separate control and data traffic into different flows. This is the case of \ +application protocols like FTP, SIP and H.323 that are already supported by \ +Netfilter. These helpers are implemented in kernel-space. + +%prep +%autosetup -p1 + +%build +%configure +%make_build + +%install +%make_install +%delete_la + +%post +/sbin/ldconfig + +%postun +/sbin/ldconfig + +%files +%doc COPYING +%{_libdir}/*.so.* +%{_libdir}/*.so + +%files devel +%doc examples +%{_libdir}/pkgconfig/*.pc +%dir %{_includedir}/libnetfilter_cthelper +%{_includedir}/libnetfilter_cthelper/*.h + +%files help +%doc README + + +%changelog +* Tue Dec 31 2019 Senlin Xia - 1.0.0-15 +- Package Init +