Blame SPECS/python-sphinx.spec

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