Name: r2modman Version: 3.2.8 Release: 1%{?dist} Summary: Mod manager for Risk of Rain 2 and other Thunderstore games # Disable debuginfo/debugsource subpackages %global debug_package %{nil} License: MIT and other licenses URL: https://github.com/ebkr/r2modmanPlus Source0: %{name}-%{version}.tar.gz Source1: r2modman.desktop Source2: 256.png Source3: r2modman.metainfo.xml ExclusiveArch: x86_64 BuildRequires: desktop-file-utils BuildRequires: hicolor-icon-theme BuildRequires: appstream Requires: at-spi2-core Requires: gtk3 Requires: libXScrnSaver Requires: libXtst Requires: libnotify Requires: libuuid Requires: nss Requires: xdg-utils %description r2modman is a simple and easy-to-use mod manager for Risk of Rain 2 and many other games using the Thunderstore modding ecosystem. This package provides the prebuilt Electron application. %prep %autosetup -n %{name}-%{version} %build # Nothing to build %install # Install under /opt (to match upstream packaging) mkdir -p %{buildroot}/opt/%{name} cp -a * %{buildroot}/opt/%{name}/ # Desktop entry install -Dm0644 %{SOURCE1} %{buildroot}%{_datadir}/applications/%{name}.desktop # Single 256px icon install -Dm0644 %{SOURCE2} %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/%{name}.png # AppStream metadata install -Dm0644 %{SOURCE3} %{buildroot}%{_datadir}/metainfo/%{name}.metainfo.xml %post update-desktop-database &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache -q -t -f %{_datadir}/icons/hicolor &>/dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : appstream-util validate-relax --nonet %{_datadir}/metainfo/%{name}.metainfo.xml &>/dev/null || : %postun update-desktop-database &> /dev/null || : if [ $1 -eq 0 ]; then gtk-update-icon-cache -q -t -f %{_datadir}/icons/hicolor &>/dev/null || : fi %files %license LICENSE.electron.txt LICENSES.chromium.html /opt/%{name} /usr/share/applications/%{name}.desktop /usr/share/icons/hicolor/256x256/apps/%{name}.png /usr/share/metainfo/%{name}.metainfo.xml %changelog * Fri Sep 26 2025 Your Name - 3.2.8-1 - Added AppStream metadata (r2modman.metainfo.xml) - Removed BepisLoaderInstaller uninstall - Fix launch behaviour resolution - Config Editor: Multi Select - Config Editor Rewrite * Tue Sep 23 2025 Your Name - 3.2.7-1 - Packaged r2modman with desktop entry and 256px icon