3 %bcond_without python2 # CPython 2.x module
4 %bcond_without python3 # CPython 3.x module
6 Summary: Enhanced Sphinx theme (based on Python 3 docs)
7 Summary(pl.UTF-8): Rozszerzony motyw dla Sphinksa (oparty na dokumentacji Pythona 3)
8 Name: python-sphinx_py3doc_enhanced_theme
12 Group: Libraries/Python
13 #Source0Download: https://pypi.org/simple/sphinx_py3doc_enhanced_theme/
14 Source0: https://files.pythonhosted.org/packages/source/s/sphinx_py3doc_enhanced_theme/sphinx-py3doc-enhanced-theme-%{version}.tar.gz
15 # Source0-md5: 38af7b770835cca10a6034abdcc58989
16 URL: https://github.com/ionelmc/sphinx-py3doc-enhanced-theme
18 BuildRequires: python-modules >= 1:2.6
19 BuildRequires: python-setuptools
22 BuildRequires: python3-modules >= 1:3.3
23 BuildRequires: python3-setuptools
25 BuildRequires: rpm-pythonprov
26 BuildRequires: rpmbuild(macros) >= 1.714
27 Requires: python-modules >= 1:2.6
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32 A theme based on the theme of https://docs.python.org/3/ with some
33 responsive enhancements.
35 %description -l pl.UTF-8
36 Motyw oparty na motywie https://docs.python.org/3/ z pewnymi
37 reagujÄ…cymi rozszerzeniami.
39 %package -n python3-sphinx_py3doc_enhanced_theme
40 Summary: Enhanced Sphinx theme (based on Python 3 docs)
41 Summary(pl.UTF-8): Rozszerzony motyw dla Sphinksa (oparty na dokumentacji Pythona 3)
42 Group: Libraries/Python
43 Requires: python3-modules >= 1:3.3
45 %description -n python3-sphinx_py3doc_enhanced_theme
46 A theme based on the theme of https://docs.python.org/3/ with some
47 responsive enhancements.
49 %description -n python3-sphinx_py3doc_enhanced_theme -l pl.UTF-8
50 Motyw oparty na motywie https://docs.python.org/3/ z pewnymi
51 reagujÄ…cymi rozszerzeniami.
54 %setup -q -n sphinx-py3doc-enhanced-theme-%{version}
66 rm -rf $RPM_BUILD_ROOT
79 rm -rf $RPM_BUILD_ROOT
83 %defattr(644,root,root,755)
84 %doc AUTHORS.rst CHANGELOG.rst LICENSE README.rst
85 %{py_sitescriptdir}/sphinx_py3doc_enhanced_theme
86 %{py_sitescriptdir}/sphinx_py3doc_enhanced_theme-%{version}-py*.egg-info
90 %files -n python3-sphinx_py3doc_enhanced_theme
91 %defattr(644,root,root,755)
92 %doc AUTHORS.rst CHANGELOG.rst LICENSE README.rst
93 %{py3_sitescriptdir}/sphinx_py3doc_enhanced_theme
94 %{py3_sitescriptdir}/sphinx_py3doc_enhanced_theme-%{version}-py*.egg-info