]> git.pld-linux.org Git - packages/jwplayer.git/blame - jw_media_player.spec
- BR: unzip
[packages/jwplayer.git] / jw_media_player.spec
CommitLineData
d6ef2fe0 1%define ver %(echo %{version} | tr . -)
00e6b162 2Summary: JW Media Player
5aee2365 3Summary(pl.UTF-8): Odtwarzacz JW Media
00e6b162 4Name: jw_media_player
d6ef2fe0 5Version: 3.16
21621456 6Release: 1
88d38862 7Epoch: 1
a67578bf
ER
8License: Creative Commons
9Group: Applications/WWW
d6ef2fe0
ER
10Source0: http://www.jeroenwijering.com/upload/mediaplayer-%{ver}.zip
11# Source0-md5: ad0f15198fcdbabe453fe94e193a8764
5e725329 12Source1: %{name}-lighttpd.conf
00e6b162 13URL: http://www.jeroenwijering.com/?item=JW_Media_Player
5e725329 14BuildRequires: rpmbuild(macros) >= 1.268
fcd266eb 15BuildRequires: unzip
5e725329 16Requires: webapps
c40d97cc 17Requires: webserver(alias)
00e6b162 18Obsoletes: flash_media_player
a67578bf
ER
19BuildArch: noarch
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
5e725329
ER
22%define _webapps /etc/webapps
23%define _webapp %{name}
24%define _sysconfdir %{_webapps}/%{_webapp}
25%define _appdir %{_datadir}/%{_webapp}
2a5be263 26
a67578bf 27%description
00e6b162
ER
28The JW Media Player (built with Adobe's Flash) supports playback of a
29single media file of any format the Adobe Flash Player can handle
30(MP3, FLV, SWF, JPG, PNG and GIF). It also supports RSS, XSPF and ATOM
31playlist (with mixed mediatypes and advertisement possibilities), a
32wide range of flashvars (settings) for tweaking both behavior and
5aee2365 33appearance and an extensive, documented JavaScript/ActionScript API.
2c5d3529
JB
34
35%description -l pl.UTF-8
5aee2365
JB
36JW Media Player (zbudowany z Flashem Adobe) potrafi odtwarzać pliki
37multimedialne dowolnego typu obsługiwanego przez Adobe Flash Player
38(MP3, FLV, SWF, JPG, PNG i GIF). Obsługuje także playlisty
39RSS/XSPF/ATOM (z mieszanymi typami mediów), szeroki zakres ustawień do
40modyfikowania zarówno zachowania jak i wyglądu oraz obszerne,
41udokumentowane API JavaScriptu/ActionScriptu.
a67578bf
ER
42
43%prep
d6ef2fe0 44%setup -q -n mediaplayer-%{ver}
a67578bf
ER
45
46%install
47rm -rf $RPM_BUILD_ROOT
c40d97cc 48install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
2a5be263 49cp -a mediaplayer.swf $RPM_BUILD_ROOT%{_appdir}
5e725329
ER
50cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
51
8e27e6ee
JB
52%clean
53rm -rf $RPM_BUILD_ROOT
54
5e725329
ER
55%triggerin -- lighttpd
56%webapp_register lighttpd %{_webapp}
57
58%triggerun -- lighttpd
59%webapp_unregister lighttpd %{_webapp}
a67578bf 60
a67578bf
ER
61%files
62%defattr(644,root,root,755)
c40d97cc 63%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf
6fafc418 64%dir %{_appdir}
2a5be263 65%{_appdir}/mediaplayer.swf
This page took 0.058361 seconds and 4 git commands to generate.