e75c1dc
%if 0%{?fedora} || 0%{?rhel} > 7
7f502fb
%global with_python3 1
7f502fb
%else
7f502fb
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib())")}
e361c26
%endif
e361c26
baac7ba
%if 0%{?rhel} > 7
baac7ba
# Build without BuildRequires ImageMagick, to skip imgconverter tests
baac7ba
%bcond_with imagemagick_tests
baac7ba
%else
baac7ba
%bcond_without imagemagick_tests
baac7ba
%endif
baac7ba
da1eff5
# When bootstrapping sphinx, we don't yet have sphinxcontrib-websupport
334b5cd
%bcond_without websupport
da1eff5
# Also, we don't have all the tests requirements
88b03ea
%bcond_without tests
da1eff5
fa7e4f5
# Currently, python2 version is always the default: https://fedoraproject.org/wiki/Packaging:Python#Naming
fa7e4f5
%if 1
ad8724f
%global py3_default 0
fa7e4f5
%else
fa7e4f5
%global py3_default 1
6b1fa7a
%endif
6b1fa7a
ad8724f
%global upstream_name Sphinx
ad8724f
e361c26
Name:       python-sphinx
Marcel Plch 644e00c
Version:    1.7.6
de4211c
Release:    2%{?dist}
3a77d8c
Epoch:      1
e361c26
Summary:    Python documentation generator
e361c26
dd5bd65
dd5bd65
# Unless otherwise noted, the license for code is BSD
dd5bd65
# sphinx/util/stemmer.py Public Domain
dd5bd65
# sphinx/pycode/pgen2 Python
dd5bd65
# jquery (MIT or GPLv2)
77fdd8d
License:    BSD and Public Domain and Python and (MIT or GPLv2)
e24435f
URL:        http://sphinx-doc.org/
bef3af3
Source0:    https://files.pythonhosted.org/packages/source/S/%{upstream_name}/%{upstream_name}-%{version}.tar.gz
ad8724f
Source1:    python2-sphinx
ad8724f
Source2:    python3-sphinx
ad8724f
Source3:    zz-modules-python-sphinx.sh
ad8724f
Source4:    zz-modules-python-sphinx.csh
fa7e4f5
Source5:    README.fedora
ea98c3d
# environment-modules file to select whether the py2 or py3 version of
ea98c3d
# python-sphinx execuitables is default
ea98c3d
Source6:    default-sphinx-command.in
e361c26
6fe65c3
# Make the test_latex_remote_images an expected failure
6fe65c3
# since it requires an active internet connection
6fe65c3
# to fetch images, which is not possible in koji or mock.
6fe65c3
Patch0: xfail-test_latex_remote_images.patch
6fe65c3
10b412f
# Allow extra themes to exist. We pull in python[23]-sphinx-theme-alabaster
10b412f
# which causes that test to fail.
10b412f
Patch1: sphinx-test_theming.diff
10b412f
e361c26
BuildArch:     noarch
e361c26
BuildRequires: python2-devel >= 2.4
bef3af3
BuildRequires: python2-babel
bef3af3
BuildRequires: python2-setuptools
e5eb957
BuildRequires: python2-docutils
e5eb957
BuildRequires: python2-jinja2
e5eb957
BuildRequires: python2-pygments >= 2.0
e5eb957
BuildRequires: python2-six
bef3af3
BuildRequires: python2-sphinx_rtd_theme
e24435f
BuildRequires: python2-sphinx-theme-alabaster
bef3af3
BuildRequires: python2-imagesize
Orion Poplawski cc11c8f
BuildRequires: python2-requests
3d9a610
BuildRequires: python2-packaging
6fe65c3
BuildRequires: python2-typing
da1eff5
%if %{with websupport}
6fe65c3
BuildRequires: python2-sphinxcontrib-websupport
da1eff5
%endif
ad8724f
BuildRequires: environment(modules)
03e2822
a967b58
# for fixes
a967b58
BuildRequires: dos2unix
a967b58
da1eff5
%if %{with tests}
e5eb957
BuildRequires: python2-nose
f73229b
BuildRequires: python2-pytest
e5eb957
BuildRequires: python2-pytest-cov
03e2822
BuildRequires: gettext
03e2822
BuildRequires: texinfo
bef3af3
BuildRequires: graphviz
e5eb957
BuildRequires: python2-sqlalchemy
bef3af3
BuildRequires: python2-mock
e5eb957
BuildRequires: python2-html5lib
e5eb957
BuildRequires: python2-whoosh
e24435f
BuildRequires: python2-snowballstemmer
e5eb957
BuildRequires: python2-enum34
baac7ba
%if %{with imagemagick_tests}
6fe65c3
BuildRequires: ImageMagick
baac7ba
%endif
03e2822
BuildRequires: texlive-collection-fontsrecommended
03e2822
BuildRequires: texlive-collection-latex
bef3af3
BuildRequires: texlive-dvipng
bef3af3
BuildRequires: texlive-dvisvgm
bef3af3
BuildRequires: texlive-ucs
03e2822
BuildRequires: tex(cmap.sty)
03e2822
BuildRequires: tex(ecrm1000.tfm)
03e2822
BuildRequires: tex(footnote.sty)
03e2822
BuildRequires: tex(framed.sty)
03e2822
BuildRequires: tex(multirow.sty)
03e2822
BuildRequires: tex(parskip.sty)
03e2822
BuildRequires: tex(titlesec.sty)
03e2822
BuildRequires: tex(threeparttable.sty)
ffb1bcc
BuildRequires: tex(upquote.sty)
03e2822
BuildRequires: tex(wrapfig.sty)
bef3af3
BuildRequires: tex(capt-of.sty)
bef3af3
BuildRequires: tex(needspace.sty)
bef3af3
BuildRequires: tex(eqparbox.sty)
bef3af3
BuildRequires: tex(amsmath.sty)
bef3af3
BuildRequires: tex(amsthm.sty)
bef3af3
BuildRequires: tex(amssymb.sty)
bef3af3
BuildRequires: tex(amsfonts.sty)
bef3af3
BuildRequires: tex(bm.sty)
bef3af3
BuildRequires: tex(palatino.sty)
bef3af3
BuildRequires: tex(multirow.sty)
bef3af3
BuildRequires: tex(eqparbox.sty)
bef3af3
BuildRequires: tex(atbegshi.sty)
bef3af3
BuildRequires: tex(anyfontsize.sty)
80e09a5
BuildRequires: tex(luatex85.sty)
1a1466a
BuildRequires: tex(fncychap.sty)
93a4ba5
BuildRequires: tex(tabulary.sty)
93a4ba5
BuildRequires: tex(polyglossia.sty)
6fe65c3
BuildRequires: tex(ctablestack.sty)
4944f76
BuildRequires: tex(eu1enc.def)
da1eff5
%endif
6f5543e
7f502fb
%if 0%{?with_python3}
7f502fb
BuildRequires: python3-devel
b45a413
BuildRequires: python3-babel
7f502fb
BuildRequires: python3-setuptools
7f502fb
BuildRequires: python3-docutils
7f502fb
BuildRequires: python3-jinja2
7f502fb
BuildRequires: python3-pygments
da1eff5
BuildRequires: python3-six
da1eff5
BuildRequires: python3-sphinx_rtd_theme
da1eff5
BuildRequires: python3-sphinx-theme-alabaster
da1eff5
BuildRequires: python3-packaging
da1eff5
BuildRequires: python3-imagesize
da1eff5
BuildRequires: python3-requests
da1eff5
%if %{with websupport}
da1eff5
BuildRequires: python3-sphinxcontrib-websupport
da1eff5
%endif
da1eff5
%if %{with tests}
7f502fb
BuildRequires: python3-nose
f73229b
BuildRequires: python3-pytest
f73229b
BuildRequires: python3-pytest-cov
03e2822
BuildRequires: python3-sqlalchemy
1e96511
BuildRequires: python3-mock
Orion Poplawski b6f4a59
BuildRequires: python3-html5lib
03e2822
BuildRequires: python3-whoosh
e24435f
BuildRequires: python3-snowballstemmer
da1eff5
%endif
7f502fb
%endif # with_python3
6e4984e
e24435f
e24435f
%description
e24435f
Sphinx is a tool that makes it easy to create intelligent and
e24435f
beautiful documentation for Python projects (or other documents
e24435f
consisting of multiple reStructuredText sources), written by Georg
e24435f
Brandl. It was originally created to translate the new Python
e24435f
documentation, but has now been cleaned up in the hope that it will be
e24435f
useful to many other projects.
e24435f
e24435f
Sphinx uses reStructuredText as its markup language, and many of its
e24435f
strengths come from the power and straightforwardness of
e24435f
reStructuredText and its parsing and translating suite, the Docutils.
e24435f
e24435f
Although it is still under constant development, the following
e24435f
features are already present, work fine and can be seen "in action" in
e24435f
the Python docs:
e24435f
e24435f
    * Output formats: HTML (including Windows HTML Help) and LaTeX,
