Name: retroarch-flatpak-session Version: 1.0.6 Release: %autorelease Summary: Wayland and X11 session desktop file for RetroArch License: GPLv3 URL: https://github.com/mwprado/retroarch-flatpak-session Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildArch: noarch %description This package provides session desktop files for RetroArch, flatpak version, allowing it to be launched as a standalone session in both Wayland and X11 environments. %prep # Extract the source code %setup %build # No build steps needed for this package %install # Create necessary directories mkdir -p %{buildroot}/usr/share/wayland-sessions mkdir -p %{buildroot}/usr/share/xsessions # Install the .desktop file to both locations install -m 0644 retroarch-flatpak.desktop %{buildroot}/usr/share/wayland-sessions/retroarch-flatpak.desktop install -m 0644 retroarch-flatpak.desktop %{buildroot}/usr/share/xsessions/retroarch-flatpak.desktop %files %license LICENSE /usr/share/wayland-sessions/retroarch-flatpak.desktop /usr/share/xsessions/retroarch-flatpak.desktop %changelog %autochangelog