b04440
# Build without BuildRequires ImageMagick, to skip imgconverter tests
b04440
%bcond_with imagemagick_tests
b04440
b04440
%global upstream_name Sphinx
b04440
b04440
Name:       python-sphinx
b04440
Version:    1.7.6
e9ef12
Release:    3%{?dist}
b04440
Epoch:      1
b04440
Summary:    Python documentation generator
b04440
b04440
# Unless otherwise noted, the license for code is BSD
b04440
# sphinx/util/stemmer.py Public Domain
b04440
# sphinx/pycode/pgen2 Python
b04440
# jquery (MIT or GPLv2)
b04440
License:    BSD and Public Domain and Python and (MIT or GPLv2)
b04440
URL:        http://sphinx-doc.org/
b04440
Source0:    https://files.pythonhosted.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
b04440
b04440
# Make the test_latex_remote_images an expected failure
b04440
# since it requires an active internet connection
b04440
# to fetch images, which is not possible in koji or mock.
b04440
Patch0: xfail-test_latex_remote_images.patch
b04440
b04440
# Building the documentation of other projects under FIPS mode
b04440
# might fail in some cases due to the md5 algorithm being disabled.
b04440
# Backport an upstream fix to resolve that:
b04440
# https://github.com/sphinx-doc/sphinx/pull/7614
b04440
Patch1: fix-build-under-fips.patch
b04440
b04440
BuildArch:     noarch
b04440
b04440
# for fixes
b04440
BuildRequires: dos2unix
b04440
b04440
# for testing
b04440
BuildRequires: gettext
b04440
BuildRequires: texinfo
b04440
BuildRequires: graphviz
b04440
%if %{with imagemagick_tests}
b04440
BuildRequires: ImageMagick
b04440
%endif
b04440
BuildRequires: texlive-collection-fontsrecommended
b04440
BuildRequires: texlive-collection-latex
b04440
BuildRequires: texlive-dvipng
b04440
BuildRequires: texlive-dvisvgm
b04440
BuildRequires: texlive-ucs
b04440
BuildRequires: tex(cmap.sty)
b04440
BuildRequires: tex(ecrm1000.tfm)
b04440
BuildRequires: tex(footnote.sty)
b04440
BuildRequires: tex(framed.sty)
b04440
BuildRequires: tex(multirow.sty)
b04440
BuildRequires: tex(parskip.sty)
b04440
BuildRequires: tex(titlesec.sty)
b04440
BuildRequires: tex(threeparttable.sty)
b04440
BuildRequires: tex(upquote.sty)
b04440
BuildRequires: tex(wrapfig.sty)
b04440
BuildRequires: tex(capt-of.sty)
b04440
BuildRequires: tex(needspace.sty)
b04440
BuildRequires: tex(eqparbox.sty)
b04440
BuildRequires: tex(amsmath.sty)
b04440
BuildRequires: tex(amsthm.sty)
b04440
BuildRequires: tex(amssymb.sty)
b04440
BuildRequires: tex(amsfonts.sty)
b04440
BuildRequires: tex(bm.sty)
b04440
BuildRequires: tex(palatino.sty)
b04440
BuildRequires: tex(multirow.sty)
b04440
BuildRequires: tex(eqparbox.sty)
b04440
BuildRequires: tex(atbegshi.sty)
b04440
BuildRequires: tex(anyfontsize.sty)
b04440
BuildRequires: tex(luatex85.sty)
b04440
BuildRequires: tex(fncychap.sty)
b04440
BuildRequires: tex(tabulary.sty)
b04440
BuildRequires: tex(polyglossia.sty)
b04440
BuildRequires: tex(ctablestack.sty)
b04440
BuildRequires: tex(eu1enc.def)
b04440
b04440
BuildRequires: python3-devel
b04440
BuildRequires: python3-babel
b04440
BuildRequires: python3-setuptools
b04440
BuildRequires: python3-docutils
b04440
BuildRequires: python3-jinja2
b04440
BuildRequires: python3-pygments
b04440
BuildRequires: python3-nose
b04440
BuildRequires: python3-pytest
b04440
BuildRequires: python3-mock
b04440
BuildRequires: python3-html5lib
b04440
BuildRequires: python3-whoosh
b04440
BuildRequires: python3-snowballstemmer
b04440
BuildRequires: python3-six
b04440
BuildRequires: python3-sphinx_rtd_theme
b04440
BuildRequires: python3-sphinx-theme-alabaster
b04440
BuildRequires: python3-sphinxcontrib-websupport
b04440
BuildRequires: python3-packaging
b04440
BuildRequires: python3-imagesize
b04440
BuildRequires: python3-requests
b04440
b04440
b04440
%description
b04440
Sphinx is a tool that makes it easy to create intelligent and
b04440
beautiful documentation for Python projects (or other documents
b04440
consisting of multiple reStructuredText sources), written by Georg
b04440
Brandl. It was originally created to translate the new Python
b04440
documentation, but has now been cleaned up in the hope that it will be
b04440
useful to many other projects.
b04440
b04440
Sphinx uses reStructuredText as its markup language, and many of its
b04440
strengths come from the power and straightforwardness of
b04440
reStructuredText and its parsing and translating suite, the Docutils.
b04440
b04440
Although it is still under constant development, the following
b04440
features are already present, work fine and can be seen "in action" in
b04440
the Python docs:
b04440
b04440
    * Output formats: HTML (including Windows HTML Help) and LaTeX,
