[packages/jquery-flexslider] new, version 2.1
glen
glen at pld-linux.org
Fri Feb 15 18:16:12 CET 2013
commit 04f63e1908df0b059bfd9e7d0344e231d9023e19
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Feb 15 19:15:56 2013 +0200
new, version 2.1
jquery-flexslider.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
---
diff --git a/jquery-flexslider.spec b/jquery-flexslider.spec
new file mode 100644
index 0000000..3b5f35a
--- /dev/null
+++ b/jquery-flexslider.spec
@@ -0,0 +1,46 @@
+# TODO
+# - demo package
+%define plugin flexslider
+Summary: Fully responsive jQuery slider toolkit
+Name: jquery-%{plugin}
+Version: 2.1
+Release: 1
+License: GPL v2
+Group: Applications/WWW
+Source0: https://github.com/woothemes/FlexSlider/archive/version/2.1.tar.gz?/%{plugin}-%{version}.tgz
+# Source0-md5: 600b83649e1cb12657e84170da605a46
+URL: http://www.woothemes.com/flexslider/
+BuildRequires: rpmbuild(macros) >= 1.553
+Requires: jquery >= 1.4.2
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _appdir %{_datadir}/jquery/%{plugin}
+
+%description
+An awesome, fully responsive jQuery slider plugin.
+
+%prep
+%setup -q -n FlexSlider-version-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}
+
+cp -p jquery.%{plugin}-min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.js
+cp -p jquery.%{plugin}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
+ln -s %{plugin}-%{version}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.src.js
+ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
+
+cp -p %{plugin}.css $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.css
+ln -s %{plugin}-%{version}.css $RPM_BUILD_ROOT%{_appdir}/%{plugin}.css
+
+cp -a images/* $RPM_BUILD_ROOT%{_appdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.mdown
+%{_appdir}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/jquery-flexslider.git/commitdiff/04f63e1908df0b059bfd9e7d0344e231d9023e19
More information about the pld-cvs-commit
mailing list