%global git_commit 39c6275341ac22f99342b92d0096c1bc5d753460 %global short_commit %(c=%{git_commit}; echo ${c:0:7}) Name: libappimage Version: 1.0.0 Release: 1.%{short_commit}.miryufix%{?dist} Summary: Library for handling AppImage files License: MIT URL: https://github.com/r-burns/libappimage Source0: %{name}-%{short_commit}.tar.gz BuildRequires: cmake >= 3.6 BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: cairo-devel BuildRequires: fuse-devel BuildRequires: librsvg2-devel BuildRequires: boost-devel BuildRequires: libarchive-devel BuildRequires: gtest-devel BuildRequires: gmock-devel BuildRequires: libzstd-devel BuildRequires: git BuildRequires: squashfuse-devel %description libappimage is a C++ library that implements functionality for dealing with AppImage files, part of the AppImage project. %package devel Summary: Development files for libappimage Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Development headers and CMake config files for libappimage library. %prep %autosetup -n %{name}-%{short_commit} -p1 %build mkdir -p build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_TESTING:BOOL=OFF \ -DCMAKE_INSTALL_LIBDIR=%{_libdir} \ -DCMAKE_INSTALL_INCLUDEDIR=%{_includedir} make %{?_smp_mflags} %install cd build %make_install %files %license LICENSE %doc README.md %{_libdir}/libappimage*.so.* %files devel %{_includedir}/appimage/ %{_libdir}/libappimage*.so %{_libdir}/cmake/libappimage/ %{_libdir}/pkgconfig/libappimage.pc %{_libdir}/libappimage_hashlib.a %{_libdir}/libappimage_shared.a %changelog * Sat Sep 06 2026 Miryu App Launcher contributors - 1.0.0-1.39c6275.miryufix - Fix "Icon field contains path" error when integrating AppImages whose internal .desktop file has an absolute path in the Icon= field (e.g. QQ AppImage with Icon=/opt/QQ/resources/app/512x512.png). - Integrator::deployIcons(): extract basename (strip path + extension) from Icon= instead of throwing DesktopIntegrationError. - DesktopEntryEditor::setIcons(): normalize path-based icon names the same way so the registered desktop file gets a clean theme icon name. - The X-AppImage-Old-Icon field still preserves the original value. * Wed Aug 26 2026 KairikiFedora <13278297951@sina.cn> - 1.0.0-0.39c6275 - Initial spec for r-burns/libappimage cmake branch fork