Name: modrinth-app Version: 0.13.7 Release: 1%{?dist} Summary: Modrinth App - A unique, open source launcher License: GPL-3.0-or-later URL: https://modrinth.com/app # We tell Copr to download the official pre-built RPM file Source0: https://github.com/modrinth/code/releases/download/v%{version}/Modrinth.App-%{version}-1.x86_64.rpm # Disable debug packages since we are using a pre-built binary %define debug_package %{nil} BuildRequires: cpio BuildRequires: rpm Requires: webkit2gtk4.1 Requires: gtk3 Requires: openssl %description The Modrinth App is a unique, open source launcher that allows you to play your favorite mods, and keep them up to date, all in one neat little package. This package repackages the official RPM release for Copr automatic updates. %prep # Create a build directory and extract the .rpm file %setup -c -T rpm2cpio %{SOURCE0} | cpio -idmv %build # No compilation required; we are repackaging the binary. %install # Copy the extracted directory structure (which will be a 'usr' folder) into the build root mkdir -p %{buildroot} cp -a usr %{buildroot}/ %files # Tell RPM which files belong to this package %{_bindir}/* %{_datadir}/applications/* %{_datadir}/icons/hicolor/*/apps/* %changelog * Sat May 02 2026 Bas van 't Hazeveld - 0.13.7-1 - Initial Copr release using official pre-built RPM