python-evdev/python-evdev.spec

70 lines
2.5 KiB
RPMSpec
Raw Normal View History

2020-03-06 10:35:41 +08:00
Name: python-evdev
2023-04-10 16:50:48 +08:00
Version: 1.6.1
2022-06-13 16:47:25 +08:00
Release: 1
2020-03-06 10:35:41 +08:00
Summary: Python bindings to the generic input event interface in Linux
2022-05-10 16:08:26 +08:00
License: BSD-3-Clause
2020-03-06 10:35:41 +08:00
URL: https://python-evdev.readthedocs.io
2023-04-10 16:50:48 +08:00
Source0: https://github.com/gvalkov/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
2020-03-06 10:35:41 +08:00
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
2020-03-10 14:38:28 +08:00
%autosetup -n %{name}-%{version} -p1
2020-03-06 10:35:41 +08:00
%build
%py3_build
%install
%py3_install
%files -n python3-evdev
%license LICENSE
%doc README.rst
%{python3_sitearch}/{evdev/,evdev-%{version}-py%{python3_version}.egg-info/}
%changelog
2023-04-10 16:50:48 +08:00
* Mon Apr 10 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 1.6.1-1
- Update package to version 1.6.1
2022-08-03 13:39:15 +08:00
* Wed Aug 03 2022 kkz <zhaoshuang@uniontech.com> - 1.6.0-1
- Upgrade to version 1.6.0
2022-06-13 16:47:25 +08:00
* Thu Jun 09 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.5.0-1
- Upgrade to version 1.5.0
2022-05-10 16:08:26 +08:00
* Tue May 10 2022 xigaoxinyan <xigaoxinyan@h-partners.com> - 1.1.2-6
- License compliance rectification
2020-03-06 10:35:41 +08:00
* Wed Mar 4 2020 duyeyu <duyeyu@huawei.com> - 1.1.2-5
- Initial package.