## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 pypi_name vkbasalt-cli %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-%{pypi_name} Version: 3.1.1.post2 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: https://gitlab.com/TheEvilSkeleton/vkbasalt-cli Source0: %{pypi_source %{pypi_name}} BuildRequires: python3-devel BuildRequires: python3-pytest %description -n %{name} %_description %package -n python3-%{pypi_name} Summary: %{summary} Provides: vkbasalt-cli = %{?epoch:%{epoch}:}%{version}-%{release} Requires: vkBasalt %description -n python3-%{pypi_name} %_description %prep %autosetup -p1 -n %{pypi_name}-%{version} %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-%{pypi_name} -f %{pyproject_files} %doc README.md %{_bindir}/%{module_name} %changelog ## START: Generated by rpmautospec * Thu Jan 25 2024 Sandro - 3.1.1.post2-1 - Update to 3.1.1.post2 - Make `pyproject.toml` compatible with `setuptools` >= 69. - Fix RHBZ#2259653. * Mon Jan 22 2024 Fedora Release Engineering - 3.1.1.post1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 3.1.1.post1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 3.1.1.post1-2 - Rebuilt for Python 3.12 * Fri May 19 2023 Sandro - 3.1.1.post1-1 - Initial release (RHBZ#2188653) ## END: Generated by rpmautospec