b04440
      for printable PDF versions
b04440
    * Extensive cross-references: semantic markup and automatic links
b04440
      for functions, classes, glossary terms and similar pieces of
b04440
      information
b04440
    * Hierarchical structure: easy definition of a document tree, with
b04440
      automatic links to siblings, parents and children
b04440
    * Automatic indices: general index as well as a module index
b04440
    * Code handling: automatic highlighting using the Pygments highlighter
b04440
    * Various extensions are available, e.g. for automatic testing of
b04440
      snippets and inclusion of appropriately formatted docstrings.
b04440
b04440
b04440
%package -n    python2-sphinx
b04440
Summary:       Python documentation generator
b04440
Requires:      python-sphinx-locale = %{?epoch}:%{version}-%{release}
b04440
Requires:      python2-babel
b04440
Requires:      python2-docutils
b04440
Requires:      python2-jinja2
b04440
Requires:      python2-pygments
b04440
Requires:      python2-mock
b04440
Requires:      python2-snowballstemmer
b04440
Requires:      python2-sphinx_rtd_theme
b04440
Requires:      python2-six
b04440
Requires:      python2-sphinx-theme-alabaster
b04440
Requires:      python2-imagesize
b04440
Requires:      python2-requests
b04440
Requires:      python2-packaging
b04440
Requires:      python2-typing
b04440
Requires: environment(modules)
b04440
# Needed to get rid of the alternatives config installed in f24 and f25
b04440
# versions of the package
b04440
Requires(pre): /usr/sbin/alternatives
b04440
Recommends:    graphviz
b04440
Recommends:    ImageMagick
b04440
Obsoletes:     python-sphinx <= 1.2.3
b04440
Obsoletes:     python-sphinxcontrib-napoleon < 0.5
b04440
Provides:      python-sphinxcontrib-napoleon = %{?epoch}:%{version}-%{release}
b04440
Obsoletes:     python2-Sphinx <= 1.3.1-4
b04440
Provides:      python2-Sphinx = %{?epoch}:%{version}-%{release}
b04440
Provides:      python(Sphinx) = %{?epoch}:%{version}-%{release}
b04440
%{?python_provide:%python_provide python2-sphinx}
b04440
Conflicts:     python3-sphinx < %{?epoch}:%{version}-%{release}
b04440
b04440
%description -n python2-sphinx
b04440
Sphinx is a tool that makes it easy to create intelligent and
b04440
beautiful documentation for Python projects (or other documents
b04440
consisting of multiple reStructuredText sources), written by Georg
b04440
Brandl. It was originally created to translate the new Python
b04440
documentation, but has now been cleaned up in the hope that it will be
b04440
useful to many other projects.
b04440
b04440
Sphinx uses reStructuredText as its markup language, and many of its
b04440
strengths come from the power and straightforwardness of
b04440
reStructuredText and its parsing and translating suite, the Docutils.
b04440
b04440
Although it is still under constant development, the following
b04440
features are already present, work fine and can be seen "in action" in
b04440
the Python docs:
b04440
b04440
    * Output formats: HTML (including Windows HTML Help) and LaTeX,
b04440
      for printable PDF versions
b04440
    * Extensive cross-references: semantic markup and automatic links
b04440
      for functions, classes, glossary terms and similar pieces of
b04440
      information
