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