Blame SPECS/python-sphinx.spec

9cc439
# When bootstrapping sphinx, we don't yet have sphinxcontrib-websupport
9cc439
# Without it we have warnings in docs, but it's not a hard dependency
9cc439
%bcond_without websupport
9cc439
# Also, we don't have all the tests requirements
9cc439
%bcond_without tests
9cc439
9cc439
# Unset -s on python shebang to allow RPM-installed sphinx to be used
9cc439
# with user-installed modules (#1903763)
9cc439
%global py3_shebang_flags %nil
9cc439
9cc439
# No internet in Koji
9cc439
%bcond_with internet
9cc439
9cc439
%if 0%{?rhel} > 7
9cc439
# Build without BuildRequires ImageMagick, to skip imgconverter tests
9cc439
%bcond_with imagemagick_tests
9cc439
%else
9cc439
%bcond_without imagemagick_tests
9cc439
%endif
9cc439
9cc439
# During texlive updates, sometimes the latex environment is unstable
9cc439
%bcond_without latex_tests
9cc439
9cc439
%global upstream_name Sphinx
9cc439
9cc439
Name:       python-sphinx
9cc439
%global     general_version 3.4.3
9cc439
#global     prerel ...
9cc439
%global     upstream_version %{general_version}%{?prerel}
9cc439
Version:    %{general_version}%{?prerel:~%{prerel}}
79d67d
Release:    7%{?dist}
9cc439
Epoch:      1
9cc439
Summary:    Python documentation generator
9cc439
9cc439
# Unless otherwise noted, the license for code is BSD
9cc439
# sphinx/util/inspect.py has bits licensed with PSF license v2 (Python)
9cc439
# sphinx/themes/haiku/static/haiku.css_t has bits licensed with MIT
9cc439
# JS: JQuery, Underscore, css3-mediaqueries are available under MIT
9cc439
License:    BSD and Python and MIT
9cc439
9cc439
URL:        https://www.sphinx-doc.org/
9cc439
Source0:    %{pypi_source %{upstream_name} %{upstream_version}}
9cc439
9cc439
# Allow extra themes to exist. We pull in python3-sphinx-theme-alabaster
9cc439
# which causes that test to fail.
9cc439
Patch1:     sphinx-test_theming.diff
9cc439
9cc439
BuildArch:     noarch
9cc439
9cc439
BuildRequires: make
9cc439
BuildRequires: python%{python3_pkgversion}-devel
9cc439
BuildRequires: pyproject-rpm-macros
9cc439
9cc439
%if %{with websupport}
9cc439
BuildRequires: python%{python3_pkgversion}-sphinxcontrib-websupport
9cc439
%endif
9cc439
9cc439
# for fixes
9cc439
BuildRequires: dos2unix
9cc439
9cc439
%if %{with tests}
9cc439
# tests import _testcapi
9cc439
BuildRequires: python%{python3_pkgversion}-test
9cc439
9cc439
BuildRequires: gcc
9cc439
BuildRequires: gettext
9cc439
BuildRequires: graphviz
9cc439
BuildRequires: texinfo
9cc439
9cc439
%if %{with imagemagick_tests}
9cc439
BuildRequires: ImageMagick
9cc439
%endif
9cc439
9cc439
%if %{with latex_tests}
9cc439
BuildRequires: texlive-collection-fontsrecommended
9cc439
BuildRequires: texlive-collection-latex
9cc439
BuildRequires: texlive-dvipng
9cc439
BuildRequires: texlive-dvisvgm
9cc439
BuildRequires: tex(amsmath.sty)
9cc439
BuildRequires: tex(amsthm.sty)
9cc439
BuildRequires: tex(anyfontsize.sty)
9cc439
BuildRequires: tex(article.cls)
9cc439
BuildRequires: tex(capt-of.sty)
9cc439
BuildRequires: tex(cmap.sty)
9cc439
BuildRequires: tex(color.sty)
9cc439
BuildRequires: tex(ctablestack.sty)
9cc439
BuildRequires: tex(fancyhdr.sty)
9cc439
BuildRequires: tex(fancyvrb.sty)
9cc439
BuildRequires: tex(fncychap.sty)
9cc439
BuildRequires: tex(framed.sty)
9cc439
BuildRequires: tex(FreeSerif.otf)
9cc439
BuildRequires: tex(geometry.sty)
9cc439
BuildRequires: tex(hyperref.sty)
9cc439
BuildRequires: tex(kvoptions.sty)
9cc439
BuildRequires: tex(luatex85.sty)
9cc439
BuildRequires: tex(needspace.sty)
9cc439
BuildRequires: tex(parskip.sty)
9cc439
BuildRequires: tex(polyglossia.sty)
9cc439
BuildRequires: tex(tabulary.sty)
9cc439
BuildRequires: tex(titlesec.sty)
9cc439
BuildRequires: tex(upquote.sty)
9cc439
BuildRequires: tex(utf8x.def)
9cc439
BuildRequires: tex(wrapfig.sty)
9cc439
%endif
9cc439
%endif
9cc439
9cc439
9cc439
%description
9cc439
Sphinx is a tool that makes it easy to create intelligent and
9cc439
beautiful documentation for Python projects (or other documents
9cc439
consisting of multiple reStructuredText sources), written by Georg
9cc439
Brandl. It was originally created to translate the new Python
9cc439
documentation, but has now been cleaned up in the hope that it will be
9cc439
useful to many other projects.
9cc439
9cc439
Sphinx uses reStructuredText as its markup language, and many of its
9cc439
strengths come from the power and straightforwardness of
9cc439
reStructuredText and its parsing and translating suite, the Docutils.
9cc439
9cc439
Although it is still under constant development, the following
9cc439
features are already present, work fine and can be seen "in action" in
9cc439
the Python docs:
9cc439
9cc439
    * Output formats: HTML (including Windows HTML Help) and LaTeX,
