## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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 %global pypi_name sphinx-typlog-theme %global srcname sphinx_typlog_theme %global _description %{expand: A sphinx theme sponsored by Typlog, created by Hsiaoming Yang.} Name: python-%{pypi_name} Version: 0.8.0 Release: %autorelease Summary: A Sphinx theme sponsored by Typlog License: BSD-3-Clause URL: https://github.com/typlog/sphinx-typlog-theme Source: %{pypi_source} # Contributed upstream: https://github.com/typlog/sphinx-typlog-theme/pull/26 Patch: Ensure-compatibility-with-Sphinx-7.patch BuildArch: noarch BuildRequires: python3-devel %description %{_description} %package -n python3-%{pypi_name} Summary: %{summary} Requires: python3dist(sphinx) %description -n python3-%{pypi_name} %{_description} %prep %autosetup -n %{srcname}-%{version} -p1 %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check %pyproject_check_import %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE %doc README.rst %changelog * Thu Aug 17 2023 Karolina Surma - 0.8.0-5 - Ensure compatibility with Sphinx 7+ * Fri Jul 21 2023 Fedora Release Engineering - 0.8.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.8.0-3 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Oct 12 2022 Michel Alexandre Salim - 0.8.0-1 - Initial Fedora package