46dcb8
Name:           iperf3
46dcb8
Version:        3.5
2e7e2e
Release:        6%{?dist}
46dcb8
Summary:        Measurement tool for TCP/UDP bandwidth performance
46dcb8
46dcb8
Group:          Applications/Internet
46dcb8
License:        BSD
46dcb8
URL:            http://github.com/esnet/iperf
46dcb8
Source0:        http://downloads.es.net/pub/iperf/iperf-%{version}.tar.gz
46dcb8
BuildRequires:  libuuid-devel git-core gcc make
46dcb8
BuildRequires:  lksctp-tools-devel
46dcb8
BuildRequires:  openssl-devel
46dcb8
46dcb8
Patch0002:	0002-udp-counters-manpage.patch
2e7e2e
Patch0003:	0003-covscan-sctp.patch
46dcb8
46dcb8
%description
46dcb8
Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of
46dcb8
various parameters and UDP characteristics. Iperf reports bandwidth, delay
46dcb8
jitter, data-gram loss.
46dcb8
46dcb8
%package        devel
46dcb8
Summary:        Development files for %{name}
46dcb8
Group:          Development/Libraries
46dcb8
Requires:       %{name}%{?_isa} = %{version}-%{release}
46dcb8
46dcb8
%description    devel
46dcb8
The %{name}-devel package contains libraries and header files for
46dcb8
developing applications that use %{name}.
46dcb8
46dcb8
%prep
46dcb8
%autosetup -S git -n iperf-%{version}
46dcb8
46dcb8
%build
46dcb8
%configure --disable-static
46dcb8
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
46dcb8
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
46dcb8
make %{?_smp_mflags}
46dcb8
46dcb8
%install
46dcb8
rm -rf $RPM_BUILD_ROOT
46dcb8
%makeinstall -C src INSTALL_DIR="%{buildroot}%{_bindir}"
46dcb8
mkdir -p %{buildroot}%{_mandir}/man1
46dcb8
rm -f %{buildroot}%{_libdir}/libiperf.la
46dcb8
46dcb8
%files
46dcb8
%defattr(-,root,root,-)
46dcb8
%doc README.md LICENSE RELEASE_NOTES
46dcb8
%{_mandir}/man1/iperf3.1.gz
46dcb8
%{_mandir}/man3/libiperf.3.gz
46dcb8
%{_bindir}/iperf3
46dcb8
%{_libdir}/*.so.*
46dcb8
46dcb8
%post -p /sbin/ldconfig
46dcb8
%postun -p /sbin/ldconfig
46dcb8
46dcb8
%files          devel
46dcb8
%defattr(-,root,root,-)
46dcb8
%{_includedir}/iperf_api.h
46dcb8
%{_libdir}/*.so
46dcb8
46dcb8
%changelog
2e7e2e
* Tue May 05 2020 Michal Ruprich <michalruprich@gmail.com> - 3.5-6
2e7e2e
- Related: #1665142 - Fixing a couple of covscan issues
2e7e2e
46dcb8
* Fri Mar 13 2020 Michal Ruprich <michalruprich@gmail.com> - 3.5-5
46dcb8
- Related: #1665142 - Removing patch that deletes sctp from manpage
46dcb8
46dcb8
* Mon Mar 09 2020 Michal Ruprich <mruprich@redhat.com> - 3.5-4
46dcb8
- Resolves: #1665142 - [RFE] enable SCTP support in iperf3
46dcb8
- Resolves: #1656429 - option --udp-counters-64bit shown in --help output but not in man page
46dcb8
- Resolves: #1700497 - [RFE] enable SSL support in iperf3
46dcb8
46dcb8
* Sun Dec 16 2018 Michal Ruprich <mruprich@redhat.com> - 3.5-3
46dcb8
- Related: #1647413 - Removing nstreams and xbind from man since these are SCTP-related options
46dcb8
46dcb8
* Thu Nov 22 2018 Michal Ruprich <mruprich@redhat.com> - 3.5-2
46dcb8
- Related: #1647413 - adding some BuildRequires
46dcb8
46dcb8
* Thu Nov 22 2018 Michal Ruprich <mruprich@redhat.com> - 3.5-2
46dcb8
- Resolves: #1647413 - iperf3 with option --sctp in client mode fails with error 'iperf3: unrecognized option --sctp'
46dcb8
46dcb8
* Sat Mar 03 2018 Kevin Fenzi <kevin@scrye.com> - 3.5-1
46dcb8
- Update to 3.5. Fixes bug #1551166
46dcb8
46dcb8
* Fri Feb 16 2018 Kevin Fenzi <kevin@scrye.com> - 3.4-1
46dcb8
- Upgrade to 3.4. Fixes bug #1545468
46dcb8
46dcb8
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3-2
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
46dcb8
46dcb8
* Sat Nov 04 2017 Kevin Fenzi <kevin@scrye.com> - 3.3-1
46dcb8
- Update to 3.3. Fixes bug #1508669
46dcb8
46dcb8
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-3
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
46dcb8
46dcb8
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.2-2
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
46dcb8
46dcb8
* Wed Jun 28 2017 Kevin Fenzi <kevin@scrye.com> - 3.2-1
46dcb8
- Update to 3.2. Fixes bug #1465195
46dcb8
46dcb8
* Wed Mar 08 2017 Kevin Fenzi <kevin@scrye.com> - 3.1.7-1
46dcb8
- Update to 3.1.7. Fixes bug #1429901
46dcb8
46dcb8
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.6-2
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
46dcb8
46dcb8
* Fri Feb 03 2017 Kevin Fenzi <kevin@scrye.com> - 3.1.6-1
46dcb8
- Update to 3.1.6. Fixes bug #1418879
46dcb8
46dcb8
* Fri Jan 13 2017 Kevin Fenzi <kevin@scrye.com> - 3.1.5-1
46dcb8
- Update to 3.1.5. Fixes bug #1412848
46dcb8
46dcb8
* Sat Nov 05 2016 Kevin Fenzi <kevin@scrye.com> - 3.1.4-1
46dcb8
- Update to 3.1.4. Fixes bug #1390396
46dcb8
46dcb8
* Wed Jun 08 2016 Kevin Fenzi <kevin@scrye.com> - 3.1.3-1
46dcb8
- Update to 3.1.3
46dcb8
46dcb8
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1b3-2
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
46dcb8
46dcb8
* Thu Oct 08 2015 Susant Sahani <ssahani@gmail.com> 3.1b3
46dcb8
- Update to 3.1b3
46dcb8
46dcb8
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.11-2
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
46dcb8
46dcb8
* Mon May 04 2015 Susant Sahani <ssahani@gmail.com> 3.0.11-1
46dcb8
- Update to 3.0.11
46dcb8
46dcb8
* Sat Dec 20 2014 Susant Sahani <ssahani@redhat.com> 3.0.10-1
46dcb8
- Update to 3.0.10
46dcb8
46dcb8
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.6-2
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
46dcb8
46dcb8
* Wed Jul 30 2014 Susant Sahani <ssahani@redhat.com> 3.0.6-1
46dcb8
- Update to 3.0.6
46dcb8
46dcb8
* Thu Jun 19 2014 Susant Sahani <ssahani@redhat.com> 3.0.5-1
46dcb8
- Update to 3.0.5
46dcb8
46dcb8
* Tue Jun 10 2014 Susant Sahani <ssahani@redhat.com> - 3.0.3-5
46dcb8
- fix compilation BZ #1106803
46dcb8
46dcb8
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.3-4
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
46dcb8
46dcb8
* Wed Apr 2 2014 François Cami <fcami@fedoraproject.org> - 3.0.3-3
46dcb8
- Drop static library support (#1081486).
46dcb8
- iperf3-devel subpackage must require iperf3.
46dcb8
- iperf3-devel should only contain the unversioned shared library.
46dcb8
- Call ldconfig since we are installing a shared library now.
46dcb8
- Removed INSTALL file.
46dcb8
46dcb8
* Wed Apr 2 2014 Susant Sahani <ssahani@redhat.com> 3.0.3-2
46dcb8
- Moved static library to devel section only .
46dcb8
46dcb8
* Sun Mar 30 2014 Susant Sahani <ssahani@redhat.com> 3.0.3-1
46dcb8
- Update to 3.0.3 and added devel rpm support
46dcb8
46dcb8
* Tue Mar 11 2014 Susant Sahani <ssahani@redhat.com> 3.0.2-1
46dcb8
- Update to 3.0.2
46dcb8
46dcb8
* Tue Jan 14 2014 Susant Sahani <ssahani@redhat.com> 3.0.1-1
46dcb8
- Update to 3.0.1
46dcb8
46dcb8
* Fri Oct 25 2013 Steven Roberts <strobert@strobe.net> 3.0-1
46dcb8
- Update to 3.0
46dcb8
46dcb8
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.5.b5
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
46dcb8
46dcb8
* Sat May 04 2013 Kevin Fenzi <kevin@scrye.com> 3.0-0.4.b5
46dcb8
- Update to 3.0b5
46dcb8
46dcb8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.3.b4
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
46dcb8
46dcb8
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.2.b4
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
46dcb8
46dcb8
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.1.b4
46dcb8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
46dcb8
46dcb8
* Wed Apr 06 2011 G.Balaji <balajig81@gmail.com> 3.0b4-2
46dcb8
- Changed the Spec name, removed static libs generation and devel
46dcb8
- package.
46dcb8
46dcb8
* Sat Mar 26 2011 G.Balaji <balajig81@gmail.com> 3.0b4-1
46dcb8
- Initial Version