b04440
    * Hierarchical structure: easy definition of a document tree, with
b04440
      automatic links to siblings, parents and children
b04440
    * Automatic indices: general index as well as a module index
b04440
    * Code handling: automatic highlighting using the Pygments highlighter
b04440
    * Various extensions are available, e.g. for automatic testing of
b04440
      snippets and inclusion of appropriately formatted docstrings.
b04440
b04440
b04440
%package latex
b04440
Summary:       LaTeX builder dependencies for %{name}
b04440
Requires:      python(Sphinx) = %{?epoch}:%{version}-%{release}
b04440
Requires:      texlive-collection-fontsrecommended
b04440
Requires:      texlive-collection-latex
b04440
Requires:      texlive-dvipng
b04440
Requires:      texlive-dvisvgm
b04440
Requires:      texlive-ucs
b04440
Requires:      tex(cmap.sty)
b04440
Requires:      tex(ecrm1000.tfm)
b04440
Requires:      tex(footnote.sty)
b04440
Requires:      tex(framed.sty)
b04440
Requires:      tex(multirow.sty)
b04440
Requires:      tex(parskip.sty)
b04440
Requires:      tex(titlesec.sty)
b04440
Requires:      tex(threeparttable.sty)
b04440
Requires:      tex(upquote.sty)
b04440
Requires:      tex(wrapfig.sty)
b04440
Requires:      tex(capt-of.sty)
b04440
Requires:      tex(needspace.sty)
b04440
Requires:      tex(eqparbox.sty)
b04440
Requires:      tex(amsmath.sty)
b04440
Requires:      tex(amsthm.sty)
b04440
Requires:      tex(amssymb.sty)
b04440
Requires:      tex(amsfonts.sty)
b04440
Requires:      tex(bm.sty)
b04440
Requires:      tex(palatino.sty)
b04440
Requires:      tex(multirow.sty)
b04440
Requires:      tex(eqparbox.sty)
b04440
Requires:      tex(atbegshi.sty)
b04440
Requires:      tex(anyfontsize.sty)
b04440
Requires:      tex(luatex85.sty)
b04440
Requires:      tex(fncychap.sty)
b04440
Requires:      tex(tabulary.sty)
b04440
Requires:      tex(polyglossia.sty)
b04440
Requires:      tex(ctablestack.sty)
b04440
Requires:      tex(eu1enc.def)
b04440
Obsoletes:     python3-sphinx-latex < 1.4.4-2
b04440
b04440
%description latex
b04440
Sphinx is a tool that makes it easy to create intelligent and
b04440
beautiful documentation for Python projects (or other documents
b04440
consisting of multiple reStructuredText sources), written by Georg
b04440
Brandl. It was originally created to translate the new Python
b04440
documentation, but has now been cleaned up in the hope that it will be
b04440
useful to many other projects.
b04440
b04440
This package pulls in the TeX dependencies needed by Sphinx's LaTeX
b04440
builder.
b04440
b04440
b04440
%package -n python3-sphinx
b04440
Summary:       Python documentation generator
b04440
Group:         Development/Tools
b04440
Requires:      python-sphinx-locale = %{?epoch}:%{version}-%{release}
b04440
Requires:      python3-babel
b04440
Requires:      python3-docutils
b04440
Requires:      python3-jinja2
b04440
Requires:      python3-pygments
b04440
Requires:      python3-mock
b04440
Requires:      python3-snowballstemmer
b04440
Requires:      python3-sphinx_rtd_theme
b04440
Requires:      python3-sphinx-theme-alabaster
b04440
Requires:      python3-sphinxcontrib-websupport
b04440
Requires:      python3-imagesize
b04440
Requires:      python3-requests
b04440
Requires:      python3-six
b04440
Requires:      python3-packaging
b04440
Recommends:    graphviz
b04440
Recommends:    ImageMagick
b04440
Requires: environment(modules)
b04440
# Needed to get rid of the alternatives config installed in f24 and f25
b04440
# versions of the package
b04440
Requires(pre): /usr/sbin/alternatives
b04440
Obsoletes:     python3-sphinxcontrib-napoleon < 0.3.0
b04440
Provides:      python3-sphinxcontrib-napoleon = %{?epoch}:%{version}-%{release}
b04440
Provides:      python(Sphinx) = %{?epoch}:%{version}-%{release}
b04440
%{?python_provide:%python_provide python3-sphinx}
b04440
Conflicts:     python2-Sphinx < %{?epoch}:%{version}-%{release}
b04440
b04440
%description -n python3-sphinx
b04440
Sphinx is a tool that makes it easy to create intelligent and
b04440
beautiful documentation for Python projects (or other documents
b04440
consisting of multiple reStructuredText sources), written by Georg
b04440
Brandl. It was originally created to translate the new Python
b04440
documentation, but has now been cleaned up in the hope that it will be
b04440
useful to many other projects.
b04440
b04440
Sphinx uses reStructuredText as its markup language, and many of its
b04440
strengths come from the power and straightforwardness of
b04440
reStructuredText and its parsing and translating suite, the Docutils.
b04440
b04440
Although it is still under constant development, the following
b04440
features are already present, work fine and can be seen "in action" in
b04440
the Python docs:
b04440
b04440
    * Output formats: HTML (including Windows HTML Help) and LaTeX,
