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