e24435f
      for printable PDF versions
e24435f
    * Extensive cross-references: semantic markup and automatic links
e24435f
      for functions, classes, glossary terms and similar pieces of
e24435f
      information
e24435f
    * Hierarchical structure: easy definition of a document tree, with
e24435f
      automatic links to siblings, parents and children
e24435f
    * Automatic indices: general index as well as a module index
e24435f
    * Code handling: automatic highlighting using the Pygments highlighter
e24435f
    * Various extensions are available, e.g. for automatic testing of
e24435f
      snippets and inclusion of appropriately formatted docstrings.
e24435f
e24435f
c7b0a2a
%package -n    python2-sphinx
e24435f
Summary:       Python documentation generator
3a77d8c
Requires:      python-sphinx-locale = %{?epoch}:%{version}-%{release}
bef3af3
Requires:      python2-babel
e5eb957
Requires:      python2-docutils
e5eb957
Requires:      python2-jinja2
e5eb957
Requires:      python2-pygments
bef3af3
Requires:      python2-mock
e24435f
Requires:      python2-snowballstemmer
bef3af3
Requires:      python2-sphinx_rtd_theme
e24435f
Requires:      python2-six
bc5504a
Requires:      python2-sphinx-theme-alabaster
bef3af3
Requires:      python2-imagesize
Orion Poplawski cc11c8f
Requires:      python2-requests
3d9a610
Requires:      python2-packaging
6fe65c3
Requires:      python2-typing
da1eff5
%if %{with websupport}
6fe65c3
Requires:      python2-sphinxcontrib-websupport
da1eff5
%endif
fa7e4f5
Requires: environment(modules)
ad8724f
# Needed to get rid of the alternatives config installed in f24 and f25
ad8724f
# versions of the package
fa7e4f5
Requires(pre): /usr/sbin/alternatives
6b1fa7a
Recommends:    graphviz
6fe65c3
Recommends:    ImageMagick
bef3af3
Obsoletes:     python-sphinx <= 1.2.3
16a3f92
Obsoletes:     python-sphinxcontrib-napoleon < 0.5
3a77d8c
Provides:      python-sphinxcontrib-napoleon = %{?epoch}:%{version}-%{release}
c7b0a2a
Obsoletes:     python2-Sphinx <= 1.3.1-4
3a77d8c
Provides:      python2-Sphinx = %{?epoch}:%{version}-%{release}
3a77d8c
Provides:      python(Sphinx) = %{?epoch}:%{version}-%{release}
e24435f
%{?python_provide:%python_provide python2-sphinx}
3a77d8c
Conflicts:     python3-sphinx < %{?epoch}:%{version}-%{release}
e24435f
c7b0a2a
%description -n python2-sphinx
6e4984e
Sphinx is a tool that makes it easy to create intelligent and
6e4984e
beautiful documentation for Python projects (or other documents
6e4984e
consisting of multiple reStructuredText sources), written by Georg
6e4984e
Brandl. It was originally created to translate the new Python
6e4984e
documentation, but has now been cleaned up in the hope that it will be
6e4984e
useful to many other projects.
6e4984e
6e4984e
Sphinx uses reStructuredText as its markup language, and many of its
6e4984e
strengths come from the power and straightforwardness of
6e4984e
reStructuredText and its parsing and translating suite, the Docutils.
6e4984e
6e4984e
Although it is still under constant development, the following
6e4984e
features are already present, work fine and can be seen "in action" in
6e4984e
the Python docs:
6e4984e
6e4984e
    * Output formats: HTML (including Windows HTML Help) and LaTeX,
6e4984e
      for printable PDF versions
6e4984e
    * Extensive cross-references: semantic markup and automatic links
6e4984e
      for functions, classes, glossary terms and similar pieces of
