Name: iperf Version: 2.0.2 Release: 1 Summary: Measurement tool for TCP/UDP bandwidth performance License: BSD Group: Applications/Internet URL: http://dast.nlanr.net/Projects/Iperf/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Source: http://dast.nlanr.net/Projects/Iperf2.0/%{name}-%{version}.tar.gz Source1: iperf-2.0.2-iperf-int.h Source2: iperf-2.0.2-config.h Patch0: iperf-2.0.2-aix.patch %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 -q %patch0 -p0 %build export CC=xlc_r export CXX=xlC_r export CFLAGS="-O" export CXXFLAGS="-O" ./configure --prefix=/opt/freeware cp %{SOURCE1} include/iperf-int.h cp %{SOURCE2} config.h %{__make} %{?_smp_mflags} %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %makeinstall -C src INSTALL_DIR="%{buildroot}%{_bindir}" %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README doc/*.gif doc/*.html %{_bindir}/iperf %changelog * Mon Aug 20 2007 Michael Perzl 2.0.2-1 - First version for AIX5L V5.1 and higher