]> git.pld-linux.org Git - packages/jwplayer.git/blame - jw_media_player.spec
- updated to 3.11 (NOTE: 3.99 was renamed to 3.10)
[packages/jwplayer.git] / jw_media_player.spec
CommitLineData
00e6b162 1Summary: JW Media Player
5aee2365 2Summary(pl.UTF-8): Odtwarzacz JW Media
00e6b162 3Name: jw_media_player
88d38862 4Version: 3.11
21621456 5Release: 1
88d38862 6Epoch: 1
a67578bf
ER
7License: Creative Commons
8Group: Applications/WWW
9Source0: http://www.jeroenwijering.com/upload/%{name}.zip
88d38862 10# Source0-md5: f6b5b48f7903ee22e26ac157ca095743
5e725329 11Source1: %{name}-lighttpd.conf
00e6b162 12URL: http://www.jeroenwijering.com/?item=JW_Media_Player
5e725329
ER
13BuildRequires: rpmbuild(macros) >= 1.268
14Requires: webapps
c40d97cc 15Requires: webserver(alias)
00e6b162 16Obsoletes: flash_media_player
a67578bf
ER
17BuildArch: noarch
18BuildRoot: %{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
26The JW Media Player (built with Adobe's Flash) supports playback of a
27single 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
29playlist (with mixed mediatypes and advertisement possibilities), a
30wide range of flashvars (settings) for tweaking both behavior and
5aee2365 31appearance and an extensive, documented JavaScript/ActionScript API.
2c5d3529
JB
32
33%description -l pl.UTF-8
5aee2365
JB
34JW Media Player (zbudowany z Flashem Adobe) potrafi odtwarzać pliki
35multimedialne dowolnego typu obsługiwanego przez Adobe Flash Player
36(MP3, FLV, SWF, JPG, PNG i GIF). Obsługuje także playlisty
37RSS/XSPF/ATOM (z mieszanymi typami mediów), szeroki zakres ustawień do
38modyfikowania zarówno zachowania jak i wyglądu oraz obszerne,
39udokumentowane API JavaScriptu/ActionScriptu.
a67578bf
ER
40
41%prep
42%setup -q -n %{name}
43
44%install
45rm -rf $RPM_BUILD_ROOT
c40d97cc 46install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
2a5be263 47cp -a mediaplayer.swf $RPM_BUILD_ROOT%{_appdir}
5e725329
ER
48cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
49
8e27e6ee
JB
50%clean
51rm -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
This page took 0.058731 seconds and 4 git commands to generate.