File usbtop.spec of Package usbtop

# spec file for package usbtop
# Copyright (c) 2018 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:           usbtop
Version:        0.2
Release:        1%{?dist}
Summary:        Shows an estimated instantaneous bandwidth on USB buses and devices
License:        BSD-3-Clause
Group:          System/Monitoring
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  libboost_system-devel >= 1.48.0
BuildRequires:  libboost_thread-devel >= 1.48.0
BuildRequires:  libpcap-devel

A top-like utility that shows an estimated instantaneous bandwidth on USB buses and devices.

Requires the usbmon kernel module to be loaded.

%setup -q -n %{name}-release-%{version}

make %{?_smp_mflags}

install -Dm 755 build/src/usbtop %{buildroot}%{_bindir}/usbtop

%license LICENSE

openSUSE Build Service is sponsored by