]> git.pld-linux.org Git - packages/jwplayer7.git/blob - jw_media_player.spec
- add lighttpd config
[packages/jwplayer7.git] / jw_media_player.spec
1 Summary:        JW Media Player
2 Summary(pl.UTF-8):      Odtwarzacz Flash Media
3 Name:           jw_media_player
4 Version:        3.99
5 Release:        0.3
6 License:        Creative Commons
7 Group:          Applications/WWW
8 Source0:        http://www.jeroenwijering.com/upload/%{name}.zip
9 # Source0-md5:  995e438774dba2c1c3919e62749aa735
10 Source1:        %{name}-lighttpd.conf
11 URL:            http://www.jeroenwijering.com/?item=JW_Media_Player
12 BuildRequires:  rpmbuild(macros) >= 1.268
13 Requires:       webapps
14 Obsoletes:      flash_media_player
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _webapps        /etc/webapps
19 %define         _webapp         %{name}
20 %define         _sysconfdir     %{_webapps}/%{_webapp}
21 %define         _appdir %{_datadir}/%{_webapp}
22
23 %description
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.
30
31 %description -l pl.UTF-8
32 Flash Media Player potrafi odtwarzać pliki multimedialne dowolnego
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
35 mediów), szeroki zakres ustawień do modyfikowania zarówno zachowania
36 jak i wyglądu oraz obszerne, udokumentowane API
37 Javascriptu/Actionscriptu.
38
39 %prep
40 %setup -q -n %{name}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_appdir}
45 cp -a mediaplayer.swf $RPM_BUILD_ROOT%{_appdir}
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}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %dir %{_appdir}
60 %{_appdir}/mediaplayer.swf
This page took 0.049315 seconds and 3 git commands to generate.