iperf/iperf.spec

55 lines
1.5 KiB
RPMSpec

#
# spec file for package iperf
#
# Copyright (c) 2012 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/
#
Name: iperf
Version: 2.0.5
Release: 0
Summary: A Tool To Measure Network Performance
License: NCSA
Group: Productivity/Networking/Other
Url: http://sourceforge.net/projects/iperf/
Source: %{name}-%{version}.tar.gz
BuildRequires: gcc-c++
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
%build
%configure
make %{?_smp_mflags}
%install
%makeinstall
%clean
rm -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%attr(0755,root,root) %{_bindir}/%{name}
%doc %{_mandir}/man1/%{name}.1%{ext_man}
%changelog