2009-03-07 13:23:35 +00:00
|
|
|
%define libnfnetlink 0.0.41
|
|
|
|
|
2007-03-25 21:20:30 +00:00
|
|
|
Name: libnetfilter_queue
|
2012-03-17 15:05:10 +00:00
|
|
|
Version: 1.0.1
|
|
|
|
Release: 1%{?dist}
|
2007-03-25 21:20:30 +00:00
|
|
|
Summary: Netfilter queue userspace library
|
|
|
|
Group: System Environment/Libraries
|
2008-08-07 14:38:17 +00:00
|
|
|
# Most files say GPLv2+, one says v2 only.
|
|
|
|
License: GPLv2
|
2007-03-25 21:20:30 +00:00
|
|
|
URL: http://netfilter.org
|
|
|
|
Source0: http://netfilter.org/projects/%{name}/files/%{name}-%{version}.tar.bz2
|
2008-07-16 21:15:30 +00:00
|
|
|
Patch0: libnetfilter_queue-sysheader.patch
|
2007-03-25 21:20:30 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2009-03-07 13:23:35 +00:00
|
|
|
BuildRequires: libnfnetlink-devel >= %{libnfnetlink}, pkgconfig, kernel-headers
|
2008-02-23 00:24:21 +00:00
|
|
|
BuildRequires: autoconf, automake, libtool
|
2007-03-25 21:20:30 +00:00
|
|
|
|
|
|
|
%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
|
2009-03-07 13:23:35 +00:00
|
|
|
Requires: libnfnetlink-devel >= %{libnfnetlink}, kernel-headers
|
2007-03-25 21:20:30 +00:00
|
|
|
|
|
|
|
%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
|
2008-10-26 13:38:34 +00:00
|
|
|
%patch0 -p1
|
2008-02-23 00:24:21 +00:00
|
|
|
|
2012-03-17 15:05:10 +00:00
|
|
|
mkdir -p m4
|
2008-02-23 00:24:21 +00:00
|
|
|
autoreconf -i --force
|
2007-03-25 21:20:30 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static --disable-rpath
|
|
|
|
|
|
|
|
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
|
2012-03-17 15:05:10 +00:00
|
|
|
* Sat Mar 17 2012 Paul P. Komkoff Jr <i@stingr.net> - 1.0.1-1
|
|
|
|
- upstream release
|
|
|
|
|
2012-01-13 08:07:43 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 09:01:08 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-08-04 16:30:43 +00:00
|
|
|
* Wed Aug 4 2010 Paul P. Komkoff Jr <i@stingr.net> - 1.0.0-1
|
|
|
|
- new upstream version
|
|
|
|
|
2009-07-25 06:12:11 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.17-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-07 13:23:35 +00:00
|
|
|
* Sat Mar 7 2009 Paul P. Komkoff Jr <i@stingr.net> - 0.0.17-1
|
|
|
|
- upstream update
|
|
|
|
|
2009-02-25 16:36:39 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.16-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-10-26 13:38:34 +00:00
|
|
|
* Sun Oct 26 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.16-3
|
|
|
|
- fix patch/patch0
|
|
|
|
- depend on specific libnfnetlink version
|
|
|
|
|
2008-08-07 14:38:17 +00:00
|
|
|
* Thu Aug 7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.0.16-2
|
|
|
|
- fix license tag
|
|
|
|
|
2008-07-16 21:15:30 +00:00
|
|
|
* Wed Jul 16 2008 Paul P. Komkoff Jr <i@stingr.net> - 0.0.16-1
|
|
|
|
- new upstream version
|
|
|
|
|
2008-02-23 00:24:21 +00:00
|
|
|
* Fri Feb 22 2008 Paul P Komkoff Jr <i@stingr.net> - 0.0.15-4
|
|
|
|
- use system header instead of bundled one
|
|
|
|
|
2008-02-22 20:49:54 +00:00
|
|
|
* Fri Feb 22 2008 Paul P Komkoff Jr <i@stingr.net> - 0.0.15-3
|
|
|
|
- fix compilation with newer glibc/headers/whatever
|
|
|
|
|
2008-02-20 03:24:16 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.0.15-2
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-09-18 22:16:47 +00:00
|
|
|
* Tue Sep 18 2007 Paul P Komkoff Jr <i@stingr.net> - 0.0.15-1
|
|
|
|
- new upstream version
|
|
|
|
|
2007-03-25 21:20:30 +00:00
|
|
|
* Mon Mar 26 2007 Paul P Komkoff Jr <i@stingr.net> - 0.0.13-3
|
|
|
|
- own some directories
|
|
|
|
|
|
|
|
* Mon Mar 19 2007 Paul P Komkoff Jr <i@stingr.net> - 0.0.13-2
|
|
|
|
- fix source url
|
|
|
|
- add pkgconfig to -devel Requires
|
|
|
|
|
|
|
|
* Sat Mar 17 2007 Paul P Komkoff Jr <i@stingr.net> - 0.0.13-1
|
|
|
|
- Preparing for submission to fedora extras
|