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 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 %autochangelog