Name: cpipe Version: 3.0.1 Release: 1%{?dist} 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %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 %build # Use included filess touch cmdline.c cmdline.h cpipe.1 %{__make} %{?_smp_mflags} CFLAGS='%{optflags}' %install %{__rm} -rf %{buildroot} %{__make} install \ BINDIR=%{buildroot}%{_bindir} \ MANDIR=%{buildroot}%{_mandir}/man1 %{__chmod} 0644 %{buildroot}%{_mandir}/man1/%{name}* %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, -) %doc CHANGES COPYING-2.0 README %{_bindir}/%{name} %{_mandir}/man1/%{name}* %changelog * Sun Jan 6 2008 Terje Rosten - 3.0.1-1 - initial package