Initial Import (#691096).

This commit is contained in:
G.Balaji 2011-04-26 07:55:34 +05:30
parent 5eb7397421
commit 85e0806329
3 changed files with 53 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/iperf-3.0b4.tar.gz

51
iperf3.spec Normal file
View File

@ -0,0 +1,51 @@
Name: iperf3
Version: 3.0
Release: 0.0.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
* 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

View File

@ -0,0 +1 @@
fde024a200b064b54accd1959f7e642e iperf-3.0b4.tar.gz