代码拉取完成,页面将自动刷新
Name: python-evdev
Version: 1.7.1
Release: 1
Summary: Python bindings to the generic input event interface in Linux
License: BSD-3-Clause
URL: https://python-evdev.readthedocs.io
Source0: https://github.com/gvalkov/python-evdev/archive/refs/tags/v1.7.1.tar.gz
BuildRequires: gcc kernel-headers python3-devel python3-setuptools
%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.
%package -n python3-evdev
Summary: Python bindings to the Linux input handling subsystem
%{?python_provide:%python_provide python3-evdev}
%description -n python3-evdev
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.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%py3_build
%install
%py3_install
%files -n python3-evdev
%license LICENSE
%doc README.md
%{python3_sitearch}/{evdev/,evdev-%{version}-py%{python3_version}.egg-info/}
%changelog
* Tue Jun 4 2024 lilu <lilu@kylinos.cn> - 1.7.1-1
- Update package to version 1.7.1
- Provide fallback value for FF_MAX_EFFECTS, which fixes the build on EL 7
- Add ifdef guards around UI_GET_SYSNAME to improve kernel compatibility
* Mon May 20 2024 wuzhaomin <wuzhaomin@kylinos.cn> - 1.7.0-1
- Update package to version 1.7.0
- Fix doc and other issues,Provides a new way to find device nodes that correspond to uninput devices
* Mon Apr 10 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.6.1-1
- Update package to version 1.6.1
* Wed Aug 03 2022 kkz <zhaoshuang@uniontech.com> - 1.6.0-1
- Upgrade to version 1.6.0
* Thu Jun 09 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.5.0-1
- Upgrade to version 1.5.0
* Tue May 10 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 1.1.2-6
- License compliance rectification
* Wed Mar 4 2020 duyeyu <duyeyu@huawei.com> - 1.1.2-5
- Initial package.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。