[ezstream/f20] Correct dependencies

Petr Pisar ppisar at fedoraproject.org
Tue Mar 24 14:23:37 UTC 2015


commit 2388662f20d67b3166cf980adf61e1eab922bb90
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Mar 24 13:46:57 2015 +0100

    Correct dependencies

 ezstream.spec | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)
---
diff --git a/ezstream.spec b/ezstream.spec
index 80b4e08..e8e5210 100644
--- a/ezstream.spec
+++ b/ezstream.spec
@@ -4,13 +4,12 @@ Release:        7%{?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
-BuildRequires:  libogg-devel
-BuildRequires:  libshout-devel
-BuildRequires:  libvorbis-devel
-BuildRequires:  libxml2-devel
-BuildRequires:  taglib-devel
+URL:            http://www.icecast.org/%{name}/
+Source0:        http://downloads.xiph.org/releases/%{name}/%{name}-%{version}.tar.gz
+BuildRequires:  glibc-headers
+BuildRequires:  pkgconfig(libxml-2.0) >= 2
+BuildRequires:  pkgconfig(shout) >= 2.2
+BuildRequires:  pkgconfig(taglib_c) >= 1.4
 
 %description
 Ezstream is a command line source client for Icecast media streaming servers.
@@ -23,9 +22,8 @@ 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).
+Native metadata support includes MP3 (ID3v1 only) and Ogg Vorbis, and many
+more formats understood by TagLib library.
 
 %prep
 %setup -q
@@ -35,7 +33,10 @@ rm -f __examples/examples/Makefile*
 chmod a-x __examples/examples/*
 
 %build
-%configure
+%configure \
+    --disable-debug
+# --with-taglib actually inhibits the taglib support
+
 make %{?_smp_mflags}
 
 %install
@@ -53,6 +54,7 @@ rm -rf $RPM_BUILD_ROOT%{_docdir} $RPM_BUILD_ROOT%{_datadir}/examples
 %changelog
 * Tue Mar 24 2015 Petr Pisar <ppisar at redhat.com> - 0.5.6-7
 - Modernize spec file
+- Correct dependencies
 
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.6-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild


More information about the scm-commits mailing list