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
|
|
|
#
|
2020-04-01 20:53:22 +02:00
|
|
|
# Copyright (c) 2020 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
|
2020-04-01 20:53:22 +02:00
|
|
|
Version: 1.0.8
|
2012-01-01 01:03:52 +01:00
|
|
|
Release: 0
|
2020-04-01 20:53:22 +02:00
|
|
|
URL: http://netfilter.org/projects/libnetfilter_conntrack/
|
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
|
2012-01-01 01:03:52 +01:00
|
|
|
|
|
|
|
#Git-Clone: git://git.netfilter.org/libnetfilter_conntrack
|
2016-08-22 13:12:24 +02:00
|
|
|
Source: ftp://ftp.netfilter.org/pub/libnetfilter_conntrack/%name-%version.tar.bz2
|
|
|
|
Source2: ftp://ftp.netfilter.org/pub/libnetfilter_conntrack/%name-%version.tar.bz2.sig
|
2010-09-26 21:40:37 +02:00
|
|
|
Source3: baselibs.conf
|
2012-12-10 15:16:02 +01:00
|
|
|
Source4: %name.keyring
|
2011-12-29 22:18:06 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2014-12-09 00:46:04 +01:00
|
|
|
%configure --disable-static --includedir="%_includedir/%name"
|
2011-08-01 20:48:49 +02:00
|
|
|
make %{?_smp_mflags}
|
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
|
|
|
|
2014-12-09 00:46:04 +01:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
2011-08-01 20:48:49 +02:00
|
|
|
%postun -n %lname -p /sbin/ldconfig
|
2010-03-15 11:24:41 +01:00
|
|
|
|
2011-08-01 20:48:49 +02:00
|
|
|
%files -n %lname
|
2010-03-15 11:24:41 +01:00
|
|
|
%defattr(-,root,root)
|
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
|
2010-03-15 11:24:41 +01:00
|
|
|
%defattr(-,root,root)
|
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
|