%global debug_package %{nil} %global forgeurl https://github.com/berarma/oversteer %global commit cf682527bb2f47f2ac0ad69b86ae34804a2caa5e %global version0 v0.8.3 %forgemeta Name: oversteer Version: %{forgeversion -p} Release: 1%{?dist} Summary: Steering Wheel Manager for GNU/Linux License: GPLv3 URL: %{forgeurl} Source: %{forgesource} BuildArch: noarch BuildRequires: python3 # python3-devel provides the rpm macros required BuildRequires: python3-devel BuildRequires: python3-distutils-extra BuildRequires: python3-gobject BuildRequires: python3-pyudev BuildRequires: python3-pyxdg BuildRequires: python3-evdev BuildRequires: gettext BuildRequires: meson BuildRequires: appstream BuildRequires: desktop-file-utils BuildRequires: python3-matplotlib-gtk3 BuildRequires: python3-scipy BuildRequires: libappstream-glib BuildRequires: udev Requires: python3-gobject Requires: python3-pyudev Requires: python3-pyxdg Requires: python3-libevdev Requires: appstream Requires: desktop-file-utils Requires: python3-matplotlib Requires: python3-scipy Requires: python3-matplotlib-gtk3 Requires: python3-evdev Requires: librsvg2 %description Oversteer manages steering wheels on Linux using the features provided by the loaded modules. It doesn't provide hardware support, you'll still need a driver module that enables the hardware on Linux. %prep %forgesetup # the following sections, except %changelog, were taken out of bazzite-org/oversteer copr .spec file %build %meson %meson_build %install %meson_install # catalogues .mo files %find_lang %{name} %files -f %{name}.lang %license LICENSE %doc README.md %{_bindir}/oversteer %dir %{python3_sitelib}/oversteer/ %{python3_sitelib}/oversteer/main.css %{python3_sitelib}/oversteer/main.ui %pycached %{python3_sitelib}/oversteer/__init__.py %pycached %{python3_sitelib}/oversteer/application.py %pycached %{python3_sitelib}/oversteer/gtk_ui.py %pycached %{python3_sitelib}/oversteer/gui.py %pycached %{python3_sitelib}/oversteer/device.py %pycached %{python3_sitelib}/oversteer/device_manager.py %pycached %{python3_sitelib}/oversteer/combined_chart.py %pycached %{python3_sitelib}/oversteer/gtk_handlers.py %pycached %{python3_sitelib}/oversteer/linear_chart.py %pycached %{python3_sitelib}/oversteer/model.py %pycached %{python3_sitelib}/oversteer/performance_chart.py %pycached %{python3_sitelib}/oversteer/signal.py %pycached %{python3_sitelib}/oversteer/test.py %pycached %{python3_sitelib}/oversteer/wheel_ids.py %{_datadir}/applications/io.github.berarma.Oversteer.desktop %{_datadir}/icons/hicolor/scalable/apps/io.github.berarma.Oversteer.svg %{_datadir}/metainfo/io.github.berarma.Oversteer.appdata.xml %{_prefix}/lib/udev/rules.d/99-thrustmaster-wheel-perms.rules %{_prefix}/lib/udev/rules.d/99-logitech-wheel-perms.rules %{_prefix}/lib/udev/rules.d/99-fanatec-wheel-perms.rules %changelog * Thu Jan 01 2026 gerelef <44060598+gerelef@users.noreply.github.com> - v0.8.3~20260101gitcf68252-1 - Initial spec implementation for oversteer, inspired by bazzite-org/oversteer copr .spec file