]>
Commit | Line | Data |
---|---|---|
00e6b162 | 1 | Summary: JW Media Player |
2c5d3529 | 2 | Summary(pl.UTF-8): Odtwarzacz Flash Media |
00e6b162 ER |
3 | Name: jw_media_player |
4 | Version: 3.99 | |
5e725329 | 5 | Release: 0.3 |
a67578bf ER |
6 | License: Creative Commons |
7 | Group: Applications/WWW | |
8 | Source0: http://www.jeroenwijering.com/upload/%{name}.zip | |
00e6b162 | 9 | # Source0-md5: 995e438774dba2c1c3919e62749aa735 |
5e725329 | 10 | Source1: %{name}-lighttpd.conf |
00e6b162 | 11 | URL: http://www.jeroenwijering.com/?item=JW_Media_Player |
5e725329 ER |
12 | BuildRequires: rpmbuild(macros) >= 1.268 |
13 | Requires: webapps | |
00e6b162 | 14 | Obsoletes: flash_media_player |
a67578bf ER |
15 | BuildArch: noarch |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
5e725329 ER |
18 | %define _webapps /etc/webapps |
19 | %define _webapp %{name} | |
20 | %define _sysconfdir %{_webapps}/%{_webapp} | |
21 | %define _appdir %{_datadir}/%{_webapp} | |
2a5be263 | 22 | |
a67578bf | 23 | %description |
00e6b162 ER |
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. | |
2c5d3529 JB |
30 | |
31 | %description -l pl.UTF-8 | |
32 | Flash Media Player potrafi odtwarzać pliki multimedialne dowolnego | |
00e6b162 ER |
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 | |
2c5d3529 JB |
35 | mediów), szeroki zakres ustawień do modyfikowania zarówno zachowania |
36 | jak i wyglądu oraz obszerne, udokumentowane API | |
37 | Javascriptu/Actionscriptu. | |
a67578bf ER |
38 | |
39 | %prep | |
40 | %setup -q -n %{name} | |
41 | ||
42 | %install | |
43 | rm -rf $RPM_BUILD_ROOT | |
2a5be263 ER |
44 | install -d $RPM_BUILD_ROOT%{_appdir} |
45 | cp -a mediaplayer.swf $RPM_BUILD_ROOT%{_appdir} | |
5e725329 ER |
46 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf |
47 | ||
48 | %triggerin -- lighttpd | |
49 | %webapp_register lighttpd %{_webapp} | |
50 | ||
51 | %triggerun -- lighttpd | |
52 | %webapp_unregister lighttpd %{_webapp} | |
a67578bf ER |
53 | |
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
6fafc418 | 59 | %dir %{_appdir} |
2a5be263 | 60 | %{_appdir}/mediaplayer.swf |