123 Star 0 Fork 13

src-openEuler/python-evdev
关闭

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
python-evdev.spec 2.89 KB
一键复制 编辑 原始数据 按行查看 历史
李璐 提交于 2024-06-04 14:32 +08:00 . Update package to version 1.7.1
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.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-evdev.git
git@gitee.com:src-openeuler/python-evdev.git
src-openeuler
python-evdev
python-evdev
openEuler-24.09

搜索帮助