%define real_name NetPIPE %define name netpipe %define version 3.7.1 %define release %mkrel 5 Summary: Protocol independent performance tool Name: %name Version: %version Release: %release License: GPL Group: Networking/Other URL: http://www.scl.ameslab.gov/netpipe/ Source: http://www.scl.ameslab.gov/netpipe/code/%{real_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description NetPIPE is a protocol independent performance tool that visually represents the network performance under a variety of conditions. It performs simple ping-pong tests, bouncing messages of increasing size between two processes, whether across a network or within an SMP system. Message sizes are chosen at regular intervals, and with slight perturbations, to provide a complete test of the communication system. Each data point involves many ping-pong tests to provide an accurate timing. Latencies are calculated by dividing the round trip time in half for small messages ( < 64 Bytes ). %prep %setup -q -n %{real_name}-%{version} %build %make memcpy tcp %install %{__rm} -rf %{buildroot} %{__install} -D -m0755 NPmemcpy %{buildroot}%{_bindir}/NPmemcpy %{__install} -D -m0755 NPtcp %{buildroot}%{_bindir}/NPtcp %{__install} -D -m0644 dox/netpipe.1 %{buildroot}%{_mandir}/man1/netpipe.1 %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, 0755) # not in package as they requires gnupot and csh %doc bin/* %doc dox/README dox/*pdf %{_mandir}/man1/netpipe.1* %{_bindir}/* %changelog * Wed Jan 19 2011 erwan <erwan> 3.7.1-5.mga1 + Revision: 24736 - imported package netpipe * Fri Sep 04 2009 Thierry Vignaud <tvignaud@mandriva.com> 3.7.1-5mdv2010.0 + Revision: 430166 - rebuild * Tue Jul 29 2008 Thierry Vignaud <tvignaud@mandriva.com> 3.7.1-4mdv2009.0 + Revision: 253842 - rebuild * Mon Mar 10 2008 Erwan Velu <erwan@mandriva.org> 3.7.1-2mdv2008.1 + Revision: 183363 - Rebuild + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Sat Jun 09 2007 Erwan Velu <erwan@mandriva.org> 3.7.1-1mdv2008.0 + Revision: 37720 - 3.7.1 * Mon Feb 12 2007 Erwan Velu <erwan@mandriva.org> 3.7-0.rc3mdv2007.0 + Revision: 119979 - 3.7-rc3 - Import netpipe * Tue Jan 17 2006 Michael Scherer <misc@mandriva.org> 3.6.2-2mdk - use mkrel * Sat Jan 15 2005 Michael Scherer <misc@mandrake.org> 3.6.2-1mdk - import into contribs, based on Dag Wieers spec