## START: Set by rpmautospec ## (rpmautospec version 0.7.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-customtkinter Version: 5.3.0 Release: 0%{?dist}.1sunshine Summary: A modern and customizable python UI-library based on Tkinter License: MIT-0 URL: https://github.com/tomschimansky/customtkinter Source: %{url}/archive/v%{version}/customtkinter-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-tkinter %global _description %{expand: CustomTkinter is a python UI-library based on Tkinter, which provides new, modern and fully customizable widgets. They are created and used like normal Tkinter widgets and can also be used in combination with normal Tkinter elements.} %description %_description %package -n python3-customtkinter Summary: %{summary} Requires: python3-tkinter %description -n python3-customtkinter %_description %prep %autosetup -p1 -n CustomTkinter-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files -l customtkinter %check # tests cannot be run because they require a display %pyproject_check_import %files -n python3-customtkinter -f %{pyproject_files} %doc Readme.md %changelog ## START: Generated by rpmautospec * Fri May 15 2026 Moritz Barsnick 5.3.0-0.1sunshine - adapt from https://copr.fedorainfracloud.org/coprs/mattia/GraXpert/package/python-customtkinter/ - update to 5.3.0 * Thu Sep 12 2024 John Doe - 5.2.2-1 - Uncommitted changes ## END: Generated by rpmautospec