Name: kolourpaint Version: 26.08.0 Release: 2%{?dist} Summary: Paint program 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 LGPL-2.0-or-later AND LGPL-2.1-or-later AND MIT URL: https://apps.kde.org/kolourpaint 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(KF6I18n) BuildRequires: cmake(KF6GuiAddons) BuildRequires: cmake(KF6WidgetsAddons) BuildRequires: cmake(KF6KIO) BuildRequires: cmake(KF6XmlGui) BuildRequires: cmake(KF6TextWidgets) BuildRequires: cmake(KF6JobWidgets) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6PrintSupport) %description KolourPaint is KDE's paint program. Full CMakeLists.txt read recursively (top-level, lgpl/, pics/action/, pics/app/) -- another clean, minimal dependency tree with every required KF6 component already built earlier in this repo. KSaneWidgets6 (scanner support) is a genuinely soft find_package() with no REQUIRED keyword and no fatal set_package_properties TYPE, so it's simply not built here and KolourPaint degrades gracefully (loses only "acquire image" via flatbed scanner). BUILD_DOC defaults unset/OFF at the CMake option level (no -D needed, unlike Kate/Ark where it defaulted ON) so KF6DocTools is never even probed. The one real oddity: the toolbox action icons (pics/action/CMakeLists.txt) install to a non-standard ${KDE_INSTALL_DATADIR}/kolourpaint/icons subtree rather than the usual hicolor icon-theme directory -- confirmed via the literal DESTINATION argument in the real ecm_install_icons() call, not assumed. %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/* %{_kf6_bindir}/kolourpaint %{_kf6_libdir}/libkolourpaint_lgpl.so* %{_datadir}/applications/org.kde.kolourpaint.desktop %{_kf6_metainfodir}/org.kde.kolourpaint.appdata.xml %{_datadir}/icons/hicolor/*/apps/kolourpaint.png %{_datadir}/icons/hicolor/scalable/apps/kolourpaint.svgz %{_kf6_datadir}/kolourpaint/ %changelog * Sun Aug 30 2026 Smech - 26.08.0-2 - R1 failed: kdoctools_create_handbook error in doc/CMakeLists.txt. Missed that BUILD_DOC is a real CMake option() defaulting ON (declared at CMakeLists.txt:15, above the range I originally read) -- same class of miss as Kate/Ark, just caught one line too late this time. Passed -DBUILD_DOC=OFF like every other app this phase. * Sun Aug 30 2026 Smech - 26.08.0-1 - Real upstream source. Lightweight package, no plugins, no separate libs/devel subpackages -- the one internal shared library (kolourpaint_lgpl, split out purely for license-isolation reasons per its own source comment, "MUST be a dynamic link library to avoid LGPL license infection") ships directly in the main package since it's not exported for external linking. %%files built from real install()/ecm_install_icons() call sites across the whole source tree, including the non-standard action-icon destination path noted in %%description.