9cc439
      for printable PDF versions
9cc439
    * Extensive cross-references: semantic markup and automatic links
9cc439
      for functions, classes, glossary terms and similar pieces of
9cc439
      information
9cc439
    * Hierarchical structure: easy definition of a document tree, with
9cc439
      automatic links to siblings, parents and children
9cc439
    * Automatic indices: general index as well as a module index
9cc439
    * Code handling: automatic highlighting using the Pygments highlighter
9cc439
    * Various extensions are available, e.g. for automatic testing of
9cc439
      snippets and inclusion of appropriately formatted docstrings.
9cc439
9cc439
9cc439
%package -n python%{python3_pkgversion}-sphinx
9cc439
Summary:       Python documentation generator
9cc439
9cc439
Recommends:    graphviz
9cc439
Recommends:    ImageMagick
9cc439
9cc439
# Bundled JavaScript
9cc439
Provides:      bundled(jquery) = 3.5.1
9cc439
Provides:      bundled(underscore) = 1.3.1
9cc439
Provides:      bundled(css3-mediaqueries) = 1.0
9cc439
79d67d
# Obsolete and provide the locale package for a clean upgrade path from RHEL 8->9
79d67d
Obsoletes:     python-sphinx-locale < 1:2
79d67d
Provides:      python-sphinx-locale = %{epoch}:%{version}-%{release}
79d67d
9cc439
%description -n python%{python3_pkgversion}-sphinx
9cc439
Sphinx is a tool that makes it easy to create intelligent and
9cc439
beautiful documentation for Python projects (or other documents
9cc439
consisting of multiple reStructuredText sources), written by Georg
9cc439
Brandl. It was originally created to translate the new Python
9cc439
documentation, but has now been cleaned up in the hope that it will be
9cc439
useful to many other projects.
9cc439
9cc439
Sphinx uses reStructuredText as its markup language, and many of its
9cc439
strengths come from the power and straightforwardness of
9cc439
reStructuredText and its parsing and translating suite, the Docutils.
9cc439
9cc439
Although it is still under constant development, the following
9cc439
features are already present, work fine and can be seen "in action" in
9cc439
the Python docs:
9cc439
9cc439
    * Output formats: HTML (including Windows HTML Help) and LaTeX,
9cc439
      for printable PDF versions
9cc439
    * Extensive cross-references: semantic markup and automatic links
9cc439
      for functions, classes, glossary terms and similar pieces of
9cc439
      information
9cc439
    * Hierarchical structure: easy definition of a document tree, with
9cc439
      automatic links to siblings, parents and children
9cc439
    * Automatic indices: general index as well as a module index
9cc439
    * Code handling: automatic highlighting using the Pygments highlighter
9cc439
    * Various extensions are available, e.g. for automatic testing of
9cc439
      snippets and inclusion of appropriately formatted docstrings.
