Blame SPECS/python-simplejson.spec

39635d
%{?scl:%scl_package python-simplejson}
39635d
%{!?scl:%global pkg_name %{name}}
39635d
39635d
Name:           %{?scl_prefix}python-simplejson
39635d
39635d
Version:        3.6.5
39635d
Release:        1%{?dist}
39635d
Summary:        Simple, fast, extensible JSON encoder/decoder for Python
39635d
39635d
Group:          System Environment/Libraries
39635d
# The main code is licensed MIT.
39635d
# The docs include jquery which is licensed MIT or GPLv2
39635d
License:        (MIT or AFL) and (MIT or GPLv2)
39635d
URL:            http://undefined.org/python/#simplejson
39635d
Source0:        http://pypi.python.org/packages/source/s/simplejson/simplejson-%{version}.tar.gz
39635d
BuildRoot:      %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
39635d
39635d
BuildRequires:  %{?scl_prefix}python-devel
39635d
BuildRequires:  %{?scl_prefix}python-setuptools
39635d
BuildRequires:  %{?scl_prefix}python-nose
39635d
BuildRequires:  %{?scl_prefix}python-sphinx
39635d
39635d
%description
39635d
simplejson is a simple, fast, complete, correct and extensible JSON
39635d
<http://json.org> encoder and decoder for Python 2.5+. It is pure Python code
39635d
with no dependencies, but includes an optional C extension for a serious speed
39635d
boost.
39635d
39635d
The encoder may be subclassed to provide serialization in any kind of
39635d
situation, without any special support by the objects to be serialized
39635d
(somewhat like pickle).
39635d
39635d
The decoder can handle incoming JSON strings of any specified encoding (UTF-8
39635d
by default).
39635d
39635d
simplejson is the externally maintained development version of the json library
39635d
included with Python 2.6 and Python 3.0, but maintains backwards compatibility
39635d
with Python 2.5.  It gets updated more regularly than the json module in the
39635d
python stdlib.
39635d
39635d
39635d
%prep
39635d
%setup -q -n simplejson-%{version}
39635d
39635d
39635d
%build
39635d
%{?scl:scl enable %{scl} - << \EOF}
39635d
%{__python3} setup.py build
39635d
./scripts/make_docs.py
39635d
%{?scl:EOF}
39635d
39635d
%install
39635d
rm -rf %{buildroot}
39635d
%{?scl:scl enable %{scl} "}
39635d
%{__python3} setup.py install --skip-build --root=%{buildroot}
39635d
%{?scl:"}
39635d
39635d
rm docs/.buildinfo
39635d
rm docs/.nojekyll
39635d
39635d
%check
39635d
%{?scl:scl enable %{scl} "}
39635d
nosetests -q
39635d
%{?scl:"}
39635d
39635d
%clean
39635d
rm -rf %{buildroot}
39635d
39635d
39635d
%files
39635d
%defattr(-,root,root,-)
39635d
%doc docs LICENSE.txt
39635d
%{python3_sitearch}/*
39635d
39635d
%changelog
39635d
* Thu Jan 22 2015 Matej Stuchlik <mstuchli@redhat.com> - 3.6.5-1
39635d
- Update to 3.6.5
39635d
39635d
* Mon Nov 18 2013 Robert Kuska <rkuska@redhat.com> - 3.2.0-2
39635d
- Update to 3.2.0, use release number 2 to avoid conflict with rhel-7.0
39635d
39635d
* Thu May 09 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.0.5-2
39635d
- Rebuild to generate bytecode properly after fixing rhbz#956289
39635d
39635d
* Wed Jan 09 2013 Bohuslav Kabrda <bkabrda@redhat.com> - 3.0.5-1
39635d
- Rebuilt for SCL.
39635d
- Updated to version 3.0.5.
39635d
39635d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.0-2
39635d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
39635d
39635d
* Fri Jun 29 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 2.6.0-1
39635d
- Update to 2.6.0 which changes some messages thrown by exceptions to match
39635d
  with json module in python3.3 stdlib.  Probably safe for older releases but
39635d
  the python3 version there is 3.2 so there's also not any real need yet.
39635d
39635d
* Tue May 15 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 2.5.2-1
39635d
- Update to 2.5.2
39635d
- This update adds new PI but should be backwards compatible
39635d
39635d
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.0-2
39635d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
39635d
39635d
* Fri Dec 9 2011 Toshio Kuratomi <toshoi@fedoraproject.org> - 2.3.0-1
39635d
- Update to 2.3.0 -- behaviour changing bugfixes
39635d
39635d
* Mon May 9 2011 Toshio Kuratomi <toshoi@fedoraproject.org> - 2.1.6-1
39635d
- Update to 2.1.6 for a segfault fix
39635d
39635d
* Sat Apr 30 2011 Toshio Kuratomi <toshoi@fedoraproject.org> - 2.1.5-1
39635d
- Update to 2.1.5, trivial upstream release (change makes more compact output)
39635d
39635d
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.3-2
39635d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
39635d
39635d
* Tue Jan 18 2011 Toshio Kuratomi <toshoi@fedoraproject.org> - 2.1.3-1
39635d
- Update to 2.1.3
39635d
39635d
* Mon Dec 20 2010 Toshio Kuratomi <toshoi@fedoraproject.org> - 2.1.2-1
39635d
- Update to upstream 2.1.2, a bugfix release with four small, self-contained
39635d
  fixes.
39635d
39635d
* Wed Oct 20 2010 Toshio Kuratomi <toshoi@fedoraproject.org> - 2.1.1-4
39635d
- Simplify the %%files section to own the tests directory
39635d
- Use the fedora documented filter functions to filter provides
39635d
39635d
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 2.1.1-3
39635d
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
39635d
39635d
* Wed Jun 30 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 2.1.1-2
39635d
- Filter unnecessary provides
39635d
- License tag update
39635d
- Minor spec file cleanups
39635d
39635d
* Mon Jun 21 2010 Kyle VanderBeek <kylev@kylev.com> - 2.1.1-1
39635d
- Update to 2.1.1
39635d
39635d
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.9-3
39635d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
39635d
39635d
* Fri Jun  5 2009 Kyle VanderBeek <kylev@kylev.com> - 2.0.9-2
39635d
- Remove ill-advised gcc BuildRequires
39635d
39635d
* Thu Jun  4 2009 Kyle VanderBeek <kylev@kylev.com> - 2.0.9-1
39635d
- Update to 2.0.9
39635d
- Make sure to require gcc to the speedups get compiled
39635d
- Fix description since we're not "pure" python
39635d
- Change to pypi instead of cheesehop
39635d
39635d
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.7-2
39635d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
39635d
39635d
* Tue Jan 06 2009 Luke Macken <lmacken@redhat.com> 2.0.7-1
39635d
- Update to 2.0.7
39635d
39635d
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 2.0.3-3
39635d
- Rebuild for Python 2.6
39635d
39635d
* Thu Oct 23 2008 Luke Macken <lmacken@redhat.com> 2.0.3-2
39635d
- Use nose to run the simplejson test suite
39635d
39635d
* Mon Oct 20 2008 Tom "spot" Callaway <tcallawa@redhat.com> 2.0.3-1
39635d
- update to 2.0.3
39635d
39635d
* Wed Oct 01 2008 Luke Macken <lmacken@redhat.com> - 2.0.1-1
39635d
- Update to 2.0.1, which contains many optimizations and bugfixes
39635d
39635d
* Wed Sep 24 2008 Luke Macken <lmacken@redhat.com> - 1.9.3-1
39635d
- Update to 1.9.3, which includes a significant decoding speed boost, and
39635d
  various bug fixes.
39635d
39635d
* Tue May 06 2008 Luke Macken <lmacken@redhat.com> - 1.9.1-1
39635d
- Update to 1.9.1
39635d
39635d
* Wed Apr 02 2008 Luke Macken <lmacken@redhat.com> - 1.8.1-1
39635d
- Update to 1.8.1
39635d
39635d
* Thu Feb 28 2008 Luke Macken <lmacken@redhat.com> - 1.7.4-1
39635d
- Update to 1.7.4
39635d
39635d
* Fri Feb  8 2008 Luke Macken <lmacken@redhat.com> - 1.7.3-3
39635d
- Rebuild for gcc 4.3
39635d
39635d
* Wed Oct 24 2007 Luke Macken <lmacken@redhat.com> - 1.7.3-2
39635d
- Include the LICENSE.txt
39635d
39635d
* Wed Oct  3 2007 Luke Macken <lmacken@redhat.com> - 1.7.3-1
39635d
- 1.7.3
39635d
39635d
* Sun Sep  2 2007 Luke Macken <lmacken@redhat.com> - 1.7.1-3
39635d
- Update for python-setuptools changes in rawhide
39635d
39635d
* Tue Aug 21 2007 Luke Macken <lmacken@redhat.com> - 1.7.1-2
39635d
- Rebuild
39635d
39635d
* Sun Jul  8 2007 Luke Macken <lmacken@redhat.com> - 1.7.1-1
39635d
- 1.7.1
39635d
39635d
* Wed Mar 21 2007 Luke Macken <lmacken@redhat.com> - 1.7-2
39635d
- Use python_sitearch instead of sitelib
39635d
39635d
* Tue Mar 20 2007 Luke Macken <lmacken@redhat.com> - 1.7-1
39635d
- 1.7 (Bug #233212)
39635d
39635d
* Sat Mar  3 2007 Luke Macken <lmacken@redhat.com> - 1.5
39635d
- 1.5
39635d
39635d
* Sat Dec  9 2006 Luke Macken <lmacken@redhat.com> - 1.4-4
39635d
- Add python-devel to BuildRequires
39635d
39635d
* Sat Dec  9 2006 Luke Macken <lmacken@redhat.com> - 1.4-2
39635d
- Rebuild for new python
39635d
39635d
* Fri Nov 24 2006 Luke Macken <lmacken@redhat.com> - 1.4-1
39635d
- 1.4
39635d
39635d
* Sun Sep  3 2006 Luke Macken <lmacken@redhat.com> - 1.3-4
39635d
- Rebuild for FC6
39635d
39635d
* Mon Aug 14 2006 Luke Macken <lmacken@redhat.com> - 1.3-3
39635d
- Include .pyo's instead of just ghosting them
39635d
39635d
* Wed Jul 12 2006 Luke Macken <lmacken@redhat.com> - 1.3-2
39635d
- Add --single-version-externally-managed flag to install
39635d
39635d
* Mon Jul 10 2006 Luke Macken <lmacken@redhat.com> - 1.3-1
39635d
- Initial package