forked from pool/python-Sphinx
Accepting request 611547 from home:mimi_vx:branches:devel:languages:python
- update to 1.7.4 - ver long list of changes - please check www.sphinx-doc.org for details - update to 1.7.4 - very long list of changes - please see http://www.sphinx-doc.org/en/master/changes.html#release-1-7-4-released-apr-25-2018 OBS-URL: https://build.opensuse.org/request/show/611547 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Sphinx?expand=0&rev=106
This commit is contained in:
@@ -16,32 +16,29 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%if 0%{?suse_version} != 1315
|
||||
%bcond_without latex
|
||||
%else
|
||||
%bcond_with latex
|
||||
%endif
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-Sphinx-doc
|
||||
Version: 1.6.5
|
||||
Version: 1.7.4
|
||||
Release: 0
|
||||
Url: http://sphinx-doc.org
|
||||
Summary: Documentation for python-Sphinx
|
||||
License: BSD-2-Clause
|
||||
Group: Documentation/Other
|
||||
URL: http://sphinx-doc.org
|
||||
Source: https://files.pythonhosted.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
|
||||
Patch1: disable-test.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: python3-Sphinx
|
||||
Recommends: %{name}-html = %{version}
|
||||
BuildArch: noarch
|
||||
%if %{with latex}
|
||||
BuildRequires: python3-Sphinx-latex
|
||||
%endif
|
||||
BuildRequires: python-rpm-macros
|
||||
Recommends: %{name}-html = %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@@ -106,8 +103,8 @@ Sphinx executables.
|
||||
|
||||
mkdir build.doc
|
||||
|
||||
%__python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
%__python3 setup.py build_sphinx -b man
|
||||
python3 setup.py build_sphinx && rm build/sphinx/html/.buildinfo
|
||||
python3 setup.py build_sphinx -b man
|
||||
|
||||
mv build/sphinx/{html,man} build.doc/
|
||||
|
||||
@@ -128,29 +125,29 @@ mv build.doc/man/sphinx-quickstart.1 %{buildroot}%{_mandir}/man1/sphinx-quicksta
|
||||
%python_clone %{buildroot}%{_mandir}/man1/sphinx-quickstart.1
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS LICENSE EXAMPLES
|
||||
%license LICENSE
|
||||
%doc AUTHORS EXAMPLES
|
||||
|
||||
%files %{python_files man}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS LICENSE
|
||||
%{_mandir}/man1/sphinx-all-%{python_bin_suffix}.1%ext_man
|
||||
%{_mandir}/man1/sphinx-apidoc-%{python_bin_suffix}.1%ext_man
|
||||
%{_mandir}/man1/sphinx-build-%{python_bin_suffix}.1%ext_man
|
||||
%{_mandir}/man1/sphinx-quickstart-%{python_bin_suffix}.1%ext_man
|
||||
%license LICENSE
|
||||
%doc AUTHORS
|
||||
%{_mandir}/man1/sphinx-all-%{python_bin_suffix}.1%{?ext_man}
|
||||
%{_mandir}/man1/sphinx-apidoc-%{python_bin_suffix}.1%{?ext_man}
|
||||
%{_mandir}/man1/sphinx-build-%{python_bin_suffix}.1%{?ext_man}
|
||||
%{_mandir}/man1/sphinx-quickstart-%{python_bin_suffix}.1%{?ext_man}
|
||||
|
||||
%files -n %{name}-html
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS LICENSE
|
||||
%license LICENSE
|
||||
%doc AUTHORS
|
||||
%dir %{_docdir}/python-Sphinx/
|
||||
%{_docdir}/python-Sphinx/html/
|
||||
|
||||
%files -n %{name}-man-common
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS LICENSE
|
||||
%{_mandir}/man1/sphinx-all.1%ext_man
|
||||
%{_mandir}/man1/sphinx-apidoc.1%ext_man
|
||||
%{_mandir}/man1/sphinx-build.1%ext_man
|
||||
%{_mandir}/man1/sphinx-quickstart.1%ext_man
|
||||
%license LICENSE
|
||||
%doc AUTHORS
|
||||
%{_mandir}/man1/sphinx-all.1%{?ext_man}
|
||||
%{_mandir}/man1/sphinx-apidoc.1%{?ext_man}
|
||||
%{_mandir}/man1/sphinx-build.1%{?ext_man}
|
||||
%{_mandir}/man1/sphinx-quickstart.1%{?ext_man}
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user