Author: patrys Date: Sun Jun 1 19:39:07 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - initial PLD release
---- Files affected: SPECS: python-cjson.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/python-cjson.spec diff -u /dev/null SPECS/python-cjson.spec:1.1 --- /dev/null Sun Jun 1 21:39:07 2008 +++ SPECS/python-cjson.spec Sun Jun 1 21:39:01 2008 @@ -0,0 +1,52 @@ +# $Revision$, $Date$ +Summary: Python C JSON - Fast JSON encoder/decoder for Python +Name: python-cjson +Version: 1.0.5 +Release: 1 +License: LGPL +Group: Libraries/Python +Source0: http://pypi.python.org/packages/source/p/python-cjson/%{name}-%{version}.tar.gz +# Source0-md5: 4d55b66ecdf0300313af9d030d9644a3 +URL: http://pypi.python.org/pypi/python-cjson/ +BuildRequires: python-devel >= 1:2.5.0 +BuildRequires: rpm-pythonprov +BuildRequires: rpmbuild(macros) >= 1.219 +%pyrequires_eq python-modules +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This module implements a very fast JSON encoder/decoder for Python. +The module is written in C and it is up to 250 times faster when +compared to the other python JSON implementations which are written +directly in python. + +%prep +%setup -q + +%build +%{__python} setup.py build + +%install +rm -rf $RPM_BUILD_ROOT + +%{__python} setup.py install \ + --optimize=2 \ + --root=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{py_sitedir}/python_cjson-%{version}-py*.egg-info +%{py_sitedir}/cjson.so + +%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 2008-06-01 19:39:01 patrys +- initial PLD release + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
