Author: glen Date: Fri Oct 8 15:24:22 2010 GMT Module: packages Tag: HEAD ---- Log message: - new
---- Files affected: packages/jquery-json: jquery-json.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/jquery-json/jquery-json.spec diff -u /dev/null packages/jquery-json/jquery-json.spec:1.1 --- /dev/null Fri Oct 8 17:24:22 2010 +++ packages/jquery-json/jquery-json.spec Fri Oct 8 17:24:17 2010 @@ -0,0 +1,45 @@ +# $Revision$, $Date$ +Summary: JSON plugin for jQuery, provides simple ways to convert to JSON and back again +Name: jquery-json +Version: 2.2 +Release: 0.1 +License: MIT +Group: Applications/WWW +Source0: http://jquery-json.googlecode.com/files/jquery.json-%{version}.min.js +# Source0-md5: 2d59ccdc20e736725bdbcb433e080ec0 +URL: http://code.google.com/p/jquery-json/ +BuildRequires: rpmbuild(macros) >= 1.268 +Requires: jquery +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%define _appdir %{_datadir}/jquery + +%description +JSON plugin for jQuery, provides simple ways to convert to JSON and +back again. + +%prep +%setup -qcT +cp -a %{SOURCE0} jquery.json.js + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_appdir} +cp -a jquery.json.js $RPM_BUILD_ROOT%{_appdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{_appdir}/jquery.json.js + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2010/10/08 15:24:17 glen +- new ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
