# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2023-2025 Wesley Gimenes # SPDX-Comment: See LICENSE for the full license text %global SHA256SUM0 1abbf8053f37b2cc765c18cb2d5b355e687d25b32bbb1bd0426749295328b357 %global provider github %global provider_tld com %global owner vysp3r %global repo ProtonPlus %global built_tag v0.4.31 %global built_tag_strip %{sub %{built_tag} 2} %global gen_version %{gsub %{built_tag_strip} - .} # com.vysp3r.ProtonPlus %global flatpak_name %{provider_tld}.%{owner}.%{repo} # https://github.com/vysp3r/ProtonPlus %global provider_prefix %{provider}.%{provider_tld}/%{owner}/%{repo} %global import_path %{provider_prefix} %global git_repo https://%{import_path} Name: %{lower %{repo}}-next Version: %{gen_version} Release: %autorelease Summary: A modern compatibility tools manager for Linux ExclusiveArch: x86_64 License: GPL-3.0-or-later URL: %{git_repo} Source0: %{url}/archive/%{built_tag}/%{repo}-%{version}.tar.gz Source1: README.md # license of the spec file Source2: LICENSE Source3: %{name}.rpmlintrc Patch0: rename-executable-to-protonplus.patch BuildRequires: gettext BuildRequires: meson >= 0.62.0 BuildRequires: vala # desktop-file-validate command BuildRequires: desktop-file-utils # appstream-util command BuildRequires: libappstream-glib BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libadwaita-1) >= 1.5 BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libsoup-3.0) # TLS support Requires: glib-networking # fix: Package must own all directories that it creates. # Directories without known owners: /usr/share/icons/hicolor/* Requires: hicolor-icon-theme # SteamTinkerLaunch Recommends: bash Recommends: gawk Recommends: git Recommends: procps-ng Recommends: unzip Recommends: wget Recommends: xdotool Recommends: xprop Recommends: xrandr Recommends: xwininfo Recommends: xxd Recommends: yad >= 7.2 %description Install and manage Wine/Proton based compatibility tools with a graphical user interface. Supported launchers: - Steam - Lutris - Heroic Games Launcher - Bottles Supported compatibility tools: - Steam Tinker Launch - Proton-GE - Luxtorpeda - Boxtron - Roberta - NorthstarProton - DXVK - And much more %prep sha256sum -c <(echo "%{SHA256SUM0} %{SOURCE0}") %autosetup -p1 -n %{repo}-%{built_tag_strip} %build %meson %meson_build %install %meson_install %find_lang %{flatpak_name} %check desktop-file-validate \ %{buildroot}%{_datadir}/applications/%{flatpak_name}.desktop appstream-util validate-relax --nonet \ %{buildroot}%{_metainfodir}/%{flatpak_name}.metainfo.xml %files -f %{flatpak_name}.lang %license LICENSE.md %doc README.md CONTRIBUTING.md CODE_OF_CONDUCT.md SECURITY.md %{_bindir}/%{name} %{_datadir}/applications/%{flatpak_name}.desktop %{_datadir}/glib-2.0/schemas/%{flatpak_name}.gschema.xml %{_datadir}/icons/hicolor/*/apps/%{flatpak_name}.png %{_metainfodir}/%{flatpak_name}.metainfo.xml %changelog %autochangelog