Name: kcalc Version: 26.08.0 Release: 1%{?dist} Summary: Scientific calculator 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-only AND LGPL-2.1-or-later AND MIT URL: https://apps.kde.org/kcalc 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(KF6Crash) BuildRequires: cmake(KF6ColorScheme) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6ConfigWidgets) BuildRequires: cmake(KF6GuiAddons) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6IconThemes) BuildRequires: cmake(KF6Notifications) BuildRequires: cmake(KF6XmlGui) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Widgets) BuildRequires: gmp-devel BuildRequires: mpfr-devel BuildRequires: libmpc-devel %description KCalc is KDE's scientific calculator. The lightest KDE Applications- suite package built in this repo so far -- full CMakeLists.txt read recursively (top-level + knumber/), confirmed only three real hard deps beyond the standard KF6/Qt6 baseline: GMP, MPFR, and libmpc (arbitrary-precision arithmetic libraries, all confirmed real and available on this distro via a live Azure Linux container tdnf search -- the same libraries GCC itself depends on to build, so their presence here was never really in doubt). Passed -DINSTALL_ICONS=ON: upstream defaults this OFF (relying only on the icon baked into the binary via ecm_add_app_icon, a Windows/macOS-style resource embed), but a normal Linux desktop entry needs the real hicolor icon files installed too for the launcher/taskbar to find it. %prep %autosetup -p1 %build %cmake_kf6 -DINSTALL_ICONS=ON %cmake_build_kf6 %install %cmake_install_kf6 %find_lang %{name} --with-html %files -f %{name}.lang %license LICENSES/* %doc README.md %{_kf6_bindir}/kcalc %{_datadir}/applications/org.kde.kcalc.desktop %{_kf6_metainfodir}/org.kde.kcalc.appdata.xml %{_datadir}/icons/hicolor/*/apps/accessories-calculator.png %{_kf6_datadir}/config.kcfg/kcalc.kcfg %{_kf6_datadir}/kconf_update/kcalcrc.upd %{_datadir}/kglobalaccel/org.kde.kcalc.desktop %changelog * Sun Aug 30 2026 Smech - 26.08.0-1 - Real upstream source. Lightest KDE Applications-suite package this phase -- clean single-binary layout, no plugins, no kfileitemaction integrations, no separate libs/devel subpackages needed. Only real surprise was INSTALL_ICONS defaulting OFF upstream; passed -DINSTALL_ICONS=ON so the real hicolor icon files actually get installed (confirmed via reading the option's default and the icons/ source directory's real file-naming convention).