## 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-screeninfo Version: 0.8.1 Release: %autorelease Summary: Fetch location and size of physical screens License: MIT URL: https://github.com/rr-/screeninfo Source: %{url}/archive/%{version}/screeninfo-%{version}.tar.gz # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} BuildArch: noarch BuildRequires: python3-devel BuildRequires: %{py3_dist pytest} %global _description %{expand: Fetch location and size of physical screens.} %description %_description %package -n python3-screeninfo Summary: %{summary} %description -n python3-screeninfo %_description %prep %autosetup -p1 -n screeninfo-%{version} %generate_buildrequires %pyproject_buildrequires -t %build %pyproject_wheel %install %pyproject_install %pyproject_save_files screeninfo %check %pytest %files -n python3-screeninfo -f %{pyproject_files} %doc README.md %license LICENSE.md %changelog ## START: Generated by rpmautospec * Thu Dec 12 2024 John Doe - 0.8.1-1 - Uncommitted changes ## END: Generated by rpmautospec