%global framework solid Name: kf6-%{framework} Version: 6.29.0 Release: 1%{?dist} Summary: KDE Frameworks 6 Tier 1 integration module that provides hardware information License: LGPL-2.1-or-later AND LGPL-2.1-only AND CC0-1.0 AND BSD-3-Clause AND LGPL-3.0-only URL: https://solid.kde.org/ Source0: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: extra-cmake-modules >= %{majmin_ver_kf6} BuildRequires: kf6-rpm-macros BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6Tools) BuildRequires: systemd-devel BuildRequires: libmount-devel BuildRequires: flex BuildRequires: bison Requires: kde-filesystem %description Solid provides Hardware Discovery, Power Management, and Network Management for application developers. Trimmed from Fedora's spec: dropped libupnp-devel, libplist++-devel, libimobiledevice-devel, and media-player-info BuildRequires -- all real upstream CMakeLists.txt find_package() calls for these are non-REQUIRED (grep-verified against the real source), and none of them are referenced by solid's top-level or udev-backend build outside the translation catalogs, so they don't gate any compiled feature. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: cmake(Qt6Core) %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n %{framework}-%{version} -p1 %build %cmake_kf6 %cmake_build_kf6 %install %cmake_install_kf6 %files %exclude %{_datadir}/locale/*/LC_MESSAGES/*.qm %doc README.md TODO %license LICENSES/*.txt %{_kf6_bindir}/solid-hardware6 %{_kf6_datadir}/qlogging-categories6/%{framework}.* %{_kf6_libdir}/libKF6Solid.so.6 %{_kf6_libdir}/libKF6Solid.so.%{version} %files devel %{_kf6_includedir}/Solid/ %{_kf6_libdir}/cmake/KF6Solid/ %{_kf6_libdir}/libKF6Solid.so %changelog * Sat Aug 29 2026 Smech - 6.29.0-1 - Real upstream source, dropped non-REQUIRED optional deps not packaged here, %exclude wildcard for locale content