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