iperf/iperf.spec
OBS User autobuild 62b47d7121 Accepting request 38029 from network:utilities
Copy from network:utilities/iperf based on submit request 38029 from user poletti_marco

OBS-URL: https://build.opensuse.org/request/show/38029
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iperf?expand=0&rev=1
2010-04-16 08:44:34 +00:00

62 lines
1.6 KiB
RPMSpec

#
# 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