1 Summary: JW Media Player
2 Summary(pl.UTF-8): Odtwarzacz Flash Media
6 License: Creative Commons
7 Group: Applications/WWW
8 Source0: http://www.jeroenwijering.com/upload/%{name}.zip
9 # Source0-md5: 995e438774dba2c1c3919e62749aa735
10 Source1: %{name}-lighttpd.conf
11 URL: http://www.jeroenwijering.com/?item=JW_Media_Player
12 BuildRequires: rpmbuild(macros) >= 1.268
14 Obsoletes: flash_media_player
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _webapps /etc/webapps
19 %define _webapp %{name}
20 %define _sysconfdir %{_webapps}/%{_webapp}
21 %define _appdir %{_datadir}/%{_webapp}
24 The JW Media Player (built with Adobe's Flash) supports playback of a
25 single media file of any format the Adobe Flash Player can handle
26 (MP3, FLV, SWF, JPG, PNG and GIF). It also supports RSS, XSPF and ATOM
27 playlist (with mixed mediatypes and advertisement possibilities), a
28 wide range of flashvars (settings) for tweaking both behavior and
29 appearance and an extensive, documented javascript/actionscript API.
31 %description -l pl.UTF-8
32 Flash Media Player potrafi odtwarzać pliki multimedialne dowolnego
33 typu obsługiwanego przez Adobe Flash Player (MP3, FLV, SWF, JPG, PNG i
34 GIF). Obsługuje także playlisty RSS/XSPF/ATOM (z mieszanymi typami
35 mediów), szeroki zakres ustawień do modyfikowania zarówno zachowania
36 jak i wyglądu oraz obszerne, udokumentowane API
37 Javascriptu/Actionscriptu.
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_appdir}
45 cp -a mediaplayer.swf $RPM_BUILD_ROOT%{_appdir}
46 cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
48 %triggerin -- lighttpd
49 %webapp_register lighttpd %{_webapp}
51 %triggerun -- lighttpd
52 %webapp_unregister lighttpd %{_webapp}
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
60 %{_appdir}/mediaplayer.swf