%define pypi_name evdevName: python-%{pypi_name}Version: 1.7.1Release: 2Summary: Bindings to the Linux input handling subsystemGroup: Development/PythonUrl: https://github.com/gvalkov/python-evdevSource0:%{pypi_source}License: Revised BSD LicenseBuildRequires: python3-devel%description*evdev*-------This package provides bindings to the generic input event interface inLinux. The *evdev* interface serves the purpose of passing eventsgenerated in the kernel directly to userspace through characterdevices that are typically located in ``/dev/input/``.This package also comes with bindings to *uinput*, the userspace inputsubsystem. *Uinput* allows userspace programs to create and handleinput devices that can inject events directly into the inputsubsystem.Documentation: http://python-evdev.readthedocs.io/en/latest/Development: https://github.com/gvalkov/python-evdevPackage: http://pypi.python.org/pypi/evdevChangelog: http://python-evdev.readthedocs.io/en/latest/changelog.html#---------------------------------------------------------------%package -n python3-%{pypi_name}Summary: Bindings to the Linux input handling subsystemGroup: Development/Python%description -n python3-%{pypi_name}*evdev*-------This package provides bindings to the generic input event interface inLinux. The *evdev* interface serves the purpose of passing eventsgenerated in the kernel directly to userspace through characterdevices that are typically located in ``/dev/input/``.This package also comes with bindings to *uinput*, the userspace inputsubsystem. *Uinput* allows userspace programs to create and handleinput devices that can inject events directly into the inputsubsystem.Documentation: http://python-evdev.readthedocs.io/en/latest/Development: https://github.com/gvalkov/python-evdevPackage: http://pypi.python.org/pypi/evdevChangelog: http://python-evdev.readthedocs.io/en/latest/changelog.html%files -n python3-%{pypi_name} -f %{pyproject_files}%doc LICENSE%doc README.md#---------------------------------------------------------------%prep%setup -q -n %{pypi_name}-%{version}%generate_buildrequires%pyproject_buildrequires -r%build%pyproject_wheel%install%pyproject_install%pyproject_save_files %{pypi_name}