6e4984e
      information
6e4984e
    * Hierarchical structure: easy definition of a document tree, with
6e4984e
      automatic links to siblings, parents and children
6e4984e
    * Automatic indices: general index as well as a module index
6e4984e
    * Code handling: automatic highlighting using the Pygments highlighter
6e4984e
    * Various extensions are available, e.g. for automatic testing of
6e4984e
      snippets and inclusion of appropriately formatted docstrings.
6e4984e
6e4984e
5901616
%package latex
791e01f
Summary:       LaTeX builder dependencies for %{name}
3a77d8c
Requires:      python(Sphinx) = %{?epoch}:%{version}-%{release}
03e2822
Requires:      texlive-collection-fontsrecommended
03e2822
Requires:      texlive-collection-latex
bef3af3
Requires:      texlive-dvipng
bef3af3
Requires:      texlive-dvisvgm
bef3af3
Requires:      texlive-ucs
03e2822
Requires:      tex(cmap.sty)
03e2822
Requires:      tex(ecrm1000.tfm)
03e2822
Requires:      tex(footnote.sty)
03e2822
Requires:      tex(framed.sty)
03e2822
Requires:      tex(multirow.sty)
03e2822
Requires:      tex(parskip.sty)
03e2822
Requires:      tex(titlesec.sty)
03e2822
Requires:      tex(threeparttable.sty)
ffb1bcc
Requires:      tex(upquote.sty)
03e2822
Requires:      tex(wrapfig.sty)
bef3af3
Requires:      tex(capt-of.sty)
bef3af3
Requires:      tex(needspace.sty)
bef3af3
Requires:      tex(eqparbox.sty)
bef3af3
Requires:      tex(amsmath.sty)
bef3af3
Requires:      tex(amsthm.sty)
bef3af3
Requires:      tex(amssymb.sty)
bef3af3
Requires:      tex(amsfonts.sty)
bef3af3
Requires:      tex(bm.sty)
bef3af3
Requires:      tex(palatino.sty)
bef3af3
Requires:      tex(multirow.sty)
bef3af3
Requires:      tex(eqparbox.sty)
bef3af3
Requires:      tex(atbegshi.sty)
bef3af3
Requires:      tex(anyfontsize.sty)
80e09a5
Requires:      tex(luatex85.sty)
1a1466a
Requires:      tex(fncychap.sty)
93a4ba5
Requires:      tex(tabulary.sty)
93a4ba5
Requires:      tex(polyglossia.sty)
6fe65c3
Requires:      tex(ctablestack.sty)
4944f76
Requires:      tex(eu1enc.def)
a2c5476
Obsoletes:     python3-sphinx-latex < 1.4.4-2
5901616
5901616
%description latex
5901616
Sphinx is a tool that makes it easy to create intelligent and
5901616
beautiful documentation for Python projects (or other documents
5901616
consisting of multiple reStructuredText sources), written by Georg
5901616
Brandl. It was originally created to translate the new Python
5901616
documentation, but has now been cleaned up in the hope that it will be
5901616
useful to many other projects.
5901616
791e01f
This package pulls in the TeX dependencies needed by Sphinx's LaTeX
791e01f
builder.
5901616
5901616
7f502fb
%if 0%{?with_python3}
7f502fb
%package -n python3-sphinx
03e2822
Summary:       Python documentation generator
3a77d8c
Requires:      python-sphinx-locale = %{?epoch}:%{version}-%{release}
6e19bc6
Requires:      python3-babel
6f5543e
Requires:      python3-docutils
6f5543e
Requires:      python3-jinja2
6f5543e
Requires:      python3-pygments
1e96511
Requires:      python3-mock
e24435f
Requires:      python3-snowballstemmer
e24435f
Requires:      python3-sphinx_rtd_theme
e24435f
Requires:      python3-sphinx-theme-alabaster
bef3af3
Requires:      python3-imagesize
Orion Poplawski cc11c8f
Requires:      python3-requests
e24435f
Requires:      python3-six
3d9a610
Requires:      python3-packaging
da1eff5
%if %{with websupport}
da1eff5
Requires:      python3-sphinxcontrib-websupport
da1eff5
%endif
6b1fa7a
Recommends:    graphviz
6fe65c3
Recommends:    ImageMagick
fa7e4f5
Requires: environment(modules)
ad8724f
# Needed to get rid of the alternatives config installed in f24 and f25
ad8724f
# versions of the package
fa7e4f5
Requires(pre): /usr/sbin/alternatives
a451501
Obsoletes:     python3-sphinxcontrib-napoleon < 0.3.0
3a77d8c
Provides:      python3-sphinxcontrib-napoleon = %{?epoch}:%{version}-%{release}
3a77d8c
Provides:      python(Sphinx) = %{?epoch}:%{version}-%{release}
e24435f
%{?python_provide:%python_provide python3-sphinx}
3a77d8c
Conflicts:     python2-Sphinx < %{?epoch}:%{version}-%{release}
7f502fb
7f502fb
%description -n python3-sphinx
7f502fb
Sphinx is a tool that makes it easy to create intelligent and
7f502fb
beautiful documentation for Python projects (or other documents
7f502fb
consisting of multiple reStructuredText sources), written by Georg
7f502fb
Brandl. It was originally created to translate the new Python
7f502fb
documentation, but has now been cleaned up in the hope that it will be
7f502fb
useful to many other projects.
7f502fb
7f502fb
Sphinx uses reStructuredText as its markup language, and many of its
7f502fb
strengths come from the power and straightforwardness of
7f502fb
reStructuredText and its parsing and translating suite, the Docutils.
7f502fb
7f502fb
Although it is still under constant development, the following
7f502fb
features are already present, work fine and can be seen "in action" in
7f502fb
the Python docs:
7f502fb
7f502fb
    * Output formats: HTML (including Windows HTML Help) and LaTeX,
7f502fb
      for printable PDF versions
7f502fb
    * Extensive cross-references: semantic markup and automatic links
7f502fb
      for functions, classes, glossary terms and similar pieces of
7f502fb
      information
7f502fb
    * Hierarchical structure: easy definition of a document tree, with
7f502fb
      automatic links to siblings, parents and children
7f502fb
    * Automatic indices: general index as well as a module index
7f502fb
    * Code handling: automatic highlighting using the Pygments highlighter
7f502fb
    * Various extensions are available, e.g. for automatic testing of
