Summary: Network Performance Testing Tool Name: netperf Version: @VERSION@ Release: 1 Group: System Environment/Base License: Unknown URL: http://www.netperf.org/ Packager: Martin A. Brown Source: ftp://ftp.netperf.org/netperf/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: texinfo, texinfo-tex # we are not quite ready to make this a requirement but leave # the line here as a heads up for the attentive :) # BuildRequires: libsmbios-devel # if you want to enable the SCTP tests, append --enable-sctp to the # configure line, and uncomment the next line # BuildRequires: lksctp-tools-devel %description Many different network benchmarking tools are collected in this package, maintained by Rick Jones of HP. %prep %setup -q %build # gcc 4.4 users may want to disable the strict aliasing warnings # CFLAGS="$RPM_OPT_FLAGS -Wno-strict-aliasing" %configure make %{_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=${RPM_BUILD_ROOT} # Convert the main netperf document to other formats cd doc make %{name}.txt %{name}.html %{name}.xml pdf cd .. # We don't want to package the Makefile files in the examples directory rm -f doc/examples/Makefile* # Info rm -f $RPM_BUILD_ROOT/%{_infodir}/dir %clean rm -rf $RPM_BUILD_ROOT # %post %files %defattr(-,root,root,-) %doc README AUTHORS COPYING Release_Notes %doc doc/netperf.{html,pdf,txt,xml} %doc doc/examples %{_mandir}/man1/* %{_infodir}/* %{_bindir}/netperf %{_bindir}/netserver %changelog * Mon Sep 7 2009 Jose Pedro Oliveira - 2.4.5-1 - Specfile cleanup. * Sat Jun 17 2006 Martin A. Brown - 2.4.2-1 - initial contributed specfile for netperf package (v2.4.2)