Initial Import (#691096).
This commit is contained in:
parent
5eb7397421
commit
85e0806329
1
.gitignore
vendored
1
.gitignore
vendored
@ -0,0 +1 @@
|
||||
/iperf-3.0b4.tar.gz
|
51
iperf3.spec
Normal file
51
iperf3.spec
Normal 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
|
||||
|
Loading…
Reference in New Issue
Block a user