Blame SPECS/python-simplejson.spec

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