diff --git a/.gitignore b/.gitignore index e69de29..d87c952 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/iperf-3.0b4.tar.gz diff --git a/iperf3.spec b/iperf3.spec new file mode 100644 index 0000000..f579235 --- /dev/null +++ b/iperf3.spec @@ -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 3.0b4-2 +- Changed the Spec name, removed static libs generation and devel +- package. + +* Sat Mar 26 2011 G.Balaji 3.0b4-1 +- Initial Version + diff --git a/sources b/sources index e69de29..6b5cba3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fde024a200b064b54accd1959f7e642e iperf-3.0b4.tar.gz