# Created by pyp2rpm-3.3.8 %global pypi_name sphinx-multiversion %global pypi_version 0.2.4 Name: python-%{pypi_name} Version: %{pypi_version} Release: 1%{?dist} Summary: Add support for multiple versions to sphinx License: BSD URL: https://holzhaus.github.io/sphinx-multiversion/ Source0: %{pypi_source} BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3dist(setuptools) %description Extension for building self-hosted versioned docs.This extension aims to provide a clean implementation that tries to avoid messing with Sphinx internals as much as possible. %package -n python3-%{pypi_name} Summary: %{summary} %{?python_provide:%python_provide python3-%{pypi_name}} Requires: python3dist(setuptools) Requires: python3dist(sphinx) >= 2.1 %description -n python3-%{pypi_name} sphinx-multiversion [![Build Status]( extension for building self-hosted versioned docs.This extension aims to provide a clean implementation that tries to avoid messing with Sphinx internals as much as possible.Documentation can be found at: %prep %autosetup -n %{pypi_name}-%{pypi_version} # Remove bundled egg-info rm -rf %{pypi_name}.egg-info %build %py3_build %install %py3_install sed -e '1d' -i %{buildroot}%{python3_sitelib}/sphinx_multiversion/__main__.py %files -n python3-%{pypi_name} %doc README.md %{_bindir}/sphinx-multiversion %{python3_sitelib}/sphinx_multiversion %{python3_sitelib}/sphinx_multiversion-%{pypi_version}-py%{python3_version}.egg-info %changelog * Wed Dec 21 2022 Gwyn Ciesla - 0.2.4-1 - Initial package.