66 lines
2.0 KiB
RPMSpec
66 lines
2.0 KiB
RPMSpec
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 <silvan.calarco@mambasoft.it>
|
|
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 <silvan.calarco@mambasoft.it> 1.0.0-1mamba
|
|
- package created by silvan using the webbuild interface
|