55 lines
1.4 KiB
RPMSpec
55 lines
1.4 KiB
RPMSpec
Name: iperf3
|
|
Version: 3.0
|
|
Release: 0.1.b4%{?dist}
|
|
Summary: Measurement tool for TCP/UDP bandwidth performance
|
|
|
|
Group: Applications/Internet
|
|
License: BSD
|
|
URL: http://code.google.com/p/iperf/
|
|
Source0: http://iperf.googlecode.com/files/iperf-3.0b4.tar.gz
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
BuildRequires: libuuid-devel
|
|
|
|
%description
|
|
Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of
|
|
various parameters and UDP characteristics. Iperf reports bandwidth, delay
|
|
jitter, data-gram loss.
|
|
|
|
%prep
|
|
%setup -q -n iperf-%{version}b4
|
|
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
%makeinstall -C src INSTALL_DIR="%{buildroot}%{_bindir}"
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
mv %{buildroot}%{_mandir}/man1/iperf.1 %{buildroot}%{_mandir}/man1/iperf3.1
|
|
rm %{buildroot}/usr/include/iperf_*.h
|
|
rm %{buildroot}%{_libdir}/libiperf.a
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS README LICENSE INSTALL RELEASE_NOTES TODO
|
|
%{_mandir}/man1/iperf3.1.gz
|
|
%{_bindir}/iperf3
|
|
|
|
|
|
%changelog
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.1.b4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
* Wed Apr 06 2011 G.Balaji <balajig81@gmail.com> 3.0b4-2
|
|
- Changed the Spec name, removed static libs generation and devel
|
|
- package.
|
|
|
|
* Sat Mar 26 2011 G.Balaji <balajig81@gmail.com> 3.0b4-1
|
|
- Initial Version
|
|
|