%define debug_package %{nil} %undefine _auto_set_build_flags Name: sgdboop Version: 1.3.1 Release: 1 Summary: Apply custom artwork to Steam, using SteamGridDB. License: Zlib URL: https://github.com/SteamGridDB/SGDBoop Source0: %{url}/archive/refs/tags/v%{version}.tar.gz BuildRequires: make gcc14 BuildRequires: libcurl-devel gtk3-devel BuildRequires: desktop-file-utils libappstream-glib Requires: xdg-utils %description SGDBoop is a tool that automatically applies assets from SteamGridDB directly to your Steam library, removing the need to download and set them manually. To Test: https://www.steamgriddb.com/boop %prep %autosetup -n SGDBoop-%{version} %build export CC=gcc-14 export CXX=g++-14 %__make %install %__install -Dm755 linux-release/SGDBoop -t %{buildroot}%{_bindir} %__install -Dm644 linux-release/com.steamgriddb.SGDBoop.desktop -t %{buildroot}%{_datadir}/applications %__install -Dm644 res/com.steamgriddb.SGDBoop.svg -t %{buildroot}%{_datadir}/icons/hicolor/scalable/apps %__install -Dm644 com.steamgriddb.SGDBoop.appdata.xml -t %{buildroot}%{_datadir}/metainfo %check desktop-file-validate %{buildroot}%{_datadir}/applications/com.steamgriddb.SGDBoop.desktop appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/com.steamgriddb.SGDBoop.appdata.xml %post xdg-mime default com.steamgriddb.SGDBoop.desktop x-scheme-handler/sgdb %files %license LICENSE %doc README.md %{_bindir}/SGDBoop %{_datadir}/applications/com.steamgriddb.SGDBoop.desktop %{_datadir}/icons/hicolor/scalable/apps/com.steamgriddb.SGDBoop.svg %{_datadir}/metainfo/com.steamgriddb.SGDBoop.appdata.xml %changelog %autochangelog