## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## 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-sphinxcontrib-chapeldomain Version: 0.0.39 Release: %autorelease Summary: Chapel domain for Sphinx License: Apache-2.0 URL: https://github.com/chapel-lang/sphinxcontrib-chapeldomain # PyPI source does not have documentation Source: %{url}/archive/%{version}/sphinxcontrib-chapeldomain-%{version}.tar.gz # Relax pinned dependency requirements Patch: relax-dep-requirements.patch BuildArch: noarch BuildRequires: python3-devel # Documentation requirements BuildRequires: make BuildRequires: python3dist(sphinx) BuildRequires: python3dist(sphinx-rtd-theme) BuildRequires: python3dist(snowballstemmer) BuildRequires: texinfo # Test requirements BuildRequires: python3dist(mock) BuildRequires: python3dist(pytest) %global _description %{expand: Chapel domain for Sphinx.} %description %_description %package -n python3-sphinxcontrib-chapeldomain Summary: %{summary} %description -n python3-sphinxcontrib-chapeldomain %_description %prep %autosetup -p1 -n sphinxcontrib-chapeldomain-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel pushd docs make texinfo pushd _build pushd texinfo ls makeinfo --docbook ChapelDomain.texi ls popd popd popd %install %pyproject_install %pyproject_save_files -l sphinxcontrib mkdir -p %{buildroot}%{_datadir}/help/en/python-sphinxcontrib-chapeldomain install -m644 docs/_build/texinfo/ChapelDomain.xml \ %{buildroot}%{_datadir}/help/en/python-sphinxcontrib-chapeldomain %check %pyproject_check_import %pytest %files -n python3-sphinxcontrib-chapeldomain -f %{pyproject_files} %{python3_sitelib}/sphinxcontrib_chapeldomain-%{version}-py%{python3_version}-nspkg.pth %dir %{_datadir}/help/en %lang(en) %{_datadir}/help/en/python-sphinxcontrib-chapeldomain %changelog ## START: Generated by rpmautospec * Sun Sep 21 2025 John Doe - 0.0.39-1 - Uncommitted changes ## END: Generated by rpmautospec