File iperf2.spec of Package iperf2

#
# spec file for package iperf2
#
# Copyright (c) 2020 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 http://bugs.opensuse.org/
#


Name:           iperf
Version:        2.0.13
Release:        0
Summary:	iperf2 benchmark tool
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License:        NCSA
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group:          "System/Benchmark"
Url:            https://sourceforge.net/p/iperf2/
Source:         iperf-2.0.13.tar.gz
BuildRequires:  gcc
BuildRequires:  gcc-c++
BuildRequires:  make
BuildRoot:      %{_tmppath}/${name}-%{version}-build

%description
This is iperf2 benchmark tool.
Version 2 is some time better than iperf3

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%make_install

%post
%postun

%files
%defattr(-,root,root)
%doc ChangeLog README COPYING
/usr/share/man/man1/iperf.1.gz
%{_bindir}/*

%changelog