SPECS: python-simplejson.spec (NEW) - first version, builds but no...
emes
emes at pld-linux.org
Sun Nov 19 01:36:02 CET 2006
Author: emes Date: Sun Nov 19 00:36:02 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- first version, builds but not tested if works
---- Files affected:
SPECS:
python-simplejson.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/python-simplejson.spec
diff -u /dev/null SPECS/python-simplejson.spec:1.1
--- /dev/null Sun Nov 19 01:36:02 2006
+++ SPECS/python-simplejson.spec Sun Nov 19 01:35:57 2006
@@ -0,0 +1,49 @@
+# $Revision$
+%define module simplejson
+Summary: Simple, fast, extensible JSON encoder/decoder for Python
+Summary(pl): Prosty, szybki, rozszerzalny (de)koder JSON dla Pythona
+Name: python-%{module}
+Version: 1.4
+Release: 0.1
+License: MIT
+Group: Libraries
+Source0: http://cheeseshop.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5: 5fbad786a4b151d44a9b1e1e157e5510
+URL: http://undefined.org/python/#simplejson
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+simplejson is a simple, fast, complete, correct and extensible JSON
+<http://json.org> encoder and decoder for Python 2.3+. It is pure Python
+code with no dependencies.
+
+%prep
+%setup -qn %{module}-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+python setup.py install \
+ --root=$RPM_BUILD_ROOT \
+ --optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%dir %{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/%{module}/*.py[co]
+
+%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 2006/11/19 00:35:57 emes
+- first version, builds but not tested if works
+
================================================================
More information about the pld-cvs-commit
mailing list