%global debug_package %{nil} Name: kf6 # This version MUST remain in sync with KF6 versions! Version: 6.9.0 Release: 1%{?dist} Summary: Filesystem and RPM macros for KDE Frameworks 6 License: BSD-3-Clause URL: http://www.kde.org Source0: macros.kf6 Source1: LICENSE %description Filesystem and RPM macros for KDE Frameworks 6 %package filesystem Summary: Filesystem for KDE Frameworks 6 %if 0%{?fedora} >= 40 || 0%{?rhel} >= 10 Requires: kde-filesystem >= 5 %endif %{?_qt6_version:Requires: qt6-qtbase >= %{_qt6_version}} %description filesystem Filesystem for KDE Frameworks 6. %package rpm-macros Summary: RPM macros for KDE Frameworks 6 Requires: cmake >= 3 Requires: qt6-rpm-macros >= 6 # misc build environment dependencies Requires: gcc-c++ # for docs generation Requires: doxygen Requires: qt6-doc-devel Requires: cmake(Qt6ToolsTools) BuildArch: noarch %description rpm-macros RPM macros for building KDE Frameworks 6 packages. %install # See macros.kf6 where the directories are specified mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/plugins/kf6/ mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/qt6/qml/org/kde/ mkdir -p %{buildroot}%{_includedir}/kf6 mkdir -p %{buildroot}%{_includedir}/KF6 mkdir -p %{buildroot}%{_datadir}/{kf6,kservices6,kservicetypes6} mkdir -p %{buildroot}%{_datadir}/kio/servicemenus mkdir -p %{buildroot}%{_datadir}/qlogging-categories6/ mkdir -p %{buildroot}%{_docdir}/qt6 mkdir -p %{buildroot}%{_libexecdir}/kf6 mkdir -p %{buildroot}%{_datadir}/kf6/ mkdir -p %{buildroot}%{_datadir}/locale/tok %if ! (0%{?fedora} >= 40 || 0%{?rhel} >= 10) mkdir -p %{buildroot}%{_prefix}/{lib,%{_lib}}/kconf_update_bin mkdir -p %{buildroot}%{_datadir}/{config.kcfg,kconf_update} mkdir -p %{buildroot}%{_datadir}/kpackage/{genericqml,kcms} mkdir -p %{buildroot}%{_datadir}/knsrcfiles/ mkdir -p %{buildroot}%{_datadir}/solid/{actions,devices} mkdir -p %{buildroot}%{_sysconfdir}/xdg/plasma-workspace/{env,shutdown} %endif install -Dpm644 %{_sourcedir}/macros.kf6 %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf6 install -Dpm644 %{_sourcedir}/LICENSE %{buildroot}%{_datadir}/kf6/LICENSE sed -i \ -e "s|@@kf6_VERSION@@|%{version}|g" \ %{buildroot}%{_rpmconfigdir}/macros.d/macros.kf6 %files filesystem %{_datadir}/kf6/ %{_datadir}/kio/ %{_datadir}/kservices6/ %{_datadir}/kservicetypes6/ %{_datadir}/qlogging-categories6/ %{_docdir}/qt6/ %{_includedir}/kf6/ %{_includedir}/KF6/ %{_libexecdir}/kf6/ %{_prefix}/%{_lib}/qt6/plugins/kf6/ %{_prefix}/lib/qt6/plugins/kf6/ %{_prefix}/%{_lib}/qt6/qml/org/kde/ %{_prefix}/lib/qt6/qml/org/kde/ %{_datadir}/locale/tok %if ! (0%{?fedora} >= 40 || 0%{?rhel} >= 10) %{_datadir}/config.kcfg/ %{_datadir}/kconf_update/ %{_datadir}/knsrcfiles/ %{_datadir}/kpackage/ %{_datadir}/solid/ %{_prefix}/%{_lib}/kconf_update_bin/ %{_prefix}/lib/kconf_update_bin/ %{_sysconfdir}/xdg/plasma-workspace/ %endif %files rpm-macros %{_rpmconfigdir}/macros.d/macros.kf6 %changelog * Sat Dec 14 2024 Steve Cossette - 6.9.0-1 - 6.9.0 * Sat Nov 02 2024 Marc Deop i Argemí - 6.8.0-1 - 6.8.0 * Fri Oct 04 2024 Steve Cossette - 6.7.0-1 - 6.7.0 * Mon Sep 16 2024 Steve Cossette - 6.6.0-1 - 6.6.0 * Mon Sep 02 2024 Yaakov Selkowitz - 6.5.0-2 - Make %%stable_kf6 and %%maj_min_kf6 usable for other components * Sat Aug 10 2024 Steve Cossette - 6.5.0-1 - 6.5.0 * Thu Jul 18 2024 Fedora Release Engineering - 6.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jul 06 2024 Marc Deop i Argemí - 6.4.0-1 - 6.4.0 * Sat Jun 01 2024 Marc Deop i Argemí - 6.3.0-1 - 6.3.0 * Sat May 04 2024 Marc Deop i Argemí - 6.2.0-1 - 6.2.0 * Wed Apr 10 2024 Marc Deop i Argemí - 6.1.0-1 - 6.1.0 * Fri Apr 05 2024 Yaakov Selkowitz - 6.0.0-3 - Define KDE_INSTALL_QTQCHDIR in %%cmake_kf6 * Thu Mar 7 2024 Marie Loise Nolden - 6.0.0-2 - fix missing Qt6ToolsTools which are required for automatic qch building * Wed Feb 21 2024 Marc Deop i Argemí - 6.0.0-1 - 6.0.0 * Wed Jan 31 2024 Marc Deop i Argemí - 5.249.0-1 - 5.249.0 * Thu Jan 25 2024 Fedora Release Engineering - 5.248.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 5.248.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 10 2024 Marc Deop i Argemí - 5.248.0-1 - 5.248.0 * Mon Jan 08 2024 Neal Gompa - 5.247.0-2 - Add -DBUILD_QCH:BOOL=ON for qch file generation by default * Wed Dec 20 2023 Marc Deop i Argemí - 5.247.0-1 - 5.247.0 * Sat Dec 02 2023 Marc Deop i Argemí - 5.246.0-1 - 5.246.0 * Fri Nov 24 2023 Yaakov Selkowitz - 5.245.0-2 - Update servicemenus path * Fri Nov 10 2023 Alessandro Astone - 5.245.0-1 - 5.245.0 - Fix macros for unstable releases * Sun Nov 05 2023 Steve Cossette - 5.240.0-4 - Migrated/copied framework version macros from the kf5 package * Sun Oct 08 2023 Steve Cossette - 5.240.0-3 - Added ownership of the Toki Pona locale to kf6-filesystem * Thu Sep 21 2023 Neal Gompa - 5.240.0-2 - Add KDE QML paths to -filesystem subpackage (#2239699) * Sat Sep 16 2023 Neal Gompa - 5.240.0-1 - Set version matching extra-cmake-modules base version * Fri Sep 15 2023 Neal Gompa - 0.0-1 - Version reset in preparation for kf6 initial release * Thu Sep 14 2023 Yaakov Selkowitz - 7-2 - Use kde-filesystem for unversioned directories in F40+ * Fri Sep 8 2023 Justin Zobel 7-1 - Create and own /usr/include/KF6 * Thu Mar 2 2023 Justin Zobel 6-1 - Initial Version