Name: kruler Version: 26.08.0 Release: 1%{?dist} Summary: Screen ruler 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/kruler 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(KF6CoreAddons) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6Notifications) BuildRequires: cmake(KF6StatusNotifierItem) BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(KF6XmlGui) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Widgets) BuildRequires: qt6-qtbase-private-devel %description KRuler is KDE's on-screen ruler utility. Full CMakeLists.txt read (top-level + pics/) -- minimal dependency tree, every KF6 component already built earlier in this repo including KF6StatusNotifierItem. XCB is a genuinely soft find_package() (no REQUIRED, gated further behind a WITHOUT_X11 option defaulting OFF) so its absence just drops X11-specific window-shape integration, not a build blocker. %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}/kruler %{_datadir}/applications/org.kde.kruler.desktop %{_kf6_metainfodir}/org.kde.kruler.appdata.xml %{_kf6_datadir}/knotifications6/kruler.notifyrc %{_kf6_datadir}/kruler/sounds/move.wav %{_datadir}/icons/hicolor/*/apps/kruler.png %{_datadir}/icons/hicolor/*/actions/kruler-*.png %changelog * Sun Aug 30 2026 Smech - 26.08.0-1 - Real upstream source. %%files built from real install()/ ecm_install_icons() call sites in CMakeLists.txt and pics/ CMakeLists.txt, including the notification config and a bundled drag-sound WAV file, both confirmed via literal install() DESTINATION arguments rather than assumed.