Name: cpipe Version: 3.0.2 Release: 1 Summary: Counting pipe Group: Development/Tools License: GPLv2+ URL: http://developer.berlios.de/projects/%{name}/ Source0: http://download.berlios.de/%{name}/%{name}-%{version}.tar.gz Patch0: %{name}-%{version}-aix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root %description Cpipe copies its standard input to its standard output while measuring the time it takes to read an input buffer and write an output buffer. Statistics of average throughput and the total amount of bytes copied are printed to the standard error output. %prep %setup -q %patch0 %build make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install \ BINDIR=${RPM_BUILD_ROOT}%{_bindir} \ MANDIR=${RPM_BUILD_ROOT}%{_mandir}/man1 /usr/bin/strip ${RPM_BUILD_ROOT}%{_bindir}/* || : chmod 0644 ${RPM_BUILD_ROOT}%{_mandir}/man1/%{name}* mkdir -p ${RPM_BUILD_ROOT}/usr/bin cd ${RPM_BUILD_ROOT}/usr/bin ln -s ../..%{_bindir}/* . %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc CHANGES COPYING-2.0 README %{_bindir}/* %{_mandir}/man1/%{name}* /usr/bin/* %changelog * Mon Apr 15 2013 Michael Perzl - 3.0.2-1 - first version for AIX V5.1 and higher