Name: appimagelauncher # Allow overriding at build time: --define "version 2.2.0" # Fallback default so plain builds still work %global upstream_version %{?version}%{!?version:2.2.0} Version: %{upstream_version} Release: 1%{?dist} Summary: AppImage desktop integration for Linux License: MIT URL: https://github.com/TheAssassin/AppImageLauncher # Default (COPR-friendly): fetch upstream tag tarball and rename it locally # The "#/..." tail forces a local filename of appimagelauncher-%{version}.tar.gz Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: ninja-build BuildRequires: desktop-file-utils BuildRequires: fuse-devel BuildRequires: glib2-devel BuildRequires: zlib-devel # Choose Qt5 for broad compatibility. Switch to qt6-qtbase-devel if you prefer. BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qttools-devel Requires: fuse %description AppImageLauncher makes your desktop AppImage-ready by integrating AppImages into the system (menu entries, icons, updates, etc.). %prep %autosetup -n AppImageLauncher-%{version} %build %cmake -G Ninja \ -DBUILD_TESTING=OFF \ -DUSE_SYSTEM_FUSE=ON \ -DCMAKE_BUILD_TYPE=RelWithDebInfo %cmake_build %install %cmake_install %check # no upstream tests enabled for this packaging true %files %license LICENSE* %doc README* docs/* /usr/bin/* /usr/share/applications/*.desktop /usr/share/icons/hicolor/*/*/*.png /usr/share/metainfo/*.xml %changelog * Sat Aug 16 2025 You - %{version}-1 - Initial version-overrideable spec