[ezstream] Modernize spec file

Petr Pisar ppisar at fedoraproject.org
Tue Mar 24 14:17:48 UTC 2015


commit 25bcd58d164d3eded22814cf1563a3e711661c18
Author: Petr Písař <ppisar at redhat.com>
Date:   Tue Mar 24 08:48:17 2015 +0100

    Modernize spec file

 ezstream.spec | 30 +++++++++++-------------------
 1 file changed, 11 insertions(+), 19 deletions(-)
---
diff --git a/ezstream.spec b/ezstream.spec
index 667615c..26dbbac 100644
--- a/ezstream.spec
+++ b/ezstream.spec
@@ -1,20 +1,19 @@
 Name:           ezstream
 Version:        0.5.6
-Release:        8%{?dist}
+Release:        9%{?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
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
-BuildRequires:  libogg-devel libvorbis-devel taglib-devel libshout-devel libxml2-devel
+BuildRequires:  libogg-devel
+BuildRequires:  libshout-devel
+BuildRequires:  libvorbis-devel
+BuildRequires:  libxml2-devel
+BuildRequires:  taglib-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
@@ -28,7 +27,6 @@ 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
 mkdir __examples
@@ -36,32 +34,26 @@ cp -a examples __examples/examples
 rm -f __examples/examples/Makefile*
 chmod a-x __examples/examples/*
 
-
 %build
 %configure
 make %{?_smp_mflags}
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 rm -rf $RPM_BUILD_ROOT%{_docdir} $RPM_BUILD_ROOT%{_datadir}/examples
 
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
-
 %files
-%defattr(-,root,root,-)
+%license COPYING
+%doc NEWS README __examples/examples
 %{_bindir}/ezstream
 %{_bindir}/ezstream-file.sh
-%doc COPYING NEWS README __examples/examples
 %{_mandir}/man1/ezstream.1.gz
 %{_mandir}/man1/ezstream-file.sh.1.gz
 
-
 %changelog
+* Tue Mar 24 2015 Petr Pisar <ppisar at redhat.com> - 0.5.6-9
+- Modernize spec file
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.6-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list