# No python3 on el6 %if 0%{?el6} %global with_python3 0 %endif Name: python-uinput Version: 0.11.2 Release: 13%{?dist} Summary: Pythonic API to the Linux uinput kernel module # Automatically converted from old format: GPLv3 - review is highly recommended. License: GPL-3.0-only URL: http://pypi.python.org/pypi/python-uinput/ Source0: http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz #http://pypi.python.org/packages/source/p/python-uinput/python-uinput-0.11.2.tar.gz # https://github.com/tuomasjjrasanen/python-uinput/pull/41 Patch0: python-uinput-add_python311_support.patch BuildRequires: kernel-headers BuildRequires: libudev-devel BuildRequires: python3-devel BuildRequires: gcc BuildRequires: python-setuptools %global _description\ Python-uinput is Python interface to the Linux uinput kernel module\ which allows attaching userspace device drivers into kernel. %description %_description %package -n python3-uinput Summary: Pythonic API to the Linux uinput kernel module %description -n python3-uinput Python-uinput is Python interface to the Linux uinput kernel module which allows attaching userspace device drivers into kernel. %prep %autosetup -p1 # Use unversioned .so sed -i "s/libudev.so.0/libudev.so/" setup.py find . -name '*.py' | xargs sed -i '1s|^#!python|#!%{__python3}|' %build %py3_build %install %py3_install chmod a-x examples/* %files -n python3-uinput %doc COPYING NEWS README examples %{python3_sitearch}/python_uinput-%{version}-py%{python3_version}.egg-info %{python3_sitearch}/_libsuinput.*.so %{python3_sitearch}/uinput %changelog * Mon Jul 29 2024 Miroslav Suchý - 0.11.2-13 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.11.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.11.2-11 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.11.2-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Jan 22 2024 Fedora Release Engineering - 0.11.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.11.2-8 - rhbz#2154970 - rhbz#2226360 - rhbz#2220544 * Fri Jul 21 2023 Fedora Release Engineering - 0.11.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Tue Jun 13 2023 Python Maint - 0.11.2-6 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.11.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Dec 03 2022 Antonio Trande - 0.11.2-4 - Add Python 3.11 support (rhbz#2143909) * Fri Jul 22 2022 Fedora Release Engineering - 0.11.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.11.2-2 - Rebuilt for Python 3.11 * Mon Mar 07 2022 Sandipan Roy - 0.11.2-1 - New Version 0.11.2 - rhbz#1356751 * Fri Jan 21 2022 Fedora Release Engineering - 0.10.1-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.10.1-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.10.1-29 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.10.1-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.10.1-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.10.1-26 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 0.10.1-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.10.1-24 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.10.1-23 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.10.1-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.10.1-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Oct 12 2018 Zbigniew Jędrzejewski-Szmek - 0.10.1-20 - Python2 binary package has been removed See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal * Sat Jul 14 2018 Fedora Release Engineering - 0.10.1-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 0.10.1-18 - Rebuilt for Python 3.7 * Mon Feb 12 2018 Iryna Shcherbina - 0.10.1-17 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.10.1-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 0.10.1-15 - Python 2 binary package renamed to python2-uinput See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Aug 03 2017 Fedora Release Engineering - 0.10.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.10.1-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jul 07 2017 Igor Gnatenko - 0.10.1-12 - Rebuild due to bug in RPM (RHBZ #1468476) * Sat Feb 11 2017 Fedora Release Engineering - 0.10.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.10.1-10 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.10.1-9 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 0.10.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.10.1-7 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.10.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.10.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.10.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 28 2014 Kalev Lember - 0.10.1-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Fri Mar 28 2014 Fabian Deutsch - 0.10.1-2 - Don't build py3 on el6 * Fri Feb 28 2014 Fabian Deutsch - 0.10.1-1 - Update to latest upstram * Sun Aug 04 2013 Fedora Release Engineering - 0.9-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Tue Nov 20 2012 Fabian Deutsch - 0.9-2 - Add documentation and examples * Mon Nov 19 2012 Fabian Deutsch - 0.9-1 - Initial package.