Name: python-xkbcommon Version: 0.8 Release: 3%{?dist} Summary: Bindings for libxkbcommon using cffi License: MIT URL: https://github.com/sde1000/python-xkbcommon Source: %{pypi_source xkbcommon} BuildRequires: python3-devel BuildRequires: gcc BuildRequires: libxkbcommon-devel Requires: libxkbcommon %global _description %{expand: Python bindings for libxkbcommon using cffi.} %description %_description %package -n python3-xkbcommon Summary: %{summary} %description -n python3-xkbcommon %_description %prep %autosetup -p1 -n xkbcommon-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %python3 xkbcommon/ffi_build.py %install %pyproject_install %pyproject_save_files xkbcommon %check %pyproject_check_import -t %{py3_test_envvars} %{python3} -m unittest %files -n python3-xkbcommon -f %{pyproject_files} %license LICENSE %doc README.rst %changelog * Tue Jul 25 2023 Jakub Kadlcik - 0.8-3 - Run unit tests - Install license and doc files - Build _ffi.abi3.so * Sat Jul 22 2023 Jakub Kadlcik - 0.8-2 - Remove wildcard from pyproject_save_files * Sat Jul 22 2023 Jakub Kadlcik - 0.8-1 - Update to a new upstream version * Tue Jun 14 2022 Jakub Kadlcik - 0.4-1 - Initial package