7f502fb
      snippets and inclusion of appropriately formatted docstrings.
7f502fb
%endif # with_python3
7f502fb
7f502fb
e361c26
%package doc
bef3af3
Summary:       Documentation for %{name}
bef3af3
License:       BSD
3a77d8c
Requires:      python(Sphinx) = %{?epoch}:%{version}-%{release}
6e4984e
e361c26
%description doc
6e4984e
Sphinx is a tool that makes it easy to create intelligent and
6e4984e
beautiful documentation for Python projects (or other documents
6e4984e
consisting of multiple reStructuredText sources), written by Georg
6e4984e
Brandl. It was originally created to translate the new Python
6e4984e
documentation, but has now been cleaned up in the hope that it will be
6e4984e
useful to many other projects.
6e4984e
e361c26
This package contains documentation in reST and HTML formats.
6e4984e
6e4984e
bef3af3
%package locale
bef3af3
Summary:       Locale files for %{name}
bef3af3
License:       BSD
bef3af3
bef3af3
%description locale
bef3af3
Sphinx is a tool that makes it easy to create intelligent and
bef3af3
beautiful documentation for Python projects (or other documents
bef3af3
consisting of multiple reStructuredText sources), written by Georg
bef3af3
Brandl. It was originally created to translate the new Python
bef3af3
documentation, but has now been cleaned up in the hope that it will be
bef3af3
useful to many other projects.
bef3af3
bef3af3
This package contains locale files for Sphinx
bef3af3
6e4984e
%prep
e24435f
%autosetup -n %{upstream_name}-%{version}%{?prerel} -p1
e24435f
fa7e4f5
cp %{SOURCE5} .
fa7e4f5
a967b58
# fix line encoding of bundled jquery.js
a967b58
dos2unix -k ./sphinx/themes/basic/static/jquery.js
a967b58
da1eff5
%if %{without imagemagick_tests}
baac7ba
rm tests/test_ext_imgconverter.py
baac7ba
%endif
baac7ba
da1eff5
%if %{without websupport}
da1eff5
rm tests/test_websupport.py tests/test_api_translator.py
da1eff5
%endif
da1eff5
7f502fb
%if 0%{?with_python3}
7f502fb
rm -rf %{py3dir}
7f502fb
cp -a . %{py3dir}
7f502fb
%endif # with_python3
7f502fb
6e4984e
%build
e24435f
%py2_build
7f502fb
%if 0%{?with_python3}
e24435f
%py3_build
7f502fb
%endif # with_python3
7f502fb
da1eff5
export PYTHONPATH=$PWD
e361c26
pushd doc
da1eff5
%if 0%{?with_python3}
da1eff5
export SPHINXBUILD="%{__python3} ../sphinx/cmd/build.py"
da1eff5
%else
da1eff5
export SPHINXBUILD="%{__python2} ../sphinx/cmd/build.py"
da1eff5
%endif
da1eff5
da1eff5
make html SPHINXBUILD="$SPHINXBUILD"
da1eff5
make man SPHINXBUILD="$SPHINXBUILD"
e361c26
rm -rf _build/html/.buildinfo
6e4984e
mv _build/html ..
e361c26
popd
6e4984e
6e4984e
6e4984e
%install
e24435f
%if 0%{?with_python3}
e24435f
%py3_install
ad8724f
install -d %{buildroot}%{_libexecdir}/python3-sphinx
6e19bc6
for i in sphinx-{apidoc,autogen,build,quickstart}; do
6e19bc6
    mv %{buildroot}%{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python3_version}
6e19bc6
    ln -s $i-%{python3_version} %{buildroot}%{_bindir}/$i-3
ad8724f
    ln -s %{_bindir}/$i-3 %{buildroot}%{_libexecdir}/python3-sphinx/$i
6e19bc6
done
7f502fb
%endif # with_python3
e361c26
bc5504a
%py2_install
ad8724f
install -d %{buildroot}%{_libexecdir}/python2-sphinx
bc5504a
for i in sphinx-{apidoc,autogen,build,quickstart}; do
bc5504a
    mv %{buildroot}%{_bindir}/$i %{buildroot}%{_bindir}/$i-%{python2_version}
bc5504a
    ln -s $i-%{python2_version} %{buildroot}%{_bindir}/$i-2
ad8724f
    ln -s %{_bindir}/$i-2 %{buildroot}%{_libexecdir}/python2-sphinx/$i
bc5504a
done
e361c26
0f518b7
pushd doc
e361c26
# Deliver man pages
0f518b7
install -d %{buildroot}%{_mandir}/man1
a2c5476
for f in _build/man/sphinx-*.1;
7f502fb
do
ad8724f
    ### TODO: these are all the same.  Do we really need to ship them three
ad8724f
    ### times or is it fine to just ship them as e.g. sphinx-build.1
ad8724f
    cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f)
a2c5476
    cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f | sed -e "s|.1$|-%{python2_version}.1|")
a2c5476
    cp -p $f %{buildroot}%{_mandir}/man1/$(basename $f | sed -e "s|.1$|-%{python3_version}.1|")
7f502fb
done
5901616
5901616
# Remove language files, they're identical to the ones from the
5901616
# Python 2 build that will be moved to /usr/share below
5901616
find %{buildroot}%{python3_sitelib}/sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -exec rm -rf '{}' \;
0f518b7
popd
6e4984e
79d38f3
# Clean up non-python files
79d38f3
rm -f %{buildroot}%{python2_sitelib}/sphinx/locale/.DS_Store
79d38f3
rm -rf %{buildroot}%{python2_sitelib}/sphinx/locale/.tx
79d38f3
rm -f %{buildroot}%{python3_sitelib}/sphinx/locale/.DS_Store
79d38f3
rm -rf %{buildroot}%{python3_sitelib}/sphinx/locale/.tx
79d38f3
e361c26
# Deliver rst files
f0ffbd5
rm -rf doc/_build
f0ffbd5
sed -i 's|python ../sphinx-build.py|/usr/bin/sphinx-build|' doc/Makefile
e361c26
mv doc reST
e361c26
ff20a4d
# Move language files to /usr/share;
ff20a4d
# patch to support this incorporated in 0.6.6
3d9a610
pushd %{buildroot}%{python2_sitelib}
e361c26
5c3682d
for lang in `find sphinx/locale -maxdepth 1 -mindepth 1 -type d -not -path '*/\.*' -printf "%f "`;
e361c26
do
e361c26
  install -d %{buildroot}%{_datadir}/sphinx/locale/$lang
