f95ea53
Name:           ezstream
60ecdd1
Version:        0.6.0
60ecdd1
Release:        1%{?dist}
f95ea53
Summary:        Command line source client for Icecast media streaming servers
f95ea53
Group:          Applications/Multimedia
fc3e76c
## Not installed files:
fc3e76c
# INSTALL:                  FSFUL
fc3e76c
# examples/Makefile.in:     FSFULLR
fc3e76c
# build-aux/config.rpath:   FSFULLR
fc3e76c
# build-aux/config.guess:   GPLv2+ with Autoconf exception
fc3e76c
# build-aux/install-sh:     MIT and Public Domain
fc3e76c
# m4/tree.m4:               MIT
fc3e76c
# win32/tfile.cpp:          LGPLv2
fc3e76c
# win32/shout/shout.h:      LGPLv2+
fc3e76c
# compat/sys/tree.3:        BSD
fc3e76c
# compat/sys/tree.h:        BSD (not used if --enable-debug is not specified)
fc3e76c
## Installed files:
fc3e76c
# doc/ezstream-file.sh.1*:  MIT
fc3e76c
# doc/ezstream.1*:          GPLv2
fc3e76c
# COPYING:                  GPLv2
fc3e76c
# src/metadata.c:           MIT
fc3e76c
# src/configfile.c:         GPLv2
fc3e76c
# src/ezstream.c:           GPLv2
fc3e76c
# src/getopt.c:             MIT and BSD
fc3e76c
License:        GPLv2 and BSD and MIT
2388662
URL:            http://www.icecast.org/%{name}/
2388662
Source0:        http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz
2388662
BuildRequires:  glibc-headers
2388662
BuildRequires:  pkgconfig(libxml-2.0) >= 2
2388662
BuildRequires:  pkgconfig(shout) >= 2.2
2388662
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.
2388662
Native metadata support includes MP3 (ID3v1 only) and Ogg Vorbis, and many
2388662
more formats understood by TagLib library.
f95ea53
f95ea53
%prep
f95ea53
%setup -q
f805f54
mkdir __examples
f805f54
cp -a examples __examples/examples
f805f54
rm -f __examples/examples/Makefile*
f805f54
chmod a-x __examples/examples/*
f95ea53
f95ea53
%build
2388662
%configure \
2388662
    --disable-debug
2388662
# --with-taglib actually inhibits the taglib support
2388662
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
b8c37b5
%license COPYING
b8c37b5
%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
60ecdd1
* Tue Mar 24 2015 Petr Pisar <ppisar@redhat.com> - 0.6.0-1
b8c37b5
- Modernize spec file
2388662
- Correct dependencies
fc3e76c
- Correct license tag from (GPLv2) to (GPLv2 and BSD and MIT)
60ecdd1
- 0.6.0 bump (fixes a security bug when processing metadata placeholders
60ecdd1
  leading to arbitrary shell command execution)
b8c37b5
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.