9cc439
9cc439
9cc439
%package -n python%{python3_pkgversion}-sphinx-latex
9cc439
Summary:       LaTeX builder dependencies for python%{python3_pkgversion}-sphinx
9cc439
9cc439
Requires:      python%{python3_pkgversion}-sphinx = %{epoch}:%{version}-%{release}
9cc439
Requires:      texlive-collection-fontsrecommended
9cc439
Requires:      texlive-collection-latex
9cc439
Requires:      texlive-dvipng
9cc439
Requires:      texlive-dvisvgm
9cc439
Requires:      tex(amsmath.sty)
9cc439
Requires:      tex(amsthm.sty)
9cc439
Requires:      tex(anyfontsize.sty)
9cc439
Requires:      tex(article.cls)
9cc439
Requires:      tex(capt-of.sty)
9cc439
Requires:      tex(cmap.sty)
9cc439
Requires:      tex(color.sty)
9cc439
Requires:      tex(ctablestack.sty)
9cc439
Requires:      tex(fancyhdr.sty)
9cc439
Requires:      tex(fancyvrb.sty)
9cc439
Requires:      tex(fncychap.sty)
9cc439
Requires:      tex(framed.sty)
9cc439
Requires:      tex(FreeSerif.otf)
9cc439
Requires:      tex(geometry.sty)
9cc439
Requires:      tex(hyperref.sty)
9cc439
Requires:      tex(kvoptions.sty)
9cc439
Requires:      tex(luatex85.sty)
9cc439
Requires:      tex(needspace.sty)
9cc439
Requires:      tex(parskip.sty)
9cc439
Requires:      tex(polyglossia.sty)
9cc439
Requires:      tex(tabulary.sty)
9cc439
Requires:      tex(titlesec.sty)
9cc439
Requires:      tex(upquote.sty)
9cc439
Requires:      tex(utf8x.def)
9cc439
Requires:      tex(wrapfig.sty)
9cc439
9cc439
# No files in this package, automatic provides don't work:
9cc439
%py_provides   python%{python3_pkgversion}-sphinx-latex
9cc439
9cc439
%description  -n python%{python3_pkgversion}-sphinx-latex
9cc439
Sphinx is a tool that makes it easy to create intelligent and
9cc439
beautiful documentation for Python projects (or other documents
9cc439
consisting of multiple reStructuredText sources), written by Georg
9cc439
Brandl. It was originally created to translate the new Python
9cc439
documentation, but has now been cleaned up in the hope that it will be
9cc439
useful to many other projects.
9cc439
9cc439
This package pulls in the TeX dependencies needed by Sphinx's LaTeX
9cc439
builder.
9cc439
9cc439
9cc439
%package doc
9cc439
Summary:       Documentation for %{name}
9cc439
License:       BSD
9cc439
Recommends:    python%{python3_pkgversion}-sphinx = %{epoch}:%{version}-%{release}
9cc439
9cc439
%description doc
9cc439
Sphinx is a tool that makes it easy to create intelligent and
9cc439
beautiful documentation for Python projects (or other documents
9cc439
consisting of multiple reStructuredText sources), written by Georg
9cc439
Brandl. It was originally created to translate the new Python
9cc439
documentation, but has now been cleaned up in the hope that it will be
9cc439
useful to many other projects.
9cc439
9cc439
This package contains documentation in reST and HTML formats.
9cc439
9cc439
9cc439
%prep
9cc439
%autosetup -n %{upstream_name}-%{upstream_version} -p1
9cc439
9cc439
# fix line encoding of bundled jquery.js
9cc439
dos2unix -k ./sphinx/themes/basic/static/jquery.js
9cc439
9cc439
%if %{without imagemagick_tests}
9cc439
rm tests/test_ext_imgconverter.py
9cc439
%endif
9cc439
9cc439
# Don't measure coverage:
9cc439
sed -i '/pytest-cov/d' setup.py
9cc439
# Not needed on recent Pythons, https://github.com/sphinx-doc/sphinx/pull/8483
9cc439
sed -i '/typed_ast/d' setup.py
9cc439
# unwanted dependency in RHEL, https://bugzilla.redhat.com/show_bug.cgi?id=1945182
9cc439
sed -i '/html5lib/d' setup.py
9cc439
79d67d
# Fix broken links in the bundled underscore.js library
79d67d
sed -i 's|http://documentcloud.github.com/underscore|https://underscorejs.org|' \
79d67d
                                              ./sphinx/themes/basic/static/underscore*
9cc439
9cc439
%generate_buildrequires
9cc439
%pyproject_buildrequires %{?with_tests:-x test}
9cc439
9cc439
9cc439
%build
9cc439
%pyproject_wheel
9cc439
9cc439
export PYTHONPATH=$PWD
9cc439
pushd doc
9cc439
export SPHINXBUILD="%{python3} ../sphinx/cmd/build.py"
9cc439
make html SPHINXBUILD="$SPHINXBUILD"
9cc439
make man SPHINXBUILD="$SPHINXBUILD"
9cc439
rm -rf _build/html/.buildinfo
9cc439
mv _build/html ..
9cc439
popd
9cc439
9cc439
9cc439
%install
9cc439
%pyproject_install
9cc439
9cc439
# For backwards compatibility. Remove with care, if at all
9cc439
for i in sphinx-{apidoc,autogen,build,quickstart}; do
9cc439
    ln -s %{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python3_version}
9cc439
    ln -s %{_bindir}/$i %{buildroot}%{_bindir}/$i-3
