add libnetfilter_cthelper.spec
This commit is contained in:
parent
08447b4aa1
commit
609ce4b791
BIN
libnetfilter_cthelper-1.0.0.tar.bz2
Normal file
BIN
libnetfilter_cthelper-1.0.0.tar.bz2
Normal file
Binary file not shown.
66
libnetfilter_cthelper.spec
Normal file
66
libnetfilter_cthelper.spec
Normal file
@ -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 <xiasenlin1@huawei.com> - 1.0.0-15
|
||||
- Package Init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user