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