File cttop.spec of Package cttop
#
# spec file for package cttop
#
# Copyright (c) 2020 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: cttop
Version: 0.3.g26
Release: 0
Summary: top-like program showing Netfilter connection tracking entries
License: GPL-2.0-or-later
Group: Productivity/Networking/Security
URL: http://strlen.de/cttop.html
#Git-Web: http://git.breakpoint.cc/cgit/fw/cttop.git/
#Source: http://strlen.de/cttop/dl/%name-%version.tar.bz2
#Source2: http://strlen.de/cttop/dl/%name-%version.tar.bz2.sig
Source: %name-%version.tar.xz
Source4: %name.keyring
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: xz
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libcap-ng)
BuildRequires: pkgconfig(libnetfilter_conntrack)
BuildRequires: pkgconfig(ncurses)
%description
cttop is a top-like program that shows netfilter connection tracking
entries. entries can be sorted by various criteria and grouped, e.g.
by source address.
%prep
%autosetup -p1
%build
autoreconf -fi
%configure
make %{?_smp_mflags}
%install
%make_install
%files
%_sbindir/cttop
%_mandir/man8/cttop.8*
%doc COPYING
%changelog