|
|
f9c1ce1 |
Name: cpipe
|
|
|
f9c1ce1 |
Version: 3.0.1
|
|
|
e2b0828 |
Release: 4%{?dist}
|
|
|
f9c1ce1 |
Summary: Counting pipe
|
|
|
f9c1ce1 |
Group: Development/Tools
|
|
|
f9c1ce1 |
License: GPLv2+
|
|
|
f9c1ce1 |
URL: http://developer.berlios.de/projects/%{name}/
|
|
|
f9c1ce1 |
Source0: http://download.berlios.de/%{name}/%{name}-%{version}.tar.gz
|
|
|
f9c1ce1 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
f9c1ce1 |
|
|
|
f9c1ce1 |
%description
|
|
|
f9c1ce1 |
Cpipe copies its standard input to its standard output while measuring
|
|
|
f9c1ce1 |
the time it takes to read an input buffer and write an output
|
|
|
f9c1ce1 |
buffer. Statistics of average throughput and the total amount of bytes
|
|
|
f9c1ce1 |
copied are printed to the standard error output.
|
|
|
f9c1ce1 |
|
|
|
f9c1ce1 |
%prep
|
|
|
f9c1ce1 |
%setup -q
|
|
|
f9c1ce1 |
|
|
|
f9c1ce1 |
%build
|
|
|
f9c1ce1 |
# Use included filess
|
|
|
f9c1ce1 |
touch cmdline.c cmdline.h cpipe.1
|
|
|
f9c1ce1 |
%{__make} %{?_smp_mflags} CFLAGS='%{optflags}'
|
|
|
f9c1ce1 |
|
|
|
f9c1ce1 |
%install
|
|
|
f9c1ce1 |
%{__rm} -rf %{buildroot}
|
|
|
f9c1ce1 |
%{__make} install \
|
|
|
f9c1ce1 |
BINDIR=%{buildroot}%{_bindir} \
|
|
|
f9c1ce1 |
MANDIR=%{buildroot}%{_mandir}/man1
|
|
|
f9c1ce1 |
%{__chmod} 0644 %{buildroot}%{_mandir}/man1/%{name}*
|
|
|
f9c1ce1 |
|
|
|
f9c1ce1 |
%clean
|
|
|
f9c1ce1 |
%{__rm} -rf %{buildroot}
|
|
|
f9c1ce1 |
|
|
|
f9c1ce1 |
%files
|
|
|
f9c1ce1 |
%defattr(-, root, root, -)
|
|
|
f9c1ce1 |
%doc CHANGES COPYING-2.0 README
|
|
|
f9c1ce1 |
%{_bindir}/%{name}
|
|
|
f9c1ce1 |
%{_mandir}/man1/%{name}*
|
|
|
f9c1ce1 |
|
|
|
f9c1ce1 |
%changelog
|
|
|
e2b0828 |
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.1-4
|
|
|
e2b0828 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
e2b0828 |
|
|
|
ff4f0d3 |
* Sat Feb 9 2008 Terje Rosten <terje.rosten@ntnu.no> - 3.0.1-3
|
|
|
ff4f0d3 |
- rebuild
|
|
|
ff4f0d3 |
|
|
|
ff93d19 |
* Wed Jan 23 2008 Terje Rosten <terje.rosten@ntnu.no> - 3.0.1-2
|
|
|
ff93d19 |
- rebuild
|
|
|
ff93d19 |
|
|
|
f9c1ce1 |
* Sun Jan 6 2008 Terje Rosten <terje.rosten@ntnu.no> - 3.0.1-1
|
|
|
f9c1ce1 |
- initial package
|