Summary: A network performance benchmark tool. Name: iperf Version: 3.1.7 Release: 1%{?dist} License: GPL URL: https://github.com/esnet/iperf Group: Applications/System Vendor: VMware, Inc. Distribution: Photon #Source download URL: https://github.com/esnet/iperf/archive/3.1.tar.gz Source0: https://github.com/esnet/iperf/archive/%{name}-%{version}.tar.gz Patch1: disablepg.patch %define sha1 iperf=c412d67b5b7e21dac21e081219611972731bfe81 BuildRequires: autoconf BuildRequires: automake %description ipref is a network performance measurement tool that can measure the maximum achievable network bandwidth on IP networks. It supports tuning of various parameters related to timing, protocols, and buffers. For each test it reports the bandwidth, loss, and other parameters. %package doc Summary: Documentation for iperf %description doc It contains the documentation and manpages for iperf package. Requires: %{name} = %{version}-%{release} %prep %setup -q %patch1 -p1 %build echo "VDBG optflags: " %{optflags} ./bootstrap.sh ./configure \ CFLAGS="%{optflags}" \ CXXFLAGS="%{optflags}" \ --disable-silent-rules \ --prefix=%{_prefix} \ --bindir=%{_bindir} \ --sbindir=%{_sbindir} \ --includedir=%{_includedir} \ --libdir=%{_libdir} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --datadir=%{_datarootdir} \ --sysconfdir=/etc make %{?_smp_mflags} %install [ %{buildroot} != "/"] && rm -rf %{buildroot}/* make DESTDIR=%{buildroot} install %check make %{?_smp_mflags} check %files %defattr(-,root,root) %{_bindir}/iperf3 %{_includedir}/iperf_api.h %{_libdir}/libiperf.* %files doc %defattr(-,root,root,-) %{_mandir}/man1/iperf3.1.gz %{_mandir}/man3/libiperf.3.gz %changelog * Tue Mar 28 2017 Dheeraj Shetty 3.1.7-1 - Upgraded to version 3.1.7 * Thu Oct 6 2016 Harish Udaiya Kumar 3.1.3-1 - Upgraded to version 3.1.3 * Tue May 24 2016 Priyesh Padmavilasom 3.1.2-2 - GA - Bump release of all rpms * Tue Feb 23 2016 Anish Swaminathan 3.1.2-1 - Upgrade to 3.1.2 * Wed Oct 28 2015 Vinay Kulkarni 2.7.0-1 - Add iperf v3.1 package.