Summary: Network benchmarking tool that measures net throughput with NetBIOS and TCP/IP protocols Name: netio Version: 1.32 Release: 1 License: GPL Group: Monitoring URL: http://www.ars.de/ars/ars.nsf/docs/netio Source0: http://www.ars.de/ars/ars.nsf/%{name}132.zip Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: dos2unix, unzip %description This is a network benchmark for, OS/2 2.x, Windows NT/2000 and Unix. It measures the net throughput of a network via NetBIOS, TCP and UDP protocols (Unix only supports TCP and UDP) using various different packet sizes. # all this hoopla is required because RPM V3 (which we are stuck with on AIX) # does not understand ZIP archives as source files :-( %prep /usr/bin/rm -rf %{name}-%{version} mkdir %{name}-%{version} cd %{name}-%{version} unzip %{SOURCE0} cd .. %setup -T -D -n %{name}-%{version} dos2unix *.c *.h Makefile *.doc %patch0 %build make aix %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_sbindir} cp %{name} ${RPM_BUILD_ROOT}/%{_sbindir}/%{name} chmod 0755 ${RPM_BUILD_ROOT}/%{_sbindir}/%{name} cd ${RPM_BUILD_ROOT} mkdir -p usr/sbin cd usr/sbin ln -sf ../..%{_sbindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %doc netio.doc %{_sbindir}/* /usr/sbin/* %changelog * Wed Jun 26 2013 Michael Perzl - 1.32-1 - updated to version 1.32 * Wed Jun 26 2013 Michael Perzl - 1.31-1 - first version for AIX V5.1 and higher