]> git.pld-linux.org Git - packages/jquery-flowplayer.git/commitdiff
new, version 5.4.1
authorElan Ruusamäe <glen@delfi.ee>
Mon, 29 Apr 2013 14:25:08 +0000 (17:25 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 29 Apr 2013 14:25:08 +0000 (17:25 +0300)
jquery-flowplayer.spec [new file with mode: 0644]

diff --git a/jquery-flowplayer.spec b/jquery-flowplayer.spec
new file mode 100644 (file)
index 0000000..7ccba2e
--- /dev/null
@@ -0,0 +1,44 @@
+%define                plugin  flowplayer
+Summary:       Flowplayer - The video player for the Web
+Name:          jquery-%{plugin}
+Version:       5.4.1
+Release:       1
+# The free version comes with a GPL-based license and carries a Flowplayer logo. Commercial use is allowed.
+License:       GPL
+Group:         Applications/WWW
+Source0:       http://releases.flowplayer.org/%{version}/flowplayer-%{version}.zip
+# Source0-md5: cfbdd4a16ff17babea781404b87f386c
+URL:           http://flowplayer.org/
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: unzip
+Requires:      jquery >= 1.7.1
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _appdir %{_datadir}/jquery/%{plugin}
+
+%description
+Flowplayer design is simple and minimalistic. The player will look as
+good on your site as it looks on ours.
+
+%prep
+%setup -qc
+mv %{plugin}/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}
+cp -p %{plugin}.min.js  $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.js
+cp -p %{plugin}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
+ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
+ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.js
+cp -p %{plugin}.swf $RPM_BUILD_ROOT%{_appdir}
+cp -a skin $RPM_BUILD_ROOT%{_appdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.md
+%{_appdir}
This page took 0.133288 seconds and 4 git commands to generate.