## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: python-sphinx-book-theme Version: 1.1.4 Release: %autorelease Summary: A clean book theme for scientific explanations and documentation with Sphinx # No license information obtained, it's up to the packager to fill it in License: BSD-3-Clause URL: https://github.com/executablebooks/sphinx-book-theme Source: %{url}/archive/v%{version}/sphinx-book-theme-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: This is a lightweight Sphinx theme designed to mimic the look-and-feel of an interactive book. It has the following primary features: - Bootstrap 5 for visual elements and functionality. - Flexible content layout that is inspired by beautiful online books, such as the Edward Tufte CSS guide - Visual classes designed for Jupyter Notebooks. Cell inputs, outputs, and interactive functionality are all supported. - Launch buttons for online interactivity. For pages that are built with computational material, connect your site to an online BinderHub for interactive content.} %description %_description %package -n python3-sphinx-book-theme Summary: %{summary} %description -n python3-sphinx-book-theme %_description %pyproject_extras_subpkg -n python3-sphinx-book-theme doc %prep %autosetup -p1 -n sphinx-book-theme-%{version} # Relax version requirement sed -i 's/pydata-sphinx-theme==0.15.4/pydata-sphinx-theme/g' pypproject.toml %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files sphinx_book_theme %check %pyproject_check_import # Tests needs unpackaged dependency, sphinx-thebe %files -n python3-sphinx-book-theme -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Wed Mar 26 2025 John Doe - 1.1.4-1 - Uncommitted changes ## END: Generated by rpmautospec