File python3-ds4drv.spec of Package python3-ds4drv
#
# spec file for package python3-ds4drv
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python3-ds4drv
Version: 0.5.1
Release: 0
Summary: A Sony DualShock 4 userspace driver for Linux
License: MIT
Url: https://github.com/chrippa/ds4drv
Source: ds4drv-%{version}.tar.gz
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: systemd
BuildRequires: udev
BuildRequires: fdupes
BuildArch: noarch
%description
ds4drv is a Sony DualShock 4 userspace driver for Linux.
Features
Option to emulate the Xbox 360 controller for compatibility with Steam games
Setting the LED color
Reminding you about low battery by flashing the LED
Using the trackpad as a mouse
Custom mappings, map buttons and sticks to whatever mouse, key or joystick action you want
Settings profiles that can be cycled through with a button binding
%prep
%autosetup -n ds4drv-%{version}
%build
%python3_build
%install
%python3_install
%fdupes %{buildroot}/%{_prefix}
%files
%license LICENSE
%doc README.rst HISTORY.rst
%{_bindir}/ds4drv
%{python3_sitelib}/*
%changelog