Back to the iperf rpmsCurrent spec in pydar2:
# $Id: iperf.spec 5870 2007-09-28 11:10:46Z dag $
# Authority: dag
# Upstream:
Summary: Tool for measuring TCP and UDP bandwidth performance
Name: iperf
Version: 2.0.2
Release: 2
License: GPL
Group: Applications/Internet
URL: http://dast.nlanr.net/Projects/Iperf/
#Source: http://dast.nlanr.net/Projects/Iperf/iperf-%{version}.tar.gz
Source: http://dast.nlanr.net/Projects/Iperf2.0/iperf-%{version}.tar.gz
Patch0: iperf-2.0.2-noyield.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: gcc-c++, libstdc++-devel
%description
Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning
of various parameters and UDP characteristics. Iperf reports bandwidth,
delay jitter, datagram loss.
%prep
%setup
%patch -p1
%build
%configure
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf %{buildroot}
%makeinstall -C src \
INSTALL_DIR="%{buildroot}%{_bindir}"
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc doc/*.gif doc/*.html README
%{_bindir}/iperf
%changelog
* Thu Sep 27 2007 Dag Wieers - 2.0.2-2
- Added Ingo Molnar's noyield patch.
* Sun Sep 18 2005 Dries Verachtert - 2.0.2-1
- Updated to release 2.0.2.
* Fri Nov 19 2004 Dag Wieers - 2.0.1-1
- Updated to release 2.0.1.
* Fri Nov 19 2004 Dag Wieers - 1.7.0-1
- Initial package. (using DAR)