]> git.pld-linux.org Git - packages/jwplayer.git/blame - jw_media_player.spec
- add lighttpd config
[packages/jwplayer.git] / jw_media_player.spec
CommitLineData
00e6b162 1Summary: JW Media Player
2c5d3529 2Summary(pl.UTF-8): Odtwarzacz Flash Media
00e6b162
ER
3Name: jw_media_player
4Version: 3.99
5e725329 5Release: 0.3
a67578bf
ER
6License: Creative Commons
7Group: Applications/WWW
8Source0: http://www.jeroenwijering.com/upload/%{name}.zip
00e6b162 9# Source0-md5: 995e438774dba2c1c3919e62749aa735
5e725329 10Source1: %{name}-lighttpd.conf
00e6b162 11URL: http://www.jeroenwijering.com/?item=JW_Media_Player
5e725329
ER
12BuildRequires: rpmbuild(macros) >= 1.268
13Requires: webapps
00e6b162 14Obsoletes: flash_media_player
a67578bf
ER
15BuildArch: noarch
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
5e725329
ER
18%define _webapps /etc/webapps
19%define _webapp %{name}
20%define _sysconfdir %{_webapps}/%{_webapp}
21%define _appdir %{_datadir}/%{_webapp}
2a5be263 22
a67578bf 23%description
00e6b162
ER
24The JW Media Player (built with Adobe's Flash) supports playback of a
25single 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
27playlist (with mixed mediatypes and advertisement possibilities), a
28wide range of flashvars (settings) for tweaking both behavior and
29appearance and an extensive, documented javascript/actionscript API.
2c5d3529
JB
30
31%description -l pl.UTF-8
32Flash Media Player potrafi odtwarzać pliki multimedialne dowolnego
00e6b162
ER
33typu obsługiwanego przez Adobe Flash Player (MP3, FLV, SWF, JPG, PNG i
34GIF). Obsługuje także playlisty RSS/XSPF/ATOM (z mieszanymi typami
2c5d3529
JB
35mediów), szeroki zakres ustawień do modyfikowania zarówno zachowania
36jak i wyglądu oraz obszerne, udokumentowane API
37Javascriptu/Actionscriptu.
a67578bf
ER
38
39%prep
40%setup -q -n %{name}
41
42%install
43rm -rf $RPM_BUILD_ROOT
2a5be263
ER
44install -d $RPM_BUILD_ROOT%{_appdir}
45cp -a mediaplayer.swf $RPM_BUILD_ROOT%{_appdir}
5e725329
ER
46cp -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}
a67578bf
ER
53
54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
6fafc418 59%dir %{_appdir}
2a5be263 60%{_appdir}/mediaplayer.swf
This page took 0.045899 seconds and 4 git commands to generate.