Name: kinfocenter Version: 6.7.4 Release: 1%{?dist} Summary: KDE Info Center License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND FSFAP AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) URL: https://invent.kde.org/plasma/%{name} Source0: https://download.kde.org/stable/plasma/%{version}/%{name}-%{version}.tar.xz BuildRequires: qt6-qtbase-devel BuildRequires: kf6-rpm-macros BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: cmake(KF6Completion) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6ConfigWidgets) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6IconThemes) BuildRequires: cmake(KF6KCMUtils) BuildRequires: cmake(KF6KIO) BuildRequires: cmake(KF6Service) BuildRequires: cmake(KF6Solid) BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(KF6XmlGui) BuildRequires: cmake(KF6Declarative) BuildRequires: cmake(KF6Package) BuildRequires: cmake(KF6DocTools) BuildRequires: cmake(KF6Kirigami) BuildRequires: libX11-devel BuildRequires: pciutils-devel BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libdrm) BuildRequires: desktop-file-utils BuildRequires: pkgconfig(libudev) Requires: kf6-kirigami%{?_isa} Requires: plasma-systemsettings Requires: pciutils Recommends: lm_sensors %description %{summary}: hardware and system information viewer, hosted as a set of System Settings pages. Most individual info pages here (PCI, GLX, EGL, OpenCL, Vulkan, Wayland, audio, network, firmware security, DMI/memory, sensors) shell out to an external CLI tool at runtime (lspci, glxinfo, eglinfo, clinfo, vulkaninfo, wayland-info, pipewire, ip/aha, fwupdmgr, dmidecode, sensors) -- every one of these is a real, verified set_package_properties(... TYPE RUNTIME) in upstream CMakeLists.txt, not a build dependency, so the build succeeds regardless of which tools are actually installed on the target system; pages just show unavailable info for whichever tool is missing. pciutils (lspci) is kept as a real Requires since it's cheap and available on this distro; the rest are left for a future pass once their respective stacks exist here (PipeWire, Vulkan tooling, fwupd, etc.). mesa-libGL/GLES/EGL/GLU-devel were verified NOT needed at all -- the GLX/EGL/OpenCL KCMs only shell out to their respective *info CLI tools, they don't link against the real libraries. %prep %autosetup -p1 %build %cmake_kf6 %cmake_build_kf6 %install %cmake_install_kf6 %find_lang %{name} --all-name --with-html %check desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.kinfocenter.desktop desktop-file-validate %{buildroot}%{_datadir}/applications/kcm_about-distro.desktop %files -f %{name}.lang %license LICENSES/* %{_bindir}/kinfocenter %{_kf6_libdir}/libKInfoCenterInternal.so %{_kf6_qtplugindir}/plasma/kcms/*.so %{_kf6_qtplugindir}/plasma/kcms/kinfocenter/*.so %{_datadir}/metainfo/org.kde.kinfocenter.appdata.xml %{_datadir}/applications/org.kde.kinfocenter.desktop %{_datadir}/applications/kcm_about-distro.desktop %{_kf6_datadir}/dbus-1/system-services/org.kde.kinfocenter.dmidecode.service %{_kf6_datadir}/dbus-1/system.d/org.kde.kinfocenter.dmidecode.conf %{_libexecdir}/kinfocenter-opengl-helper %{_libexecdir}/kinfocenter-vulkan-helper %{_kf6_datadir}/kinfocenter/ %{_kf6_datadir}/polkit-1/actions/org.kde.kinfocenter.dmidecode.policy %{_qt6_archdatadir}/qml/org/kde/kinfocenter/ %{_kf6_libexecdir}/kauth/kinfocenter-dmidecode-helper %changelog * Sat Aug 29 2026 Smech - 6.7.4-1 - Real upstream source. Full BuildRequires cross-checked at the individual-KCM level (kcms/*/CMakeLists.txt), not just the top-level file, since most of the actual hardware/system detail is gathered by shelling out to CLI tools at runtime rather than linking libraries -- confirmed via grep across every kcms/*/CMakeLists.txt that the only real non-KF6/Qt link dependencies anywhere in this package are Libusb-1.0 (usbview, TYPE OPTIONAL, gated on USB1_FOUND) and UDev::UDev; everything else Fedora's spec lists as BuildRequires (mesa-libGL/GLES/EGL/GLU-devel, libraw1394-devel) is vestigial for this build. libdrm is a genuine hard REQUIRED pkg_check_modules at the top-level CMakeLists.txt even though nothing appears to link the resulting target directly (kept it to satisfy cmake configure). Discovered while scoping this package that its own binary is a plain symlink to systemsettings -- built plasma-systemsettings first as a result (see that spec's changelog).