%global commit e2971e45063f6b327ccedbf18e168bda6749155c %global shortcommit %{sub %{commit} 1 7} %global commitdate 20240522.0 Name: steam-devices Version: 1.0.0.78%{?commit:^git%{commitdate}.%{shortcommit}} Release: 2.git.65.8eb3ec4%{?dist} License: MIT and LicenseRef-Fedora-Public-Domain Summary: Device support for Steam-related hardware Url: https://github.com/ValveSoftware/steam-devices/ Source0: steam-devices-git-65.8eb3ec4.tar.gz # Source1 is sourced from https://github.com/denilsonsa/udev-joystick-blacklist # And is offered under the Public Domain, And helps limit the misidentification # of peripherals such as keyboards, mice, and tablets as joysticks. Source1: 51-these-are-not-joysticks-rm.rules BuildArch: noarch BuildRequires: git Supplements: steam Provides: steam-controller = 1.0.0.78 Provides: steam-vr = 1.0.0.78 %description The Steam Controller features dual trackpads, HD haptic feedback, dual-stage triggers, back grip buttons, and fully-customizable control schemes. Make sure that all users, which should have access to the steam-controller, are in the "games" group. Steam VR is a full-features, 360° room-scale virtual reality experience This package also provides support for many other third party devices, such as gamepads and joysticks, that can be used by Wine, Lutris, Heroic, and other non-steam games and game launchers. %prep %autosetup -S git_am -n steam-devices-git-65.8eb3ec4 -p1 %build %install mkdir -p %{buildroot}%{_udevrulesdir} install -Dm0644 60-steam-input.rules %{buildroot}%{_udevrulesdir}/60-steam-input.rules install -Dm0644 60-steam-vr.rules %{buildroot}%{_udevrulesdir}/60-steam-vr.rules install -Dm0644 %{SOURCE1} %{buildroot}%{_udevrulesdir}/51-these-are-not-joysticks-rm.rules %files %license LICENSE %{_udevrulesdir}/51-these-are-not-joysticks-rm.rules %{_udevrulesdir}/60-steam-input.rules %{_udevrulesdir}/60-steam-vr.rules %changelog * Fri Nov 15 2024 Shawn W. Dunn 1.0.0.78^git20240522.0.e2971e4-1 - new package