Author: glen                         Date: Thu Dec 16 10:22:03 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: packages/jquery-cookie/jquery-cookie.spec
diff -u /dev/null packages/jquery-cookie/jquery-cookie.spec:1.1
--- /dev/null   Thu Dec 16 11:22:03 2010
+++ packages/jquery-cookie/jquery-cookie.spec   Thu Dec 16 11:21:58 2010
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+%define                plugin  cookie
+Summary:       jQuery Cookie plugin
+Name:          jquery-%{plugin}
+# no version known, so pick the lowest
+Version:       0.1
+Release:       1
+License:       MIT / GPL
+Group:         Applications/WWW
+Source0:       
https://github.com/carhartl/jquery-cookie/tarball/master#/%{plugin}.tgz
+# Source0-md5: 06563fe2bd9cf5fc348bae666205b901
+URL:           https://github.com/carhartl/jquery-cookie
+BuildRequires: js
+BuildRequires: rpmbuild(macros) > 1.268
+BuildRequires: yuicompressor
+Requires:      jquery >= 1.3
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _appdir %{_datadir}/jquery/%{plugin}
+
+%description
+A simple, lightweight utility plugin for reading, writing and deleting
+cookies.
+
+%prep
+%setup -qc
+mv *-%{name}-*/* .
+
+%build
+install -d build
+# compress .js
+yuicompressor --charset UTF-8 jquery.cookie.js -o build/jquery.cookie.js
+js -C -f build/jquery.cookie.js
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}
+cp -a build/jquery.cookie.js $RPM_BUILD_ROOT%{_appdir}/%{plugin}.js
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_appdir}
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedb...@pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/12/16 10:21:58  glen
+- initial
================================================================
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to