b04440
      for printable PDF versions
b04440
    * Extensive cross-references: semantic markup and automatic links
b04440
      for functions, classes, glossary terms and similar pieces of
b04440
      information
b04440
    * Hierarchical structure: easy definition of a document tree, with
b04440
      automatic links to siblings, parents and children
b04440
    * Automatic indices: general index as well as a module index
b04440
    * Code handling: automatic highlighting using the Pygments highlighter
b04440
    * Various extensions are available, e.g. for automatic testing of
b04440
      snippets and inclusion of appropriately formatted docstrings.
b04440
b04440
b04440
%package doc
b04440
Summary:       Documentation for %{name}
b04440
Group:         Documentation
b04440
License:       BSD
b04440
Recommends:    python(Sphinx) = %{?epoch}:%{version}-%{release}
b04440
b04440
%description doc
b04440
Sphinx is a tool that makes it easy to create intelligent and
b04440
beautiful documentation for Python projects (or other documents
b04440
consisting of multiple reStructuredText sources), written by Georg
b04440
Brandl. It was originally created to translate the new Python
b04440
documentation, but has now been cleaned up in the hope that it will be
b04440
useful to many other projects.
b04440
b04440
This package contains documentation in reST and HTML formats.
b04440
b04440
b04440
%package locale
b04440
Summary:       Locale files for %{name}
b04440
Group:         Development/Tools
b04440
License:       BSD
b04440
b04440
%description locale
b04440
Sphinx is a tool that makes it easy to create intelligent and
b04440
beautiful documentation for Python projects (or other documents
b04440
consisting of multiple reStructuredText sources), written by Georg
b04440
Brandl. It was originally created to translate the new Python
b04440
documentation, but has now been cleaned up in the hope that it will be
b04440
useful to many other projects.
b04440
b04440
This package contains locale files for Sphinx
b04440
b04440
%prep
b04440
%autosetup -n %{upstream_name}-%{version}%{?prerel} -p1
b04440
b04440
# fix line encoding of bundled jquery.js
b04440
dos2unix -k ./sphinx/themes/basic/static/jquery.js
b04440
b04440
%if ! %{with imagemagick_tests}
b04440
rm tests/test_ext_imgconverter.py
b04440
%endif
b04440
b04440
%build
b04440
%py3_build
b04440
b04440
export PYTHONPATH=$PWD
b04440
pushd doc
b04440
export SPHINXBUILD="%{__python3} ../sphinx/cmd/build.py"
b04440
make html SPHINXBUILD="$SPHINXBUILD"
b04440
make man SPHINXBUILD="$SPHINXBUILD"
b04440
rm -rf _build/html/.buildinfo
b04440
mv _build/html ..
b04440
popd
b04440
b04440
b04440
%install
b04440
%py3_install
b04440
b04440
# we keep this for backwards compatibility with Fedora:
b04440
install -d %{buildroot}%{_libexecdir}/python3-sphinx
b04440
for i in sphinx-{apidoc,autogen,build,quickstart}; do
b04440
    ln -s $i %{buildroot}%{_bindir}/$i-%{python3_version}
b04440
    ln -s $i %{buildroot}%{_bindir}/$i-3
b04440
    ln -s %{_bindir}/$i %{buildroot}%{_libexecdir}/python3-sphinx/$i
b04440
done
b04440
b04440
pushd doc
b04440
# Deliver man pages
b04440
install -d %{buildroot}%{_mandir}/man1
b04440
for f in _build/man/sphinx-*.1;
b04440
do
b04440
    cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f)
