%global commit a418ffab184bf2b82df3434776fe80e3029f6cb6 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global git_date 20240815T132839Z %global tag v0.8.3 %global clean_tag %(echo %{tag} | sed 's/^v//') %define debug_package %{nil} Name: oversteer Version: %{clean_tag}^%{git_date}.g%{shortcommit} Release: %autorelease Summary: Steering Wheel Manager for GNU/Linux License: GPL-3.0-only URL: https://github.com/berarma/oversteer Source0: %{url}/archive/%{commit}.tar.gz BuildArch: noarch BuildRequires: meson BuildRequires: python3-devel BuildRequires: python3-gobject BuildRequires: python3-pyudev BuildRequires: python3-pyxdg BuildRequires: python3-evdev BuildRequires: python3-matplotlib BuildRequires: python3-matplotlib-gtk3 BuildRequires: python3-scipy BuildRequires: python3-numpy BuildRequires: gettext BuildRequires: systemd-rpm-macros Requires: python3-gobject Requires: python3-pyudev Requires: python3-pyxdg Requires: python3-evdev Requires: python3-matplotlib Requires: python3-matplotlib-gtk3 Requires: python3-scipy Requires: python3-numpy %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 %autosetup -p1 -N -n %{name}-%{commit} %build %meson \ -Dpython="%{python3}" \ -Dudev_rules_dir="%{_udevrulesdir}" %meson_build %install %meson_install %find_lang %{name} %files -f %{name}.lang %license LICENSE /usr/bin/oversteer %{_datadir}/icons/hicolor/scalable/apps/io.github.berarma.Oversteer.svg %{_datadir}/applications/io.github.berarma.Oversteer.desktop %{_datadir}/metainfo/io.github.berarma.Oversteer.appdata.xml %{_udevrulesdir}/99-thrustmaster-wheel-perms.rules %{_udevrulesdir}/99-logitech-wheel-perms.rules %{_udevrulesdir}/99-fanatec-wheel-perms.rules %{python3_sitelib}/oversteer/main.css %{python3_sitelib}/oversteer/main.ui %pycached %{python3_sitelib}/oversteer/wheel_ids.py %pycached %{python3_sitelib}/oversteer/combined_chart.py %pycached %{python3_sitelib}/oversteer/linear_chart.py %pycached %{python3_sitelib}/oversteer/performance_chart.py %pycached %{python3_sitelib}/oversteer/gtk_handlers.py %pycached %{python3_sitelib}/oversteer/device.py %pycached %{python3_sitelib}/oversteer/device_manager.py %pycached %{python3_sitelib}/oversteer/gtk_ui.py %pycached %{python3_sitelib}/oversteer/signal.py %pycached %{python3_sitelib}/oversteer/model.py %pycached %{python3_sitelib}/oversteer/gui.py %pycached %{python3_sitelib}/oversteer/application.py %pycached %{python3_sitelib}/oversteer/test.py %pycached %{python3_sitelib}/oversteer/__init__.py %changelog %autochangelog