File ezstream.spec of Package ezstream

# spec file for package ezstream
# Copyright (c) 2021 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

Name:           ezstream
Version:        1.0.2
Release:        0
Summary:        Icecast media streaming client
License:        GPL-2.0-only
Group:          Productivity/Multimedia/Sound/Players
Source1:        ezstream.changes
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(check)
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  pkgconfig(shout)
BuildRequires:  pkgconfig(taglib_c)

Ezstream is a command line source client for Icecast media streaming servers.

The basic mode of operation streams media files or data from standard
input without reencoding and thus requires little resources. It can
use various external transcoders and stream the result. Additional
features include scriptable playlist and metadata handling.

Supported media formats for streaming are MP3, Ogg Vorbis and Ogg
Theora. Native metadata support includes MP3 (ID3v1 only) and Ogg,
plus all those known to TagLib.

%setup -q
FAKE_BUILDDATE=$(LC_ALL=C date -u -r  %{SOURCE1} '+%%B %%d, %%Y')
sed -i "s/BUILD_DATE=\$(date '+%%B %%d, %%Y')/BUILD_DATE=\"$FAKE_BUILDDATE\"/"

autoreconf -fi


rm examples/Makefile*

rm -rf "%{buildroot}%{_datadir}/examples"
rm -rf "%{buildroot}%{_datadir}/doc"

%license COPYING
%doc NEWS
%doc examples

openSUSE Build Service is sponsored by