%define major 0 %define libname %mklibname iperf %major %define develname %mklibname iperf -d Name: iperf Version: 3.0.12 Release: %mkrel 1 License: BSD Group: Networking/Other Summary: A TCP, UDP, and SCTP network bandwidth measurement tool URL: https://github.com/esnet/iperf Source: https://github.com/esnet/%{name}/archive/%{version}.tar.gz Patch: iperf-3.0.5-nopg.patch %description iperf is a tool for active measurements of the maximum achievable 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 -n %libname Group: System/Libraries Summary: Libraries for %{name} Requires: %{name} >= %{version}-%{release} %description -n %libname iperf is a tool for active measurements of the maximum achievable 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 -n %develname Summary: Development files for %{name} Group: Development/C Requires: %{libname} = %{version}-%{release} Provides: %{name}-devel = %{version}-%{release} %description -n %develname This package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 %build %configure2_5x --enable-static=no %make %install %makeinstall_std find %{buildroot} -name '*.la' -delete %files %doc AUTHORS RELEASE_NOTES LICENSE README.md %{_bindir}/iperf3 %{_mandir}/man1/%{name}3.1.* %files -n %{libname} %{_libdir}/libiperf.so.%{major}* %files -n %develname %{_includedir}/* %{_libdir}/*.so %{_mandir}/man3/libiperf.3.* %changelog * Wed Jun 29 2016 sander85 <sander85> 3.0.12-1.mga5 + Revision: 1038124 - New version: 3.0.12 (fixes security issue mga#18743) * Wed Oct 15 2014 umeabot <umeabot> 3.0.7-3.mga5 + Revision: 750413 - Second Mageia 5 Mass Rebuild * Tue Sep 16 2014 umeabot <umeabot> 3.0.7-2.mga5 + Revision: 680537 - Mageia 5 Mass Rebuild * Sun Aug 31 2014 sander85 <sander85> 3.0.7-1.mga5 + Revision: 669997 - New version: 3.0.7 * Mon Aug 11 2014 sander85 <sander85> 3.0.6-1.mga5 + Revision: 661751 - New version: 3.0.6 * Mon Jul 21 2014 sander85 <sander85> 3.0.5-2.mga5 + Revision: 655051 - New version: 3.0.5 - Convert to %%autosetup * Fri Oct 18 2013 umeabot <umeabot> 2.0.5-4.mga4 + Revision: 506037 - Mageia 4 Mass Rebuild * Sat Jan 12 2013 umeabot <umeabot> 2.0.5-3.mga3 + Revision: 354451 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Sep 20 2011 sander85 <sander85> 2.0.5-2.mga2 + Revision: 145958 - bump release as iperf was added into mga1 updates - imported package iperf * Thu Jul 28 2011 Sander Lepik <sander.lepik@eesti.ee> - 2.0.5-1.mga2 - Initial release for Mageia