%define pkgname %(echo %name | cut -d- -f2- | tr - _) Name: python-sphinxcontrib-websupport Version: 1.2.7 Release: 1mamba Summary: Sphinx documentation generator Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://www.sphinx-doc.org/en/master/ Source: http://pypi.debian.net/sphinxcontrib-websupport/sphinxcontrib_websupport-%{version}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: libpython311-devel BuildRequires: python3.11dist(jinja2) BuildRequires: python3.11dist(sphinx) BuildRequires: python3.11dist(sphinxcontrib-serializinghtml) ## AUTOBUILDREQ-END BuildRequires: python3-devel >= 3.11.5-3mamba %description %{summary}. %if 0%{?with_pyver} %pyver_package %endif %prep %setup -q -n sphinxcontrib_websupport-%{version} %build CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %{__python} -m installer --destdir=%{buildroot} dist/*.whl #%if "%{?with_pyver}" != "3" ## Rename any conflicting file outside of python site packages tree #for f in %{_bindir}/pdm; do # mv %{buildroot}${f}{,-%{?pyappend}} #done #%endif %files %{?pyappend} %defattr(-,root,root) %dir %{python_sitelib}/%{pkgname}-%{version}.dist-info %{python_sitelib}/%{pkgname}-%{version}.dist-info/* %dir %{python_sitelib}/sphinxcontrib/websupport %{python_sitelib}/sphinxcontrib/websupport/* %doc LICENSE %changelog * Sat Jan 13 2024 Automatic Build System 1.2.7-1mamba - automatic version update by autodist * Sat Nov 11 2023 Silvan Calarco 1.2.6-1mamba - update to 1.2.6 * Wed Sep 27 2023 Automatic Build System 1.2.4-4mamba - rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba * Thu Mar 09 2023 Silvan Calarco 1.2.4-3mamba - rebuilt with python 3.10 * Sat Apr 17 2021 Silvan Calarco 1.2.4-2mamba - rebuilt with distdeps * Mon Feb 22 2021 Automatic Build System 1.2.4-1mamba - automatic version update by autodist * Tue Apr 28 2020 Silvan Calarco 1.2.1-1mamba - update to 1.2.1 * Sun Jul 07 2019 Automatic Build System 1.1.2-1mamba - automatic version update by autodist * Thu Sep 06 2018 Silvan Calarco 1.1.0-1mamba - package created using the webbuild interface