b04440
done
b04440
popd
b04440
b04440
rm -f %{buildroot}%{python3_sitelib}/sphinx/locale/.DS_Store
b04440
rm -rf %{buildroot}%{python3_sitelib}/sphinx/locale/.tx
b04440
b04440
# Deliver rst files
b04440
rm -rf doc/_build
b04440
sed -i 's|python ../sphinx-build.py|/usr/bin/sphinx-build|' doc/Makefile
b04440
mv doc reST
b04440
b04440
# Move language files to /usr/share;
b04440
# patch to support this incorporated in 0.6.6
b04440
pushd %{buildroot}%{python3_sitelib}
b04440
b04440
b04440
for lang in `find sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -not -name __pycache__ -printf "%f "`;
b04440
do
b04440
  install -d %{buildroot}%{_datadir}/sphinx/locale/$lang
b04440
  install -d %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES
b04440
  mv sphinx/locale/$lang/LC_MESSAGES/sphinx.js \
b04440
     %{buildroot}%{_datadir}/sphinx/locale/$lang/
b04440
  mv sphinx/locale/$lang/LC_MESSAGES/sphinx.mo \
b04440
    %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES/
b04440
  rm -rf sphinx/locale/$lang
b04440
done
b04440
popd
b04440
b04440
%find_lang sphinx
b04440
b04440
# Language files; Since these are javascript, it's not immediately obvious to
b04440
# find_lang that they need to be marked with a language.
b04440
(cd %{buildroot} && find . -name 'sphinx.js') | sed -e 's|^.||' | sed -e \
b04440
  's:\(.*/locale/\)\([^/_]\+\)\(.*\.js$\):%lang(\2) \1\2\3:' \
b04440
  >> sphinx.lang
