]> git.pld-linux.org Git - packages/jquery-flowplayer.git/blob - jquery-flowplayer.spec
new, version 5.4.1
[packages/jquery-flowplayer.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.1
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
8 Group:          Applications/WWW
9 Source0:        http://releases.flowplayer.org/%{version}/flowplayer-%{version}.zip
10 # Source0-md5:  cfbdd4a16ff17babea781404b87f386c
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 mv %{plugin}/* .
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{_appdir}
31 cp -p %{plugin}.min.js  $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.js
32 cp -p %{plugin}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
33 ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
34 ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.js
35 cp -p %{plugin}.swf $RPM_BUILD_ROOT%{_appdir}
36 cp -a skin $RPM_BUILD_ROOT%{_appdir}
37
38 %clean
39 rm -rf $RPM_BUILD_ROOT
40
41 %files
42 %defattr(644,root,root,755)
43 %doc LICENSE.md
44 %{_appdir}
This page took 0.084326 seconds and 3 git commands to generate.