%global base_name libkscreen Name: libkscreen-qt5 Summary: KDE display configuration library Version: 5.27.10 Release: 1%{?dist} License: GPLv2+ URL: https://invent.kde.org/plasma/%{base_name} %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz Patch1: libkscreen-5.6.4-rhel-nowayland.patch # filter plugin provides %global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$ BuildRequires: extra-cmake-modules BuildRequires: cmake(KF5Config) BuildRequires: kf5-rpm-macros BuildRequires: systemd-rpm-macros %if 0%{?fedora} || 0%{?rhel} > 7 BuildRequires: kf5-kwayland-devel >= 5.22 %endif BuildRequires: libX11-devel BuildRequires: libxcb-devel BuildRequires: libXrandr-devel BuildRequires: plasma-wayland-protocols-devel BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-private-devel BuildRequires: qt5-qtwayland-devel BuildRequires: qt5-qtx11extras-devel BuildRequires: wayland-devel BuildRequires: cmake(Qt5LinguistTools) Requires: kf5-filesystem Provides: kf5-kscreen%{?_isa} = %{version}-%{release} Provides: kf5-kscreen = %{version}-%{release} Obsoletes: kf5-kscreen <= 1:5.2.0 %description LibKScreen is a library that provides access to current configuration of connected displays and ways to change the configuration. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Provides: kf5-kscreen-devel = %{version}-%{release} Provides: kf5-kscreen-devel%{?_isa} = %{version}-%{release} Obsoletes: kf5-kscreen-devel <= 1:5.2.0 %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %setup -q -n %{base_name}-%{version} %if 0%{?rhel} && 0%{?rhel} <= 7 %patch1 -p1 -b .nowayland %endif %build %cmake_kf5 %cmake_build %install %cmake_install %find_lang_kf5 libkscreen5_qt %ldconfig_scriptlets %files -f libkscreen5_qt.lang %license LICENSES/* %{_kf5_bindir}/kscreen-doctor %{_kf5_libexecdir}/kscreen_backend_launcher %{_kf5_libdir}/libKF5Screen.so.5.* %{_kf5_libdir}/libKF5Screen.so.8* %{_kf5_libdir}/libKF5ScreenDpms.so.5.* %{_kf5_libdir}/libKF5ScreenDpms.so.8* %{_kf5_plugindir}/kscreen/ %{_datadir}/dbus-1/services/org.kde.kscreen.service %{_kf5_datadir}/qlogging-categories5/libkscreen.categories %{_kf5_datadir}/zsh/site-functions/_kscreen-doctor %{_userunitdir}/plasma-kscreen.service %files devel %{_kf5_includedir}/KScreen/ %{_kf5_includedir}/kscreen_version.h %{_kf5_libdir}/libKF5Screen.so %{_kf5_libdir}/libKF5ScreenDpms.so %{_kf5_libdir}/cmake/KF5Screen/ %{_libdir}/pkgconfig/kscreen2.pc %{_kf5_archdatadir}/mkspecs/modules/qt_KScreen.pri %changelog * Sat Dec 16 2023 Marc Deop i Argemí - 5.27.10-1 - 5.27.10 * Tue Oct 24 2023 Steve Cossette - 5.27.9-1 - 5.27.9 * Tue Sep 12 2023 justin.zobel@gmail.com - 5.27.8-1 - 5.27.8 * Tue Aug 01 2023 Marc Deop i Argemí - 5.27.7-1 - 5.27.7 * Thu Jul 20 2023 Fedora Release Engineering - 5.27.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jun 25 2023 Marc Deop i Argemí - 5.27.6-1 - 5.27.6 * Wed May 10 2023 Marc Deop i Argemí - 5.27.5-1 - 5.27.5 * Tue Apr 04 2023 Marc Deop i Argemí - 5.27.4-1 - 5.27.4 * Tue Mar 14 2023 Marc Deop i Argemí - 5.27.3-1 - 5.27.3 * Tue Feb 28 2023 Marc Deop i Argemí - 5.27.2-1 - 5.27.2 * Tue Feb 21 2023 Marc Deop i Argemí - 5.27.1-1 - 5.27.1 * Thu Feb 09 2023 Marc Deop - 5.27.0-1 - 5.27.0 * Thu Jan 19 2023 Marc Deop - 5.26.90-1 - 5.26.90 * Thu Jan 19 2023 Fedora Release Engineering - 5.26.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 05 2023 Justin Zobel - 5.26.5-1 - Update to 5.26.5 * Tue Nov 29 2022 Marc Deop - 5.26.4-1 - 5.26.4 * Wed Nov 09 2022 Marc Deop - 5.26.3-1 - 5.26.3 * Wed Oct 26 2022 Marc Deop - 5.26.2-1 - 5.26.2 * Tue Oct 18 2022 Marc Deop - 5.26.1-1 - 5.26.1 * Thu Oct 06 2022 Marc Deop - 5.26.0-1 - 5.26.0 * Sat Sep 17 2022 Marc Deop - 5.25.90-1 - 5.25.90 * Wed Sep 07 2022 Marc Deop - 5.25.5-1 - 5.25.5 * Wed Aug 03 2022 Justin Zobel - 5.25.4-1 - Update to 5.25.4 * Thu Jul 21 2022 Fedora Release Engineering - 5.25.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Jul 12 2022 Marc Deop - 5.25.3-1 - 5.25.3 * Tue Jun 28 2022 Marc Deop - 5.25.2-1 - 5.25.2 * Tue Jun 21 2022 Marc Deop - 5.25.1-1 - 5.25.1 * Thu Jun 09 2022 Marc Deop - 5.25.0-1 - 5.25.0 * Fri May 20 2022 Marc Deop - 5.24.90-1 - 5.24.90 * Tue May 03 2022 Marc Deop - 5.24.5-1 - 5.24.5 * Thu Mar 31 2022 Justin Zobel - 5.24.4-1 - Update to 5.24.4 * Tue Mar 08 2022 Marc Deop - 5.24.3-1 - 5.24.3 * Tue Feb 22 2022 Rex Dieter - 5.24.2-1 - 5.24.2 * Tue Feb 15 2022 Marc Deop - 5.24.1-1 - 5.24.1 * Thu Feb 03 2022 Marc Deop - 5.24.0-1 - 5.24.0 * Thu Jan 20 2022 Fedora Release Engineering - 5.23.90-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jan 13 2022 Marc Deop - 5.23.90-1 - 5.23.90 * Tue Jan 04 2022 Marc Deop - 5.23.5-1 - 5.23.5 * Tue Dec 14 2021 Marc Deop - 5.23.4-1 - 5.23.4 * Wed Nov 10 2021 Rex Dieter - 5.23.3-1 - 5.23.3 * Tue Oct 26 2021 Rex Dieter - 5.23.2-1 - 5.23.2 * Sat Oct 23 2021 Marc Deop - 5.23.1-1 - 5.23.1 * Fri Oct 08 2021 Marc Deop - 5.23.0-1 - 5.23.0 * Sat Sep 18 2021 Marc Deop - 5.22.90-2 - Add BuildRequires: plasma-wayland-protocols-devel - Add BuildRequires: qt5-qtwayland-devel - Add BuildRequires: wayland-devel * Fri Sep 17 2021 Marc Deop - 5.22.90-1 - 5.22.90 * Tue Aug 31 2021 Jan Grulich - 5.22.5-1 - 5.22.5 * Tue Jul 27 2021 Jan Grulich - 5.22.4-1 - 5.22.4 * Thu Jul 22 2021 Fedora Release Engineering - 5.22.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Mon Jul 12 2021 Jan Grulich - 5.22.3-1 - 5.22.3 * Tue Jun 22 2021 Jan Grulich - 5.22.2.1-1 - 5.22.2.1 * Tue Jun 22 2021 Jan Grulich - 5.22.2-1 - 5.22.2 * Tue Jun 15 2021 Jan Grulich - 5.22.1-1 - 5.22.1 * Sun Jun 06 2021 Jan Grulich - 5.22.0-1 - 5.22.0 * Thu May 13 2021 Rex Dieter - 5.21.90-1 - 5.21.90 * Tue May 04 2021 Jan Grulich - 5.21.5-1 - 5.21.5 * Tue Apr 06 2021 Jan Grulich - 5.21.4-1 - 5.21.4 * Tue Mar 16 2021 Jan Grulich - 5.21.3-1 - 5.21.3 * Tue Mar 02 2021 Jan Grulich - 5.21.2-1 - 5.21.2 * Tue Feb 23 2021 Jan Grulich - 5.21.1-1 - 5.21.1 * Thu Feb 11 2021 Jan Grulich - 5.21.0-1 - 5.21.0 * Tue Jan 26 2021 Fedora Release Engineering - 5.20.90-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 21 2021 Jan Grulich - 5.20.90-1 - 5.20.90 (beta) * Tue Jan 5 16:03:31 CET 2021 Jan Grulich - 5.20.5-1 - 5.20.5 * Tue Dec 1 09:42:59 CET 2020 Jan Grulich - 5.20.4-1 - 5.20.4 * Wed Nov 11 08:22:40 CET 2020 Jan Grulich - 5.20.3-1 - 5.20.3 * Tue Oct 27 14:23:09 CET 2020 Jan Grulich - 5.20.2-1 - 5.20.2 * Tue Oct 20 15:29:02 CEST 2020 Jan Grulich - 5.20.1-1 - 5.20.1 * Sun Oct 11 19:50:03 CEST 2020 Jan Grulich - 5.20.0-1 - 5.20.0 * Fri Sep 18 2020 Jan Grulich - 5.19.90-1 - 5.19.90 * Tue Sep 01 2020 Jan Grulich - 5.19.5-1 - 5.19.5 * Tue Jul 28 2020 Jan Grulich - 5.19.4-1 - 5.19.4 * Tue Jul 28 2020 Fedora Release Engineering - 5.19.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 07 2020 Jan Grulich - 5.19.3-1 - 5.19.3 * Tue Jun 23 2020 Jan Grulich - 5.19.2-1 - 5.19.2 * Wed Jun 17 2020 Martin Kyral - 5.19.1-1 - 5.19.1 * Tue Jun 9 2020 Martin Kyral - 5.19.0-1 - 5.19.0 * Fri May 15 2020 Martin Kyral - 5.18.90-1 - 5.18.90 * Tue May 05 2020 Jan Grulich - 5.18.5-1 - 5.18.5 * Sat Apr 04 2020 Rex Dieter - 5.18.4.1-1 - 5.18.4.1 * Tue Mar 31 2020 Jan Grulich - 5.18.4-1 - 5.18.4 * Tue Mar 10 2020 Jan Grulich - 5.18.3-1 - 5.18.3 * Fri Feb 28 2020 Jan Grulich - 5.18.2-2 - Handle when backend fails to load/initialize * Tue Feb 25 2020 Jan Grulich - 5.18.2-1 - 5.18.2 * Tue Feb 18 2020 Jan Grulich - 5.18.1-1 - 5.18.1 * Tue Feb 11 2020 Jan Grulich - 5.18.0-1 - 5.18.0 * Wed Jan 29 2020 Fedora Release Engineering - 5.17.90-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Fri Jan 17 2020 Jan Grulich - 5.17.90-2 - Respin tarball * Thu Jan 16 2020 Jan Grulich - 5.17.90-1 - 5.17.90 * Wed Jan 08 2020 Jan Grulich - 5.17.5-1 - 5.17.5 * Thu Dec 05 2019 Jan Grulich - 5.17.4-1 - 5.17.4 * Wed Nov 13 2019 Martin Kyral - 5.17.3-1 - 5.17.3 * Wed Oct 30 2019 Jan Grulich - 5.17.2-1 - 5.17.2 * Wed Oct 23 2019 Jan Grulich - 5.17.1-1 - 5.17.1 * Thu Oct 10 2019 Jan Grulich - 5.17.0-1 - 5.17.0 * Fri Sep 20 2019 Martin Kyral - 5.16.90-1 - 5.16.90 * Fri Sep 06 2019 Martin Kyral - 5.16.5-1 - 5.16.5 * Tue Jul 30 2019 Martin Kyral - 5.16.4-1 - 5.16.4 * Thu Jul 25 2019 Fedora Release Engineering - 5.16.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Jul 10 2019 Martin Kyral - 5.16.3-1 - 5.16.3 * Wed Jun 26 2019 Martin Kyral - 5.16.2-1 - 5.16.2 * Tue Jun 18 2019 Rex Dieter - 5.16.1-1 - 5.16.1 * Tue Jun 11 2019 Martin Kyral - 5.16.0-1 - 5.16.0 * Thu May 16 2019 Martin Kyral - 5.15.90-1 - 5.15.90 * Thu May 09 2019 Martin Kyral - 5.15.5-1 - 5.15.5 * Wed Apr 03 2019 Rex Dieter - 5.15.4-1 - 5.15.4 * Tue Mar 12 2019 Martin Kyral - 5.15.3-1 - 5.15.3 * Tue Feb 26 2019 Rex Dieter - 5.15.2-1 - 5.15.2 * Tue Feb 19 2019 Rex Dieter - 5.15.1-1 - 5.15.1 * Wed Feb 13 2019 Martin Kyral - 5.15.0-1 - 5.15.0 * Fri Feb 01 2019 Fedora Release Engineering - 5.14.90-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sun Jan 20 2019 Martin Kyral - 5.14.90-1 - 5.14.90 * Tue Nov 27 2018 Rex Dieter - 5.14.4-1 - 5.14.4 * Thu Nov 08 2018 Martin Kyral - 5.14.3-1 - 5.14.3 * Wed Oct 24 2018 Rex Dieter - 5.14.2-1 - 5.14.2 * Tue Oct 16 2018 Rex Dieter - 5.14.1-1 - 5.14.1 * Fri Oct 05 2018 Rex Dieter - 5.14.0-1 - 5.14.0 * Fri Sep 14 2018 Martin Kyral - 5.13.90-1 - 5.13.90 * Tue Sep 04 2018 Rex Dieter - 5.13.5-1 - 5.13.5 * Thu Aug 02 2018 Rex Dieter - 5.13.4-1 - 5.13.4 * Fri Jul 13 2018 Fedora Release Engineering - 5.13.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jul 11 2018 Martin Kyral - 5.13.3-1 - 5.13.3 * Mon Jul 09 2018 Martin Kyral - 5.13.2-1 - 5.13.2 * Tue Jun 19 2018 Martin Kyral - 5.13.1-1 - 5.13.1 * Sat Jun 09 2018 Rex Dieter - 5.13.0-1 - 5.13.0 * Fri May 18 2018 Martin Kyral - 5.12.90-1 - 5.12.90 * Tue May 01 2018 Rex Dieter - 5.12.5-1 - 5.12.5 * Tue Mar 27 2018 Rex Dieter - 5.12.4-1 - 5.12.4 * Tue Mar 06 2018 Rex Dieter - 5.12.3-1 - 5.12.3 * Wed Feb 21 2018 Jan Grulich - 5.12.2-1 - 5.12.2 * Tue Feb 13 2018 Jan Grulich - 5.12.1-1 - 5.12.1 * Wed Feb 07 2018 Fedora Release Engineering - 5.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Feb 02 2018 Jan Grulich - 5.12.0-1 - 5.12.0 * Mon Jan 15 2018 Jan Grulich - 5.11.95-1 - 5.11.95 * Tue Jan 02 2018 Rex Dieter - 5.11.5-1 - 5.11.5 * Thu Nov 30 2017 Martin Kyral - 5.11.4-1 - 5.11.4 * Wed Nov 08 2017 Rex Dieter - 5.11.3-1 - 5.11.3 * Wed Oct 25 2017 Martin Kyral - 5.11.2-1 - 5.11.2 * Tue Oct 17 2017 Rex Dieter - 5.11.1-1 - 5.11.1 * Wed Oct 11 2017 Martin Kyral - 5.11.0-1 - 5.11.0 * Thu Aug 24 2017 Rex Dieter - 5.10.5-1 - 5.10.5 * Thu Aug 03 2017 Fedora Release Engineering - 5.10.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 5.10.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Jul 21 2017 Rex Dieter - 5.10.4-1 - 5.10.4 * Tue Jun 27 2017 Rex Dieter - 5.10.3-1 - 5.10.3 * Thu Jun 15 2017 Rex Dieter - 5.10.2-1 - 5.10.2 * Tue Jun 06 2017 Rex Dieter - 5.10.1-1 - 5.10.1 * Wed May 31 2017 Jan Grulich - 5.10.0-1 - 5.10.0 * Wed Apr 26 2017 Rex Dieter - 5.9.5-1 - 5.9.5 * Thu Mar 23 2017 Rex Dieter - 5.9.4-1 - 5.9.4 * Sat Mar 04 2017 Rex Dieter - 5.9.3-2 - rebuild * Wed Mar 01 2017 Jan Grulich - 5.9.3-1 - 5.9.3 * Tue Feb 21 2017 Rex Dieter - 5.8.6-1 - 5.8.6 * Fri Feb 10 2017 Fedora Release Engineering - 5.8.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Jan 02 2017 Rex Dieter - 5.8.5-2 - filter plugin provides * Wed Dec 28 2016 Rex Dieter - 5.8.5-1 - 5.8.5 * Tue Nov 22 2016 Rex Dieter - 5.8.4-1 - 5.8.4 * Tue Nov 01 2016 Rex Dieter - 5.8.3-1 - 5.8.3 * Tue Oct 18 2016 Rex Dieter - 5.8.2-1 - 5.8.2 * Tue Oct 11 2016 Rex Dieter - 5.8.1-1 - 5.8.1 * Thu Sep 29 2016 Rex Dieter - 5.8.0-1 - 5.8.0 * Thu Sep 22 2016 Rex Dieter - 5.7.95-1 - 5.7.95 * Tue Sep 13 2016 Rex Dieter - 5.7.5-1 - 5.7.5 * Tue Aug 23 2016 Rex Dieter - 5.7.4-1 - 5.7.4 * Tue Aug 02 2016 Rex Dieter - 5.7.3-1 - 5.7.3 * Tue Jul 19 2016 Rex Dieter - 5.7.2-1 - 5.7.2 * Tue Jul 19 2016 Rex Dieter - 5.7.1-2 - rebuild (qt5) * Tue Jul 12 2016 Rex Dieter - 5.7.1-1 - 5.7.1 * Thu Jun 30 2016 Rex Dieter - 5.7.0-1 - 5.7.0 * Sat Jun 25 2016 Rex Dieter - 5.6.95-1 - 5.6.95 * Tue Jun 14 2016 Rex Dieter - 5.6.5-1 - 5.6.5 * Wed May 25 2016 Than Ngo - 5.6.4-2 - disable wayland for epel7 * Sat May 14 2016 Rex Dieter - 5.6.4-1 - 5.6.4 * Tue Apr 19 2016 Rex Dieter - 5.6.3-1 - 5.6.3 * Sat Apr 09 2016 Rex Dieter - 5.6.2-1 - 5.6.2 * Sat Apr 09 2016 Rex Dieter - 5.6.1-2 - relax BR: kf5-kwayland-devel dep - track library soname * Fri Apr 08 2016 Rex Dieter - 5.6.1-1 - 5.6.1 * Tue Mar 01 2016 Daniel Vrátil - 5.5.5-1 - Plasma 5.5.5 * Thu Feb 04 2016 Fedora Release Engineering - 5.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jan 27 2016 Daniel Vrátil - 5.5.4-1 - Plasma 5.5.4 * Thu Jan 07 2016 Daniel Vrátil - 5.5.3-1 - Plasma 5.5.3 * Thu Dec 31 2015 Rex Dieter - 5.5.2-1 - 5.5.2 * Fri Dec 18 2015 Daniel Vrátil - 5.5.1-1 - Plasma 5.5.1 * Thu Dec 03 2015 Daniel Vrátil - 5.5.0-1 - Plasma 5.5.0 * Wed Nov 25 2015 Daniel Vrátil - 5.4.95-1 - Plasma 5.4.95 * Thu Nov 05 2015 Daniel Vrátil - 5.4.3-1 - Plasma 5.4.3 * Thu Oct 01 2015 Rex Dieter - 5.4.2-1 - 5.4.2 * Thu Oct 01 2015 Rex Dieter 5.4.1-2 - .spec cosmetics * Wed Sep 09 2015 Rex Dieter - 5.4.1-1 - 5.4.1 * Fri Aug 21 2015 Daniel Vrátil - 5.4.0-1 - Plasma 5.4.0 * Thu Aug 13 2015 Daniel Vrátil - 5.3.95-1 - Plasma 5.3.95 * Thu Jun 25 2015 Daniel Vrátil - 5.3.2-1 - Plasma 5.3.2 * Wed Jun 17 2015 Fedora Release Engineering - 5.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue May 26 2015 Daniel Vrátil - 5.3.1-1 - Plasma 5.3.1 * Thu Apr 30 2015 Daniel Vrátil - 5.3.0-2 - Fix Obsoletes once more * Mon Apr 27 2015 Daniel Vrátil - 5.3.0-1 - Plasma 5.3.0 * Wed Apr 22 2015 Daniel Vrátil - 5.2.95-1 - Plasma 5.2.95 * Fri Mar 20 2015 Daniel Vrátil - 5.2.2-1 - Plasma 5.2.2 * Fri Feb 27 2015 Daniel Vrátil - 5.2.1-2 - Rebuild (GCC 5) * Tue Feb 24 2015 Daniel Vrátil - 5.2.1-1 - Plasma 5.2.1 * Wed Jan 28 2015 Daniel Vrátil - 5.2.0-2 - Fix Obsoletes * Mon Jan 26 2015 Daniel Vrátil - 5.2.0-1 - Plasma 5.2.0 (new package, forked from libkscreen)