diff --git a/README.md b/README.md index 9db254a..7607f0b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # libnetfilter_queue +Libnetfilter_queue is a userspace library providing an API to packets that have been queued by the kernel packet filter. +It is is part of a system that deprecates the old ip_queue / libipq mechanism. + diff --git a/libnetfilter_queue.spec b/libnetfilter_queue.spec new file mode 100644 index 0000000..76e2f04 --- /dev/null +++ b/libnetfilter_queue.spec @@ -0,0 +1,78 @@ +Name: libnetfilter_queue +Version: 1.0.2 +Release: 1mamba +Summary: Userspace library providing an API to packets that have been queued by netfilter +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.iptables.org/projects/libnetfilter_queue/index.html +Source: http://www.iptables.org/projects/libnetfilter_queue/files/libnetfilter_queue-%{version}.tar.bz2 +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libnfnetlink-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Libnetfilter_queue is a userspace library providing an API to packets that have been queued by the kernel packet filter. +It is is part of a system that deprecates the old ip_queue / libipq mechanism. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Libnetfilter_queue is a userspace library providing an API to packets that have been queued by the kernel packet filter. +It is is part of a system that deprecates the old ip_queue / libipq mechanism. + +This package contains static libraries and header files need for development. + +%prep +%setup -q + +%build +%configure --disable-static +%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_queue.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/internal.h +%dir %{_includedir}/libnetfilter_queue +%{_includedir}/libnetfilter_queue/* +%{_libdir}/libnetfilter_queue.la +%{_libdir}/libnetfilter_queue.so +%{_libdir}/pkgconfig/libnetfilter_queue.pc + +%changelog +* Tue Oct 23 2012 Automatic Build System 1.0.2-1mamba +- automatic version update by autodist + +* Wed Jan 04 2012 Automatic Build System 1.0.1-1mamba +- automatic version update by autodist + +* Fri Oct 15 2010 Davide Madrisan 1.0.0-1mamba +- update to 1.0.0 + +* Wed Feb 17 2010 Davide Madrisan 0.0.17-1mamba +- update to 0.0.17 + +* Fri Dec 28 2007 Aleph0 0.0.15-1mamba +- package created by autospec