Name: iperf Version: 2.0.8 Release: 1 Summary: Measurement tool for TCP/UDP bandwidth performance License: BSD Group: Applications/Internet URL: http://sourceforge.net/projects/iperf/ Source0: http://dast.nlanr.net/Projects/Iperf2.0/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: 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 export PATH=/opt/freeware/bin:$PATH %setup -q %patch0 %build export CC=xlc_r export CXX=xlC_r export CFLAGS="-O" export CXXFLAGS="-O" ./configure \ --prefix=%{_prefix} \ --mandir=%{_mandir} make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make DESTDIR=${RPM_BUILD_ROOT} install /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : cd ${RPM_BUILD_ROOT} mkdir -p usr/bin cd usr/bin ln -sf ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system) %doc README doc/*.gif doc/*.html %{_bindir}/iperf %{_mandir}/man?/iperf.* /usr/bin/iperf %changelog * Wed May 11 2016 Michael Perzl - 2.0.8-1 - Updated to version 2.0.8 * Thu Oct 07 2010 Michael Perzl - 2.0.5-1 - Updated to version 2.0.5 * Mon Aug 18 2008 Michael Perzl - 2.0.4-1 - Updated to version 2.0.4 * Mon Aug 20 2007 Michael Perzl - 2.0.2-1 - First version for AIX5L V5.1 and higher