Name: kmag Version: 26.08.0 Release: 1%{?dist} Summary: Screen magnifier 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.1-or-later AND MIT URL: https://apps.kde.org/kmag 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(KF6KIO) BuildRequires: cmake(KF6XmlGui) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6PrintSupport) %description KMag is KDE's screen magnifier. Full CMakeLists.txt read (top-level, src/, pics/) -- BUILD_DOC defaults ON and escalates KF6DocTools to REQUIRED, so passed -DBUILD_DOC=OFF like every other app this phase using that pattern. QAccessibilityClient6 is genuinely soft/optional (TYPE OPTIONAL) and not built anywhere in this repo; KMag degrades gracefully, losing only keyboard-focus-tracking magnification. %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}/kmag %{_datadir}/applications/org.kde.kmag.desktop %{_kf6_metainfodir}/org.kde.kmag.metainfo.xml %{_datadir}/icons/hicolor/*/apps/kmag.png %{_datadir}/icons/hicolor/scalable/apps/kmag.svg %{_kf6_datadir}/kmag/icons/ %changelog * Sun Aug 30 2026 Smech - 26.08.0-1 - Real upstream source. %%files built from real install()/ ecm_install_icons() call sites, including the non-standard action- icon destination (${KDE_INSTALL_DATADIR}/kmag/icons, same custom-subdir pattern as KolourPaint earlier this phase) confirmed via the literal DESTINATION argument, not assumed.