]> git.pld-linux.org Git - packages/cstream.git/commitdiff
- new AC-branch AC-STABLE auto/ac/cstream-2_6_0-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Thu, 20 Oct 2005 06:58:50 +0000 (06:58 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cstream.spec -> 1.1

cstream.spec [new file with mode: 0644]

diff --git a/cstream.spec b/cstream.spec
new file mode 100644 (file)
index 0000000..63629d1
--- /dev/null
@@ -0,0 +1,68 @@
+Summary:       A general-purpose streaming tool
+Name:          cstream
+Version:       2.6.0
+Release:       1
+License:       MIT
+Group:         Networking/Utilities
+Source0:       http://www.cons.org/cracauer/download/%{name}-%{version}.tar.gz
+# Source0-md5: 64c3fbc1a2ce0f5a1be812263bb25b42
+BuildRequires: autoconf
+URL:           http://www.cons.org/cracauer/cstream.html
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+cstream is a general-purpose stream-handling tool like UNIX dd,
+usually used in commandline-constructed pipes.
+
+Features:
+- Sane commandline switch syntax.
+- Exact throughput limiting, on the incoming side. Timing variance in
+  previous reads are counterbalanced in the following reads.
+- Precise throughput reporting. Either at the end of the transmission
+  or everytime SIGUSR1 is received. Quite useful to ask lengthy
+  operations how much data has been transferred yet, i.e. when writing
+  tapes. Reports are done in bytes/sec and if appropriate in KB/sec or
+  MB/sec, where 1K = 1024.
+- SIGHUP causes a clean shutdown before EOF on input, timing
+  information is displayed.
+- Build-in support to write its PID to a file, for painless sending of
+  these signals.
+- Build-in support for fifos. Example usage is a 'pseudo-device',
+  something that sinks or delivers data at an appropriate rate, but
+  looks like a file, i.e. if you test soundcard software. See the
+  manpage for examples.
+- Built-in data creation and sink, no more redirection of /dev/null
+  and /dev/zero. These special devices speed varies greatly among
+  operating systems, redirecting from it isn't appropriate benchmarking
+  and a waste of resources anyway.
+- Accepts 'k', 'm' and 'g' character after number for "kilo, mega,
+  giga" bytes for overall data size limit.
+- "gcc -Wall" clean source code, serious effort taken to avoid
+  undefined behavior in ANSI C or POSIX, except long long is required.
+  Limiting and reporting works on data amounts > 4 GB.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES README TODO
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man?/*
This page took 0.075035 seconds and 4 git commands to generate.