64 lines
1.6 KiB
RPMSpec
64 lines
1.6 KiB
RPMSpec
Name: python-libevdev
|
|
Version: 0.5
|
|
Release: 3%{?dist}
|
|
Summary: Python bindings to the libevdev evdev device wrapper library
|
|
|
|
License: MIT
|
|
URL: https://pypi.python.org/pypi/libevdev/
|
|
Source0: http://github.com/whot/python-libevdev/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
%{name} provides the Python bindings to the libevdev evdev device
|
|
wrapper library. These bindings provide a pythonic API to access evdev
|
|
devices and create uinput devices.
|
|
|
|
%package -n python3-libevdev
|
|
Summary: Python bindings to the libevdev evdev device wrapper library
|
|
|
|
BuildRequires: python3-devel python3-setuptools
|
|
Requires: libevdev
|
|
|
|
%{?python_provide:%python_provide python3-libevdev}
|
|
|
|
%description -n python3-libevdev
|
|
%{name} provides the Python bindings to the libevdev evdev device
|
|
wrapper library. These bindings provide a pythonic API to access evdev
|
|
devices and create uinput devices.
|
|
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
%build
|
|
%py3_build
|
|
|
|
|
|
%install
|
|
%py3_install
|
|
|
|
|
|
%files -n python3-libevdev
|
|
%license COPYING
|
|
%{python3_sitelib}/libevdev/
|
|
%{python3_sitelib}/libevdev-%{version}-py*.egg-info
|
|
|
|
%changelog
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5-2
|
|
- Rebuilt for Python 3.7
|
|
|
|
* Tue Apr 24 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.5-1
|
|
- python-libevdev 0.5
|
|
|
|
* Thu Apr 19 2018 Peter Hutterer <peter.hutterer@redhat.com> 0.4-2
|
|
- Fix failure when setting up EV_REP
|
|
|
|
* Mon Feb 26 2018 Peter Hutterer <peter.hutterer@redhat.com>- 0.4-1
|
|
- initial import (#1549003)
|
|
|