From dfae10396d2cdda4e6e1a9c2d61d46d3b71e721e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 28 Feb 2018 09:18:59 +1000 Subject: [PATCH] initial import (#1549003) --- .gitignore | 1 + README.md | 3 --- python-libevdev.spec | 51 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 53 insertions(+), 3 deletions(-) create mode 100644 .gitignore delete mode 100644 README.md create mode 100644 python-libevdev.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b2baf7c --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/python-libevdev-0.4.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0c62b77..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# python-libevdev - -The python-libevdev package \ No newline at end of file diff --git a/python-libevdev.spec b/python-libevdev.spec new file mode 100644 index 0000000..eb85c6a --- /dev/null +++ b/python-libevdev.spec @@ -0,0 +1,51 @@ +Name: python-libevdev +Version: 0.4 +Release: 1%{?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} + + +%build +%py3_build + + +%install +%py3_install + + +%files -n python3-libevdev +%license COPYING +%{python3_sitelib}/libevdev/ +%{python3_sitelib}/libevdev-%{version}-py*.egg-info + +%changelog +* Mon Feb 26 2018 Peter Hutterer - 0.4-1 +- initial import (#1549003) + diff --git a/sources b/sources new file mode 100644 index 0000000..5674223 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (python-libevdev-0.4.tar.gz) = 499ba25b2209ac09a6d48e18b08c0ff4831af68a46c899b5781f007c9386aca89be33897612bfeb30c6520910f675d64ce9855c2f645696ae6640826f250efbc