ba2dddd
Name:           ezstream
ba2dddd
Version:        0.5.3
ba2dddd
Release:        1%{?dist}
ba2dddd
Summary:        Command line source client for Icecast media streaming servers
ba2dddd
ba2dddd
Group:          Applications/Multimedia
ba2dddd
License:        GPLv2
ba2dddd
URL:            http://www.icecast.org/ezstream.php
ba2dddd
Source0:        http://downloads.xiph.org/releases/ezstream/ezstream-%{version}.tar.gz
ba2dddd
# Patch0 gets rid of the unnecessary installation of documentation that we do ourselves anyway.
ba2dddd
Patch0:         ezstream-stop-weird-installs.patch
ba2dddd
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ba2dddd
ba2dddd
BuildRequires:  libogg-devel libvorbis-devel taglib-devel libshout-devel libxml2-devel
ba2dddd
ba2dddd
%description
ba2dddd
Ezstream is a command line source client for Icecast media streaming servers.
ba2dddd
It began as the successor of the old "shout" utility, and has since gained a
ba2dddd
lot of useful features.
ba2dddd
ba2dddd
In its basic mode of operation, it streams media files or data from standard
ba2dddd
input without reencoding and thus requires only very little CPU resources. It
ba2dddd
can also use various external decoders and encoders to reencode from one format
ba2dddd
to another, and stream the result to an Icecast server. Additional features
ba2dddd
include scriptable playlist and metadata handling. All of its features make
ba2dddd
ezstream a very flexible source client.
ba2dddd
ba2dddd
Supported media formats for streaming are MP3, Ogg Vorbis and Ogg Theora.
ba2dddd
Native metadata support includes MP3 (ID3v1 only) and Ogg Vorbis, and many more
ba2dddd
formats when the optional TagLib support has been compiled in (which they are
ba2dddd
for this package).
ba2dddd
ba2dddd
%prep
ba2dddd
%setup -q
ba2dddd
%patch0 -p1 -b .stop_weird_inst
ba2dddd
ba2dddd
ba2dddd
%build
ba2dddd
%configure
ba2dddd
make %{?_smp_mflags}
ba2dddd
ba2dddd
ba2dddd
%install
ba2dddd
rm -rf $RPM_BUILD_ROOT
ba2dddd
make install DESTDIR=$RPM_BUILD_ROOT
ba2dddd
# spurious executable doc
ba2dddd
chmod a-x examples/*
ba2dddd
ba2dddd
ba2dddd
%clean
ba2dddd
rm -rf $RPM_BUILD_ROOT
ba2dddd
ba2dddd
ba2dddd
%files
ba2dddd
%defattr(-,root,root,-)
ba2dddd
%{_bindir}/ezstream
ba2dddd
# Why are we specifying each example instead of just adding the directory?
ba2dddd
# If we do that, we get the Makefile stuff too, which is silly.
ba2dddd
%doc COPYING NEWS README examples/ezstream_metadata.xml examples/ezstream_mp3.xml
ba2dddd
%doc examples/ezstream_reencode_mp3.xml examples/ezstream_reencode_theora.xml
ba2dddd
%doc examples/ezstream_reencode_vorbis.xml examples/ezstream_stdin_vorbis.xml
ba2dddd
%doc examples/ezstream_vorbis.xml examples/meta.sh examples/play.sh
ba2dddd
%doc %{_mandir}/man1/ezstream.1.gz
ba2dddd
ba2dddd
ba2dddd
ba2dddd
%changelog
ba2dddd
* Sat Apr 05 2008 Ian Weller <ianweller@gmail.com> 0.5.3-1
ba2dddd
- Initial package build.