# Disable X11 for RHEL %bcond x11 %[%{undefined rhel}] %global framework kidletime Name: kf6-%{framework} Version: 6.9.0 Release: 1%{?dist} Summary: KDE Frameworks 6 Tier 1 integration module for idle time detection License: CC0-1.0 AND GPL-2.0-or-later AND LGPL-2.1-or-later AND MIT URL: https://invent.kde.org/frameworks/%{framework} Source0: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: extra-cmake-modules >= %{version} BuildRequires: kf6-rpm-macros BuildRequires: qt6-qtbase-devel BuildRequires: wayland-devel BuildRequires: wayland-protocols-devel BuildRequires: cmake(PlasmaWaylandProtocols) BuildRequires: cmake(Qt6WaylandClient) Requires: kf6-filesystem %if %{with x11} Recommends: %{name}-x11%{?_isa} = %{version}-%{release} %endif %description KDE Frameworks 6 Tier 1 integration module for idle time detection. %if %{with x11} %package x11 Summary: Idle time detection plugins for X11 environments BuildRequires: pkgconfig(xext) BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(xcb-sync) BuildRequires: pkgconfig(xscrnsaver) BuildRequires: pkgconfig(xkbcommon) Requires: %{name}%{?_isa} = %{version}-%{release} Conflicts: %{name} < 6.6.0-1 # X11 is deprecated and this will be removed eventually... Provides: deprecated() %description x11 The %{name}-x11 package contains plugins for applications using %{name} to detect idle time on X11 environments. %endif %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: qt6-qtbase-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package doc Summary: Developer Documentation files for %{name} BuildArch: noarch %description doc Developer Documentation files for %{name} for use with KDevelop or QtCreator. %prep %autosetup -n %{framework}-%{version} -p1 %build %cmake_kf6 \ -DWITH_X11=%{?with_x11:ON}%{?!with_x11:OFF} %cmake_build %install %cmake_install %files %doc README.md %license LICENSES/*.txt %{_kf6_datadir}/qlogging-categories6/%{framework}.* %{_kf6_libdir}/libKF6IdleTime.so.* %dir %{_kf6_plugindir}/org.kde.kidletime.platforms/ %{_kf6_plugindir}/org.kde.kidletime.platforms/KF6IdleTimeWaylandPlugin.so %if %{with x11} %files x11 %{_kf6_plugindir}/org.kde.kidletime.platforms/KF6IdleTimeXcbPlugin0.so %{_kf6_plugindir}/org.kde.kidletime.platforms/KF6IdleTimeXcbPlugin1.so %endif %files devel %{_kf6_includedir}/KIdleTime/ %{_kf6_libdir}/libKF6IdleTime.so %{_kf6_libdir}/cmake/KF6IdleTime/ %{_qt6_docdir}/*.tags %files doc %{_qt6_docdir}/*.qch %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 * Wed Oct 02 2024 Neal Gompa - 6.6.0-3 - Enable X11 plugins and ship as subpackage in Fedora * Wed Oct 02 2024 Neal Gompa - 6.6.0-2 - Drop unused qt6-qtbase-private-devel BR * Mon Sep 16 2024 Steve Cossette - 6.6.0-1 - 6.6.0 * Thu Sep 05 2024 Troy Dawson - 6.5.0-2 - Clean up X dependencies * 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 * Thu Apr 04 2024 Jan Grulich - 6.0.0-3 - Rebuild (qt6) * Sat Mar 09 2024 Marie Loise Nolden - 6.0.0-2 - add missing BuildArch: noarch to -doc package * Wed Feb 21 2024 Marc Deop i Argemí - 6.0.0-1 - 6.0.0 * Fri Feb 16 2024 Jan Grulich - 5.249.0-2 - Rebuild (qt6) * 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 * Tue Jan 09 2024 Marie Loise Nolden - 5.247.0-2 - add doc package for KF6 API * Wed Dec 20 2023 Marc Deop i Argemí - 5.247.0-1 - 5.247.0 * Sat Dec 02 2023 Justin Zobel - 5.246.0-1 - Update to 5.246.0 * Wed Nov 29 2023 Jan Grulich - 5.245.0-2 - Rebuild (qt6) * Thu Nov 09 2023 Steve Cossette - 5.245.0-1 - 5.245.0 * Tue Oct 17 2023 Jan Grulich - 5.240.0^20230829.233116.5bf73aa-3 - Rebuild (qt6) * Thu Oct 05 2023 Justin Zobel - 5.240.0^20230829.233116.5bf73aa-2 - Rebuild for Qt Private API * Sun Sep 24 2023 Steve Cossette - 5.240.0^20230829.233116.5bf73aa-1 - Initial release