1
0
forked from pool/sc-controller
Files
sc-controller/sc-controller.spec
Jannik Seiler a8456c3917 Accepting request 1142827 from home:seil0:branches:games:tools
- Update to 0.4.8.13
  * Invert Gyro Roll for Steam Deck input handler
  * Fixed state handling with Steam Deck input handler
  * Changed svg_widget and osd keyboard for newer ElementTree behavior
  * Added HAS_RSTICK flag for Steam Deck module
  * Make special path for RIGHT when using Steam Deck
  * Fixed binding of ABS_X to Gyro Per Axis
  * CI and AppImage generation workflows added to project. Contribution by Christian
  * Hotfix BT controllers on SteamOS 3. Contribution by pattontim
  * Support custom UDP port. Contribution by Christian
  * Removed cpp namespace prefixes from cemuhook_server c code. Contribution by Christian
  * Changes to AppImage workflow

OBS-URL: https://build.opensuse.org/request/show/1142827
OBS-URL: https://build.opensuse.org/package/show/games:tools/sc-controller?expand=0&rev=39
2024-01-30 16:13:08 +00:00

71 lines
2.0 KiB
RPMSpec

#
# spec file for package sc-controller
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: sc-controller
Version: 0.4.8.13
Release: 0
Summary: User-mode driver and GTK3-based GUI for the Steam Controller
License: GPL-2.0-only
Group: Hardware/Joystick
URL: https://github.com/Ryochan7/sc-controller
Source: %{URL}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: gobject-introspection
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: python3-setuptools
BuildRequires: shared-mime-info
BuildRequires: zlib-devel
BuildRequires: pkgconfig(python3)
BuildRequires: pkgconfig(udev)
Requires: python3-evdev
Requires: python3-gobject-Gdk
Requires: python3-pycairo
Requires: python3-pylibacl
Requires: python3-setuptools
%description
Application allowing to setup, configure and use the Steam Controller
without using the Steam client.
%prep
%setup -q
%build
python3 setup.py build
%install
python3 setup.py install --root=%{buildroot} --optimize=1
%fdupes %{buildroot}%{_prefix}
%files
%license LICENSE
%doc README.md ADDITIONAL-LICENSES TODO.md
%{_bindir}/*
%{python3_sitearch}/*
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_datadir}/scc/
%{_datadir}/mime/packages/*
%{_datadir}/icons/hicolor/*
%{_udevrulesdir}/69-sc-controller.rules
%changelog