36 lines
918 B
RPMSpec
36 lines
918 B
RPMSpec
Name: iperf
|
|
Version: 2.0.13
|
|
Release: 1
|
|
Summary: Measurement tool for TCP/UDP bandwidth performance
|
|
License: BSD
|
|
URL: http://sourceforge.net/projects/iperf2
|
|
Source: http://sourceforge.net/projects/iperf2/files/iperf-2.0.13.tar.gz
|
|
Patch0: iperf-2.0.8-debuginfo.patch
|
|
BuildRequires: autoconf gcc-c++
|
|
%description
|
|
Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of
|
|
various parameters and UDP characteristics. Iperf reports bandwidth, delay
|
|
jitter, datagram loss.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
autoconf
|
|
%configure
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%install
|
|
%{__rm} -rf %{buildroot}
|
|
%make_install
|
|
|
|
%files
|
|
%doc AUTHORS ChangeLog COPYING README doc/*.gif doc/*.html
|
|
%{_bindir}/iperf
|
|
%{_mandir}/man*/*
|
|
|
|
%changelog
|
|
* Mon Aug 3 2020 Jeffery.Gao <gaojianxing@huawei.com> - 2.0.13-1
|
|
- Package init
|