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
|
|
|
#
|
2012-01-01 01:03:52 +01:00
|
|
|
# Copyright (c) 2012 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
|
2012-01-01 01:03:52 +01:00
|
|
|
Version: 0.9.1+git18
|
|
|
|
Release: 0
|
|
|
|
License: GPL-2.0+
|
2010-03-15 11:24:41 +01:00
|
|
|
Group: Productivity/Networking/Security
|
2012-01-01 01:03:52 +01:00
|
|
|
Url: http://netfilter.org/projects/libnetfilter_conntrack/
|
|
|
|
|
|
|
|
#Git-Clone: git://git.netfilter.org/libnetfilter_conntrack
|
|
|
|
#DL-Source: http://netfilter.org/projects/%name/files/%name-%version.tar.bz2
|
|
|
|
Source: %name-%version.tar.xz
|
2010-09-26 21:40:37 +02:00
|
|
|
Source3: baselibs.conf
|
2011-12-29 22:18:06 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2012-01-01 01:03:52 +01:00
|
|
|
BuildRequires: autoconf automake >= 1.6 libtool
|
|
|
|
BuildRequires: pkgconfig >= 0.23 pkgconfig(libnfnetlink) >= 1.0.0 xz
|
2010-03-15 11:24:41 +01:00
|
|
|
Summary: Userspace library for the in-kernel connection tracking state table
|
|
|
|
|
|
|
|
%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
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Userspace library for the in-kernel connection tracking state table
|
|
|
|
|
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
|
|
|
Group: Development/Libraries/C and C++
|
2011-08-01 20:49:06 +02:00
|
|
|
Requires: %lname = %version
|
2010-03-15 11:24:41 +01:00
|
|
|
Summary: Userspace library for the in-kernel connection tracking state table
|
|
|
|
|
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
|
2012-01-01 01:03:52 +01:00
|
|
|
if [ ! -e configure ]; then
|
|
|
|
./autogen.sh;
|
|
|
|
fi;
|
2011-12-29 22:18:06 +01: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
|
|
|
|
%makeinstall
|
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)
|
2011-12-29 22:18:06 +01:00
|
|
|
%_includedir/libnetfilter_conntrack*
|
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
|