SHA256
1
0
forked from pool/nethogs
Files
nethogs/nethogs.spec
Marcus Meissner 62d4a33800 Accepting request 968249 from home:dirkmueller:Factory
- update to 0.8.7:
  * Adding ppc64le architecture support on travis-ci by @kishorkunal-raj in #198
  * Issue: #62 - UDP support by @takeoverjp in #199
  * Update man page with the latest help message. by @takeoverjp in #200
  * Issue: #102 - Show screenshot in README. by @takeoverjp in #201
  * Add links to other network traffic monitoring tools. by @takeoverjp in #202
  * Issue: #96 - Garbage collect inodeproc on each ui refresh. by @takeoverjp in #203
  * Fix compilation error with [-Werror=format-security] by @kretcheu in #210
  * Added BusyTasks link to the list by @unknown-spirit in #212
  * Add bandwhich and sniffer links by @chenjiandongx in #213
  * Disable capability check, handle failure better by @ncfavier in #215
  * feat: Add basename support #155 by @sgtcortez in #216
  * Use "--tags" parameter to get the correct git-tag by @schuellerf in #221
  * Add process filter by @sgtcortez in #218
  * Add python bindings by @jimmylomro in #222
  * Improve performance with many connections by @CyberShadow in #223

OBS-URL: https://build.opensuse.org/request/show/968249
OBS-URL: https://build.opensuse.org/package/show/network:utilities/nethogs?expand=0&rev=19
2022-04-19 12:13:02 +00:00

74 lines
2.2 KiB
RPMSpec

#
# spec file for package nethogs
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2013 Pascal Bleser <pascal.bleser@opensuse.org>
#
# 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: nethogs
Version: 0.8.7
Release: 0
Summary: Network Bandwidth Usage Monitor
License: GPL-2.0-or-later
Group: Productivity/Networking/Diagnostic
URL: https://raboof.github.io/nethogs/
Source: https://github.com/raboof/nethogs/archive/v%{version}/nethogs-v%{version}.tar.gz
Source3: https://keybase.io/raboof/key.asc#/%{name}.keyring
BuildRequires: gcc-c++
BuildRequires: libpcap-devel
BuildRequires: ncurses-devel
%description
NetHogs is a small 'net top' tool. Instead of breaking the traffic down per
protocol or per subnet, like most tools do, it groups bandwidth by process.
NetHogs does not rely on a special kernel module to be loaded. If there's
suddenly a lot of network traffic, you can fire up NetHogs and immediately see
which PID is causing this. This makes it easy to indentify programs that have
gone wild and are suddenly taking up your bandwidth.
%prep
%setup -q
%build
%make_build \
sbin="%{_sbindir}" \
bin="%{_sbindir}" \
man8="%{_mandir}/man8" \
CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}" \
CXX="g++" \
nethogs
%install
make %{?_smp_mflags} \
sbin="%{buildroot}%{_sbindir}" \
bin="%{buildroot}%{_sbindir}" \
man8="%{buildroot}%{_mandir}/man8" \
CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}" \
CXX="g++" \
install
%check
%make_build test
%files
%license COPYING
%doc README.md DESIGN
%{_sbindir}/nethogs
%{_mandir}/man8/nethogs.8%{?ext_man}
%changelog