1
0
conntrack-tools/conntrack-tools.spec

84 lines
2.9 KiB
RPMSpec

#
# spec file for package conntrack-tools
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
Name: conntrack-tools
Version: 1.4.2.g26
Release: 0
Url: http://conntrack-tools.netfilter.org/
Summary: Userspace tools for interacting with the Connection Tracking System
License: GPL-2.0+
Group: Productivity/Networking/Security
#Git-Clone: git://git.netfilter.org/conntrack-tools
#DL-URL: http://netfilter.org/projects/conntrack-tools/files/
#Source: http://netfilter.org/projects/conntrack-tools/files/%name-%version.tar.bz2
#Source2: http://netfilter.org/projects/conntrack-tools/files/%name-%version.tar.bz2.sig
#Snapshot: conntrack-tools-1.4.2-26-g0ec644c
Source: %name-%version.tar.xz
Source3: %name.keyring
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex >= 2.5.33
BuildRequires: libtool
BuildRequires: pkg-config >= 0.21
BuildRequires: xz
BuildRequires: pkgconfig(libmnl) >= 1.0.0
BuildRequires: pkgconfig(libnetfilter_conntrack) >= 1.0.4
BuildRequires: pkgconfig(libnetfilter_cthelper) >= 1.0.0
BuildRequires: pkgconfig(libnetfilter_cttimeout) >= 1.0.0
BuildRequires: pkgconfig(libnetfilter_queue) >= 1.0.2
BuildRequires: pkgconfig(libnfnetlink) >= 1.0.1
%description
The conntrack-tools are a set of tools targeted at system
administrators. They are conntrack, the userspace command line
interface, and conntrackd, the userspace daemon. The tool conntrack
provides a full featured interface that has replaced the old procfs
interface. Using conntrack, you can view and manage the in-kernel
connection tracking state table from userspace. On the other hand,
conntrackd covers the specific aspects of stateful firewalls to
enable highly available scenarios, and can be used as statistics
collector as well.
%prep
%setup -qn %name
find doc -type f -name '*.orig' -delete
%build
autoreconf -i -f
%configure --disable-static
make %{?_smp_mflags} -j1
%install
b="%buildroot";
make install DESTDIR="$b";
find "$b/%_libdir" -type f -name "*.la" -delete;
%files
%defattr(-,root,root)
%doc AUTHORS TODO doc/stats doc/helper
%_sbindir/conntrack
%_sbindir/conntrackd
%_sbindir/nfct
%_libdir/%name
%_mandir/man8/*
%changelog