packages: jquery-hashchange/jquery-hashchange.spec (NEW) - new

glen glen at
Tue Apr 19 11:47:29 CEST 2011

Author: glen                         Date: Tue Apr 19 09:47:29 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
   jquery-hashchange.spec (NONE -> 1.1)  (NEW)

---- Diffs:

Index: packages/jquery-hashchange/jquery-hashchange.spec
diff -u /dev/null packages/jquery-hashchange/jquery-hashchange.spec:1.1
--- /dev/null	Tue Apr 19 11:47:29 2011
+++ packages/jquery-hashchange/jquery-hashchange.spec	Tue Apr 19 11:47:24 2011
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%define		plugin	hashchange
+Summary:	jQuery hashchange event
+Name:		jquery-%{plugin}
+Version:	1.3
+Release:	1
+License:	MIT / GPL
+Group:		Applications/WWW
+# Source0-md5:	757898a5793d29189e52ca6ee8fce808
+BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	js
+BuildRequires:	yuicompressor
+Requires:	jquery
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define		_appdir	%{_datadir}/jquery/%{plugin}
+This jQuery plugin enables very basic bookmarkable #hash history via a
+cross-browser HTML5 window.onhashchange event.
+While this functionality was initially tied to the jQuery BBQ plugin,
+the event.special window.onhashchange functionality has now been
+broken out into a separate plugin for users who want just the basic
+event & back button support, without all the extra awesomeness that
+BBQ provides.
+%setup -qcT
+cp -p %{SOURCE0} %{plugin}.js
+# compress .js
+install -d build
+yuicompressor --charset UTF-8 %{plugin}.js -o build/%{plugin}.js
+js -C -f build/%{plugin}.js
+install -d $RPM_BUILD_ROOT%{_appdir}
+cp -p build/%{plugin}.js $RPM_BUILD_ROOT%{_appdir}
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+* %{date} PLD Team <feedback at>
+All persons listed below can be reached at <cvs_login>
+Revision 1.1  2011/04/19 09:47:24  glen
+- new

More information about the pld-cvs-commit mailing list