]> git.pld-linux.org Git - packages/jwplayer7.git/blob - jwplayer.spec
renamed to jwplayer, version 6.8
[packages/jwplayer7.git] / jwplayer.spec
1 Summary:        Flash Video Player for FLV, H.264/MPEG-4, MP3 and YouTube Videos on your website
2 Summary(pl.UTF-8):      Odtwarzacz JW Media
3 Name:           jwplayer
4 Version:        6.8
5 Release:        0.1
6 License:        CC 3.0
7 Group:          Applications/WWW
8 Source0:        https://account.jwplayer.com/static/download/%{name}-%{version}.zip
9 # Source0-md5:  cf4647973e2f0b338d5986745fecb932
10 Source1:        lighttpd.conf
11 URL:            http://www.jwplayer.com/about-jwplayer/
12 BuildRequires:  rpmbuild(macros) >= 1.268
13 BuildRequires:  unzip
14 Requires:       webapps
15 Requires:       webserver(alias)
16 Obsoletes:      flash_media_player
17 Obsoletes:      jw_media_player
18 BuildArch:      noarch
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _webapps        /etc/webapps
22 %define         _webapp         %{name}
23 %define         _sysconfdir     %{_webapps}/%{_webapp}
24 %define         _appdir %{_datadir}/%{_webapp}
25
26 %description
27 The JW Media Player (built with Adobe's Flash) supports playback of a
28 single media file of any format the Adobe Flash Player can handle
29 (MP3, FLV, SWF, JPG, PNG and GIF). It also supports RSS, XSPF and ATOM
30 playlist (with mixed mediatypes and advertisement possibilities), a
31 wide range of flashvars (settings) for tweaking both behavior and
32 appearance and an extensive, documented JavaScript/ActionScript API.
33
34 %description -l pl.UTF-8
35 JW Media Player (zbudowany z Flashem Adobe) potrafi odtwarzać pliki
36 multimedialne dowolnego typu obsługiwanego przez Adobe Flash Player
37 (MP3, FLV, SWF, JPG, PNG i GIF). Obsługuje także playlisty
38 RSS/XSPF/ATOM (z mieszanymi typami mediów), szeroki zakres ustawień do
39 modyfikowania zarówno zachowania jak i wyglądu oraz obszerne,
40 udokumentowane API JavaScriptu/ActionScriptu.
41
42 %prep
43 %setup -qc
44 mv %{name}/* .
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_appdir}}
49 cp -p *.swf *.js $RPM_BUILD_ROOT%{_appdir}
50 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/lighttpd.conf
51
52 %clean
53 rm -rf $RPM_BUILD_ROOT
54
55 %triggerin -- lighttpd
56 %webapp_register lighttpd %{_webapp}
57
58 %triggerun -- lighttpd
59 %webapp_unregister lighttpd %{_webapp}
60
61 %files
62 %defattr(644,root,root,755)
63 %doc README.html
64 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/lighttpd.conf
65 %dir %{_appdir}
66 %{_appdir}/jwplayer.flash.swf
67 %{_appdir}/jwplayer.html5.js
68 %{_appdir}/jwplayer.js
This page took 0.080413 seconds and 3 git commands to generate.