9cc439
done
9cc439
9cc439
# Clean up non-python files
9cc439
rm -f %{buildroot}%{python3_sitelib}/sphinx/locale/.DS_Store
9cc439
rm -rf %{buildroot}%{python3_sitelib}/sphinx/locale/.tx
9cc439
9cc439
pushd doc
9cc439
# Deliver man pages
9cc439
install -d %{buildroot}%{_mandir}/man1
9cc439
for f in _build/man/sphinx-*.1;
9cc439
do
9cc439
    cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f)
9cc439
done
9cc439
popd
9cc439
9cc439
# Deliver rst files
9cc439
rm -rf doc/_build
9cc439
sed -i 's|python ../sphinx-build.py|/usr/bin/sphinx-build|' doc/Makefile
9cc439
mv doc reST
9cc439
rm reST/make.bat
9cc439
9cc439
# Move language files to /usr/share;
9cc439
# patch to support this incorporated in 0.6.6
9cc439
pushd %{buildroot}%{python3_sitelib}
9cc439
9cc439
for lang in `find sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`;
9cc439
do
9cc439
  test $lang == __pycache__ && continue
9cc439
  install -d %{buildroot}%{_datadir}/sphinx/locale/$lang
9cc439
  install -d %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES
9cc439
  mv sphinx/locale/$lang/LC_MESSAGES/sphinx.js \
9cc439
     %{buildroot}%{_datadir}/sphinx/locale/$lang/
9cc439
  mv sphinx/locale/$lang/LC_MESSAGES/sphinx.mo \
9cc439
    %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES/
9cc439
  rm -rf sphinx/locale/$lang
9cc439
done
9cc439
popd
9cc439
9cc439
# Create the sphinxcontrib directory, so we can own it
9cc439
# See https://bugzilla.redhat.com/show_bug.cgi?id=1669790 for rationale
9cc439
mkdir %{buildroot}%{python3_sitelib}/sphinxcontrib
9cc439
9cc439
%find_lang sphinx
9cc439
9cc439
# Language files; Since these are javascript, it's not immediately obvious to
9cc439
# find_lang that they need to be marked with a language.
9cc439
(cd %{buildroot} && find . -name 'sphinx.js') | sed -e 's|^.||' | sed -e \
9cc439
  's:\(.*/locale/\)\([^/_]\+\)\(.*\.js$\):%lang(\2) \1\2\3:' \
9cc439
  >> sphinx.lang
9cc439
9cc439
9cc439
%if %{with tests}
9cc439
%check
9cc439
# Currently, all linkcheck tests and test_latex_images need internet
9cc439
# Ignored files use html5lib
9cc439
%pytest \
9cc439
    --ignore tests/test_build_html.py \
9cc439
    --ignore tests/test_build_latex.py \
9cc439
    --ignore tests/test_build_texinfo.py \
9cc439
    --ignore tests/test_domain_std.py \
9cc439
%if %{without internet}
9cc439
    -k "not linkcheck and not test_latex_images" \
