3 # - init script should be fixed
5 Summary: Edna - streaming server
6 Summary(pl): Edna - serwer strumieni
11 Group: Applications/Sound
12 Source0: http://edna.sourceforge.net/%{name}-%{version}.tar.gz
13 # Source0-md5: ec3d46b25fa582b78db7c32acf78da47
15 URL: http://edna.sourceforge.net/
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20 Edna allows you to access your MP3 collection from any networked
21 computer. This software streams your MP3s via HTTP to any MP3 player
22 that supports playing off a remote connection (e.g. Winamp, FreeAmp,
23 Sonique, XMMS). Edna supports Ogg files either.
26 Edna umo¿liwia dostêp do kolekcji MP3 z dowolnego komputera maj±cego
27 dostêp do sieci. Ten program wysy³a strumieñ MP3 po HTTP do dowolnego
28 odtwarzacza MP3 obs³uguj±cego odtwarzanie przez po³±czenie sieciowe
29 (jak Winamp, FreeAmp, Sonique, XMMS). Edna obs³uguje tak¿e pliki Ogg.
35 rm -rf $RPM_BUILD_ROOT
36 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
37 install -d $RPM_BUILD_ROOT%{_sysconfdir}/edna
40 DESTDIR=$RPM_BUILD_ROOT
42 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/edna
43 install edna.conf $RPM_BUILD_ROOT%{_sysconfdir}/edna
44 ln -sf /usr/lib/edna/templates $RPM_BUILD_ROOT%{_sysconfdir}/edna/templates
47 rm -rf $RPM_BUILD_ROOT
50 /sbin/chkconfig --add edna
51 if [ -f /var/lock/subsys/edna ]; then
52 /etc/rc.d/init.d/edna restart >&2
54 echo "Run '/etc/rc.d/init.d/edna start' to start edna daemon." >&2
58 if [ "$1" = "0" ] ; then
59 if [ -f /var/lock/subsys/edna ]; then
60 /etc/rc.d/init.d/edna stop >&2
62 /sbin/chkconfig --del edna >&2
66 %defattr(644,root,root,755)
68 %attr(755,root,root) %{_bindir}/edna
69 %attr(754,root,root) /etc/rc.d/init.d/edna
70 %dir %{_sysconfdir}/edna
71 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/edna/edna.conf
72 %{_sysconfdir}/edna/templates
73 %dir %{_libdir}/%{name}
74 %attr(755,root,root) %{_libdir}/%{name}/*.py
75 %{_libdir}/%{name}/templates