Name: iperf3 Version: 3.0 Release: 0.0.b4%{?dist} Summary: Measurement tool for TCP/UDP bandwidth performance Group: Applications/Internet License: BSD URL: http://code.google.com/p/iperf/ Source0: http://iperf.googlecode.com/files/iperf-3.0b4.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: libuuid-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, data-gram loss. %prep %setup -q -n iperf-%{version}b4 %build %configure make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 make DESTDIR=$RPM_BUILD_ROOT install mv $RPM_BUILD_ROOT%{_mandir}/man1/iperf.1 $RPM_BUILD_ROOT%{_mandir}/man1/iperf3.1 rm $RPM_BUILD_ROOT/usr/include/iperf_*.h rm $RPM_BUILD_ROOT%{_libdir}/libiperf.a %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS README LICENSE INSTALL RELEASE_NOTES TODO %{_mandir}/man1/iperf3.1.gz %{_bindir}/iperf3 %changelog * Wed Apr 06 2011 G.Balaji 3.0-0.0.b4 - Changed the Spec name, removed static libs generation and devel - package. * Sat Mar 26 2011 G.Balaji 3.0b4-1 - Initial Version