forked from pool/libnetfilter_queue
BuildRequire updates
OBS-URL: https://build.opensuse.org/package/show/security:netfilter/libnetfilter_queue?expand=0&rev=17
This commit is contained in:
parent
a9d246afdf
commit
fac6189978
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package libnetfilter_queue
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -23,11 +23,12 @@ Version: 1.0.0
|
||||
Release: 1
|
||||
License: GPL-2.0
|
||||
Group: Productivity/Networking/Security
|
||||
URL: http://netfilter.org/projects/libnetfilter_queue/
|
||||
Url: http://netfilter.org/projects/libnetfilter_queue/
|
||||
Source: http://netfilter.org/projects/libnetfilter_queue/files/%name-%version.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: libnfnetlink-devel >= 0.0.41 pkgconfig
|
||||
BuildRequires: autoconf automake >= 1.6 libtool
|
||||
BuildRequires: pkgconfig >= 0.23 pkgconfig(libnfnetlink) >= 0.0.41
|
||||
Summary: Userspace library for packets that have been queued by the kernel packet filter
|
||||
|
||||
%description
|
||||
@ -49,7 +50,6 @@ system that deprecates the old ip_queue / libipq mechanism.
|
||||
libnetfilter_queue has been previously known as libnfnetlink_queue.
|
||||
|
||||
%package devel
|
||||
License: GNU GPL v2
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %libsoname = %version, libnfnetlink-devel
|
||||
Summary: Userspace library for packets that have been queued by the kernel packet filter
|
||||
@ -65,6 +65,9 @@ libnetfilter_queue has been previously known as libnfnetlink_queue.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
if [ ! -e configure ]; then
|
||||
./autogen.sh;
|
||||
fi;
|
||||
%configure --disable-static --includedir=%_includedir/%name-%version
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -78,7 +81,7 @@ rm -f "%buildroot/%_libdir"/*.la;
|
||||
|
||||
%files -n %libsoname
|
||||
%defattr(-,root,root)
|
||||
%_libdir/libnetfilter_queue.so.*
|
||||
%_libdir/libnetfilter_queue.so.1*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user