]> git.pld-linux.org Git - SPECS.git/blob - jquery-flowplayer.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / jquery-flowplayer.spec
1 %define         plugin  flowplayer
2 Summary:        Flowplayer - The video player for the Web
3 Name:           jquery-%{plugin}
4 Version:        5.4.6
5 Release:        1
6 # The free version comes with a GPL-based license and carries a Flowplayer logo. Commercial use is allowed.
7 License:        GPL v3 with additional term
8 Group:          Applications/WWW
9 Source0:        http://releases.flowplayer.org/%{version}/flowplayer-%{version}.zip
10 # Source0-md5:  8efd17577355f70ec6e5b9ffb7e0a389
11 URL:            http://flowplayer.org/
12 BuildRequires:  rpmbuild(macros) >= 1.268
13 BuildRequires:  unzip
14 Requires:       jquery >= 1.7.1
15 BuildArch:      noarch
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _appdir %{_datadir}/jquery/%{plugin}
19
20 %description
21 Flowplayer design is simple and minimalistic. The player will look as
22 good on your site as it looks on ours.
23
24 %prep
25 %setup -qc
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29 install -d $RPM_BUILD_ROOT%{_appdir}
30 cp -p %{plugin}.min.js  $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.js
31 cp -p %{plugin}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
32 ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
33 ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.js
34 cp -p %{plugin}.swf $RPM_BUILD_ROOT%{_appdir}
35 cp -a skin $RPM_BUILD_ROOT%{_appdir}
36
37 %clean
38 rm -rf $RPM_BUILD_ROOT
39
40 %files
41 %defattr(644,root,root,755)
42 %doc LICENSE.md
43 %{_appdir}
This page took 0.165245 seconds and 3 git commands to generate.