Name: kf6-rpm-macros Version: 6.29.0 Release: 3%{?dist} Summary: RPM macros for building KDE Frameworks 6 / Plasma 6 packages (minimal) License: BSD-3-Clause Source0: macros.kf6 Requires: qt6-rpm-macros >= 6 Requires: gcc-c++ BuildArch: noarch %description Minimal %%cmake_kf6/%%cmake_build_kf6/%%cmake_install_kf6 macros, trimmed from Fedora's kf6 meta-spec. BUILD_QCH (developer API doc generation) is disabled here -- it pulls in doxygen + qt6-doc-devel + kde-qdoc-common for every single component build, and we only need working binaries, not generated API docs, for a functional desktop. %install mkdir -p %{buildroot}%{_includedir}/kf6 mkdir -p %{buildroot}%{_includedir}/KF6 mkdir -p %{buildroot}%{_datadir}/kf6 mkdir -p %{buildroot}%{_datadir}/kservices6 mkdir -p %{buildroot}%{_datadir}/kservicetypes6 mkdir -p %{buildroot}%{_datadir}/qlogging-categories6 mkdir -p %{buildroot}%{_libexecdir}/kf6 mkdir -p %{buildroot}%{_libdir}/qt6/plugins/kf6 mkdir -p %{buildroot}%{_libdir}/qt6/qml/org/kde install -Dpm644 %{SOURCE0} %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf6 # Doc-generation targets (prepare_docs/generate_docs/generate_qch/ # install_*_docs) are already stripped out of this Source0 macros.kf6 # by hand -- see changelog. Only the version placeholder needs substituting. sed -i \ -e "s|@@kf6_VERSION@@|%{version}|g" \ -e "s|-DBUILD_QCH:BOOL=ON|-DBUILD_QCH:BOOL=OFF|" \ %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf6 %files %{_rpmconfigdir}/macros.d/macros.kf6 %dir %{_includedir}/kf6 %dir %{_includedir}/KF6 %dir %{_datadir}/kf6 %dir %{_datadir}/kservices6 %dir %{_datadir}/kservicetypes6 %dir %{_datadir}/qlogging-categories6 %dir %{_libexecdir}/kf6 %dir %{_libdir}/qt6/plugins/kf6 %dir %{_libdir}/qt6/qml/org/kde %changelog * Sat Aug 29 2026 Smech - 6.29.0-2 - Strip prepare_docs/generate_docs/generate_qch/install_*_docs targets directly out of %%cmake_build_kf6/%%cmake_install_kf6 -- BUILD_QCH:OFF alone didn't stop these from running unconditionally as separate build steps (found via kcoreaddons build failing on missing qdoc conf files) * Sat Aug 29 2026 Smech - 6.29.0-1 - Minimal KF6 rpm-macros rewrite, BUILD_QCH disabled, no legacy pre-6.29 fallback branches