Name: ark Version: 26.08.0 Release: 3%{?dist} Summary: Archive manager License: BSD-2-Clause AND CC0-1.0 AND GFDL-1.2-only AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND MIT URL: https://apps.kde.org/ark 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(KF6Config) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(KF6DBusAddons) BuildRequires: cmake(KF6FileMetaData) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6KIO) BuildRequires: cmake(KF6Service) BuildRequires: cmake(KF6Parts) BuildRequires: cmake(KF6Pty) BuildRequires: cmake(KF6WidgetsAddons) BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(KF6IconThemes) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Concurrent) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Widgets) BuildRequires: qt6-qtbase-private-devel BuildRequires: pkgconfig(libarchive) BuildRequires: zlib-devel Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: bzip2 Requires: gzip Requires: unzip %description Ark is KDE's archive manager. Full CMakeLists.txt read recursively across the entire source tree (top-level, plugins/*, kerfuffle/, part/, app/) -- only two real hard deps beyond the KF6/Qt6 baseline: LibArchive (REQUIRED) and, transitively for its own libzipplugin, ZLIB (REQUIRED only inside that plugin's own CMakeLists.txt, gated by LibZip_FOUND at the top level). LibZip itself was deliberately not added as a BuildRequires here, matching the Dolphin/baloo-widgets precedent from earlier in this build: LibZip is a soft find_package() (not REQUIRED) so plugins/libzipplugin simply never gets added to the build and Ark degrades gracefully -- it keeps full ZIP support via the clizipplugin CLI wrapper (shells out to zip/unzip) instead of the native libzip backend. BUILD_DOC defaults ON and escalates KF6DocTools to REQUIRED if left on; passed -DBUILD_DOC=OFF since KF6DocTools isn't built in this repo (same as Kate/plasma-pa). Dropped Fedora's cmake(Mlt7), bzip2-devel, and pkgconfig(liblzma) BuildRequires after confirming zero real references to Mlt/bzlib.h/ lzma.h anywhere in this version's actual source -- vestigial. %package libs Summary: Runtime libraries for %{name} %description libs %{summary}. %prep %autosetup -p1 %build %cmake_kf6 -DBUILD_DOC:BOOL=OFF %cmake_build_kf6 %install %cmake_install_kf6 %find_lang %{name} --with-html %files -f %{name}.lang %license LICENSES/* %doc README.md %{_kf6_bindir}/ark %{_datadir}/applications/org.kde.ark.desktop %{_kf6_metainfodir}/org.kde.ark.appdata.xml %{_datadir}/icons/hicolor/*/apps/ark.png %{_datadir}/icons/hicolor/scalable/apps/ark.svgz %{_sysconfdir}/xdg/arkrc %{_kf6_datadir}/qlogging-categories6/ark.categories %{_kf6_datadir}/config.kcfg/ark.kcfg %{_kf6_datadir}/kconf_update/ark_move_dirhistory_to_state_config.upd %{_kf6_datadir}/kconf_update/ark_move_dirhistory_to_state_config.py %dir %{_kf6_qtplugindir}/kerfuffle/ %{_kf6_qtplugindir}/kerfuffle/*.so %{_kf6_plugindir}/parts/arkpart.so %{_kf6_plugindir}/kio_dnd/extracthere.so %{_kf6_plugindir}/kfileitemaction/compressfileitemaction.so %{_kf6_plugindir}/kfileitemaction/extractfileitemaction.so %files libs %{_kf6_libdir}/libkerfuffle.so.* %changelog * Sun Aug 30 2026 Smech - 26.08.0-3 - R2 failed on "Installed (but unpackaged)": three real plugins (compressfileitemaction.so, extractfileitemaction.so under kfileitemaction, and extracthere.so under kio_dnd -- Ark's own Dolphin/file-manager right-click compress/extract integration) install via kcoreaddons_add_plugin's own INSTALL_NAMESPACE mechanism in app/CMakeLists.txt, which doesn't show up in a plain grep for install(), unlike ordinary install() calls -- missed entirely in the R1/R2 source scan since I only grepped for the literal install( token. Added all three real paths, confirmed against the actual kcoreaddons_add_plugin() call sites. * Sun Aug 30 2026 Smech - 26.08.0-2 - R1 compiled cleanly, all real errors were %%files path mistakes: the icon files install as plain ark.png/ark.svgz (ecm_install_icons renames the size-prefixed source filenames per KDE convention, my glob still matched the source-tree naming), the kerfuffle plugins install to %{_kf6_qtplugindir}/kerfuffle/ (NOT under a kf6/ subdirectory -- %{_kf6_plugindir} was the wrong macro here), and arkpart.so has a double-kf6 bug: %{_kf6_plugindir} already expands to .../plugins/kf6, so appending another /kf6/parts/ looked for .../plugins/kf6/kf6/parts/ -- fixed to just %{_kf6_plugindir}/parts/arkpart.so. All three confirmed against the real -- Installing: lines in the build log. * Sun Aug 30 2026 Smech - 26.08.0-1 - Real upstream source. Full dependency tree scanned recursively across every CMakeLists.txt (top-level, plugins/*, kerfuffle/, part/, app/) -- only two real hard-dep surprises: LibArchive (REQUIRED) and ZLIB (REQUIRED, but only inside the LibZip_FOUND- gated libzipplugin subdirectory, so it's conditional in practice). Deliberately skipped libzip-devel to let that one plugin gracefully drop out (ZIP support still fully covered by the CLI-wrapper clizipplugin), matching the Dolphin/baloo-widgets precedent. Passed -DBUILD_DOC=OFF (KF6DocTools absent, same as every other app this phase). %%files built entirely from real install() calls this round, not copied verbatim from Fedora's reference spec -- dropped cmake(Mlt7)/bzip2-devel/pkgconfig(liblzma) as vestigial (zero real references found via full source grep for Mlt/bzlib.h/lzma.h).