2 Summary(pl.UTF-8): Potok ze zliczaniem
7 Group: Applications/Archiving
8 Source0: http://download.berlios.de/cpipe/%{name}-%{version}.tar.gz
9 # Source0-md5: a34f2752628c45d52a99dc38b75d89cb
10 Patch0: %{name}-make_fix.patch
11 URL: http://developer.berlios.de/projects/cpipe/
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Did you ever want to know how fast your tar is or how much data it has
16 transferred already. How about using socket or nc to copy files either
17 with or without compression over a fast network connection, which one
20 If you want to know the answer, use cpipe as a totally unscientific
21 approach to measure throughput. Cpipe copies its standard input to its
22 standard output while measuring the time it takes to read an input
23 buffer and write an output buffer. Statistics of average throughput
24 and the total amount of bytes copied are printed to the standard error
27 %description -l pl.UTF-8
28 Czy kiedykolwiek zastanawiałeś się jak szybki jest Twój tar, lub ile
29 danych już zapisał? A co myślisz o kopiowaniu plików przy użyciu
30 socketa lub nc, z kompresją lub bez, po szybkiej sieci - jak będzie
33 Jeśli chcesz znać odpowiedź, użyj cpipe jako całkowicie nienaukowego
34 podejścia do pomiaru przepustowości. Cpipe kopiuje standardowe wejście
35 na wyjście jednocześnie mierząc czas jaki zajmuje czytanie i
36 zapisywanie danych. Statystyki średniej przepustowości i całkowitej
37 ilości skopiowanych bajtów są wypisywane na standardowe wyjście
45 # workaround not to use clig
46 touch cmdline.c cmdline.h cpipe.1
50 CFLAGS="%{rpmcflags} -Wall"
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_bindir}}
56 install cpipe $RPM_BUILD_ROOT%{_bindir}
57 install cpipe.1 $RPM_BUILD_ROOT%{_mandir}/man1
60 rm -rf $RPM_BUILD_ROOT
63 %defattr(644,root,root,755)
65 %attr(755,root,root) %{_bindir}/*