]> git.pld-linux.org Git - packages/jwplayer.git/blame - jw_media_player.spec
- updated pl, unified caps
[packages/jwplayer.git] / jw_media_player.spec
CommitLineData
00e6b162 1Summary: JW Media Player
5aee2365 2Summary(pl.UTF-8): Odtwarzacz JW Media
00e6b162
ER
3Name: jw_media_player
4Version: 3.99
21621456 5Release: 1
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
5aee2365 30appearance and an extensive, documented JavaScript/ActionScript API.
2c5d3529
JB
31
32%description -l pl.UTF-8
5aee2365
JB
33JW Media Player (zbudowany z Flashem Adobe) potrafi odtwarzać pliki
34multimedialne dowolnego typu obsługiwanego przez Adobe Flash Player
35(MP3, FLV, SWF, JPG, PNG i GIF). Obsługuje także playlisty
36RSS/XSPF/ATOM (z mieszanymi typami mediów), szeroki zakres ustawień do
37modyfikowania zarówno zachowania jak i wyglądu oraz obszerne,
38udokumentowane API JavaScriptu/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
8e27e6ee
JB
49%clean
50rm -rf $RPM_BUILD_ROOT
51
5e725329
ER
52%triggerin -- lighttpd
53%webapp_register lighttpd %{_webapp}
54
55%triggerun -- lighttpd
56%webapp_unregister lighttpd %{_webapp}
a67578bf 57
a67578bf
ER
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.035257 seconds and 4 git commands to generate.