]>
Commit | Line | Data |
---|---|---|
c448367a ER |
1 | %define plugin flowplayer |
2 | Summary: Flowplayer - The video player for the Web | |
3 | Name: jquery-%{plugin} | |
42a1c6f4 | 4 | Version: 5.4.3 |
c448367a ER |
5 | Release: 1 |
6 | # The free version comes with a GPL-based license and carries a Flowplayer logo. Commercial use is allowed. | |
aa708440 | 7 | License: GPL v3 with additional term |
c448367a ER |
8 | Group: Applications/WWW |
9 | Source0: http://releases.flowplayer.org/%{version}/flowplayer-%{version}.zip | |
42a1c6f4 | 10 | # Source0-md5: da8ad2a064b6b6efb57fd70d1a29fe49 |
c448367a ER |
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 | |
c448367a ER |
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} |