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
|
|
|
#
|
2014-09-23 11:41:42 +02:00
|
|
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-12-29 22:18:06 +01:00
|
|
|
|
2010-03-15 11:24:41 +01:00
|
|
|
Name: libnetfilter_conntrack
|
2011-08-01 20:48:49 +02:00
|
|
|
%define lname %{name}3
|
2013-08-07 15:11:26 +02:00
|
|
|
Version: 1.0.4
|
2012-01-01 01:03:52 +01:00
|
|
|
Release: 0
|
|
|
|
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
|
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Networking/Security
|
2012-01-01 01:03:52 +01:00
|
|
|
|
|
|
|
#Git-Clone: git://git.netfilter.org/libnetfilter_conntrack
|
2012-10-08 14:24:26 +02:00
|
|
|
#DL-URL: http://netfilter.org/projects/libnetfilter_conntrack/files/
|
|
|
|
Source: http://netfilter.org/projects/libnetfilter_conntrack/files/%name-%version.tar.bz2
|
|
|
|
Source2: http://netfilter.org/projects/libnetfilter_conntrack/files/%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-07-20 01:21:46 +02:00
|
|
|
#git#BuildRequires: autoconf, automake >= 1.6, libtool
|
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-09-25 11:32:23 +02:00
|
|
|
%configure --disable-static --includedir="%_includedir/%name-%version"
|
2011-08-01 20:48:49 +02:00
|
|
|
make %{?_smp_mflags}
|
2010-03-15 11:24:41 +01:00
|
|
|
|
|
|
|
%install
|
2012-06-30 03:14:20 +02:00
|
|
|
make install DESTDIR="%buildroot";
|
2012-01-01 01:03:52 +01:00
|
|
|
rm -f "%buildroot/%_libdir"/*.la;
|
2010-03-15 11:24:41 +01:00
|
|
|
|
2011-08-01 20:48:49 +02:00
|
|
|
%post -n %lname -p /sbin/ldconfig
|
2010-03-15 11:24:41 +01:00
|
|
|
|
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-09-23 17:56:36 +02:00
|
|
|
%_includedir/pkg/
|
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
|