]>
Commit | Line | Data |
---|---|---|
00e6b162 | 1 | Summary: JW Media Player |
5aee2365 | 2 | Summary(pl.UTF-8): Odtwarzacz JW Media |
00e6b162 ER |
3 | Name: jw_media_player |
4 | Version: 3.99 | |
21621456 | 5 | Release: 1 |
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 | |
5aee2365 | 30 | appearance and an extensive, documented JavaScript/ActionScript API. |
2c5d3529 JB |
31 | |
32 | %description -l pl.UTF-8 | |
5aee2365 JB |
33 | JW Media Player (zbudowany z Flashem Adobe) potrafi odtwarzać pliki |
34 | multimedialne dowolnego typu obsługiwanego przez Adobe Flash Player | |
35 | (MP3, FLV, SWF, JPG, PNG i GIF). Obsługuje także playlisty | |
36 | RSS/XSPF/ATOM (z mieszanymi typami mediów), szeroki zakres ustawień do | |
37 | modyfikowania zarówno zachowania jak i wyglądu oraz obszerne, | |
38 | udokumentowane API 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 | ||
8e27e6ee JB |
49 | %clean |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
5e725329 ER |
52 | %triggerin -- lighttpd |
53 | %webapp_register lighttpd %{_webapp} | |
54 | ||
55 | %triggerun -- lighttpd | |
56 | %webapp_unregister lighttpd %{_webapp} | |
a67578bf | 57 | |
a67578bf ER |
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 |