SPECS (AC-branch): python-simplejson.spec - Version 2.0.3-1. Copied from HEAD.

matkor matkor at pld-linux.org
Fri Mar 13 15:39:09 CET 2009


Author: matkor                       Date: Fri Mar 13 14:39:09 2009 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- Version 2.0.3-1. Copied from HEAD.

---- Files affected:
SPECS:
   python-simplejson.spec (1.9.2.1 -> 1.9.2.2) 

---- Diffs:

================================================================
Index: SPECS/python-simplejson.spec
diff -u SPECS/python-simplejson.spec:1.9.2.1 SPECS/python-simplejson.spec:1.9.2.2
--- SPECS/python-simplejson.spec:1.9.2.1	Mon Nov 20 22:32:07 2006
+++ SPECS/python-simplejson.spec	Fri Mar 13 15:39:04 2009
@@ -1,58 +1,55 @@
-# $Revision$
+# $Revision$, $Date$
+# TODO: optflags
 %define		module		simplejson
-%define     python_version  2.4
 Summary:	Simple, fast, extensible JSON encoder/decoder for Python
-Summary(pl):	Prosty, szybki, rozszerzalny (de)koder JSON dla Pythona
+Summary(pl.UTF-8):	Prosty, szybki, rozszerzalny (de)koder JSON dla Pythona
 Name:		python-%{module}
-Version:	1.4
-Release:	0.4
+Version:	2.0.3
+Release:	1
 License:	MIT
 Group:		Libraries
-Source0:	http://cheeseshop.python.org/packages/source/s/simplejson/%{module}-%{version}.tar.gz
-# Source0-md5:	5fbad786a4b151d44a9b1e1e157e5510
+Source0:	http://pypi.python.org/packages/source/s/%{module}/%{module}-%{version}.tar.gz
+# Source0-md5:	6da5d665c9e772ac65eae9b4ce6d737b
 URL:		http://undefined.org/python/#simplejson
-BuildRequires:	python >= %{python_version}
+BuildRequires:	python >= 1:2.4
 BuildRequires:	python-setuptools >= 0.6-0.c1
 BuildRequires:	rpm-pythonprov
 %pyrequires_eq	python-libs
-Requires:   python-setuptools
-BuildArch:	noarch
 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.
+<http://json.org/> encoder and decoder for Python 2.4+.
 
-%description -l pl
-simplejson to prosty, szybki, pe³ny, poprawny i rozszerzalny koder i
-dekoder JSON (<http://json.org/>) dla Pythona 2.3 i nowszych wersji.
-Jest to kod wy³±cznie w Pythonie bez dodatkowych zale¿no¶ci.
+%description -l pl.UTF-8
+simplejson to prosty, szybki, pełny, poprawny i rozszerzalny koder i
+dekoder JSON (<http://json.org/>) dla Pythona 2.4 i nowszych wersji.
 
 %prep
 %setup -qn %{module}-%{version}
 
 %build
-python setup.py build
+%{__python} setup.py build
 	
 %install
 rm -rf $RPM_BUILD_ROOT
 
-python setup.py install \
+%{__python} setup.py install \
 	--root=$RPM_BUILD_ROOT \
 	--optimize=2
 
 %py_postclean
-rm -rf $RPM_BUILD_ROOT%{py_sitescriptdir}/simplejson/tests
+rm -rf $RPM_BUILD_ROOT%{py_sitedir}/simplejson/tests
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%dir %{py_sitescriptdir}/simplejson
-%{py_sitescriptdir}/simplejson/*.py[co]
-%{py_sitescriptdir}/simplejson-%{version}-py%{python_version}.egg-info
+%dir %{py_sitedir}/simplejson
+%{py_sitedir}/simplejson/*.py[co]
+%attr(755,root,root) %{py_sitedir}/simplejson/*.so
+%{py_sitedir}/simplejson-%{version}-py*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -60,8 +57,44 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.9.2.1  2006/11/20 21:32:07  emes
-- added req python-setuptools
+Revision 1.9.2.2  2009/03/13 14:39:04  matkor
+- Version 2.0.3-1. Copied from HEAD.
+
+Revision 1.20  2009/03/13 14:33:35  matkor
+- Version 2.0.3-1. reqs down to 2.4. Th has py2.6 where that module is std.
+
+Revision 1.19  2008/10/14 06:43:07  arekm
+- release 3
+
+Revision 1.18  2008/10/03 18:01:15  arekm
+- release 2
+
+Revision 1.17  2008-05-07 18:51:04  qboosh
+- removed outdated statement from descs
+- .so perms
+
+Revision 1.16  2008-01-30 12:01:35  patrys
+- no longer noarch (speedups.so)
+- python 2.5 for egginfo
+
+Revision 1.15  2007-09-14 17:12:53  beorn
+- BR: python downgrade to 2.4 (2.5 is not required)
+- Up to 1.7.1
+
+Revision 1.14  2007/02/13 08:06:43  glen
+- tabs in preamble
+
+Revision 1.13  2007/02/12 01:06:45  baggins
+- converted to UTF-8
+
+Revision 1.12  2006/11/28 22:18:42  qboosh
+- fixed BR
+
+Revision 1.11  2006/11/23 23:02:44  ankry
+- tabs
+
+Revision 1.10  2006/11/20 21:40:17  emes
+- req python 2.5
 
 Revision 1.9  2006/11/19 21:28:15  emes
 - works with python 2.4, no need to require 2.5
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/python-simplejson.spec?r1=1.9.2.1&r2=1.9.2.2&f=u



More information about the pld-cvs-commit mailing list