3 Summary: Icecast - streaming MP3 and Ogg server
4 Summary(es.UTF-8): Un servidor de streams MP3, Ogg
5 Summary(pl.UTF-8): Icecast - serwer strumieni MP3 i Ogg
6 Summary(pt_BR.UTF-8): Um servidor de streams MP3, Ogg
12 Group: Networking/Daemons
13 Source0: https://downloads.xiph.org/releases/icecast/%{name}-%{version}.tar.gz
14 # Source0-md5: 835c7b571643f6436726a6118defb366
16 URL: http://www.icecast.org/
17 BuildRequires: autoconf >= 2.54
18 BuildRequires: automake
19 BuildRequires: curl-devel >= 7.10.0
20 BuildRequires: libkate-devel
21 BuildRequires: libogg-devel >= 2:1.0
22 BuildRequires: libtheora-devel
23 BuildRequires: libtool
24 BuildRequires: libvorbis-devel >= 1:1.0
25 BuildRequires: libxml2-devel
26 BuildRequires: libxslt-devel
27 BuildRequires: openssl-devel
28 BuildRequires: pkgconfig
29 BuildRequires: readline-devel
30 BuildRequires: rpmbuild(macros) >= 1.268
31 BuildRequires: speex-devel
32 Requires(post,preun): /sbin/chkconfig
33 Requires(postun): /usr/sbin/groupdel
34 Requires(postun): /usr/sbin/userdel
35 Requires(pre): /bin/id
36 Requires(pre): /usr/bin/getgid
37 Requires(pre): /usr/sbin/groupadd
38 Requires(pre): /usr/sbin/useradd
40 Provides: group(icecast)
41 Provides: user(icecast)
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 %define _sysconfdir /etc/%{name}
47 Icecast is an Internet based broadcasting system based on the Mpeg
48 Layer III streaming technology. It was originally inspired by
49 Nullsoft's Shoutcast and also mp3serv by Scott Manley. The icecast
50 project was started for several reasons: a) all broadcasting systems
51 were pretty much closed source, non-free software implementations, b)
52 Shoutcast doesn't allow you to run your own directory servers, or
53 support them, and c) we thought it would be a lot of fun.
55 %description -l es.UTF-8
56 Icecast es un sistema de Transmisión (broadcast) en Internet que
57 utiliza la tecnología MP3.
59 %description -l pl.UTF-8
60 Icecast to internetowy serwer rozsyłający strumienie MPEG Layer III.
61 Oryginalnie zainspirowany przez Shoutcast firmy Nullsoft oraz program
62 mp3serv autorstwa Scotta Manleya. Projekt icecast2 został rozpoczęty z
63 kilku powodów: a) wszystkie systemy broadcastowe były ładnymi,
64 zamkniętymi programami, non-free, b) Shoutcast nie pozwala na
65 wystartowanie swoich własnych directory servers czy wspierać ich, c)
68 %description -l pt_BR.UTF-8
69 O Icecast é um sistema de broadcast na Internet que utiliza a
86 rm -rf $RPM_BUILD_ROOT
87 install -d $RPM_BUILD_ROOT{/etc/rc.d/init.d,/var/log/icecast}
90 DESTDIR=$RPM_BUILD_ROOT
92 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/icecast
95 %{__rm} $RPM_BUILD_ROOT%{_docdir}/icecast/{AUTHORS,COPYING,ChangeLog,NEWS,README,TODO}
98 rm -rf $RPM_BUILD_ROOT
101 %groupadd -g 57 icecast
102 %useradd -u 57 -r -d /usr/share/empty -s /bin/false -c "Streamcast" -g icecast icecast
105 /sbin/chkconfig --add icecast
106 %service icecast restart "icecast daemon"
109 if [ "$1" = "0" ] ; then
110 %service icecast stop
111 /sbin/chkconfig --del icecast >&2
115 if [ "$1" = "0" ]; then
121 %defattr(644,root,root,755)
122 %doc AUTHORS ChangeLog NEWS README TODO
124 %attr(754,root,root) /etc/rc.d/init.d/icecast
125 %attr(755,root,root) %{_bindir}/icecast
126 %attr(750,root,icecast) %dir %{_sysconfdir}
127 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/icecast.xml
129 %attr(770,root,icecast) %config(noreplace) %verify(not md5 mtime size) /var/log/icecast