libnetfilter_queue/libnetfilter_queue.spec

79 lines
2.4 KiB
RPMSpec

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 <davide.madrisan@gmail.com>
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 <autodist@mambasoft.it> 1.0.2-1mamba
- automatic version update by autodist
* Wed Jan 04 2012 Automatic Build System <autodist@mambasoft.it> 1.0.1-1mamba
- automatic version update by autodist
* Fri Oct 15 2010 Davide Madrisan <davide.madrisan@gmail.com> 1.0.0-1mamba
- update to 1.0.0
* Wed Feb 17 2010 Davide Madrisan <davide.madrisan@gmail.com> 0.0.17-1mamba
- update to 0.0.17
* Fri Dec 28 2007 Aleph0 <aleph0@openmamba.org> 0.0.15-1mamba
- package created by autospec