]> git.pld-linux.org Git - packages/cpipe.git/commitdiff
- initial release
authorSebastian Zagrodzki <sebek@zagrodzki.net>
Thu, 10 May 2001 23:07:18 +0000 (23:07 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cpipe.spec -> 1.1

cpipe.spec [new file with mode: 0644]

diff --git a/cpipe.spec b/cpipe.spec
new file mode 100644 (file)
index 0000000..b52e999
--- /dev/null
@@ -0,0 +1,55 @@
+Summary:       counting pipe
+Summary(pl):   potok ze zliczaniem
+Name:          cpipe
+Version:       2.0.0
+Release:       1
+License:       GPL
+Group:         Applications/Archiving
+Group(de):     Applikationen/Archivierung
+Group(pl):     Aplikacje/Archiwizacja
+Source0:       http://wsd.iitb.fhg.de/~kir/cpipehome/%{name}-%{version}.tar.gz
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Did you ever want to know how fast your tar is or how much data it has
+transferred already. How about using socket or nc to copy files either with or
+without compression over a fast network connection, which one is faster? 
+
+If you want to know the answer, use cpipe as a totally unscientific approach to
+measure throughput. 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. 
+
+%description -l pl
+Czy kiedykolwiek zastanawia³e¶ siê jak szybki jest Twój tar, lub ile danych ju¿
+zapisa³? A co my¶lisz o kopiowaniu plików przy u¿yciu socketa lub nc, z
+kompresj± lub bez, po szybkiej sieci - jak bêdzie szybciej?
+
+Je¶li chcesz znaæ odpowied¼, u¿yj cpipe jako ca³kowicie nienaukowego podej¶cia
+do pomiaru przepustowo¶ci. Cpipe kopiuje standardowe wej¶cie na wyj¶cie
+jednocze¶nie mierz±c czas jaki zajmuje czytanie i zapisywanie danych.
+Statystyki ¶redniej przepustowo¶ci i ca³kowitej ilo¶ci skopiowanych bajtów s±
+wypisywane na standardowe wyj¶cie b³êdów.
+
+%prep
+%setup -q
+
+%build
+touch cmdline.c cmdline.h cpipe.1
+%{__make} CFLAGS="$RPM_OPT_FLAGS"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_mandir}/man1,%{_bindir}}
+install cpipe $RPM_BUILD_ROOT%{_bindir}
+install cpipe.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
This page took 0.063837 seconds and 4 git commands to generate.