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

glen glen at pld-linux.org
Sat Oct 9 19:00:46 CEST 2010


Author: glen                         Date: Sat Oct  9 17:00:46 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new

---- Files affected:
packages/jquery-jstorage:
   jquery-jstorage.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/jquery-jstorage/jquery-jstorage.spec
diff -u /dev/null packages/jquery-jstorage/jquery-jstorage.spec:1.1
--- /dev/null	Sat Oct  9 19:00:46 2010
+++ packages/jquery-jstorage/jquery-jstorage.spec	Sat Oct  9 19:00:41 2010
@@ -0,0 +1,59 @@
+# $Revision$, $Date$
+# NOTE
+# - i'm installing under jquery, because then i have webserver alias already
+#   set, and nobody else seems to care. then again, if you need it under moo
+#   tools you could create own package for mootools
+%define		plugin	jstorage
+Summary:	jStorage - store data locally with JavaScript
+Name:		jquery-%{plugin}
+Version:	0.1.4.1
+Release:	1
+License:	MIT
+Group:		Applications/WWW
+Source0:	http://github.com/andris9/jStorage/tarball/master#/%{plugin}-%{version}.tgz
+# Source0-md5:	6a75f6418e39cce47b8c91d53e3d8338
+URL:		http://www.jstorage.info/
+BuildRequires:	rpmbuild(macros) >= 1.268
+Requires:	jquery
+Requires:	jquery-json
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_appdir	%{_datadir}/jquery/%{plugin}
+
+%description
+jStorage is a simple wrapper plugin for Prototype, MooTools and jQuery
+to cache data (string, numbers, objects, even XML nodes) on browser
+side.
+
+jStorage was first developed under the name of DOMCached but since a
+lot of features were dropped to make it simpler (like the support for
+namespaces and such) it was renamed. DOMCached had separate files for
+working with Prototype and jQuery but jStorage can handle both in one
+go.
+
+%prep
+%setup -qc
+mv *-jStorage-*/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}
+cp -a jstorage.min.js $RPM_BUILD_ROOT%{_appdir}/jstorage.js
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README test.html
+%{_appdir}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/10/09 17:00:41  glen
+- new
================================================================


More information about the pld-cvs-commit mailing list