File cstream.spec of Package cstream

# 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
openSUSE Build Service is sponsored by