Bruce A. Mah | d1aab09 | 2014-10-14 13:41:48 -0700 | [diff] [blame] | 1 | Name: iperf3 |
| 2 | Version: @VERSION@ |
| 3 | Release: 1%{?dist} |
| 4 | Summary: Measurement tool for TCP/UDP bandwidth performance |
| 5 | |
| 6 | Group: Applications/Internet |
| 7 | License: BSD |
Bruce A. Mah | 964f106 | 2018-06-22 14:09:01 -0700 | [diff] [blame] | 8 | URL: https://github.com/esnet/iperf |
| 9 | Source0: https://downloads.es.net/pub/iperf/iperf-%{version}.tar.gz |
Bruce A. Mah | d1aab09 | 2014-10-14 13:41:48 -0700 | [diff] [blame] | 10 | BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) |
| 11 | |
| 12 | %if 0%{?el5} |
ralcini | a51045d | 2017-04-20 19:01:08 +0200 | [diff] [blame] | 13 | BuildRequires: e2fsprogs-devel, openssl-devel |
| 14 | %else |
| 15 | BuildRequires: openssl-devel |
Bruce A. Mah | d1aab09 | 2014-10-14 13:41:48 -0700 | [diff] [blame] | 16 | %endif |
| 17 | |
| 18 | %description |
Bruce A. Mah | 87ac365 | 2017-02-13 10:34:06 -0800 | [diff] [blame] | 19 | iperf3 is a tool for active measurements of the maximum achievable |
| 20 | bandwidth between two IP hosts. It supports tuning of various |
| 21 | parameters related to timing, protocols, and buffers. For each test, |
Bruce A. Mah | 0f081b7 | 2017-05-24 10:50:44 -0700 | [diff] [blame] | 22 | it reports the throughput, loss, and other parameters. |
Bruce A. Mah | d1aab09 | 2014-10-14 13:41:48 -0700 | [diff] [blame] | 23 | |
| 24 | %package devel |
| 25 | Summary: Development files for %{name} |
| 26 | Group: Development/Libraries |
| 27 | |
| 28 | %description devel |
| 29 | The %{name}-devel package contains libraries and header files for |
| 30 | developing applications that use %{name}. |
| 31 | |
| 32 | %prep |
| 33 | %setup -q -n iperf-%{version} |
| 34 | |
| 35 | %build |
| 36 | %configure |
| 37 | make %{?_smp_mflags} |
| 38 | |
| 39 | %install |
| 40 | rm -rf $RPM_BUILD_ROOT |
| 41 | %makeinstall -C src INSTALL_DIR="%{buildroot}%{_bindir}" |
| 42 | mkdir -p %{buildroot}%{_mandir}/man1 |
| 43 | |
| 44 | %clean |
| 45 | rm -rf $RPM_BUILD_ROOT |
| 46 | |
| 47 | %files |
| 48 | %defattr(-,root,root,-) |
Bruce A. Mah | ba6cd6a | 2015-07-07 14:04:26 -0700 | [diff] [blame] | 49 | %%doc README.md INSTALL LICENSE RELEASE_NOTES |
Bruce A. Mah | d1aab09 | 2014-10-14 13:41:48 -0700 | [diff] [blame] | 50 | %{_mandir}/man1/iperf3.1.gz |
| 51 | %{_mandir}/man3/libiperf.3.gz |
| 52 | %{_bindir}/iperf3 |
| 53 | %{_libdir}/*.so.* |
| 54 | |
| 55 | %files devel |
| 56 | %defattr(-,root,root,-) |
| 57 | %{_includedir}/iperf_api.h |
| 58 | %{_libdir}/libiperf.a |
| 59 | %{_libdir}/libiperf.la |
| 60 | %{_libdir}/*.so |
| 61 | %{_libdir}/*.so.* |
| 62 | |
| 63 | %changelog |
| 64 | * Fri Aug 29 2014 Aaron Brown <aaron@internet2.edu> 3.0.7-1 |
| 65 | - Update to 3.0.7 |
| 66 | |
| 67 | * Tue Jul 29 2014 Aaron Brown <aaron@internet2.edu> 3.0.6-1 |
| 68 | - Update to 3.0.6 |
| 69 | |
| 70 | * Mon Jun 16 2014 Aaron Brown <aaron@internet2.edu> 3.0.5-1 |
| 71 | - Update to 3.0.5 |
| 72 | |
| 73 | * Wed Apr 2 2014 Susant Sahani <ssahani@redhat.com> 3.0.3-2 |
| 74 | - Moved static library to devel section only . |
| 75 | |
| 76 | * Sun Mar 30 2014 Susant Sahani <ssahani@redhat.com> 3.0.3-1 |
| 77 | - Update to 3.0.3 and added devel rpm support |
| 78 | |
| 79 | * Tue Mar 11 2014 Susant Sahani <ssahani@redhat.com> 3.0.2-1 |
| 80 | - Update to 3.0.2 |
| 81 | |
| 82 | * Tue Jan 14 2014 Susant Sahani <ssahani@redhat.com> 3.0.1-1 |
| 83 | - Update to 3.0.1 |
| 84 | |
| 85 | * Fri Oct 25 2013 Steven Roberts <strobert@strobe.net> 3.0-1 |
| 86 | - Update to 3.0 |
| 87 | |
| 88 | * Sat May 04 2013 Kevin Fenzi <kevin@scrye.com> 3.0-0.4.b5 |
| 89 | - Update to 3.0b5 |
| 90 | |
| 91 | * Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.3.b4 |
| 92 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
| 93 | |
| 94 | * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.2.b4 |
| 95 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
| 96 | |
| 97 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.1.b4 |
| 98 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
| 99 | |
| 100 | * Wed Apr 06 2011 G.Balaji <balajig81@gmail.com> 3.0b4-2 |
| 101 | - Changed the Spec name, removed static libs generation and devel |
| 102 | - package. |
| 103 | |
| 104 | * Sat Mar 26 2011 G.Balaji <balajig81@gmail.com> 3.0b4-1 |
| 105 | - Initial Version |
| 106 | |