e361c26
  install -d %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES
e361c26
  mv sphinx/locale/$lang/LC_MESSAGES/sphinx.js \
e361c26
     %{buildroot}%{_datadir}/sphinx/locale/$lang/
e361c26
  mv sphinx/locale/$lang/LC_MESSAGES/sphinx.mo \
e361c26
    %{buildroot}%{_datadir}/locale/$lang/LC_MESSAGES/
e361c26
  rm -rf sphinx/locale/$lang
e361c26
done
e361c26
popd
ad8724f
ad8724f
install -d %{buildroot}%{_modulesdir}/python-sphinx
ad8724f
install -m 0644 %{SOURCE1} %{buildroot}%{_modulesdir}/python-sphinx/
ad8724f
sed -i 's|@python2_sphinx_dir@|%{_libexecdir}/python2-sphinx|' %{buildroot}%{_modulesdir}/python-sphinx/python2-sphinx
ad8724f
install -m 0644 %{SOURCE2} %{buildroot}%{_modulesdir}/python-sphinx/
ad8724f
sed -i 's|@python3_sphinx_dir@|%{_libexecdir}/python3-sphinx|' %{buildroot}%{_modulesdir}/python-sphinx/python3-sphinx
ad8724f
install -d %{buildroot}%{_sysconfdir}/profile.d
ad8724f
install -m 0644 %{SOURCE3} %{buildroot}%{_sysconfdir}/profile.d/zz-modules-python-sphinx.sh
ad8724f
install -m 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
ad8724f
ad8724f
%if %{py3_default}
ea98c3d
sed 's/@PYTHONVER@/3/' < %{SOURCE6} > %{buildroot}%{_modulesdir}/python-sphinx/.version
ad8724f
ad8724f
# These symlinks establish a default for when a package is first installed (and
ad8724f
# therefore, environment modules is not loaded).  The user can immediately
ad8724f
# switch them by using module swap python-sphinx/python2-sphinx
ad8724f
for filename in sphinx-{build,apidoc,autogen,quickstart} ; do
fa7e4f5
  ln -s %{_libexecdir}/python3-sphinx/$filename %{buildroot}%{_bindir}/$filename
ad8724f
done
ad8724f
ad8724f
%else
ea98c3d
sed 's/@PYTHONVER@/2/' < %{SOURCE6} > %{buildroot}%{_modulesdir}/python-sphinx/.version
ad8724f
ad8724f
# These symlinks establish a default for when a package is first installed (and
ad8724f
# therefore, environment modules is not loaded).  The user can immediately
ad8724f
# switch them by using module swap python-sphinx/python3-sphinx
ad8724f
for filename in sphinx-{build,apidoc,autogen,quickstart} ; do
fa7e4f5
  ln -s %{_libexecdir}/python2-sphinx/$filename %{buildroot}%{_bindir}/$filename
ad8724f
done
ad8724f
ad8724f
%endif
ad8724f
e361c26
%find_lang sphinx
e361c26
e361c26
# Language files; Since these are javascript, it's not immediately obvious to
e361c26
# find_lang that they need to be marked with a language.
e361c26
(cd %{buildroot} && find . -name 'sphinx.js') | sed -e 's|^.||' | sed -e \
e361c26
  's:\(.*/locale/\)\([^/_]\+\)\(.*\.js$\):%lang(\2) \1\2\3:' \
e361c26
  >> sphinx.lang
