|
|
|
@@ -1,7 +1,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# spec file for package python-sphinx_rtd_theme
|
|
|
|
# spec file for package python-sphinx_rtd_theme
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Copyright (c) 2024 SUSE LLC
|
|
|
|
# Copyright (c) 2025 SUSE LLC
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
@@ -32,7 +32,9 @@ Summary: ReadTheDocs.org theme for Sphinx
|
|
|
|
License: Apache-2.0 AND MIT AND OFL-1.1
|
|
|
|
License: Apache-2.0 AND MIT AND OFL-1.1
|
|
|
|
URL: https://github.com/snide/sphinx_rtd_theme/
|
|
|
|
URL: https://github.com/snide/sphinx_rtd_theme/
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
|
|
|
Source: https://files.pythonhosted.org/packages/source/s/sphinx_rtd_theme/sphinx_rtd_theme-%{version}.tar.gz
|
|
|
|
|
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
BuildRequires: %{python_module setuptools}
|
|
|
|
|
|
|
|
BuildRequires: %{python_module wheel}
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: dos2unix
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
@@ -67,11 +69,11 @@ cp -p sphinx_rtd_theme/static/js/theme.js build/lib/%{srcname}/static/js
|
|
|
|
sed -i "/'build_py'/d" setup.py
|
|
|
|
sed -i "/'build_py'/d" setup.py
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%python_build
|
|
|
|
%pyproject_wheel
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%if !%{with test}
|
|
|
|
%if !%{with test}
|
|
|
|
%python_install
|
|
|
|
%pyproject_install
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
@@ -86,7 +88,7 @@ sed -i "/'build_py'/d" setup.py
|
|
|
|
%license LICENSE OFL-License.txt Apache-License-2.0.txt
|
|
|
|
%license LICENSE OFL-License.txt Apache-License-2.0.txt
|
|
|
|
%doc README.rst
|
|
|
|
%doc README.rst
|
|
|
|
%{python_sitelib}/sphinx_rtd_theme
|
|
|
|
%{python_sitelib}/sphinx_rtd_theme
|
|
|
|
%{python_sitelib}/sphinx_rtd_theme-%{version}*-info
|
|
|
|
%{python_sitelib}/sphinx_rtd_theme-%{version}.dist-info
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|