9cc439
%endif
9cc439
;
9cc439
%endif
9cc439
9cc439
9cc439
%files -n python%{python3_pkgversion}-sphinx -f sphinx.lang
9cc439
%license LICENSE
9cc439
%doc AUTHORS CHANGES EXAMPLES README.rst
9cc439
%{_bindir}/sphinx-*
9cc439
%{python3_sitelib}/sphinx/
9cc439
%dir %{python3_sitelib}/sphinxcontrib/
9cc439
%{python3_sitelib}/Sphinx-%{upstream_version}.dist-info/
9cc439
%dir %{_datadir}/sphinx/
9cc439
%dir %{_datadir}/sphinx/locale
9cc439
%dir %{_datadir}/sphinx/locale/*
9cc439
%{_mandir}/man1/sphinx-*
9cc439
9cc439
9cc439
%files -n python%{python3_pkgversion}-sphinx-latex
9cc439
# empty, this is a metapackage
9cc439
9cc439
9cc439
%files doc
9cc439
%license LICENSE
9cc439
%doc html reST
9cc439
9cc439
9cc439
%changelog
79d67d
* Fri Oct 08 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:3.4.3-7
79d67d
- Obsolete and provide the python-sphinx-locale package to fix the upgrade path
79d67d
Related: rhbz#1985219
79d67d
79d67d
* Wed Oct 06 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:3.4.3-6
79d67d
- Fix broken links in the bundled underscore.js library
79d67d
Resolves: rhbz#1985219
79d67d
79d67d
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.4.3-5
9cc439
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
9cc439
  Related: rhbz#1991688
9cc439
79d67d
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.4.3-4
9cc439
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
9cc439
9cc439
* Wed Mar 31 2021 Miro Hrončok <mhroncok@redhat.com> - 1:3.4.3-3
9cc439
- Remove a dependency on html5lib
9cc439
Resolves: rhbz#1945182
9cc439
9cc439
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.4.3-2
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
9cc439
9cc439
* Tue Jan 19 2021 Charalampos Stratakis <cstratak@redhat.com> - 1:3.4.3-1
9cc439
- Update to 3.4.3
9cc439
- Fixes rhbz#1909494
9cc439
9cc439
* Sat Dec 05 2020 Mattia Verga <mattia.verga@protonmail.com> - 1:3.3.1-2
9cc439
- Unset -s from python shebang
9cc439
- Fixes: rhbz#1903763
9cc439
9cc439
* Mon Nov 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.3.1-1
9cc439
- Update to 3.3.1
9cc439
- Fixes: rhbz#1893752
9cc439
9cc439
* Wed Oct 14 2020 Tomas Hrnciar <thrnciar@redhat.com> - 1:3.2.1-2
9cc439
- Backport commit to fix python-sphinx with python-pygments v2.7.1
9cc439
9cc439
* Tue Aug 18 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.2.1-1
9cc439
- Update to 3.2.1
9cc439
- Remove compatibility symbolic links from /usr/libexec/
9cc439
- Fixes rhbz#1867294
9cc439
9cc439
* Fri Aug 07 2020 Miro Hrončok <mhroncok@redhat.com> - 1:3.1.2-1
9cc439
- Update to 3.1.2
9cc439
- Fixes rhbz#1853901
9cc439
9cc439
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.1.1-2
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
9cc439
9cc439
* Tue Jun 30 2020 Charalampos Stratakis <cstratak@redhat.com> - 1:3.1.1-1
9cc439
- Update to 3.1.1 (#1783776)
9cc439
9cc439
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.2.2-4
9cc439
- Rebuilt for Python 3.9
9cc439
9cc439
* Fri May 22 2020 Miro Hrončok <mhroncok@redhat.com> - 1:2.2.2-3
9cc439
- Bootstrap for Python 3.9
9cc439
9cc439
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.2.2-2
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
9cc439
9cc439
* Tue Dec 10 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.2.2-1
9cc439
- Update to 2.2.2 (rhbz#1743018)
9cc439
9cc439
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-6
9cc439
- Rebuilt for Python 3.8.0rc1 (#1748018)
9cc439
9cc439
* Fri Aug 16 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-5
9cc439
- Rebuilt for Python 3.8
9cc439
9cc439
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-4
9cc439
- Bootstrap for Python 3.8
9cc439
9cc439
* Thu Aug 15 2019 Richard Shaw <hobbes1069@gmail.com> - 1:2.1.2-3
9cc439
- Rebuild for Python 3.8.
9cc439
9cc439
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:2.1.2-2
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
9cc439
9cc439
* Sun Jun 23 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.1.2-1
9cc439
- Update to 2.1.2 (#1716158)
9cc439
9cc439
* Wed Apr 10 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.0.1-1
9cc439
- Update to 2.0.1 (#1697544)
9cc439
- Own the sphinxcontrib directory (#1669790)
9cc439
9cc439
* Wed Mar 27 2019 Charalampos Stratakis <cstratak@redhat.com> - 1:2.0.0~b2-1
9cc439
- Update to 2.0.0b2
9cc439
9cc439
* Wed Feb 27 2019 Miro Hrončok <mhroncok@redhat.com> - 1:2.0.0~b1-1
9cc439
- Update to 2.0.0b1
9cc439
- Drop Python 2 package
9cc439
- https://fedoraproject.org/wiki/Changes/Sphinx2
9cc439
9cc439
* Thu Feb 07 2019 Alfredo Moralejo <amoralej@redhat.com> - 1:1.8.4-1
9cc439
- Update to 1.8.4.
9cc439
9cc439
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.7.6-3
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9cc439
9cc439
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:1.7.6-2
9cc439
- Drop explicit locale setting for python3, use C.UTF-8 for python2
9cc439
  See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
9cc439
9cc439
* Mon Jul 23 2018 Marcel Plch <mplch@redhat.com> - 1:1.7.6-1
9cc439
- Update to 1.7.6
9cc439
9cc439
* Fri Jul 13 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-6
9cc439
- Remove unused dependencies on xapian and simplejson
9cc439
9cc439
* Thu Jul  5 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:1.7.5-5
9cc439
- Add patch to fix build if alabaster theme is installed
9cc439
- Add patch for #1589868
9cc439
9cc439
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-4
9cc439
- Enable tests
9cc439
9cc439
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-3
9cc439
- Enable websupport
9cc439
9cc439
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-2
9cc439
- Rebuilt for Python 3.7
9cc439
9cc439
* Tue Jun 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.5-1
9cc439
- Update to 1.7.5 (bz#1570451)
9cc439
9cc439
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-5
9cc439
- Rebuilt for Python 3.7
9cc439
9cc439
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-4
9cc439
- Bootstrap for Python 3.7
9cc439
9cc439
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-3
9cc439
- Bootstrap for Python 3.7
9cc439
9cc439
* Wed Apr 11 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-2
9cc439
- Conditionalize the ImageMagick build dependency & tests
9cc439
9cc439
* Wed Apr 11 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-1
9cc439
- Update to 1.7.2 (bz#1558968)
9cc439
9cc439
* Tue Mar 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.1-1
9cc439
- Update to 1.7.1 (bz#1534802)
9cc439
9cc439
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.6-2
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9cc439
9cc439
* Tue Jan 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.6-1
9cc439
- Update to 1.6.6 (bz#1532435)
9cc439
9cc439
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1:1.6.5-2
9cc439
- Fix ambiguous Python 2 dependency declarations
9cc439
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
9cc439
9cc439
* Mon Nov 06 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.5-1
9cc439
- Update to 1.6.5 (bz#1508237)
9cc439
9cc439
* Mon Oct 09 2017 Troy Dawson <tdawson@redhat.com> - 1:1.6.4-2
9cc439
- Cleanup spec file conditionals
9cc439
9cc439
* Tue Sep 26 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.4-1
9cc439
- Update to 1.6.4 (bz#1426928)
9cc439
9cc439
* Wed Sep 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.3-3
9cc439
- Provide the epoch tag in order to keep the upgrade path clean.
9cc439
9cc439
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
9cc439
9cc439
* Thu Jul 20 2017 Charalampos Stratakis <cstratak@redhat.com> - - 1.6.3-1
9cc439
- Update to 1.6.3 (bz#1426928)
9cc439
9cc439
* Sat Feb 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-2
9cc439
- Cleanup source files that should not be installed
9cc439
- Fix the __init__.pyc that was byte compiled for the wrong python
9cc439
9cc439
* Fri Feb 17 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-1
9cc439
- Update to 1.5.2
9cc439
- Remove a few latex dependencies that are no longer needed
9cc439
- Remove xapian patch; now in upstream tarball
9cc439
9cc439
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9cc439
9cc439
* Tue Jan 31 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-5
9cc439
- environment-modules is less featureful than Lmod.
9cc439
  - Select the default version in a different way since environment-modules
9cc439
    didn't understand the symlink
9cc439
  - Ignore error messsages in the shell startup script as environment-modules
9cc439
    prints an error message if a module has already been loaded.  The command
9cc439
    is doing the right thing for this case except that it's also printing an
9cc439
    error message.
9cc439
9cc439
* Thu Jan 26 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-4
9cc439
- Add recipe for setting the system default to the README.fedora
9cc439
9cc439
* Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-3
9cc439
- Move the unversioned executables into the python2 package as they are now
9cc439
  using python2 to run
9cc439
9cc439
* Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-2
9cc439
- Add README.fedora so people know how to use environment-modules to switch.
9cc439
- Change the default to be the python2 version to match with the guidelines
9cc439
- Switch to generic environment(modules) instead of Lmod specifically.
9cc439
9cc439
* Fri Dec 30 2016 Orion Poplawski <orion@cora.nwra.com> - 1.5.1-1
9cc439
- Update to 1.5.1
9cc439
9cc439
* Fri Dec 30 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4.9-2
9cc439
- Remove alternatives.  Alternatives should only be used for a very small
9cc439
  number of packages (system daemons which also have a compatible command line
9cc439
  interface).
9cc439
- Use environment-modules to switch between the python2 and python3 packages
9cc439
  *but* be aware that no amount of manual switching can get this 100% right.
9cc439
  The code has to be fixed upstream, not in packaging.
9cc439
9cc439
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.4.9-1
9cc439
- Update to 1.4.9
9cc439
- Enable python3 tests
9cc439
9cc439
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.4.8-3
9cc439
- Rebuild for Python 3.6
9cc439
- Disable python3 tests for now
9cc439
9cc439
* Thu Oct 6 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.8-2
9cc439
- Added tex(luatex85.sty) dependency to support TexLive 2016
9cc439
9cc439
* Thu Oct 6 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.8-1
9cc439
- Update to 1.4.8
9cc439
- Alternatives fails for scripts sometimes (bz#1382405)
9cc439
9cc439
* Sun Sep 4 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-2
9cc439
- Alternatives fails for man pages due to existing files
9cc439
9cc439
* Fri Sep 2 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-1
9cc439
- Update to 1.4.6 (bz#1370810)
9cc439
- Fix unversioned Obsoletes
9cc439
- Add alternatives slaves for man pages
9cc439
9cc439
* Fri Aug 12 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.5-1
9cc439
- Update to 1.4.5 (bz#1356336)
9cc439
- Remove Recommends for latex, locale, and doc subpackages (bz#1366624)
9cc439
- Remove Requires from locale subpackage (bz#1366624)
9cc439
- Set executable scripts via alternatives  (bz#1321413)
9cc439
- Change graphviz Requires to Recommends (bz#1366706)
9cc439
9cc439
* Sun Jul 03 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.4-2
9cc439
- doc and locale no longer specifically require python2-sphinx
9cc439
- Colapsed python3-sphinx-latex into python-latex
9cc439
9cc439
* Sun Jun 12 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.4-1
9cc439
- Updated to 1.4.4
9cc439
- Added python-sphinx-locale for common locale files
9cc439
9cc439
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9cc439
9cc439
* Fri Nov 27 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-4
9cc439
- Obsolete napoleon extension, it is now packaged with sphinx (#1286275)
9cc439
- Rename python2-Sphinx to python2-sphinx
9cc439
- Add conflicts to disallow parallel installation of different versions,
9cc439
  which causes file conflicts because of the shared documentation files.
9cc439
9cc439
* Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-3
9cc439
- Restore using python2 scripts by default (#1285535)
9cc439
9cc439
* Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-2
9cc439
- Fix requirements of python2- subpackage
9cc439
- Provide sphinx-*-{3.5,3} symlinks for each script
9cc439
9cc439
* Tue Nov 24 2015 Julien Enselme <jujens@jujens.eu> - 1.3.1-1
9cc439
- Update to 1.3.1 (#1136284)
9cc439
- Update to new guidelines
9cc439
- Make the default executable use python3
9cc439
9cc439
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 1.2.3-5
9cc439
- Rebuilt for Python3.5 rebuild
9cc439
- add patch to reflect that Python3.5 dropped HTMLParserError
9cc439
9cc439
* Mon Jul 20 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-4
9cc439
- Fix line encoding of bundled jquery.js
9cc439
9cc439
* Mon Jul 20 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-3
9cc439
- Re-introduce LaTeX subpackage, solely for pulling in LaTeX dependencies
9cc439
9cc439
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-2
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
9cc439
9cc439
* Thu Feb  5 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-1
9cc439
- Update to 1.2.3
9cc439
- Mark license file with %%license instead of %%doc
9cc439
9cc439
* Thu Feb  5 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-10
9cc439
- Complete LaTeX builder deps (fixes bz#882166)
9cc439
- Make test output verbose
9cc439
- Add BRs needed to enable all tests
9cc439
9cc439
* Tue Feb  3 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-9
9cc439
- python3-sphinx package also Provides: python3-sphinx-latex
9cc439
9cc439
* Tue Feb  3 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-8
9cc439
- If a separate LaTeX subpackage is not generated, the main package should have
9cc439
  a virtual Provides: for it (bz#1187989)
9cc439
9cc439
* Tue Jan 27 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-7
9cc439
- Disable separate LaTeX builder for now (bz#1185574)
9cc439
9cc439
* Thu Jan 22 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-6
9cc439
- Split off LaTeX builder into its own subpackages, to remove TeXLive
9cc439
  dependencies from the main package.
9cc439
  Thanks to Robert Kuska <rkuska@redhat.com> for feedback
9cc439
- Clean up python3-sphinx's locale files, they ended up in the python2 package.
9cc439
  Share the locale files in /usr/share instead
9cc439
9cc439
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-5
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
9cc439
9cc439
* Tue May 27 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.2-4
9cc439
- Don't own the -3 scripts by python 2 package
9cc439
9cc439
* Thu May 22 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.2-3
9cc439
- Add sphinx-*-3 links to scripts
9cc439
Resolves: #1098109
9cc439
9cc439
* Fri May  9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-2
9cc439
- Rebuild for Python 3.4
9cc439
9cc439
* Fri May  9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-1
9cc439
- Update to 1.2.2
9cc439
9cc439
* Thu Feb 13 2014 Michel Salim <salimma@fedoraproject.org> - 1.2.1-1
9cc439
- Update to 1.2.1
9cc439
9cc439
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-8
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
9cc439
9cc439
* Sat Mar  9 2013 Michel Salim <salimma@fedoraproject.org> - 1.1.3-7
9cc439
- Fix inheritance_diagram quoting bug, exposed by the newer, stricter dot
9cc439
9cc439
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-6
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9cc439
9cc439
* Tue Aug 21 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.3-5
9cc439
- Fix for use of sphinx's manpage writer with docutils-0.10
9cc439
9cc439
* Mon Aug  6 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.3-4
9cc439
- Rebuild for Python 3.3
9cc439
9cc439
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 1.1.3-3
9cc439
- remove rhel logic from with_python3 conditional
9cc439
9cc439
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
9cc439
9cc439
* Thu Apr  5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.3-1
9cc439
- Update to 1.1.3
9cc439
9cc439
* Sun Feb  5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.2-5
9cc439
- Move python3 runtime dependencies to the right subpackage
9cc439
- Properly exclude python3 binaries
9cc439
9cc439
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9cc439
9cc439
* Sat Dec 17 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.2-3
9cc439
- BR on texlive-latex for LaTeX tests
9cc439
9cc439
* Thu Dec  8 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.2-2
9cc439
- Enable python3 subpackage
9cc439
9cc439
* Mon Nov 28 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.2-1
9cc439
- Update to upstream 1.1.2
9cc439
9cc439
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9cc439
9cc439
* Tue Jan 18 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.7-1
9cc439
- Update to upstream 1.0.7
9cc439
9cc439
* Mon Jan 17 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.6-1
9cc439
- Update to upstream 1.0.6
9cc439
9cc439
* Mon Nov  1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-3
9cc439
- Fix -doc Makefile to allow regeneration of .rst files
9cc439
9cc439
* Mon Nov  1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-2
9cc439
- Actually include *.js locale files
9cc439
- Generate manpages
9cc439
9cc439
* Fri Sep 17 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-1
9cc439
- Update to 1.0.4
9cc439
- Remove BuildRoot and %%clean declarations
9cc439
9cc439
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.0-0.1.b2.1
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
9cc439
9cc439
* Mon May 31 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0-0.2.b2
9cc439
- Update to 1.0 beta 2
9cc439
- Fixes problem building html documentation in non-English locales
9cc439
9cc439
* Wed May 26 2010 Michel Salim <salimma@fedoraproject.org> - 1.0-0.1.b1
9cc439
- Update to 1.0 beta 1
9cc439
9cc439
* Tue May 25 2010 Michel Salim <salimma@fedoraproject.org> - 0.6.6-1
9cc439
- Update to 0.6.6
9cc439
9cc439
* Fri May 21 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.5-2
9cc439
- Few minor tweaks to Gareth's spec file update
9cc439
9cc439
* Mon May 10 2010 Gareth Armstrong <gareth.armstrong@hp.com> - 0.6.5-1.hp
9cc439
- Update to 0.6.5
9cc439
- Initial import of python-sphinx from Fedora Rawhide for use in HP CMS
9cc439
- Enforce that Sphinx requires Python 2.4 or later via an explicit BR
9cc439
- Minor tweaks to spec file
9cc439
- Move language files to %%{_datadir}, idea borrowed from Debian's sphinx
9cc439
  package
9cc439
- Deliver man pages for sphinx-build & sphinx-quickstart
9cc439
- Deliver rst documentation files to reST directory in doc sub-package
9cc439
- Add %%check section for Python2 and add BR on python-nose
9cc439
9cc439
* Wed Jan 13 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.4-1
9cc439
- Update to 0.6.4
9cc439
- Fixes a problem using autodoc with pylons projects.
9cc439
9cc439
* Fri Sep  4 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.3-1
9cc439
- Update to 0.6.3
9cc439
9cc439
* Mon Aug 17 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.2-1
9cc439
- Update to 0.6.2 -- upstream bugfix requested inside bz#512438
9cc439
9cc439
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-3
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9cc439
9cc439
* Fri Jun 05 2009 Luke Macken <lmacken@redhat.com> - 0.6.1-2
9cc439
- Add a patch to use our own setuptools package
9cc439
9cc439
* Fri Apr 17 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.1-1
9cc439
- Update to 0.6.1
9cc439
9cc439
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
9cc439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
9cc439
9cc439
* Fri Jan  2 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.1-1
9cc439
- Update to 0.5.1
9cc439
9cc439
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5-2
9cc439
- Rebuild for Python 2.6
9cc439
9cc439
* Mon Nov 24 2008 Michel Salim <salimma@fedoraproject.org> - 0.5-1
9cc439
- Update to 0.5
9cc439
9cc439
* Fri Oct 10 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.3-1
9cc439
- Update to 0.4.3
9cc439
9cc439
* Wed Aug 27 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 0.4.2-1.1
9cc439
- Fix for EL-5 build.
9cc439
9cc439
* Mon Aug 25 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.2-1
9cc439
- Update to 0.4.2
9cc439
9cc439
* Mon May 26 2008 Michel Salim <salimma@fedoraproject.org> - 0.3-1
9cc439
- Update to 0.3
9cc439
9cc439
* Fri May  2 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.61950-3
9cc439
- Split documentation into subpackage
9cc439
- Exclude C files (not built by default anyway)
9cc439
9cc439
* Wed Apr 16 2008 José Matos <jamatos@fc.up.pt> - 0.1.61950-2
9cc439
- Build html documentation, include it and include the rst
9cc439
  documentation.
9cc439
9cc439
* Thu Mar 27 2008 Michel Salim <michel.sylvan@gmail.com> 0.1.61950-1
9cc439
- Initial package