Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:babelworx:tg21
python-simplejson
python-simplejson.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-simplejson.spec of Package python-simplejson
#norootforbuild # %define real_name simplejson # # Name: python-%{real_name} Group: Development/Libraries/Python Version: 2.0.9 Release: 0 License: MIT Summary: Simple, fast, extensible JSON encoder/decoder for Python Autoreqprov: on Source: %{real_name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-setuptools BuildRequires: python-devel Url: http://undefined.org/python/#simplejson %{py_requires} # C speedups mean this should not be noarch #%define py_vers %(%{__python} -c 'import sys; print int(10*float(sys.version[:3]))') #%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} #BuildArch: noarch #%else #%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} #%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")} #%endif %description simplejson is a simple, fast, complete, correct and extensible JSON <http://json.org> encoder and decoder for Python 2.4+. It is pure Python code with no dependencies, but includes an optional C extension for a serious speed boost. simplejson was formerly known as simple_json, but changed its name to comply with PEP 8 module naming guidelines. The encoder may be subclassed to provide serialization in any kind of situation, without any special support by the objects to be serialized (somewhat like pickle). The decoder can handle incoming JSON strings of any specified encoding (UTF-8 by default). %prep %setup -n %{real_name}-%{version} %build python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc docs LICENSE.txt %changelog * Sun Nov 22 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 2.0.9 - Initial build for tg21
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor