File python-simplejson.spec of Package python-simplejson
Summary: Simple, fast, extensible JSON encoder/decoder for Python
Name: python-simplejson
Version: 2.0.9
Release: 0
License: BSD
Group: Development/Libraries
URL: http://cheeseshop.python.org/pypi/simplejson
Source: simplejson-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: python python-devel python-setuptools
%py_requires
%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, but includes an optional C extension for a serious speed boost.
%prep
%setup -q -n simplejson-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS"
python ./setup.py build
%install
python ./setup.py install --prefix=%{_prefix} --root="$RPM_BUILD_ROOT"
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%doc docs LICENSE.txt index.rst
%{py_sitedir}*
%changelog
* Fri Mar 06 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 2.0.7
- Update to 2.0.9
* Wed Mar 04 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 2.0.7
- Update to 2.0.7
* Wed Dec 03 2008 - James Oakley <jfunk@funktronics.ca> - 2.0.5-0
- Update to 2.0.5
* Wed Mar 19 2008 - James Oakley <jfunk@funktronics.ca> - 1.7.5-0
- Update to 1.7.5
* Tue Oct 30 2007 - James Oakley <jfunk@funktronics.ca> - 1.7.3-0
- Update to 1.7.3
* Sun Sep 9 2007 - Peter Nixon
- first build