f95ea53
Name:           ezstream
0ae9dce
Version:        0.6.0
8729579
Release:        4%{?dist}
f95ea53
Summary:        Command line source client for Icecast media streaming servers
f95ea53
Group:          Applications/Multimedia
163832e
## Not installed files:
163832e
# INSTALL:                  FSFUL
163832e
# examples/Makefile.in:     FSFULLR
163832e
# build-aux/config.rpath:   FSFULLR
163832e
# build-aux/config.guess:   GPLv2+ with Autoconf exception
163832e
# build-aux/install-sh:     MIT and Public Domain
163832e
# m4/tree.m4:               MIT
163832e
# win32/tfile.cpp:          LGPLv2
163832e
# win32/shout/shout.h:      LGPLv2+
163832e
# compat/sys/tree.3:        BSD
163832e
# compat/sys/tree.h:        BSD (not used if --enable-debug is not specified)
163832e
## Installed files:
163832e
# doc/ezstream-file.sh.1*:  MIT
163832e
# doc/ezstream.1*:          GPLv2
163832e
# COPYING:                  GPLv2
163832e
# src/metadata.c:           MIT
163832e
# src/configfile.c:         GPLv2
163832e
# src/ezstream.c:           GPLv2
163832e
# src/getopt.c:             MIT and BSD
163832e
License:        GPLv2 and BSD and MIT
c869bae
URL:            http://www.icecast.org/%{name}/
c869bae
Source0:        http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz
a7f3452
# Fix a crash on configuration without format, bug #1244481,
a7f3452
# <https://trac.xiph.org/ticket/2208>
a7f3452
Patch0:         ezstream-0.6.0-Check-for-undefined-stream-format.patch
31b84d4
BuildRequires:  coreutils
1de8f51
BuildRequires:  gcc
31b84d4
BuildRequires:  make
c869bae
BuildRequires:  pkgconfig(libxml-2.0) >= 2
c869bae
BuildRequires:  pkgconfig(shout) >= 2.2
c869bae
BuildRequires:  pkgconfig(taglib_c) >= 1.4
f95ea53
f95ea53
%description
f95ea53
Ezstream is a command line source client for Icecast media streaming servers.
f95ea53
f95ea53
In its basic mode of operation, it streams media files or data from standard
f95ea53
input without reencoding and thus requires only very little CPU resources. It
f95ea53
can also use various external decoders and encoders to reencode from one format
f95ea53
to another, and stream the result to an Icecast server. Additional features
f95ea53
include scriptable playlist and metadata handling. All of its features make
f95ea53
ezstream a very flexible source client.
f95ea53
f95ea53
Supported media formats for streaming are MP3, Ogg Vorbis and Ogg Theora.
c869bae
Native metadata support includes MP3 (ID3v1 only) and Ogg Vorbis, and many
c869bae
more formats understood by TagLib library.
f95ea53
f95ea53
%prep
f95ea53
%setup -q
a7f3452
%patch0 -p1
f805f54
mkdir __examples
f805f54
cp -a examples __examples/examples
f805f54
rm -f __examples/examples/Makefile*
f805f54
chmod a-x __examples/examples/*
f95ea53
f95ea53
%build
c869bae
%configure \
c869bae
    --disable-debug
c869bae
# --with-taglib actually inhibits the taglib support
c869bae
f95ea53
make %{?_smp_mflags}
f95ea53
f95ea53
%install
f95ea53
make install DESTDIR=$RPM_BUILD_ROOT
f805f54
rm -rf $RPM_BUILD_ROOT%{_docdir} $RPM_BUILD_ROOT%{_datadir}/examples
f95ea53
f95ea53
%files
25bcd58
%license COPYING
25bcd58
%doc NEWS README __examples/examples
f95ea53
%{_bindir}/ezstream
3533134
%{_bindir}/ezstream-file.sh
f805f54
%{_mandir}/man1/ezstream.1.gz
3533134
%{_mandir}/man1/ezstream-file.sh.1.gz
f95ea53
f95ea53
%changelog
8729579
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-4
8729579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
8729579
a7f3452
* Tue Jul 21 2015 Petr Pisar <ppisar@redhat.com> - 0.6.0-3
a7f3452
- Fix a crash on configuration without format (bug #1244481)
1de8f51
- Build-require gcc instead of glibc-headers (bug #1230472)
a7f3452
d72e7b3
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.0-2
d72e7b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
d72e7b3
0ae9dce
* Tue Mar 24 2015 Petr Pisar <ppisar@redhat.com> - 0.6.0-1
25bcd58
- Modernize spec file
c869bae
- Correct dependencies
163832e
- Correct license tag from (GPLv2) to (GPLv2 and BSD and MIT)
0ae9dce
- 0.6.0 bump (fixes a security bug when processing metadata placeholders
0ae9dce
  leading to arbitrary shell command execution)
25bcd58
c0a9af7
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-8
c0a9af7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c0a9af7
dc7b685
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-7
dc7b685
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
dc7b685
18ace8e
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-6
18ace8e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
18ace8e
e4f4e74
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-5
e4f4e74
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e4f4e74
9f88c91
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-4
9f88c91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9f88c91
57f035f
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-3
57f035f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
57f035f
d683118
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.6-2
d683118
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
d683118
3533134
* Fri Nov  6 2009 Ian Weller <ian@ianweller.org> - 0.5.6-1
3533134
- 0.5.6
3533134
1568ca7
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-4
1568ca7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1568ca7
4ff01aa
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.3-3
4ff01aa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4ff01aa
f805f54
* Wed Jan 14 2009 Ian Weller <ianweller@gmail.com> 0.5.3-2
f805f54
- Remove doc declaration from the man page
f805f54
- Move examples into examples/ within the docdir
f805f54
- Remove need for patch and put commands in the right parts
f805f54
f95ea53
* Sat Apr 05 2008 Ian Weller <ianweller@gmail.com> 0.5.3-1
f95ea53
- Initial package build.