Группа :: Development/Python3
Пакет: python3-module-uinput
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define oldname python-uinput
Name: python3-module-uinput
Version: 0.11.2
Release: alt1
Summary: Pythonic API to the Linux uinput kernel module
License: GPLv3
Group: Development/Python3
Url: http://pypi.python.org/pypi/python-uinput
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: http://pypi.python.org/packages/source/p/%oldname/%oldname-%version.tar.gz
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3 rpm-build-intro
BuildRequires: rdma-core-devel
BuildRequires: libudev-devel
# https://github.com/tuomasjjrasanen/python-uinput/issues/16
# setup.py parses /usr/include/linux/input.h
BuildRequires: glibc-kernheaders-generic
%description
Python-uinput is Python interface to the Linux uinput kernel module
which allows attaching userspace device drivers into kernel.
%prep
%setup
# Use unversioned .so
%__subst "s/libudev.so.0/libudev.so/" setup.py
%build
%python3_build
%install
%python3_install
chmod a-x examples/*
%files
%doc COPYING examples
%python3_sitelibdir/*.egg-info
%python3_sitelibdir/_libsuinput.*.so
%python3_sitelibdir/uinput/
%changelog
…
Полный changelog можно просмотреть здесь
Name: python3-module-uinput
Version: 0.11.2
Release: alt1
Summary: Pythonic API to the Linux uinput kernel module
License: GPLv3
Group: Development/Python3
Url: http://pypi.python.org/pypi/python-uinput
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: http://pypi.python.org/packages/source/p/%oldname/%oldname-%version.tar.gz
Source: %name-%version.tar
BuildRequires(pre): rpm-build-python3 rpm-build-intro
BuildRequires: rdma-core-devel
BuildRequires: libudev-devel
# https://github.com/tuomasjjrasanen/python-uinput/issues/16
# setup.py parses /usr/include/linux/input.h
BuildRequires: glibc-kernheaders-generic
%description
Python-uinput is Python interface to the Linux uinput kernel module
which allows attaching userspace device drivers into kernel.
%prep
%setup
# Use unversioned .so
%__subst "s/libudev.so.0/libudev.so/" setup.py
%build
%python3_build
%install
%python3_install
chmod a-x examples/*
%files
%doc COPYING examples
%python3_sitelibdir/*.egg-info
%python3_sitelibdir/_libsuinput.*.so
%python3_sitelibdir/uinput/
%changelog
…
Полный changelog можно просмотреть здесь