## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; 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-evdev Version: 1.7.1 Release: %autorelease Summary: Python bindings for the Linux input handling subsystem License: BSD-3-Clause URL: https://python-evdev.readthedocs.io Source0: https://github.com/gvalkov/%{name}/archive/refs/tags/v%{version}.tar.gz BuildRequires: gcc BuildRequires: kernel-headers %global _description \ This package provides python bindings to the generic input event interface in \ Linux. The evdev interface serves the purpose of passing events generated in \ the kernel directly to userspace through character devices that are typically \ located in /dev/input/. \ \ This package also comes with bindings to uinput, the userspace input subsystem. \ Uinput allows userspace programs to create and handle input devices that can \ inject events directly into the input subsystem. \ \ In other words, python-evdev allows you to read and write input events on Linux. \ An event can be a key or button press, a mouse movement or a tap on a \ touchscreen. %description %{_description} %package -n python3-evdev Summary: %{summary} %{?python_provide:%python_provide python3-evdev} %description -n python3-evdev %{_description} #------------------------------------------------------------------------------ %prep %autosetup %generate_buildrequires %pyproject_buildrequires #------------------------------------------------------------------------------ %build %pyproject_wheel #------------------------------------------------------------------------------ %install %pyproject_install %pyproject_save_files evdev %check %pyproject_check_import -t #------------------------------------------------------------------------------ %files -n python3-evdev -f %{pyproject_files} %license LICENSE %doc README.md #------------------------------------------------------------------------------ %changelog ## START: Generated by rpmautospec * Wed Sep 25 2024 Georgi Valkov - 1.7.1-2 - Use new Python Packaging Guidelines * Wed Sep 25 2024 Georgi Valkov - 1.7.1-1 - Bump to 1.7.1 * Wed Sep 04 2024 Miroslav Suchý - 1.6.1-6 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 1.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 1.6.1-4 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 1.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 1.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Aug 12 2023 Steve Cossette - 1.6.1-1 - Fix generation of ``ecodes.c`` when the path to ````sys.executable`` contains spaces. * Fri Jul 21 2023 Fedora Release Engineering - 1.6.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 1.6.0-4 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 1.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 1.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jul 17 2022 Georgi Valkov 1.6.0-1 - Bump to version 1.6.0 * Mon Jun 13 2022 Python Maint - 1.5.0-2 - Rebuilt for Python 3.11 * Thu Mar 24 2022 Georgi Valkov 1.5.0-1 - Bump to version 1.5.0 * Fri Jan 21 2022 Fedora Release Engineering - 1.1.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Jul 27 2021 Fedora Release Engineering - 1.1.2-12 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.1.2-11 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 1.1.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 1.1.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.1.2-8 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 1.1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 1.1.2-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 1.1.2-5 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 1.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 1.1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 17 2018 Zbigniew Jędrzejewski-Szmek - 1.1.2-2 - Subpackage python2-evdev has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Wed Sep 26 2018 Peter Hutterer 1.1.2-1 - Bump to version 1.1.2 * Tue Jul 31 2018 Florian Weimer - 1.0.0-2 - Rebuild with fixed binutils * Sat Jul 28 2018 Georgi Valkov - 1.0.0-1 - Bump to version 1.0.0 * Sat Jul 14 2018 Fedora Release Engineering - 0.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.7.0-3 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Fedora Release Engineering - 0.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Tue Aug 22 2017 Georgi Valkov - 0.7.0-1 - Bump to version 0.7.0 * Thu Aug 03 2017 Fedora Release Engineering - 0.6.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.6.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.6.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.6.1-2 - Rebuild for Python 3.6 * Sun Jun 05 2016 Georgi Valkov - 0.6.1-1 - Initial RPM Release ## END: Generated by rpmautospec