File flowgrind.spec of Package flowgrind

# spec file for package flowgrind
# 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

Name:           flowgrind
Version:        0.8.0
Release:        0
Summary:        Network performance measurement
License:        GPL-2.0-only
Group:          Productivity/Networking/Diagnostic
Source2:        %{name}.keyring
BuildRequires:  libpcap-devel
BuildRequires:  pkgconfig
BuildRequires:  xmlrpc-c-devel
BuildRequires:  pkgconfig(gsl)
BuildRequires:  pkgconfig(libcurl)
BuildRequires:  pkgconfig(uuid)

Flowgrind is a tool similar to iperf, netperf to measure throughput and other
metrics for TCP and other protocols. It features some unique characteristics
which are of use when exploring the idiosyncrasies of wireless mesh networks.

%setup -q

# fix building with gcc10
export CFLAGS="%{optflags} -fcommon"


%defattr(0644, root, root, 0755)
%license COPYING
%attr(0755,-,-) %{_bindir}/flowgrind*
%attr(0755,-,-) %{_sbindir}/flowgrindd

openSUSE Build Service is sponsored by