Blob Blame History Raw
Name:      cpipe
Version:   3.0.1
Release:   5%{?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
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sat Feb  9 2008 Terje Rosten <terje.rosten@ntnu.no> - 3.0.1-3
- rebuild

* Wed Jan 23 2008 Terje Rosten <terje.rosten@ntnu.no> - 3.0.1-2
- rebuild

* Sun Jan  6 2008 Terje Rosten <terje.rosten@ntnu.no> - 3.0.1-1
- initial package