2010-03-15 11:25:17 +01:00
|
|
|
#
|
2011-12-29 22:27:38 +01:00
|
|
|
# spec file for package libnetfilter_queue
|
2010-03-15 11:25:17 +01:00
|
|
|
#
|
2020-06-05 14:59:56 +02:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2010-03-15 11:25:17 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2020-06-05 14:59:56 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-03-15 11:25:17 +01:00
|
|
|
#
|
|
|
|
|
2011-12-29 22:27:38 +01:00
|
|
|
|
2010-03-15 11:25:17 +01:00
|
|
|
Name: libnetfilter_queue
|
2012-10-08 14:31:49 +02:00
|
|
|
%define lname %{name}1
|
2020-06-12 23:09:12 +02:00
|
|
|
Version: 1.0.5
|
2012-06-30 02:05:23 +02:00
|
|
|
Release: 0
|
|
|
|
Summary: Userspace library for packets that have been queued by the kernel packet filter
|
2020-06-05 14:59:56 +02:00
|
|
|
License: GPL-2.0-only
|
2010-03-15 11:25:17 +01:00
|
|
|
Group: Productivity/Networking/Security
|
2020-06-05 14:59:56 +02:00
|
|
|
URL: http://netfilter.org/projects/libnetfilter_queue/
|
2012-01-03 00:04:39 +01:00
|
|
|
|
2017-11-13 16:33:35 +01:00
|
|
|
#Git-Clone: git://git.netfilter.org/libnetfilter_queue
|
2020-06-12 23:09:12 +02:00
|
|
|
#DL-URL: https://netfilter.org/projects/libnetfilter_queue/files/
|
|
|
|
Source: https://netfilter.org/projects/libnetfilter_queue/files/libnetfilter_queue-%version.tar.bz2
|
|
|
|
Source2: https://netfilter.org/projects/libnetfilter_queue/files/libnetfilter_queue-%version.tar.bz2.sig
|
2012-01-03 00:04:39 +01:00
|
|
|
Source3: baselibs.conf
|
2012-12-10 15:21:04 +01:00
|
|
|
Source4: %name.keyring
|
2012-06-30 02:05:23 +02:00
|
|
|
BuildRequires: pkgconfig >= 0.21
|
2012-10-08 14:31:49 +02:00
|
|
|
BuildRequires: pkgconfig(libmnl) >= 1.0.3
|
2012-06-30 02:05:23 +02:00
|
|
|
BuildRequires: pkgconfig(libnfnetlink) >= 0.0.41
|
2010-03-15 11:25:17 +01: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.
|
|
|
|
|
2012-06-30 20:16:02 +02:00
|
|
|
%package -n %lname
|
2010-03-15 11:25:17 +01:00
|
|
|
Summary: Userspace library for packets that have been queued by the kernel packet filter
|
2012-06-30 02:05:23 +02:00
|
|
|
Group: System/Libraries
|
2010-03-15 11:25:17 +01:00
|
|
|
|
2012-06-30 20:16:02 +02:00
|
|
|
%description -n %lname
|
2010-03-15 11:25:17 +01:00
|
|
|
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.
|
|
|
|
|
2010-11-02 16:16:25 +01:00
|
|
|
%package devel
|
2010-03-15 11:25:17 +01:00
|
|
|
Summary: Userspace library for packets that have been queued by the kernel packet filter
|
2012-06-30 02:05:23 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-09-23 18:03:19 +02:00
|
|
|
Requires: %lname = %version
|
|
|
|
Requires: libnfnetlink-devel
|
2010-03-15 11:25:17 +01:00
|
|
|
|
2010-11-02 16:16:25 +01:00
|
|
|
%description devel
|
2010-03-15 11:25:17 +01:00
|
|
|
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
|
2014-12-09 00:52:14 +01:00
|
|
|
%configure --disable-static --includedir="%_includedir/%name"
|
2017-11-13 16:33:35 +01:00
|
|
|
make %{?_smp_mflags} KERNELDIR="ignore"
|
2010-03-15 11:25:17 +01:00
|
|
|
|
|
|
|
%install
|
2014-12-09 00:52:14 +01:00
|
|
|
%make_install KERNELDIR="ignore"
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2010-03-15 11:25:17 +01:00
|
|
|
|
2014-12-09 00:52:14 +01:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
2012-06-30 20:16:02 +02:00
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2010-03-15 11:25:17 +01:00
|
|
|
|
2012-06-30 20:16:02 +02:00
|
|
|
%files -n %lname
|
2012-01-01 01:17:35 +01:00
|
|
|
%_libdir/libnetfilter_queue.so.1*
|
2010-03-15 11:25:17 +01:00
|
|
|
|
2011-07-30 21:35:42 +02:00
|
|
|
%files devel
|
2014-12-09 00:52:14 +01:00
|
|
|
%_includedir/%name/
|
2010-11-02 16:16:25 +01:00
|
|
|
%_libdir/libnetfilter_queue.so
|
|
|
|
%_libdir/pkgconfig/libnetfilter_queue.pc
|
2010-03-15 11:25:17 +01:00
|
|
|
|
|
|
|
%changelog
|