- Update to version 4.0.0
* Fix incorrect rejection of large block sizes.
* Fixes from Jimmy Olgeni.
* Fixes from Hans Ulrich Niedermann.
* Fix bug when invoking with no arguments.
* Move throughput measuring end to after close(2).
* print throughput after fsync, if requested.
* -O F option (do an fsync at the end of the output file).
* When closing files fails, exit with an error code.
* -n was not clear to use numbers > 2 GB. I didn't
* notice since it worked fine if you used suffixes "K/M/G" as long as
the number was < 2 G. Sorry about that.
* O_DIRECT supported for input.
- Dropped patches:
* cstream-fix_missing_includes.patch
* cstream-fix_undefined_operation.patch
As they are incorporated to new version as is.
OBS-URL: https://build.opensuse.org/request/show/1208600
OBS-URL: https://build.opensuse.org/package/show/utilities/cstream?expand=0&rev=5
61 lines
1.8 KiB
RPMSpec
61 lines
1.8 KiB
RPMSpec
# vim: set sw=4 ts=4 et nu:
|
|
#
|
|
# spec file for package cstream
|
|
#
|
|
# Copyright (c) 2024 SUSE LLC
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: cstream
|
|
Version: 4.0.0
|
|
Release: 0
|
|
Summary: General-Purpose Stream-Handling Tool
|
|
License: X11
|
|
Group: Productivity/Text/Utilities
|
|
URL: https://www.cons.org/cracauer/cstream.html
|
|
Source: http://www.cons.org/cracauer/download/cstream-%{version}.tar.gz
|
|
BuildRequires: alsa-devel
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: gcc
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libtool
|
|
BuildRequires: make
|
|
BuildRequires: pkgconfig
|
|
|
|
%description
|
|
cstream is a general-purpose stream-handling tool like UNIX dd, usually used in
|
|
command line-constructed pipes. Features include sane command line switch
|
|
syntax, exact throughput limiting on the incoming side, precise throughput
|
|
reporting, SIGUSR1 causes a throughput report before end-of-file, built-in
|
|
support to write its PID to a file, built-in support for fifos, IPv6 support,
|
|
and built-in data creation and sink.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
%files
|
|
%doc CHANGES COPYRIGHT README TODO
|
|
%{_bindir}/cstream
|
|
%{_mandir}/man1/cstream.1%{?ext_man}
|
|
|
|
%changelog
|