%global debug_package %{nil} %global oname PortProton_ALT %global xdg_name ru.linux_gaming.PortProton Name: portproton Release: 1%{dist} Version: 1.7.1 Epoch: 2 Summary: Software for playing Microsoft Windows games and launchers License: MIT Group: Games/Other URL: https://linux-gaming.ru Source0: https://github.com/Castro-Fidel/PortProton_ALT/archive/v%{version}.tar.gz?/%{oname}-%{version}.tar.gz Requires: curl Recommends: gamemode Recommends: gamemode(x86-32) Requires: bubblewrap Requires: mesa-libd3d Requires: mesa-libd3d(x86-32) Requires: zstd Requires: cabextract Requires: tar Requires: openssl Requires: mesa-dri-drivers Requires: mesa-dri-drivers(x86-32) Requires: mesa-vulkan-drivers Requires: mesa-vulkan-drivers(x86-32) Requires: vulkan-loader(x86-32) Requires: vulkan-loader Requires: nss(x86-32) Requires: alsa-lib(x86-32) Requires: mesa-libGL(x86-32) Requires: mesa-libEGL(x86-32) Requires: yad Requires: python3-icoextract Requires: perl-Image-ExifTool Requires: jq %description Installer PortProton for Windows games. %prep %autosetup -p1 -n %{oname}-%{version} %build %install install -Dm755 %{name} %{buildroot}%{_bindir}/%name install -Dm644 %{xdg_name}.desktop %{buildroot}%{_datadir}/applications/%{xdg_name}.desktop install -Dm644 %{xdg_name}.svg %{buildroot}%{_iconsdir}/hicolor/scalable/apps/%{xdg_name}.svg install -Dm644 %{xdg_name}.metainfo.xml %{buildroot}%{_datadir}/metainfo/%{xdg_name}.metainfo.xml %files %license LICENSE %{_bindir}/%{name} %{_datadir}/applications/%{xdg_name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{xdg_name}.svg %{_datadir}/metainfo/%{xdg_name}.metainfo.xml