2010-03-15 11:24:41 +01:00
|
|
|
#
|
2011-07-21 13:12:28 +02:00
|
|
|
# spec file for package libnetfilter_conntrack
|
2010-03-15 11:24:41 +01:00
|
|
|
#
|
2024-09-26 23:19:52 +02:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2010-03-15 11:24:41 +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-04-01 20:53:22 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-03-15 11:24:41 +01:00
|
|
|
#
|
|
|
|
|
2011-12-29 22:18:06 +01:00
|
|
|
|
2010-03-15 11:24:41 +01:00
|
|
|
Name: libnetfilter_conntrack
|
2015-09-09 18:25:27 +02:00
|
|
|
%define lname libnetfilter_conntrack3
|
2024-09-26 23:19:52 +02:00
|
|
|
Version: 1.1.0
|
2012-01-01 01:03:52 +01:00
|
|
|
Release: 0
|
2012-06-30 19:54:42 +02:00
|
|
|
Summary: Userspace library for the in-kernel connection tracking state table
|
2018-05-01 14:31:02 +02:00
|
|
|
License: GPL-2.0-or-later
|
2012-06-30 19:54:42 +02:00
|
|
|
Group: Productivity/Networking/Security
|
2020-10-14 02:06:05 +02:00
|
|
|
URL: https://netfilter.org/projects/libnetfilter_conntrack/
|
2012-01-01 01:03:52 +01:00
|
|
|
|
2022-02-14 13:05:10 +01:00
|
|
|
#Git-Clone: https://git.netfilter.org/libnetfilter_conntrack/
|
2024-09-26 23:19:52 +02:00
|
|
|
Source: https://netfilter.org/projects/libnetfilter_conntrack/files/%name-%version.tar.xz
|
|
|
|
Source2: https://netfilter.org/projects/libnetfilter_conntrack/files/%name-%version.tar.xz.sig
|
2010-09-26 21:40:37 +02:00
|
|
|
Source3: baselibs.conf
|
2012-12-10 15:16:02 +01:00
|
|
|
Source4: %name.keyring
|
2012-06-30 01:59:07 +02:00
|
|
|
BuildRequires: pkgconfig >= 0.21
|
2012-10-08 14:24:26 +02:00
|
|
|
BuildRequires: pkgconfig(libmnl) >= 1.0.3
|
2012-05-20 00:14:33 +02:00
|
|
|
BuildRequires: pkgconfig(libnfnetlink) >= 1.0.0
|
2010-03-15 11:24:41 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libnetfilter_conntrack is a userspace library providing a programming
|
|
|
|
interface (API) to the in-kernel connection tracking state table. The
|
|
|
|
library libnetfilter_conntrack has been previously known as
|
|
|
|
libnfnetlink_conntrack and libctnetlink. This library is currently
|
|
|
|
used by conntrack-tools among many other applications.
|
|
|
|
|
2011-08-01 20:48:49 +02:00
|
|
|
%package -n %lname
|
2010-03-15 11:24:41 +01:00
|
|
|
Summary: Userspace library for the in-kernel connection tracking state table
|
2012-05-20 00:14:33 +02:00
|
|
|
Group: System/Libraries
|
2010-03-15 11:24:41 +01:00
|
|
|
|
2011-08-01 20:48:49 +02:00
|
|
|
%description -n %lname
|
2010-03-15 11:24:41 +01:00
|
|
|
libnetfilter_conntrack is a userspace library providing a programming
|
|
|
|
interface (API) to the in-kernel connection tracking state table. The
|
|
|
|
library libnetfilter_conntrack has been previously known as
|
|
|
|
libnfnetlink_conntrack and libctnetlink. This library is currently
|
|
|
|
used by conntrack-tools among many other applications.
|
|
|
|
|
2011-08-01 20:48:49 +02:00
|
|
|
%package devel
|
2010-03-15 11:24:41 +01:00
|
|
|
Summary: Userspace library for the in-kernel connection tracking state table
|
2012-05-20 00:14:33 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
2013-03-04 20:58:40 +01:00
|
|
|
Requires: %lname = %version
|
2010-03-15 11:24:41 +01:00
|
|
|
|
2011-08-01 20:48:49 +02:00
|
|
|
%description devel
|
2010-03-15 11:24:41 +01:00
|
|
|
libnetfilter_conntrack is a userspace library providing a programming
|
|
|
|
interface (API) to the in-kernel connection tracking state table. The
|
|
|
|
library libnetfilter_conntrack has been previously known as
|
|
|
|
libnfnetlink_conntrack and libctnetlink. This library is currently
|
|
|
|
used by conntrack-tools among many other applications.
|
|
|
|
|
|
|
|
%prep
|
2020-10-14 02:03:53 +02:00
|
|
|
%autosetup -p1
|
2010-03-15 11:24:41 +01:00
|
|
|
|
|
|
|
%build
|
2020-10-14 02:03:53 +02:00
|
|
|
# includedir intentional, cf. bugzilla.opensuse.org/795968
|
2014-12-09 00:46:04 +01:00
|
|
|
%configure --disable-static --includedir="%_includedir/%name"
|
2024-11-25 17:23:29 +01:00
|
|
|
%make_build
|
2010-03-15 11:24:41 +01:00
|
|
|
|
|
|
|
%install
|
2014-12-09 00:46:04 +01:00
|
|
|
%make_install
|
|
|
|
rm -f "%buildroot/%_libdir"/*.la
|
2010-03-15 11:24:41 +01:00
|
|
|
|
2024-11-25 17:23:29 +01:00
|
|
|
%ldconfig_scriptlets -n %lname
|
2010-03-15 11:24:41 +01:00
|
|
|
|
2011-08-01 20:48:49 +02:00
|
|
|
%files -n %lname
|
2012-01-01 01:03:52 +01:00
|
|
|
%_libdir/libnetfilter_conntrack.so.3*
|
2010-03-15 11:24:41 +01:00
|
|
|
|
2011-08-01 20:48:49 +02:00
|
|
|
%files devel
|
2014-12-09 00:46:04 +01:00
|
|
|
%_includedir/%name/
|
2011-08-01 20:49:06 +02:00
|
|
|
%_libdir/libnetfilter_conntrack.so
|
|
|
|
%_libdir/pkgconfig/libnetfilter_conntrack.pc
|
2010-03-15 11:24:41 +01:00
|
|
|
|
|
|
|
%changelog
|