File conntrack-tools.spec of Package conntrack-tools

# spec file for package conntrack-tools
# Copyright (c) 2015 SUSE LINUX 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

Name:           conntrack-tools
Version:        1.4.3
Release:        0
Summary:        Userspace tools for interacting with the Connection Tracking System
License:        GPL-2.0+
Group:          Productivity/Networking/Security

#Git-Clone:	git://
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

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.

%setup -q
find doc -type f -name '*.orig' -delete

%configure --disable-static
# CC       read_config_lex.o
#read_config_lex.l:24:28: fatal error: read_config_yy.h: No such file or
make %{?_smp_mflags} -j1

make install DESTDIR="$b";
find "$b/%_libdir" -type f -name "*.la" -delete;

%doc AUTHORS TODO doc/stats doc/helper 

openSUSE Build Service is sponsored by