libnetfilter_cthelper/libnetfilter_cthelper.spec

69 lines
2.1 KiB
RPMSpec
Raw Normal View History

Name: libnetfilter_cthelper
Version: 1.0.1
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 <silvan.calarco@mambasoft.it>
URL: https://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
%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
* Sat May 07 2022 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Thu Apr 25 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.0-1mamba
- package created by silvan using the webbuild interface