]>
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 | |
c40d97cc | 5 | Release: 0.4 |
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 | |
c40d97cc | 14 | Requires: webserver(alias) |
00e6b162 | 15 | Obsoletes: flash_media_player |
a67578bf ER |
16 | BuildArch: noarch |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
5e725329 ER |
19 | %define _webapps /etc/webapps |
20 | %define _webapp %{name} | |
21 | %define _sysconfdir %{_webapps}/%{_webapp} | |
22 | %define _appdir %{_datadir}/%{_webapp} | |
2a5be263 | 23 | |
a67578bf | 24 | %description |
00e6b162 ER |
25 | The JW Media Player (built with Adobe's Flash) supports playback of a |
26 | single media file of any format the Adobe Flash Player can handle | |
27 | (MP3, FLV, SWF, JPG, PNG and GIF). It also supports RSS, XSPF and ATOM | |
28 | playlist (with mixed mediatypes and advertisement possibilities), a | |
29 | wide range of flashvars (settings) for tweaking both behavior and | |
30 | appearance and an extensive, documented javascript/actionscript API. | |
2c5d3529 JB |
31 | |
32 | %description -l pl.UTF-8 | |
33 | Flash Media Player potrafi odtwarzać pliki multimedialne dowolnego | |
00e6b162 ER |
34 | typu obsługiwanego przez Adobe Flash Player (MP3, FLV, SWF, JPG, PNG i |
35 | GIF). Obsługuje także playlisty RSS/XSPF/ATOM (z mieszanymi typami | |
2c5d3529 JB |
36 | mediów), szeroki zakres ustawień do modyfikowania zarówno zachowania |
37 | jak i wyglądu oraz obszerne, udokumentowane API | |
38 | Javascriptu/Actionscriptu. | |
a67578bf ER |
39 | |
40 | %prep | |
41 | %setup -q -n %{name} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
c40d97cc | 45 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}} |
2a5be263 | 46 | cp -a mediaplayer.swf $RPM_BUILD_ROOT%{_appdir} |
5e725329 ER |
47 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf |
48 | ||
49 | %triggerin -- lighttpd | |
50 | %webapp_register lighttpd %{_webapp} | |
51 | ||
52 | %triggerun -- lighttpd | |
53 | %webapp_unregister lighttpd %{_webapp} | |
a67578bf ER |
54 | |
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
59 | %defattr(644,root,root,755) | |
c40d97cc | 60 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf |
6fafc418 | 61 | %dir %{_appdir} |
2a5be263 | 62 | %{_appdir}/mediaplayer.swf |