Name: kbackup Version: 26.08.0 Release: 2%{?dist} Summary: Backup utility License: BSD-2-Clause AND CC0-1.0 AND GFDL-1.2-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT URL: https://apps.kde.org/kbackup Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: kf6-rpm-macros BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: cmake(KF6GuiAddons) BuildRequires: cmake(KF6Notifications) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6KIO) BuildRequires: cmake(KF6XmlGui) BuildRequires: cmake(KF6IconThemes) BuildRequires: cmake(KF6Archive) BuildRequires: cmake(KF6WidgetsAddons) BuildRequires: cmake(KF6StatusNotifierItem) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6Core5Compat) BuildRequires: pkgconfig(libarchive) BuildRequires: shared-mime-info %description KBackup is KDE's backup utility. Full CMakeLists.txt read recursively (top-level, src/, src/pics/) -- two real hard deps beyond the KF6/Qt6 baseline: LibArchive (already available, used by Ark earlier this phase) and SharedMimeInfo, which ECM's own FindSharedMimeInfo.cmake module only needs the update-mime-database binary for (confirmed via the real update_xdg_mimetypes() call at install time), satisfied by the plain shared-mime-info runtime package -- no separate -devel package exists for it on this distro because it isn't a C library. KF6StatusNotifierItem is already built earlier in this repo (was also a Spectacle dependency). Qt6Core5Compat's own find_package() call has no REQUIRED keyword, but src/CMakeLists.txt unconditionally target_link_libraries()s against Qt6::Core5Compat regardless -- a soft find_package() that's actually a hard requirement in practice, confirmed by the real CMake configure error when it was left out. Confirmed available as the real qt6-qt5compat(-devel) packages. %prep %autosetup -p1 %build %cmake_kf6 %cmake_build_kf6 %install %cmake_install_kf6 %find_lang %{name} --with-html %files -f %{name}.lang %license LICENSES/* %{_kf6_bindir}/kbackup %{_datadir}/applications/org.kde.kbackup.desktop %{_kf6_metainfodir}/org.kde.kbackup.appdata.xml %{_datadir}/mime/packages/kbackup.xml %{_datadir}/icons/hicolor/*/apps/kbackup.png %{_datadir}/icons/hicolor/*/mimetypes/text-x-kbp.png %{_datadir}/icons/hicolor/*/actions/kbackup_*.png %changelog * Sun Aug 30 2026 Smech - 26.08.0-2 - R1 failed at CMake configure: "Target kbackup links to: Qt6::Core5Compat but the target was not found." The top-level find_package(Qt6Core5Compat) has no REQUIRED keyword, but src/CMakeLists.txt unconditionally links against it regardless -- a soft find_package() that's a hard requirement in practice. Added cmake(Qt6Core5Compat), confirmed real and available as qt6-qt5compat(-devel). * Sun Aug 30 2026 Smech - 26.08.0-1 - Real upstream source. %%files built from real install()/ ecm_install_icons() call sites across src/CMakeLists.txt and src/pics/CMakeLists.txt (a second, separate icons directory for toolbar action icons, easy to miss with only a top-level grep -- caught this time via the mandatory full recursive scan). SharedMimeInfo dependency resolved to the plain shared-mime-info runtime package after confirming it's a tool-only dependency (update-mime-database), not a linkable library.