## 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-bluebell-akn Version: 3.1.1 Release: %autorelease Summary: Transforms text to and from Akoma Ntoso License: LGPL-3.0-or-later URL: https://github.com/laws-africa/bluebell Source: %{pypi_source bluebell_akn} BuildArch: noarch BuildRequires: python3-devel # Fill in the actual package description to submit package to Fedora %global _description %{expand: Bluebell is a (fairly) generic Akoma Ntoso 3 parser, supporting all hierarchical elements and multiple document types. Bluebell supports the following Akoma Ntoso (AKN) document types: act, bill (hierarchicalStructure) debateReport, doc, statement (openStructure) judgment (judgmentStructure) Bluebell tries to walk the line between being expressive and supporting a range of AKN documents and structures, while being simple to use and not requiring that authors have an in-depth knowledge of AKN. Bluebell will always produce structurally valid Akoma Ntoso, no matter what input is given. It will never refuse to parse malformed input. If it does, it's a bug.} %description %_description %package -n python3-bluebell-akn Summary: %{summary} %description -n python3-bluebell-akn %_description %prep %autosetup -p1 -n bluebell_akn-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install # Add top-level Python module names here as arguments, you can use globs %pyproject_save_files -l bluebell %check %pyproject_check_import %pytest %files -n python3-bluebell-akn -f %{pyproject_files} %changelog ## START: Generated by rpmautospec * Mon Apr 28 2025 John Doe - 3.1.1-1 - Uncommitted changes ## END: Generated by rpmautospec