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