Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
iperf
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 3
[-]
[+]
Added
iperf.spec
@@ -0,0 +1,73 @@ +Name: iperf +Version: 2.0.2 +Release: 1 +Summary: A tool for measuring Internet bandwidth performance +License: Other License(s), see package +Group: Productivity/Networking/Diagnostic +URL: http://dast.nlanr.net/Projects/Iperf/ +Source: %{name}-%{version}.tar.bz2 +Source1: iperf.init +Source2: sysconfig.iperf +Buildroot: %{_tmppath}/%{name}-root +BuildRequires: 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. + +Authors: +------- + Mark Gates + Ajay Tirumala + Jim Ferguson + Jon Dugan + Feng Qin + Kevin Gibbs + John Estabrook + +%debug_package +%prep +%setup -q + +%build +export CFLAGS="$RPM_OPT_FLAGS" +%configure +make + +%install +rm -rf %{buildroot} +%makeinstall +install -D -m 0755 %{SOURCE1} %{buildroot}/etc/init.d/iperf +install -D -m 0644 %{SOURCE2} %{buildroot}/var/adm/fillup-templates/sysconfig.iperf +install -d %{buildroot}/usr/sbin +ln -sf ../../etc/init.d/iperf %{buildroot}/usr/sbin/rciperf + +%preun +%{stop_on_removal} + +%post +%{fillup_and_insserv} + +%postun +%{restart_on_update} +%{insserv_cleanup} + +%clean +rm -rf %{buildroot} + +%files +%defattr (-, root, root) +%doc doc/dast.gif doc/*.html +/usr/bin/iperf +%config /etc/init.d/iperf +/usr/sbin/rciperf +/var/adm/fillup-templates/sysconfig.iperf + +%changelog + +* Fri Jun 29 2007 - James Oakley <jfunk@funktronics.ca> - 2.0.2-2 +- Add init script + +* Tue Feb 13 2007 - James Oakley <jfunk@funktronics.ca> - 2.0.2-1 +- Initial release