[packages/jquery-tap] new, version 1.0.2
glen
glen at pld-linux.org
Wed Oct 16 15:26:48 CEST 2013
commit 411cafc5ed2d9d25ec24f0b635c06baef908cb7e
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Oct 16 16:26:29 2013 +0300
new, version 1.0.2
jquery-tap.spec | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 63 insertions(+)
---
diff --git a/jquery-tap.spec b/jquery-tap.spec
new file mode 100644
index 0000000..b77eef0
--- /dev/null
+++ b/jquery-tap.spec
@@ -0,0 +1,63 @@
+%define plugin tap
+Summary: jQuery plugin that creates a click alternative for touch enabled browsers
+Name: jquery-%{plugin}
+Version: 1.0.2
+Release: 1
+License: MIT
+Group: Applications/WWW
+Source0: http://github.com/aarongloege/jquery.tap/archive/%{version}/%{plugin}-%{version}.tar.gz
+# Source0-md5: 0414e5d1287e8ac9a96a8f495432a086
+URL: http://plugins.jquery.com/tap/
+Requires: jquery >= 1.7
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define _appdir %{_datadir}/jquery/%{plugin}
+
+%description
+A jQuery plugin that creates a click alternative for touch enabled
+browsers. Click events on touch devices do not work the best. There is
+a 300ms delay from when you release your finger to the time the click
+event is triggered. This behavior is not desired. What is nice about
+this plugin, and what makes it different from other plugins, is that
+it takes advantage of jQuery's special event API, so you can use
+jQuery.on to bind events. And, because the event is bound through
+jQuery's on API, you can take advantage of namespaces and delegate
+events.
+
+%package demo
+Summary: Demo for jQuery.%{plugin}
+Summary(pl.UTF-8): Pliki demonstracyjne dla pakietu jQuery.%{plugin}
+Group: Development
+Requires: %{name} = %{version}-%{release}
+
+%description demo
+Demonstrations and samples for jQuery.%{plugin}.
+
+%prep
+%setup -q -n jquery.%{plugin}-%{version}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_appdir},%{_examplesdir}/%{name}-%{version}}
+
+cp -p jquery.%{plugin}.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.js
+cp -p jquery.%{plugin}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}-%{version}.min.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
+ln -s %{plugin}-%{version}.min.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.min.js
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md LICENCE
+%{_appdir}
+
+%files demo
+%defattr(644,root,root,755)
+%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/jquery-tap.git/commitdiff/411cafc5ed2d9d25ec24f0b635c06baef908cb7e
More information about the pld-cvs-commit
mailing list