Summary: Command-line source client for Icecast media streaming servers
Summary(pl.UTF-8): Klient źródłowy dla serwerów strumieni multimedialnych Icecast
Name: ezstream
-Version: 0.5.3
+Version: 0.5.6
Release: 1
License: GPL v2
Group: Applications/Multimedia
Source0: http://downloads.xiph.org/releases/ezstream/%{name}-%{version}.tar.gz
-# Source0-md5: a07941d52a4705f8d02c9c9ee6e05750
+# Source0-md5: 1be68119d44fbe71454a901fa650a359
URL: http://www.icecast.org/ezstream.php
BuildRequires: libogg-devel >= 2:1.0
BuildRequires: libshout-devel >= 2.2
BuildRequires: libvorbis-devel >= 1:1.0
BuildRequires: libxml2-devel >= 2.0
BuildRequires: pkgconfig
+BuildRequires: sed >= 4.0
BuildRequires: taglib-devel >= 1.4
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%prep
%setup -q
+# strip GPL text
+sed -i -e '12,$d' COPYING
+
%build
%configure
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/ezstream
+%{__rm} -r $RPM_BUILD_ROOT%{_datadir}/examples
+%{__rm} examples/Makefile*
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc ChangeLog NEWS README
+%doc COPYING ChangeLog NEWS README examples
%attr(755,root,root) %{_bindir}/ezstream
+%attr(755,root,root) %{_bindir}/ezstream-file.sh
%{_mandir}/man1/ezstream.1*
+%{_mandir}/man1/ezstream-file.sh.1*