b04440
b04440
%check
b04440
# Currently, all linkcheck tests hit external websites.  Since network access
b04440
# is disabled in koji, we have to disable these.
b04440
rm tests/test_build_linkcheck.py
b04440
PYTHON=python3 make test
b04440
b04440
b04440
%files latex
b04440
%license LICENSE
b04440
b04440
%files locale -f sphinx.lang
b04440
%license LICENSE
b04440
%dir %{_datadir}/sphinx/
b04440
%dir %{_datadir}/sphinx/locale
b04440
%dir %{_datadir}/sphinx/locale/*
b04440
b04440
%files -n python3-sphinx
b04440
%license LICENSE
b04440
%doc AUTHORS CHANGES EXAMPLES README.rst
b04440
%{_bindir}/sphinx-*
b04440
%{python3_sitelib}/sphinx/
b04440
%{python3_sitelib}/Sphinx-%{version}-py%{python3_version}.egg-info/
b04440
%{_libexecdir}/python3-sphinx/
b04440
%{_mandir}/man1/sphinx-*.1*
b04440
b04440
%files doc
b04440
%doc html reST
b04440
b04440
b04440
%changelog
e9ef12
* Tue Jul 26 2022 Tomas Orsava <torsava@redhat.com> - 1.7.6-3
e9ef12
- Rebuild to include the python-sphinx-latex package in the CodeReady Linux
e9ef12
  Builder (CRB) repository
e9ef12
Resolves: rhbz#2081785
e9ef12
b04440
* Wed Oct 14 2020 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.6-2
b04440
- Fix documentation build under FIPS mode
b04440
Resolves: rhbz#1749346
b04440
b04440
* Thu Jul 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.6-1
b04440
- Update to 1.7.6
b04440
b04440
* Wed Jun 20 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.5-1
b04440
- Remove unused simplejson dependency
b04440
b04440
* Tue Jun 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.5-1
b04440
- Update to 1.7.5 (bz#1570451)
b04440
b04440
* Tue Jun 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.2-5
b04440
- Remove the python-pytest-cov dependency
b04440
b04440
* Wed Jun 13 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-4
b04440
- Remove python2 subpackage
b04440
- Require python3-sphinxcontrib-websupport
b04440
b04440
* Thu Jun 07 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-3
b04440
- Remove hard dependencies on sphinxcontrib-websupport and sqlalchemy
b04440
b04440
* Wed Apr 11 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-2
b04440
- Conditionalize the ImageMagick build dependency & tests
b04440
b04440
* Wed Apr 11 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-1
b04440
- Update to 1.7.2 (bz#1558968)
b04440
b04440
* Tue Mar 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.1-1
b04440
- Update to 1.7.1 (bz#1534802)
b04440
b04440
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.6-2
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b04440
b04440
* Tue Jan 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.6-1
b04440
- Update to 1.6.6 (bz#1532435)
b04440
b04440
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1:1.6.5-2
b04440
- Fix ambiguous Python 2 dependency declarations
b04440
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
b04440
b04440
* Mon Nov 06 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.5-1
b04440
- Update to 1.6.5 (bz#1508237)
b04440
b04440
* Mon Oct 09 2017 Troy Dawson <tdawson@redhat.com> - 1:1.6.4-2
b04440
- Cleanup spec file conditionals
b04440
b04440
* Tue Sep 26 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.4-1
b04440
- Update to 1.6.4 (bz#1426928)
b04440
b04440
* Wed Sep 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.3-3
b04440
- Provide the epoch tag in order to keep the upgrade path clean.
b04440
b04440
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b04440
b04440
* Thu Jul 20 2017 Charalampos Stratakis <cstratak@redhat.com> - - 1.6.3-1
b04440
- Update to 1.6.3 (bz#1426928)
b04440
b04440
* Sat Feb 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-2
b04440
- Cleanup source files that should not be installed
b04440
- Fix the __init__.pyc that was byte compiled for the wrong python
b04440
b04440
* Fri Feb 17 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-1
b04440
- Update to 1.5.2
b04440
- Remove a few latex dependencies that are no longer needed
b04440
- Remove xapian patch; now in upstream tarball
b04440
b04440
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b04440
b04440
* Tue Jan 31 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-5
b04440
- environment-modules is less featureful than Lmod.
b04440
  - Select the default version in a different way since environment-modules
b04440
    didn't understand the symlink
b04440
  - Ignore error messsages in the shell startup script as environment-modules
b04440
    prints an error message if a module has already been loaded.  The command
b04440
    is doing the right thing for this case except that it's also printing an
b04440
    error message.
b04440
b04440
* Thu Jan 26 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-4
b04440
- Add recipe for setting the system default to the README.fedora
b04440
b04440
* Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-3
b04440
- Move the unversioned executables into the python2 package as they are now
b04440
  using python2 to run
b04440
b04440
* Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-2
b04440
- Add README.fedora so people know how to use environment-modules to switch.
b04440
- Change the default to be the python2 version to match with the guidelines
b04440
- Switch to generic environment(modules) instead of Lmod specifically.
b04440
b04440
* Fri Dec 30 2016 Orion Poplawski <orion@cora.nwra.com> - 1.5.1-1
b04440
- Update to 1.5.1
b04440
b04440
* Fri Dec 30 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4.9-2
b04440
- Remove alternatives.  Alternatives should only be used for a very small
b04440
  number of packages (system daemons which also have a compatible command line
b04440
  interface).
b04440
- Use environment-modules to switch between the python2 and python3 packages
b04440
  *but* be aware that no amount of manual switching can get this 100% right.
b04440
  The code has to be fixed upstream, not in packaging.
b04440
b04440
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.4.9-1
b04440
- Update to 1.4.9
b04440
- Enable python3 tests
b04440
b04440
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.4.8-3
b04440
- Rebuild for Python 3.6
b04440
- Disable python3 tests for now
b04440
b04440
* Thu Oct 6 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.8-2
b04440
- Added tex(luatex85.sty) dependency to support TexLive 2016
b04440
b04440
* Thu Oct 6 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.8-1
b04440
- Update to 1.4.8
b04440
- Alternatives fails for scripts sometimes (bz#1382405)
b04440
b04440
* Sun Sep 4 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-2
b04440
- Alternatives fails for man pages due to existing files
b04440
b04440
* Fri Sep 2 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-1
b04440
- Update to 1.4.6 (bz#1370810)
b04440
- Fix unversioned Obsoletes
b04440
- Add alternatives slaves for man pages
b04440
b04440
* Fri Aug 12 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.5-1
b04440
- Update to 1.4.5 (bz#1356336)
b04440
- Remove Recommends for latex, locale, and doc subpackages (bz#1366624)
b04440
- Remove Requires from locale subpackage (bz#1366624)
b04440
- Set executable scripts via alternatives  (bz#1321413)
b04440
- Change graphviz Requires to Recommends (bz#1366706)
b04440
b04440
* Sun Jul 03 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.4-2
b04440
- doc and locale no longer specifically require python2-sphinx
b04440
- Colapsed python3-sphinx-latex into python-latex
b04440
b04440
* Sun Jun 12 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.4-1
b04440
- Updated to 1.4.4
b04440
- Added python-sphinx-locale for common locale files
b04440
b04440
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b04440
b04440
* Fri Nov 27 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-4
b04440
- Obsolete napoleon extension, it is now packaged with sphinx (#1286275)
b04440
- Rename python2-Sphinx to python2-sphinx
b04440
- Add conflicts to disallow parallel installation of different versions,
b04440
  which causes file conflicts because of the shared documentation files.
b04440
b04440
* Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-3
b04440
- Restore using python2 scripts by default (#1285535)
b04440
b04440
* Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-2
b04440
- Fix requirements of python2- subpackage
b04440
- Provide sphinx-*-{3.5,3} symlinks for each script
b04440
b04440
* Tue Nov 24 2015 Julien Enselme <jujens@jujens.eu> - 1.3.1-1
b04440
- Update to 1.3.1 (#1136284)
b04440
- Update to new guidelines
b04440
- Make the default executable use python3
b04440
b04440
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 1.2.3-5
b04440
- Rebuilt for Python3.5 rebuild
b04440
- add patch to reflect that Python3.5 dropped HTMLParserError
b04440
b04440
* Mon Jul 20 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-4
b04440
- Fix line encoding of bundled jquery.js
b04440
b04440
* Mon Jul 20 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-3
b04440
- Re-introduce LaTeX subpackage, solely for pulling in LaTeX dependencies
b04440
b04440
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-2
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b04440
b04440
* Thu Feb  5 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-1
b04440
- Update to 1.2.3
b04440
- Mark license file with %%license instead of %%doc
b04440
b04440
* Thu Feb  5 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-10
b04440
- Complete LaTeX builder deps (fixes bz#882166)
b04440
- Make test output verbose
b04440
- Add BRs needed to enable all tests
b04440
b04440
* Tue Feb  3 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-9
b04440
- python3-sphinx package also Provides: python3-sphinx-latex
b04440
b04440
* Tue Feb  3 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-8
b04440
- If a separate LaTeX subpackage is not generated, the main package should have
b04440
  a virtual Provides: for it (bz#1187989)
b04440
b04440
* Tue Jan 27 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-7
b04440
- Disable separate LaTeX builder for now (bz#1185574)
b04440
b04440
* Thu Jan 22 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-6
b04440
- Split off LaTeX builder into its own subpackages, to remove TeXLive
b04440
  dependencies from the main package.
b04440
  Thanks to Robert Kuska <rkuska@redhat.com> for feedback
b04440
- Clean up python3-sphinx's locale files, they ended up in the python2 package.
b04440
  Share the locale files in /usr/share instead
b04440
b04440
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-5
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b04440
b04440
* Tue May 27 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.2-4
b04440
- Don't own the -3 scripts by python 2 package
b04440
b04440
* Thu May 22 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.2-3
b04440
- Add sphinx-*-3 links to scripts
b04440
Resolves: #1098109
b04440
b04440
* Fri May  9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-2
b04440
- Rebuild for Python 3.4
b04440
b04440
* Fri May  9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-1
b04440
- Update to 1.2.2
b04440
b04440
* Thu Feb 13 2014 Michel Salim <salimma@fedoraproject.org> - 1.2.1-1
b04440
- Update to 1.2.1
b04440
b04440
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-8
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b04440
b04440
* Sat Mar  9 2013 Michel Salim <salimma@fedoraproject.org> - 1.1.3-7
b04440
- Fix inheritance_diagram quoting bug, exposed by the newer, stricter dot
b04440
b04440
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-6
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b04440
b04440
* Tue Aug 21 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.3-5
b04440
- Fix for use of sphinx's manpage writer with docutils-0.10
b04440
b04440
* Mon Aug  6 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.3-4
b04440
- Rebuild for Python 3.3
b04440
b04440
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 1.1.3-3
b04440
- remove rhel logic from with_python3 conditional
b04440
b04440
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b04440
b04440
* Thu Apr  5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.3-1
b04440
- Update to 1.1.3
b04440
b04440
* Sun Feb  5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.2-5
b04440
- Move python3 runtime dependencies to the right subpackage
b04440
- Properly exclude python3 binaries
b04440
b04440
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
b04440
b04440
* Sat Dec 17 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.2-3
b04440
- BR on texlive-latex for LaTeX tests
b04440
b04440
* Thu Dec  8 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.2-2
b04440
- Enable python3 subpackage
b04440
b04440
* Mon Nov 28 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.2-1
b04440
- Update to upstream 1.1.2
b04440
b04440
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b04440
b04440
* Tue Jan 18 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.7-1
b04440
- Update to upstream 1.0.7
b04440
b04440
* Mon Jan 17 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.6-1
b04440
- Update to upstream 1.0.6
b04440
b04440
* Mon Nov  1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-3
b04440
- Fix -doc Makefile to allow regeneration of .rst files
b04440
b04440
* Mon Nov  1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-2
b04440
- Actually include *.js locale files
b04440
- Generate manpages
b04440
b04440
* Fri Sep 17 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-1
b04440
- Update to 1.0.4
b04440
- Remove BuildRoot and %%clean declarations
b04440
b04440
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.0-0.1.b2.1
b04440
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
b04440
b04440
* Mon May 31 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0-0.2.b2
b04440
- Update to 1.0 beta 2
b04440
- Fixes problem building html documentation in non-English locales
b04440
b04440
* Wed May 26 2010 Michel Salim <salimma@fedoraproject.org> - 1.0-0.1.b1
b04440
- Update to 1.0 beta 1
b04440
b04440
* Tue May 25 2010 Michel Salim <salimma@fedoraproject.org> - 0.6.6-1
b04440
- Update to 0.6.6
b04440
b04440
* Fri May 21 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.5-2
b04440
- Few minor tweaks to Gareth's spec file update
b04440
b04440
* Mon May 10 2010 Gareth Armstrong <gareth.armstrong@hp.com> - 0.6.5-1.hp
b04440
- Update to 0.6.5
b04440
- Initial import of python-sphinx from Fedora Rawhide for use in HP CMS
b04440
- Enforce that Sphinx requires Python 2.4 or later via an explicit BR
b04440
- Minor tweaks to spec file
b04440
- Move language files to %%{_datadir}, idea borrowed from Debian's sphinx
b04440
  package
b04440
- Deliver man pages for sphinx-build & sphinx-quickstart
b04440
- Deliver rst documentation files to reST directory in doc sub-package
b04440
- Add %%check section for Python2 and add BR on python-nose
b04440
b04440
* Wed Jan 13 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.4-1
b04440
- Update to 0.6.4
b04440
- Fixes a problem using autodoc with pylons projects.
b04440
b04440
* Fri Sep  4 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.3-1
b04440
- Update to 0.6.3
b04440
b04440
* Mon Aug 17 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.2-1
b04440
- Update to 0.6.2 -- upstream bugfix requested inside bz#512438
b04440
b04440
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-3
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b04440
b04440
* Fri Jun 05 2009 Luke Macken <lmacken@redhat.com> - 0.6.1-2
b04440
- Add a patch to use our own setuptools package
b04440
b04440
* Fri Apr 17 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.1-1
b04440
- Update to 0.6.1
b04440
b04440
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
b04440
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b04440
b04440
* Fri Jan  2 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.1-1
b04440
- Update to 0.5.1
b04440
b04440
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5-2
b04440
- Rebuild for Python 2.6
b04440
b04440
* Mon Nov 24 2008 Michel Salim <salimma@fedoraproject.org> - 0.5-1
b04440
- Update to 0.5
b04440
b04440
* Fri Oct 10 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.3-1
b04440
- Update to 0.4.3
b04440
b04440
* Wed Aug 27 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 0.4.2-1.1
b04440
- Fix for EL-5 build.
b04440
b04440
* Mon Aug 25 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.2-1
b04440
- Update to 0.4.2
b04440
b04440
* Mon May 26 2008 Michel Salim <salimma@fedoraproject.org> - 0.3-1
b04440
- Update to 0.3
b04440
b04440
* Fri May  2 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.61950-3
b04440
- Split documentation into subpackage
b04440
- Exclude C files (not built by default anyway)
b04440
b04440
* Wed Apr 16 2008 José Matos <jamatos@fc.up.pt> - 0.1.61950-2
b04440
- Build html documentation, include it and include the rst
b04440
  documentation.
b04440
b04440
* Thu Mar 27 2008 Michel Salim <michel.sylvan@gmail.com> 0.1.61950-1
b04440
- Initial package