diff --git a/python-sphinx_book_theme.spec b/python-sphinx_book_theme.spec new file mode 100644 index 0000000000000000000000000000000000000000..716ce1606c51bb6759ffe6a97ad73f75fc024ad7 --- /dev/null +++ b/python-sphinx_book_theme.spec @@ -0,0 +1,58 @@ +%global _empty_manifest_terminate_build 0 +%global pypi_name sphinx_book_theme + +%global _description %{expand: +A Sphinx theme with a clean design, support for interactive content, and a modern book-like look and feel.} +Name: python-%{pypi_name} +Version: 1.0.1 +Release: 1 +Summary: A clean book theme for scientific explanations and documentation with Sphinx +License: BSD +URL: https://github.com/executablebooks/sphinx-book-theme +Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz +BuildArch: noarch + +BuildRequires: python3-devel +BuildRequires: python3-pip +BuildRequires: python3-wheel +BuildRequires: python3-setuptools +BuildRequires: python3-setuptools_scm +BuildRequires: python3-sphinx-theme-builder +BuildRequires: python3-pyproject-metadata +BuildRequires: python3-nodeenv +#BuildRequires: python3-sphinx +BuildRequires: python3-pydata-sphinx-theme + +%description %_description + +%package -n python3-%{pypi_name} +Summary: A clean book theme for scientific explanations and documentation with Sphinx +%{?python_provide:%python_provide python3-%{pypi_name}} + +%description -n python3-%{pypi_name} %_description + +%package help +Summary: Help documents for %{name} + +%description help +Help documents for the %{name} API + +%prep +%autosetup -n %{pypi_name}-%{version} + +%build +%pyproject_build + +%install +%pyproject_install + +%files -n python3-%{pypi_name} +%license LICENSE +%doc README.md ARCHITECTURE.md CHANGELOG.md CONTRIBUTING.md + +%files help +%doc docs + +%changelog +* Mon Jul 31 2023 li-miaomiao_zhr - 1.0.1-1 +- Package init diff --git a/sphinx_book_theme-1.0.1.tar.gz b/sphinx_book_theme-1.0.1.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..3fbc33b2f9499df3b4d22485ae6978f30bbdc248 Binary files /dev/null and b/sphinx_book_theme-1.0.1.tar.gz differ