]> git.pld-linux.org Git - packages/jwplayer.git/blame - jw_media_player.spec
- properly install lighttpd.conf
[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
c40d97cc 5Release: 0.4
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
c40d97cc 14Requires: webserver(alias)
00e6b162 15Obsoletes: flash_media_player
a67578bf
ER
16BuildArch: noarch
17BuildRoot: %{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
25The JW Media Player (built with Adobe's Flash) supports playback of a
26single 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
28playlist (with mixed mediatypes and advertisement possibilities), a
29wide range of flashvars (settings) for tweaking both behavior and
30appearance and an extensive, documented javascript/actionscript API.
2c5d3529
JB
31
32%description -l pl.UTF-8
33Flash Media Player potrafi odtwarzać pliki multimedialne dowolnego
00e6b162
ER
34typu obsługiwanego przez Adobe Flash Player (MP3, FLV, SWF, JPG, PNG i
35GIF). Obsługuje także playlisty RSS/XSPF/ATOM (z mieszanymi typami
2c5d3529
JB
36mediów), szeroki zakres ustawień do modyfikowania zarówno zachowania
37jak i wyglądu oraz obszerne, udokumentowane API
38Javascriptu/Actionscriptu.
a67578bf
ER
39
40%prep
41%setup -q -n %{name}
42
43%install
44rm -rf $RPM_BUILD_ROOT
c40d97cc 45install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
2a5be263 46cp -a mediaplayer.swf $RPM_BUILD_ROOT%{_appdir}
5e725329
ER
47cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
48
49%triggerin -- lighttpd
50%webapp_register lighttpd %{_webapp}
51
52%triggerun -- lighttpd
53%webapp_unregister lighttpd %{_webapp}
a67578bf
ER
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
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
This page took 0.043749 seconds and 4 git commands to generate.