Compare commits
10 Commits
43e78de31f
...
29f2493586
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
29f2493586 | ||
|
|
743d347d72 | ||
|
|
e47f4b8f32 | ||
|
|
3901221097 | ||
|
|
907c2510da | ||
|
|
b15d85c86c | ||
|
|
15d587da5a | ||
|
|
b4c95365cd | ||
|
|
78de7be1b5 | ||
|
|
91ef1d8ac4 |
15
Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch
Normal file
15
Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
diff --git a/setup.cfg b/setup.cfg
|
||||||
|
index afd56e2..01e0e35 100644
|
||||||
|
--- a/setup.cfg
|
||||||
|
+++ b/setup.cfg
|
||||||
|
@@ -44,8 +44,8 @@ zip_safe = False
|
||||||
|
packages = sphinx_rtd_theme
|
||||||
|
python_requires = >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*
|
||||||
|
install_requires =
|
||||||
|
- sphinx >=1.6,<6
|
||||||
|
- docutils <0.18
|
||||||
|
+ sphinx >=1.6,<8
|
||||||
|
+ docutils <=0.21
|
||||||
|
tests_require =
|
||||||
|
pytest
|
||||||
|
|
||||||
@ -1,11 +1,13 @@
|
|||||||
Name: python-sphinx_rtd_theme
|
Name: python-sphinx_rtd_theme
|
||||||
Summary: Sphinx theme for readthedocs.org
|
Summary: Sphinx theme for readthedocs.org
|
||||||
Version: 0.4.3
|
Version: 1.1.1
|
||||||
Release: 2
|
Release: 4
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/snide/sphinx_rtd_theme
|
URL: https://github.com/snide/sphinx_rtd_theme
|
||||||
Source0: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
||||||
|
|
||||||
|
Patch0: Support-for-sphinx-0.7.x-and-docutils-0.20.x.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python3-devel python3-setuptools python3-sphinx
|
BuildRequires: python3-devel python3-setuptools python3-sphinx
|
||||||
@ -27,38 +29,33 @@ on both desktop and mobile devices. this theme is used primarily on read the doc
|
|||||||
with any sphinx project. you can find a working demo of the theme in the theme documentation.
|
with any sphinx project. you can find a working demo of the theme in the theme documentation.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -c -p1
|
%autosetup -n sphinx_rtd_theme-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd sphinx_rtd_theme-%{version}
|
|
||||||
%py3_build
|
%py3_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
pushd sphinx_rtd_theme-%{version}
|
|
||||||
%py3_install
|
%py3_install
|
||||||
popd
|
|
||||||
|
|
||||||
pushd %{buildroot}/%{python3_sitelib}/sphinx_rtd_theme/static/fonts
|
|
||||||
rm fontawesome-webfont.* Lato/*.ttf RobotoSlab/*.ttf
|
|
||||||
ln -s %{_datadir}/fonts/fontawesome/fontawesome-webfont.eot .
|
|
||||||
ln -s %{_datadir}/fonts/fontawesome/fontawesome-webfont.svg .
|
|
||||||
ln -s %{_datadir}/fonts/fontawesome/fontawesome-webfont.ttf .
|
|
||||||
ln -s %{_datadir}/fonts/fontawesome/fontawesome-webfont.woff .
|
|
||||||
ln -s %{_datadir}/fonts/fontawesome/fontawesome-webfont.woff2 .
|
|
||||||
ln -s %{_datadir}/fonts/google-roboto-slab/RobotoSlab-Bold.ttf RobotoSlab/roboto-slab-v7-bold.ttf
|
|
||||||
ln -s %{_datadir}/fonts/google-roboto-slab/RobotoSlab-Regular.ttf RobotoSlab/roboto-slab-v7-regular.ttf
|
|
||||||
ln -s %{_datadir}/fonts/lato/Lato-Bold.ttf Lato/lato-bold.ttf
|
|
||||||
ln -s %{_datadir}/fonts/lato/Lato-BoldItalic.ttf Lato/lato-bolditalic.ttf
|
|
||||||
ln -s %{_datadir}/fonts/lato/Lato-Italic.ttf Lato/lato-italic.ttf
|
|
||||||
ln -s %{_datadir}/fonts/lato/Lato-Regular.ttf Lato/lato-regular.ttf
|
|
||||||
popd
|
|
||||||
|
|
||||||
%files -n python3-sphinx_rtd_theme
|
%files -n python3-sphinx_rtd_theme
|
||||||
%doc sphinx_rtd_theme-%{version}/README.rst
|
|
||||||
%license sphinx_rtd_theme-%{version}/LICENSE
|
|
||||||
%{python3_sitelib}/sphinx_rtd_theme*
|
%{python3_sitelib}/sphinx_rtd_theme*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 15 2023 wulei <wu_lei@hoperun.com> 1.1.1-4
|
||||||
|
- Reply to deleted BuildRequires: python3-sphinx
|
||||||
|
|
||||||
|
* Fri Sep 15 2023 wulei <wu_lei@hoperun.com> 1.1.1-3
|
||||||
|
- Support for docutils-0.20.x
|
||||||
|
|
||||||
|
* Fri Jul 28 2023 xu_ping <707078654@qq.com> 1.1.1-2
|
||||||
|
- Support for sphinx-0.7.x and docutils-0.20.x
|
||||||
|
|
||||||
|
* Fri Jun 16 2023 xiaotong <tongxiaof@isoftstone.com> 1.1.1-1
|
||||||
|
- upgrade version to 1.1.1
|
||||||
|
|
||||||
|
* Mon Dec 20 2021 renhongxun <renhongxun@huawei.com> 1.0.0-1
|
||||||
|
- upgrade version to 1.0.0
|
||||||
|
|
||||||
* Mon Aug 10 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 0.4.3-2
|
* Mon Aug 10 2020 zhangjiapeng <zhangjiapeng9@huawei.com> - 0.4.3-2
|
||||||
* Remove python2
|
* Remove python2
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
sphinx_rtd_theme-1.1.1.tar.gz
Normal file
BIN
sphinx_rtd_theme-1.1.1.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user