## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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 %global module_name vkbasalt %global _description %{expand: vkbasalt-cli is a CLI utility and library in conjunction with vkBasalt. This makes generating configuration files or running vkBasalt with games easier. This is mainly convenient in environments where integrating vkBasalt is wishful, for example a GUI application. Integrating vkbasalt-cli allows a front-end to easily generate and use specific configurations on the fly, without asking the user to manually write a configuration file.} Name: python-vkbasalt-cli Version: 3.1.1 %global forgeurl https://gitlab.com/TheEvilSkeleton/vkbasalt-cli %global tag v%{version} %forgemeta Release: %{autorelease} Summary: Command line interface for vkBasalt BuildArch: noarch # Code in vkbasalt/lib.py (library) is licensed under lgpl-3.0-only (see COPYING.LGPLv3) # Code in vkbasalt/cli.py (main program) is licensed under gpl-3.0-only (see COPYING.GPLv3) License: LGPL-3.0-only AND GPL-3.0-only URL: %{forgeurl} Source0: %{forgesource} BuildRequires: python3-devel BuildRequires: python3-pytest %description -n %{name} %_description %package -n python3-%{name} Summary: %{summary}} Provides: vkbasalt-cli = %{?epoch:%{epoch}:}%{version}-%{release} %description -n python3-%{name} %_description %prep %autosetup -p1 -n vkbasalt-cli-%{tag} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{module_name} %check # Package does not provide any tests %pyproject_check_import %files -n python3-%{name} -f %{pyproject_files} %doc README.md %{_bindir}/%{module_name} %changelog * Sun May 14 2023 Sandro - 3.1.1-1 - Rename package to python-vkbasalt-cli