diff --git a/.cvsignore b/.cvsignore index e69de29..9440128 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +ezstream-0.5.3.tar.gz diff --git a/ezstream-stop-weird-installs.patch b/ezstream-stop-weird-installs.patch new file mode 100644 index 0000000..ccbf9c0 --- /dev/null +++ b/ezstream-stop-weird-installs.patch @@ -0,0 +1,30 @@ +diff -up ezstream-0.5.3/Makefile.in.orig ezstream-0.5.3/Makefile.in +--- ezstream-0.5.3/Makefile.in.orig 2008-04-05 18:08:42.000000000 -0500 ++++ ezstream-0.5.3/Makefile.in 2008-04-05 18:08:50.000000000 -0500 +@@ -200,7 +200,7 @@ target_alias = @target_alias@ + AUTOMAKE_OPTIONS = 1.9 foreign + ACLOCAL_AMFLAGS = -I m4 + SUBDIRS = build-aux compat doc examples m4 src win32 +-dist_doc_DATA = COPYING NEWS README ++dist_doc_DATA = + CLEANFILES = core *.core *~ .*~ + all: all-recursive + +diff -up ezstream-0.5.3/examples/Makefile.in.orig ezstream-0.5.3/examples/Makefile.in +--- ezstream-0.5.3/examples/Makefile.in.orig 2008-04-05 18:02:44.000000000 -0500 ++++ ezstream-0.5.3/examples/Makefile.in 2008-04-05 18:03:06.000000000 -0500 +@@ -181,12 +181,9 @@ sysconfdir = @sysconfdir@ + target_alias = @target_alias@ + AUTOMAKE_OPTIONS = 1.9 foreign + examplesdir = @EXAMPLES_DIR@ +-dist_examples_DATA = ezstream_mp3.xml ezstream_reencode_mp3.xml \ +- ezstream_reencode_theora.xml ezstream_reencode_vorbis.xml \ +- ezstream_stdin_vorbis.xml ezstream_vorbis.xml \ +- ezstream_metadata.xml ++dist_examples_DATA = + +-dist_examples_SCRIPTS = meta.sh play.sh ++dist_examples_SCRIPTS = + CLEANFILES = core *.core *~ .*~ + all: all-am + diff --git a/ezstream.spec b/ezstream.spec new file mode 100644 index 0000000..65f171f --- /dev/null +++ b/ezstream.spec @@ -0,0 +1,69 @@ +Name: ezstream +Version: 0.5.3 +Release: 1%{?dist} +Summary: Command line source client for Icecast media streaming servers + +Group: Applications/Multimedia +License: GPLv2 +URL: http://www.icecast.org/ezstream.php +Source0: http://downloads.xiph.org/releases/ezstream/ezstream-%{version}.tar.gz +# Patch0 gets rid of the unnecessary installation of documentation that we do ourselves anyway. +Patch0: ezstream-stop-weird-installs.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libogg-devel libvorbis-devel taglib-devel libshout-devel libxml2-devel + +%description +Ezstream is a command line source client for Icecast media streaming servers. +It began as the successor of the old "shout" utility, and has since gained a +lot of useful features. + +In its basic mode of operation, it streams media files or data from standard +input without reencoding and thus requires only very little CPU resources. It +can also use various external decoders and encoders to reencode from one format +to another, and stream the result to an Icecast server. Additional features +include scriptable playlist and metadata handling. All of its features make +ezstream a very flexible source client. + +Supported media formats for streaming are MP3, Ogg Vorbis and Ogg Theora. +Native metadata support includes MP3 (ID3v1 only) and Ogg Vorbis, and many more +formats when the optional TagLib support has been compiled in (which they are +for this package). + +%prep +%setup -q +%patch0 -p1 -b .stop_weird_inst + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +# spurious executable doc +chmod a-x examples/* + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{_bindir}/ezstream +# Why are we specifying each example instead of just adding the directory? +# If we do that, we get the Makefile stuff too, which is silly. +%doc COPYING NEWS README examples/ezstream_metadata.xml examples/ezstream_mp3.xml +%doc examples/ezstream_reencode_mp3.xml examples/ezstream_reencode_theora.xml +%doc examples/ezstream_reencode_vorbis.xml examples/ezstream_stdin_vorbis.xml +%doc examples/ezstream_vorbis.xml examples/meta.sh examples/play.sh +%doc %{_mandir}/man1/ezstream.1.gz + + + +%changelog +* Sat Apr 05 2008 Ian Weller 0.5.3-1 +- Initial package build. diff --git a/sources b/sources index e69de29..f24d364 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a07941d52a4705f8d02c9c9ee6e05750 ezstream-0.5.3.tar.gz