# Created by pyp2rpm-3.3.7 %global pypi_name sphinx-book-theme %global pypi_version 0.1.3 Name: python-%{pypi_name} Version: %{pypi_version} Release: %mkrel 3 Summary: Jupyter Book: Create an online book with Jupyter Notebooks Group: Development/Python License: BSD URL: https://jupyterbook.org/ Source0: %{pypi_source} Patch1: sphinx-book-theme-reqs.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description A lightweight Sphinx theme designed to mimic the look-and-feel of an interactive book. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} A lightweight Sphinx theme designed to mimic the look-and-feel of an interactive book. %prep %autosetup -n %{pypi_name}-%{pypi_version} -p1 # Remove bundled egg-info rm -rf *.egg-info %build %py3_build %install %py3_install %files -n python3-%{pypi_name} %license LICENSE %doc README.md sphinx_book_theme/translations/README.md %{python3_sitelib}/sphinx_book_theme %{python3_sitelib}/sphinx_book_theme-%{pypi_version}-py%{python3_version}.egg-info %changelog * Wed Mar 23 2022 umeabot <umeabot> 0.1.3-3.mga9 + Revision: 1822514 - Mageia 9 Mass Rebuild * Sun Feb 13 2022 tmb <tmb> 0.1.3-2.mga9 + Revision: 1774009 - rebuild for python 3.10 * Sun Aug 29 2021 wally <wally> 0.1.3-1.mga9 + Revision: 1743474 - imported package python-sphinx-book-theme