SHA256
1
0
forked from pool/iperf
iperf/iperf.spec

62 lines
1.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package iperf (Version 2.0.4)
#
# Copyright (c) 2010 SUSE LINUX Products 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/
#
# norootforbuild
Name: iperf
License: UI License
AutoReqProv: on
Version: 2.0.4
Release: 1
BuildRequires: gcc-c++
Summary: A Tool To Measure Network Performance
Source: %{name}-%{version}.tar.bz2
Url: http://sourceforge.net/projects/iperf/
Group: Productivity/Networking/Other
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Iperf was developed by NLANR/DAST as a modern alternative for
measuring maximum TCP and UDP bandwidth performance.
Iperf allows the tuning of various parameters and UDP characteristics.
Iperf reports bandwidth, delay jitter, datagram loss.
%prep
%setup -q -n %{name}-%{version}
%build
%configure
make %{?jobs:-j%jobs}
%install
%make_install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(755,root,root)
%{_prefix}/bin/iperf
%defattr(644,root,root)
%doc %{_mandir}/man1/iperf.1.gz
%changelog