7382e0c
6e4984e
da1eff5
%if %{with tests}
e361c26
%check
da1eff5
export PYTHONPATH=$PWD
da1eff5
2f352b4
# Currently, all linkcheck tests hit external websites.  Since network access
2f352b4
# is disabled in koji, we have to disable these.
2f352b4
rm tests/test_build_linkcheck.py
da1eff5
3d9a610
# Igoring test_api_translator for now as it fails on Fedora.
3d9a610
# The issue has been reported upstream: https://github.com/sphinx-doc/sphinx/issues/4710
de4211c
LANG=C.UTF-8 %{__python2} -m pytest -v --ignore=tests/test_api_translator.py
7f502fb
%if 0%{?with_python3}
7f502fb
pushd %{py3dir}
2f352b4
# Currently, all linkcheck tests hit external websites.  Since network access
2f352b4
# is disabled in koji, we have to disable these.
2f352b4
rm tests/test_build_linkcheck.py
de4211c
PYTHON=python3 make test
7f502fb
popd
7f502fb
%endif # with_python3
da1eff5
%endif # with tests
e361c26
9c436a4
6e19bc6
%files latex
6e19bc6
%license LICENSE
6e19bc6
bef3af3
%files locale -f sphinx.lang
bef3af3
%license LICENSE
bef3af3
%dir %{_datadir}/sphinx/
bef3af3
%dir %{_datadir}/sphinx/locale
bef3af3
%dir %{_datadir}/sphinx/locale/*
bef3af3
bef3af3
%files -n python2-sphinx
ffb1bcc
%license LICENSE
fa7e4f5
%doc AUTHORS CHANGES EXAMPLES README.rst README.fedora
6e19bc6
%{_bindir}/sphinx-*-2*
baaecbb
%{_bindir}/sphinx-build
baaecbb
%{_bindir}/sphinx-apidoc
baaecbb
%{_bindir}/sphinx-autogen
baaecbb
%{_bindir}/sphinx-quickstart
e24435f
%{python2_sitelib}/sphinx/
e24435f
%{python2_sitelib}/Sphinx-%{version}-py%{python2_version}.egg-info/
bc5504a
%exclude %{_mandir}/man1/sphinx-*-%{python3_version}.1*
bc5504a
%{_mandir}/man1/*
ad8724f
%{_libexecdir}/python2-sphinx/
ad8724f
%{_modulesdir}/python-sphinx/python2-sphinx
ad8724f
%if !%{py3_default}
ea98c3d
%{_modulesdir}/python-sphinx/.version
ad8724f
%endif
79d38f3
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.sh
79d38f3
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
bc5504a
6e19bc6
%if 0%{?with_python3}
5901616
bef3af3
%files -n python3-sphinx
ffb1bcc
%license LICENSE
fa7e4f5
%doc AUTHORS CHANGES EXAMPLES README.rst README.fedora
6e19bc6
%{_bindir}/sphinx-*-3*
e24435f
%{python3_sitelib}/sphinx/
e24435f
%{python3_sitelib}/Sphinx-%{version}-py%{python3_version}.egg-info/
bc5504a
%{_mandir}/man1/sphinx-*-%{python3_version}.1*
ad8724f
%{_libexecdir}/python3-sphinx/
ad8724f
%{_modulesdir}/python-sphinx/python3-sphinx
ad8724f
%if %{py3_default}
ea98c3d
%{_modulesdir}/python-sphinx/.version
ad8724f
%endif
79d38f3
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.sh
79d38f3
%config(noreplace) %{_sysconfdir}/profile.d/zz-modules-python-sphinx.csh
6b1fa7a
7f502fb
%endif # with_python3
7f502fb
6e4984e
%files doc
e361c26
%doc html reST
6e4984e
6e4984e
6e4984e
%changelog
de4211c
* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:1.7.6-2
de4211c
- Drop explicit locale setting for python3, use C.UTF-8 for python2
de4211c
  See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
de4211c
Marcel Plch 644e00c
* Mon Jul 23 2018 Marcel Plch <mplch@redhat.com> - 1:1.7.6-1
Marcel Plch 644e00c
- Update to 1.7.6
Marcel Plch 644e00c
9622ed9
* Fri Jul 13 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-6
9622ed9
- Remove unused dependencies on xapian and simplejson
9622ed9
10b412f
* Thu Jul  5 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1:1.7.5-5
10b412f
- Add patch to fix build if alabaster theme is installed
10b412f
- Add patch for #1589868
10b412f
88b03ea
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-4
88b03ea
- Enable tests
88b03ea
334b5cd
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-3
334b5cd
- Enable websupport
334b5cd
80327eb
* Mon Jul 02 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.5-2
80327eb
- Rebuilt for Python 3.7
80327eb
b037848
* Tue Jun 19 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.5-1
b037848
- Update to 1.7.5 (bz#1570451)
b037848
46248b4
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-5
46248b4
- Rebuilt for Python 3.7
46248b4
6947eff
* Fri Jun 15 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-4
6947eff
- Bootstrap for Python 3.7
6947eff
74c8514
* Thu Jun 14 2018 Miro Hrončok <mhroncok@redhat.com> - 1:1.7.2-3
74c8514
- Bootstrap for Python 3.7
74c8514
baac7ba
* Wed Apr 11 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-2
baac7ba
- Conditionalize the ImageMagick build dependency & tests
baac7ba
61f2503
* Wed Apr 11 2018 Petr Viktorin <pviktori@redhat.com> - 1:1.7.2-1
61f2503
- Update to 1.7.2 (bz#1558968)
61f2503
3d9a610
* Tue Mar 13 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.7.1-1
3d9a610
- Update to 1.7.1 (bz#1534802)
3d9a610
8e40c34
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:1.6.6-2
8e40c34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
8e40c34
ad1161d
* Tue Jan 09 2018 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.6-1
ad1161d
- Update to 1.6.6 (bz#1532435)
ad1161d
e5eb957
* Mon Dec 11 2017 Iryna Shcherbina <ishcherb@redhat.com> - 1:1.6.5-2
e5eb957
- Fix ambiguous Python 2 dependency declarations
e5eb957
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
e5eb957
fa7fa5e
* Mon Nov 06 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.5-1
fa7fa5e
- Update to 1.6.5 (bz#1508237)
fa7fa5e
e75c1dc
* Mon Oct 09 2017 Troy Dawson <tdawson@redhat.com> - 1:1.6.4-2
e75c1dc
- Cleanup spec file conditionals
e75c1dc
bf86b0e
* Tue Sep 26 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.4-1
bf86b0e
- Update to 1.6.4 (bz#1426928)
bf86b0e
3a77d8c
* Wed Sep 20 2017 Charalampos Stratakis <cstratak@redhat.com> - 1:1.6.3-3
3a77d8c
- Provide the epoch tag in order to keep the upgrade path clean.
3a77d8c
ce8ab30
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.3-2
ce8ab30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ce8ab30
6fe65c3
* Thu Jul 20 2017 Charalampos Stratakis <cstratak@redhat.com> - - 1.6.3-1
6fe65c3
- Update to 1.6.3 (bz#1426928)
6fe65c3
ffb77c7
* Sat Feb 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-2
ffb77c7
- Cleanup source files that should not be installed
ffb77c7
- Fix the __init__.pyc that was byte compiled for the wrong python
ffb77c7
5bf1981
* Fri Feb 17 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.2-1
5bf1981
- Update to 1.5.2
5bf1981
- Remove a few latex dependencies that are no longer needed
b5d98f0
- Remove xapian patch; now in upstream tarball
5bf1981
9ea173b
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.1-6
9ea173b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9ea173b
ea98c3d
* Tue Jan 31 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-5
ea98c3d
- environment-modules is less featureful than Lmod.
ea98c3d
  - Select the default version in a different way since environment-modules
ea98c3d
    didn't understand the symlink
ea98c3d
  - Ignore error messsages in the shell startup script as environment-modules
ea98c3d
    prints an error message if a module has already been loaded.  The command
ea98c3d
    is doing the right thing for this case except that it's also printing an
ea98c3d
    error message.
ea98c3d
74b3a56
* Thu Jan 26 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-4
74b3a56
- Add recipe for setting the system default to the README.fedora
74b3a56
baaecbb
* Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-3
baaecbb
- Move the unversioned executables into the python2 package as they are now
baaecbb
  using python2 to run
baaecbb
fa7e4f5
* Wed Jan 18 2017 Toshio Kuratomi <toshio@fedoraproject.org> - - 1.5.1-2
fa7e4f5
- Add README.fedora so people know how to use environment-modules to switch.
fa7e4f5
- Change the default to be the python2 version to match with the guidelines
fa7e4f5
- Switch to generic environment(modules) instead of Lmod specifically.
fa7e4f5
Orion Poplawski c729227
* Fri Dec 30 2016 Orion Poplawski <orion@cora.nwra.com> - 1.5.1-1
Orion Poplawski c729227
- Update to 1.5.1
Orion Poplawski c729227
ad8724f
* Fri Dec 30 2016 Toshio Kuratomi <toshio@fedoraproject.org> - 1.4.9-2
ad8724f
- Remove alternatives.  Alternatives should only be used for a very small
ad8724f
  number of packages (system daemons which also have a compatible command line
ad8724f
  interface).
ad8724f
- Use environment-modules to switch between the python2 and python3 packages
ad8724f
  *but* be aware that no amount of manual switching can get this 100% right.
ad8724f
  The code has to be fixed upstream, not in packaging.
ad8724f
b45a413
* Tue Dec 13 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.4.9-1
b45a413
- Update to 1.4.9
b45a413
- Enable python3 tests
b45a413
3b323a1
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.4.8-3
3b323a1
- Rebuild for Python 3.6
3b323a1
- Disable python3 tests for now
3b323a1
80e09a5
* Thu Oct 6 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.8-2
80e09a5
- Added tex(luatex85.sty) dependency to support TexLive 2016
80e09a5
82066ed
* Thu Oct 6 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.8-1
82066ed
- Update to 1.4.8
82066ed
- Alternatives fails for scripts sometimes (bz#1382405)
82066ed
9c436a4
* Sun Sep 4 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-2
9c436a4
- Alternatives fails for man pages due to existing files
9c436a4
a2c5476
* Fri Sep 2 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.6-1
a2c5476
- Update to 1.4.6 (bz#1370810)
a2c5476
- Fix unversioned Obsoletes
a2c5476
- Add alternatives slaves for man pages
a2c5476
6b1fa7a
* Fri Aug 12 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.5-1
6b1fa7a
- Update to 1.4.5 (bz#1356336)
6b1fa7a
- Remove Recommends for latex, locale, and doc subpackages (bz#1366624)
6b1fa7a
- Remove Requires from locale subpackage (bz#1366624)
6b1fa7a
- Set executable scripts via alternatives  (bz#1321413)
6b1fa7a
- Change graphviz Requires to Recommends (bz#1366706)
6b1fa7a
0ce41f3
* Sun Jul 03 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.4-2
0ce41f3
- doc and locale no longer specifically require python2-sphinx
0ce41f3
- Colapsed python3-sphinx-latex into python-latex
0ce41f3
bef3af3
* Sun Jun 12 2016 Avram Lubkin <aviso@fedoraproject.org> - 1.4.4-1
bef3af3
- Updated to 1.4.4
bef3af3
- Added python-sphinx-locale for common locale files
bef3af3
f9d75a3
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.1-5
f9d75a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f9d75a3
a451501
* Fri Nov 27 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-4
a451501
- Obsolete napoleon extension, it is now packaged with sphinx (#1286275)
c7b0a2a
- Rename python2-Sphinx to python2-sphinx
c7b0a2a
- Add conflicts to disallow parallel installation of different versions,
c7b0a2a
  which causes file conflicts because of the shared documentation files.
a451501
bc5504a
* Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-3
bc5504a
- Restore using python2 scripts by default (#1285535)
bc5504a
73971d1
* Wed Nov 25 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.3.1-2
73971d1
- Fix requirements of python2- subpackage
6e19bc6
- Provide sphinx-*-{3.5,3} symlinks for each script
73971d1
e24435f
* Tue Nov 24 2015 Julien Enselme <jujens@jujens.eu> - 1.3.1-1
1e96511
- Update to 1.3.1 (#1136284)
e24435f
- Update to new guidelines
e24435f
- Make the default executable use python3
e24435f
Robert Kuska 09de9d1
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 1.2.3-5
Robert Kuska 09de9d1
- Rebuilt for Python3.5 rebuild
Robert Kuska 09de9d1
- add patch to reflect that Python3.5 dropped HTMLParserError
Robert Kuska 09de9d1
a967b58
* Mon Jul 20 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-4
a967b58
- Fix line encoding of bundled jquery.js
a967b58
791e01f
* Mon Jul 20 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-3
791e01f
- Re-introduce LaTeX subpackage, solely for pulling in LaTeX dependencies
791e01f
731cbeb
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-2
731cbeb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
731cbeb
ffb1bcc
* Thu Feb  5 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.3-1
ffb1bcc
- Update to 1.2.3
ffb1bcc
- Mark license file with %%license instead of %%doc
ffb1bcc
03e2822
* Thu Feb  5 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-10
03e2822
- Complete LaTeX builder deps (fixes bz#882166)
03e2822
- Make test output verbose
03e2822
- Add BRs needed to enable all tests
03e2822
d550a9e
* Tue Feb  3 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-9
d550a9e
- python3-sphinx package also Provides: python3-sphinx-latex
d550a9e
466a673
* Tue Feb  3 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-8
466a673
- If a separate LaTeX subpackage is not generated, the main package should have
466a673
  a virtual Provides: for it (bz#1187989)
466a673
82623ca
* Tue Jan 27 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-7
82623ca
- Disable separate LaTeX builder for now (bz#1185574)
82623ca
5901616
* Thu Jan 22 2015 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.2.2-6
5901616
- Split off LaTeX builder into its own subpackages, to remove TeXLive
5901616
  dependencies from the main package.
5901616
  Thanks to Robert Kuska <rkuska@redhat.com> for feedback
5901616
- Clean up python3-sphinx's locale files, they ended up in the python2 package.
5901616
  Share the locale files in /usr/share instead
5901616
d1ad3f6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.2-5
d1ad3f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d1ad3f6
b89e221
* Tue May 27 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.2-4
b89e221
- Don't own the -3 scripts by python 2 package
b89e221
0558332
* Thu May 22 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.2-3
b89e221
- Add sphinx-*-3 links to scripts
0558332
Resolves: #1098109
0558332
Orion Poplawski 8fa1fa5
* Fri May  9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-2
Orion Poplawski 8fa1fa5
- Rebuild for Python 3.4
Orion Poplawski 8fa1fa5
Orion Poplawski 3fae921
* Fri May  9 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.2-1
Orion Poplawski 3fae921
- Update to 1.2.2
Orion Poplawski 3fae921
5c3682d
* Thu Feb 13 2014 Michel Salim <salimma@fedoraproject.org> - 1.2.1-1
5c3682d
- Update to 1.2.1
5c3682d
0391881
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-8
0391881
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0391881
90515d9
* Sat Mar  9 2013 Michel Salim <salimma@fedoraproject.org> - 1.1.3-7
90515d9
- Fix inheritance_diagram quoting bug, exposed by the newer, stricter dot
90515d9
9837223
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-6
9837223
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
9837223
949853d
* Tue Aug 21 2012 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.3-5
949853d
- Fix for use of sphinx's manpage writer with docutils-0.10
949853d
3b05e7e
* Mon Aug  6 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.3-4
3b05e7e
- Rebuild for Python 3.3
3b05e7e
b4171b5
* Fri Aug  3 2012 David Malcolm <dmalcolm@redhat.com> - 1.1.3-3
b4171b5
- remove rhel logic from with_python3 conditional
b4171b5
6c82a15
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-2
6c82a15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6c82a15
a395fb6
* Thu Apr  5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.3-1
a395fb6
- Update to 1.1.3
a395fb6
6f5543e
* Sun Feb  5 2012 Michel Salim <salimma@fedoraproject.org> - 1.1.2-5
6f5543e
- Move python3 runtime dependencies to the right subpackage
6f5543e
- Properly exclude python3 binaries
6f5543e
bb7f33e
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-4
bb7f33e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
bb7f33e
4094972
* Sat Dec 17 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.2-3
4094972
- BR on texlive-latex for LaTeX tests
4094972
7f502fb
* Thu Dec  8 2011 Michel Salim <salimma@fedoraproject.org> - 1.1.2-2
7f502fb
- Enable python3 subpackage
7f502fb
f55dc61
* Mon Nov 28 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.1.2-1
f55dc61
- Update to upstream 1.1.2
f55dc61
b1c0c82
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.7-2
b1c0c82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b1c0c82
e0af5eb
* Tue Jan 18 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.7-1
e0af5eb
- Update to upstream 1.0.7
e0af5eb
f9ba5a7
* Mon Jan 17 2011 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0.6-1
f9ba5a7
- Update to upstream 1.0.6
f9ba5a7
f0ffbd5
* Mon Nov  1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-3
f0ffbd5
- Fix -doc Makefile to allow regeneration of .rst files
f0ffbd5
0f518b7
* Mon Nov  1 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-2
0f518b7
- Actually include *.js locale files
0f518b7
- Generate manpages
0f518b7
77fdd8d
* Fri Sep 17 2010 Michel Salim <salimma@fedoraproject.org> - 1.0.4-1
77fdd8d
- Update to 1.0.4
77fdd8d
- Remove BuildRoot and %%clean declarations
77fdd8d
12a32eb
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 1.0-0.1.b2.1
12a32eb
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
12a32eb
7dd2f9e
* Mon May 31 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 1.0-0.2.b2
7dd2f9e
- Update to 1.0 beta 2
7dd2f9e
- Fixes problem building html documentation in non-English locales
7dd2f9e
140b900
* Wed May 26 2010 Michel Salim <salimma@fedoraproject.org> - 1.0-0.1.b1
140b900
- Update to 1.0 beta 1
140b900
140b900
* Tue May 25 2010 Michel Salim <salimma@fedoraproject.org> - 0.6.6-1
140b900
- Update to 0.6.6
140b900
e361c26
* Fri May 21 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.5-2
e361c26
- Few minor tweaks to Gareth's spec file update
e361c26
e361c26
* Mon May 10 2010 Gareth Armstrong <gareth.armstrong@hp.com> - 0.6.5-1.hp
e361c26
- Update to 0.6.5
e361c26
- Initial import of python-sphinx from Fedora Rawhide for use in HP CMS
e361c26
- Enforce that Sphinx requires Python 2.4 or later via an explicit BR
e361c26
- Minor tweaks to spec file
e361c26
- Move language files to %%{_datadir}, idea borrowed from Debian's sphinx
e361c26
  package
e361c26
- Deliver man pages for sphinx-build & sphinx-quickstart
e361c26
- Deliver rst documentation files to reST directory in doc sub-package
e361c26
- Add %%check section for Python2 and add BR on python-nose
e361c26
eb8d904
* Wed Jan 13 2010 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.4-1
eb8d904
- Update to 0.6.4
eb8d904
- Fixes a problem using autodoc with pylons projects.
eb8d904
80ae6c2
* Fri Sep  4 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.3-1
80ae6c2
- Update to 0.6.3
80ae6c2
1945206
* Mon Aug 17 2009 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.2-1
1945206
- Update to 0.6.2 -- upstream bugfix requested inside bz#512438
1945206
e2484de
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.1-3
e2484de
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e2484de
3107038
* Fri Jun 05 2009 Luke Macken <lmacken@redhat.com> - 0.6.1-2
3107038
- Add a patch to use our own setuptools package
3107038
746537f
* Fri Apr 17 2009 Michel Salim <salimma@fedoraproject.org> - 0.6.1-1
746537f
- Update to 0.6.1
746537f
0852abb
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
0852abb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0852abb
807d85b
* Fri Jan  2 2009 Michel Salim <salimma@fedoraproject.org> - 0.5.1-1
807d85b
- Update to 0.5.1
807d85b
29e36a1
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.5-2
29e36a1
- Rebuild for Python 2.6
29e36a1
7382e0c
* Mon Nov 24 2008 Michel Salim <salimma@fedoraproject.org> - 0.5-1
7382e0c
- Update to 0.5
7382e0c
35a7eb1
* Fri Oct 10 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.3-1
35a7eb1
- Update to 0.4.3
35a7eb1
bf53c8f
* Wed Aug 27 2008 Toshio Kuratomi <toshio@fedoraproject.org> - 0.4.2-1.1
bf53c8f
- Fix for EL-5 build.
bf53c8f
39a4bdc
* Mon Aug 25 2008 Michel Salim <salimma@fedoraproject.org> - 0.4.2-1
39a4bdc
- Update to 0.4.2
39a4bdc
6e4984e
* Mon May 26 2008 Michel Salim <salimma@fedoraproject.org> - 0.3-1
6e4984e
- Update to 0.3
6e4984e
6e4984e
* Fri May  2 2008 Michel Salim <salimma@fedoraproject.org> - 0.1.61950-3
6e4984e
- Split documentation into subpackage
6e4984e
- Exclude C files (not built by default anyway)
6e4984e
6e4984e
* Wed Apr 16 2008 José Matos <jamatos@fc.up.pt> - 0.1.61950-2
6e4984e
- Build html documentation, include it and include the rst
6e4984e
  documentation.
6e4984e
6e4984e
* Thu Mar 27 2008 Michel Salim <michel.sylvan@gmail.com> 0.1.61950-1
6e4984e
- Initial package