Search
j0ke.net Open Build Service
>
Projects
>
stresslinux
>
netperf
> netperf.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File netperf.spec of Package netperf
Summary: Network Performance Testing Tool Name: netperf Version: 2.6.0 Release: 1 License: Unknown Group: System URL: http://www.netperf.org/ Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root %if 0%{?suse_version} PreReq: %install_info_prereq %endif %description Many different network benchmarking tools are collected in this package, maintained by Rick Jones of HP. %prep %setup %build ./configure \ --sysconfdir=%{_sysconfdir} \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --infodir=%{_infodir} \ --localstatedir=/var %__make %install %__make DESTDIR=%{buildroot} install # -- .svn directory only needed by developers; blowing it away # in our BUILD/ directory, so that we do not package it # rm -rf doc/examples/.svn rm -rf doc/examples/Makefile* rm -rf README.vmware~ rm -rf %{buildroot}%{_infodir}/dir %clean test "$RPM_BUILD_ROOT" = "/" || rm -rf $RPM_BUILD_ROOT %post %if 0%{?suse_version} %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %endif %postun %if 0%{?suse_version} %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz %endif %files %defattr(-,root,root) %doc README AUTHORS ChangeLog INSTALL COPYING %doc README.vmware Release_Notes %doc doc/examples %{_mandir}/man1/* %{_infodir}/* %{_bindir}/netperf %{_bindir}/netserver %changelog * Sun Aug 09 2009 Carsten Schoene <cs@linux-administrator.com> - 2.4.5-1 - build release 2.4.5