]>
Commit | Line | Data |
---|---|---|
00e6b162 | 1 | Summary: JW Media Player |
5aee2365 | 2 | Summary(pl.UTF-8): Odtwarzacz JW Media |
00e6b162 | 3 | Name: jw_media_player |
88d38862 | 4 | Version: 3.11 |
21621456 | 5 | Release: 1 |
88d38862 | 6 | Epoch: 1 |
a67578bf ER |
7 | License: Creative Commons |
8 | Group: Applications/WWW | |
9 | Source0: http://www.jeroenwijering.com/upload/%{name}.zip | |
88d38862 | 10 | # Source0-md5: f6b5b48f7903ee22e26ac157ca095743 |
5e725329 | 11 | Source1: %{name}-lighttpd.conf |
00e6b162 | 12 | URL: http://www.jeroenwijering.com/?item=JW_Media_Player |
5e725329 ER |
13 | BuildRequires: rpmbuild(macros) >= 1.268 |
14 | Requires: webapps | |
c40d97cc | 15 | Requires: webserver(alias) |
00e6b162 | 16 | Obsoletes: flash_media_player |
a67578bf ER |
17 | BuildArch: noarch |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
5e725329 ER |
20 | %define _webapps /etc/webapps |
21 | %define _webapp %{name} | |
22 | %define _sysconfdir %{_webapps}/%{_webapp} | |
23 | %define _appdir %{_datadir}/%{_webapp} | |
2a5be263 | 24 | |
a67578bf | 25 | %description |
00e6b162 ER |
26 | The JW Media Player (built with Adobe's Flash) supports playback of a |
27 | single media file of any format the Adobe Flash Player can handle | |
28 | (MP3, FLV, SWF, JPG, PNG and GIF). It also supports RSS, XSPF and ATOM | |
29 | playlist (with mixed mediatypes and advertisement possibilities), a | |
30 | wide range of flashvars (settings) for tweaking both behavior and | |
5aee2365 | 31 | appearance and an extensive, documented JavaScript/ActionScript API. |
2c5d3529 JB |
32 | |
33 | %description -l pl.UTF-8 | |
5aee2365 JB |
34 | JW Media Player (zbudowany z Flashem Adobe) potrafi odtwarzać pliki |
35 | multimedialne dowolnego typu obsługiwanego przez Adobe Flash Player | |
36 | (MP3, FLV, SWF, JPG, PNG i GIF). Obsługuje także playlisty | |
37 | RSS/XSPF/ATOM (z mieszanymi typami mediów), szeroki zakres ustawień do | |
38 | modyfikowania zarówno zachowania jak i wyglądu oraz obszerne, | |
39 | udokumentowane API JavaScriptu/ActionScriptu. | |
a67578bf ER |
40 | |
41 | %prep | |
42 | %setup -q -n %{name} | |
43 | ||
44 | %install | |
45 | rm -rf $RPM_BUILD_ROOT | |
c40d97cc | 46 | install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}} |
2a5be263 | 47 | cp -a mediaplayer.swf $RPM_BUILD_ROOT%{_appdir} |
5e725329 ER |
48 | cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf |
49 | ||
8e27e6ee JB |
50 | %clean |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
5e725329 ER |
53 | %triggerin -- lighttpd |
54 | %webapp_register lighttpd %{_webapp} | |
55 | ||
56 | %triggerun -- lighttpd | |
57 | %webapp_unregister lighttpd %{_webapp} | |
a67578bf | 58 | |
a67578bf ER |
59 | %files |
60 | %defattr(644,root,root,755) | |
c40d97cc | 61 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf |
6fafc418 | 62 | %dir %{_appdir} |
2a5be263 | 63 | %{_appdir}/mediaplayer.swf |