From 33268be73e67aee697e799c3cb197c2c6f43407b Mon Sep 17 00:00:00 2001 From: Paul P Komkoff Jr Date: Sun, 25 Mar 2007 21:20:30 +0000 Subject: [PATCH] auto-import libnetfilter_queue-0.0.13-3 on branch devel from libnetfilter_queue-0.0.13-3.src.rpm --- .cvsignore | 1 + libnetfilter_queue.spec | 76 +++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 78 insertions(+) create mode 100644 libnetfilter_queue.spec diff --git a/.cvsignore b/.cvsignore index e69de29..767194d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +libnetfilter_queue-0.0.13.tar.bz2 diff --git a/libnetfilter_queue.spec b/libnetfilter_queue.spec new file mode 100644 index 0000000..eecea30 --- /dev/null +++ b/libnetfilter_queue.spec @@ -0,0 +1,76 @@ +Name: libnetfilter_queue +Version: 0.0.13 +Release: 3%{?dist} +Summary: Netfilter queue userspace library +Group: System Environment/Libraries +License: GPL +URL: http://netfilter.org +Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libnfnetlink-devel, pkgconfig + +%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. + +libnetfilter_queue has been previously known as libnfnetlink_queue. + +%package devel +Summary: Netfilter queue userspace library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release}, pkgconfig + +%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. + +libnetfilter_queue has been previously known as libnfnetlink_queue. + +%prep +%setup -q + +%build +%configure --disable-static --disable-rpath + +# kill the rpaths +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc COPYING +%{_libdir}/*.so.* + +%files devel +%defattr(-,root,root,-) +%{_libdir}/*.so +%dir %{_includedir}/%{name} +%{_includedir}/%{name}/*.h +%{_libdir}/pkgconfig/%{name}.pc + +%changelog +* Mon Mar 26 2007 Paul P Komkoff Jr - 0.0.13-3 +- own some directories + +* Mon Mar 19 2007 Paul P Komkoff Jr - 0.0.13-2 +- fix source url +- add pkgconfig to -devel Requires + +* Sat Mar 17 2007 Paul P Komkoff Jr - 0.0.13-1 +- Preparing for submission to fedora extras diff --git a/sources b/sources index e69de29..e66bcc1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +660cbfd3dc8c10bf9b1803cd2b688256 libnetfilter_queue-0.0.13.tar.bz2