## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # SPDX-License-Identifier: GPL-3.0-or-later # SPDX-FileCopyrightText: 2023-2025 Wesley Gimenes # SPDX-Comment: See LICENSE for the full license text ##### Variable macros %global tag v0.6.4 # BuildRequires dependencies %global meson_version 1.0.0 %global libadwaita_version 1.6 ##### Constant macros %global app_id com.vysp3r.ProtonPlus %global forgeurl https://github.com/vysp3r/ProtonPlus # forgemeta macro need to be after forgeurl and tag macros %forgemeta # unset weird prefix set by forgemeta (.gitvX.X.X) %undefine distprefix Name: protonplus-next Version: %{fileref} Release: %autorelease Summary: Manage Proton, Wine, DXVK, and VKD3D tools for Linux game launchers ExclusiveArch: x86_64 aarch64 License: GPL-3.0-or-later URL: https://protonplus.vysp3r.com Source0: %{forgesource} # license of the spec file Source1: LICENSE Source2: protonplus.rpmlintrc ##### Build dependencies BuildRequires: gettext BuildRequires: meson >= %{meson_version} BuildRequires: vala BuildRequires: pkgconfig(appstream) BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gee-0.8) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(json-glib-1.0) BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version} BuildRequires: pkgconfig(libarchive) BuildRequires: pkgconfig(libnotify) BuildRequires: pkgconfig(libsoup-3.0) BuildRequires: pkgconfig(sdl3) ##### Check dependencies # desktop-file-validate command BuildRequires: desktop-file-utils # appstream-util command #BuildRequires: libappstream-glib ##### Runtime dependencies # fix: Directories without known owners: /usr/share/icons/hicolor/* Requires: hicolor-icon-theme %description ProtonPlus helps you install, update, remove, and organize compatibility tools used by Steam and other Linux game launchers. It discovers supported launcher installations, downloads releases from their upstream sources, and installs them into the layouts expected by each launcher. %prep %forgeautosetup %build %meson %meson_build %install %meson_install %find_lang %{app_id} %check %meson_test %files -f %{app_id}.lang %license LICENSE.md %doc README.md CONTRIBUTING.md CODE_OF_CONDUCT.md SECURITY.md %{_bindir}/protonplus %{_datadir}/applications/%{app_id}.desktop %{_datadir}/glib-2.0/schemas/%{app_id}.gschema.xml %{_datadir}/icons/hicolor/*/apps/%{app_id}.png %{_metainfodir}/%{app_id}.metainfo.xml %changelog ## START: Generated by rpmautospec * Wed Aug 26 2026 Wesley Gimenes - 0.6.4-1 - update to 0.6.4 - upstream changelog: https://github.com/vysp3r/ProtonPlus/releases/tag/v0.6.4 * Wed Jul 01 2026 Wesley Gimenes - 0.5.21-1 - protonplus to protonplus-next * Fri May 30 2025 Wesley Gimenes - 0.4.31-1 - add patch rename executable to protonplus * Thu May 29 2025 Wesley Gimenes - 0.4.31-1 - new upstream version v0.4.31 - update README.md - update SPDX copyright - rename *.appdata.xml to *.metainfo.xml - rename *.svg to *.png - modernize macros - add SteamTinkerLaunch dependencies - remove fdupes - fix Package must own all directories that it creates. - sync description with upstream - rework BuildRequires - revise comments and fix indentation - add README.md and LICENSE to rpm package - change Name to macro lowercase * Sun Aug 04 2024 Wesley Gimenes - 0.4.11-1 - new upstream version v0.4.11 * Mon May 27 2024 Wesley Gimenes - 0.4.10-1 - new upstream version v0.4.10 * Wed Apr 10 2024 Wesley Gimenes - 0.4.9-2 - build: rebuild for fedora 40 release * Sun Dec 17 2023 Wesley Gimenes - 0.4.9-1 - new upstream version v0.4.9 * Sun Dec 17 2023 Wesley Gimenes - 0.4.8-1 - new upstream version v0.4.8 * Sun Dec 17 2023 Wesley Gimenes - 0.4.7.2-1 - style: fixed indentation - new upstream version v0.4.7-2 * Sun Dec 17 2023 Wesley Gimenes - 0.4.7.1-1 - fix: change upstream version dash to dot - fix: %%autosetup use upstream versioning - new upstream version v0.4.7-1 * Sat Dec 16 2023 Wesley Gimenes - 0.4.7-1 - tighten dependencies - removed unused files to accomodate new version - new upstream version v0.4.7 * Sat Dec 16 2023 Wesley Gimenes - 0.4.6-3 - fix: incorrect day of week in changelog * Thu Nov 09 2023 Wesley Gimenes - 0.4.6-3 - rebuild for fedora 39 release - rename global variable project to owner - add license to source of the specfile - add SPDX license header * Tue Sep 05 2023 Wesley H. Gimenes - 0.4.6-2 - rebuild v0.4.6-2 because of the file below - fix: rename prontonplus-next.rpmlintrc to protonplus.rpmlintrc - fix: change %%define to %%global - fix: macros in changelog - changed legacy license format to SPDX - fix: W: dangerous-command-in-%%postun rm - fix: W: dangerous-command-in-%%post ln - fix: general improvements - fix: E: standard-dir-owned-by-package - fix: W: file-not-in-%%lang - fix: W: no-manual-page-for-binary - fix: W: files-duplicate * Mon Sep 04 2023 Wesley H. Gimenes - 0.4.6-2 - fix: use-of-RPM_SOURCE_DIR * Mon Sep 04 2023 Wesley H. Gimenes - 0.4.6-1 - First Release ## END: Generated by rpmautospec