From bcdeefef6b49cd8003b15b9285d6a57bac729928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Deop=20i=20Argem=C3=AD?= Date: Wed, 10 May 2023 13:58:42 +0200 Subject: [PATCH 1/6] 5.27.5 --- powerdevil.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/powerdevil.spec b/powerdevil.spec index 770768d..4738219 100644 --- a/powerdevil.spec +++ b/powerdevil.spec @@ -2,7 +2,7 @@ %global kf5_version 5.82.0 Name: powerdevil -Version: 5.27.4 +Version: 5.27.5 Release: 1%{?dist} Summary: Manages the power consumption settings of a Plasma Shell @@ -128,6 +128,9 @@ rm -fv %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so %{_kf5_qtplugindir}/powerdevil/action/powerdevil_*.so %changelog +* 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 diff --git a/sources b/sources index 43ec674..0d8d37a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (powerdevil-5.27.4.tar.xz) = 8c741f7331b47a3f2309657fa2689cc8888dbeda5015faa11626f98ae201e06398ae15504880ac1932424aad87389a0ef461a76fc50923a55a363b65e0fe39e3 +SHA512 (powerdevil-5.27.5.tar.xz) = 3ac9d19dde9c430d17104a6abd9d410e6ea37a7a18a23e753624da2a119bc71714e948c3626d362f84bd8e89b1acd21f457b9510bc916cb85d651f587d26aa27 From 05bb357be27516a51a0f72348eeac2cd896114a7 Mon Sep 17 00:00:00 2001 From: FAS Marie Loise Nolden Date: Fri, 9 Jun 2023 14:34:28 +0000 Subject: [PATCH 2/6] change %ifdef from fedora >33 to rhel > 8 --- powerdevil.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/powerdevil.spec b/powerdevil.spec index 4738219..f986f23 100644 --- a/powerdevil.spec +++ b/powerdevil.spec @@ -1,4 +1,3 @@ - %global kf5_version 5.82.0 Name: powerdevil @@ -66,8 +65,8 @@ BuildRequires: xcb-util-wm-devel %{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}} -# available on f34+ -%if 0%{?fedora} > 33 +# available on rhel 9+ +%if (0%{?rhel} && 0%{?rhel} > 8) Recommends: power-profiles-daemon %endif From 9627d674202533256f8a861ff67160327aff414a Mon Sep 17 00:00:00 2001 From: FAS Marie Loise Nolden Date: Tue, 13 Jun 2023 04:40:36 +0000 Subject: [PATCH 3/6] fix the condition as the change leads to not installing on fedora at all which was not intended I made a mistake and didn't think enough :) The last change of the condition for rhel led to not recommending on fedora at all, so include that in an or condition again. --- powerdevil.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerdevil.spec b/powerdevil.spec index f986f23..b082fd8 100644 --- a/powerdevil.spec +++ b/powerdevil.spec @@ -66,7 +66,7 @@ BuildRequires: xcb-util-wm-devel %{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}} # available on rhel 9+ -%if (0%{?rhel} && 0%{?rhel} > 8) +%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} > 8) Recommends: power-profiles-daemon %endif From b911b182e88937ef1ea78a395e08242ccbd2cc37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Deop=20i=20Argem=C3=AD?= Date: Sun, 25 Jun 2023 20:57:37 +0200 Subject: [PATCH 4/6] 5.27.6 --- powerdevil.spec | 5 ++++- sources | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/powerdevil.spec b/powerdevil.spec index b082fd8..32c8ade 100644 --- a/powerdevil.spec +++ b/powerdevil.spec @@ -1,7 +1,7 @@ %global kf5_version 5.82.0 Name: powerdevil -Version: 5.27.5 +Version: 5.27.6 Release: 1%{?dist} Summary: Manages the power consumption settings of a Plasma Shell @@ -127,6 +127,9 @@ rm -fv %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so %{_kf5_qtplugindir}/powerdevil/action/powerdevil_*.so %changelog +* 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 diff --git a/sources b/sources index 0d8d37a..678e7ac 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (powerdevil-5.27.5.tar.xz) = 3ac9d19dde9c430d17104a6abd9d410e6ea37a7a18a23e753624da2a119bc71714e948c3626d362f84bd8e89b1acd21f457b9510bc916cb85d651f587d26aa27 +SHA512 (powerdevil-5.27.6.tar.xz) = 9dd18fc3246bc6371bc19ac7544b89de517d34c7773970e2eaacea69edcd94d28b1c7b9c12f036999a849f8b393a7ff1a4244a6f9888712bf4d34796f702436c From df7e8e7db46a1b8c66e0b7102bf2e318c10385c7 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Mon, 26 Jun 2023 01:15:08 +0200 Subject: [PATCH 5/6] Enable ddcutil integration --- powerdevil.spec | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/powerdevil.spec b/powerdevil.spec index 32c8ade..262e2f6 100644 --- a/powerdevil.spec +++ b/powerdevil.spec @@ -2,7 +2,7 @@ Name: powerdevil Version: 5.27.6 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Manages the power consumption settings of a Plasma Shell License: GPLv2+ @@ -63,6 +63,8 @@ BuildRequires: xcb-util-image-devel BuildRequires: xcb-util-keysyms-devel BuildRequires: xcb-util-wm-devel +BuildRequires: libddcutil-devel + %{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}} # available on rhel 9+ @@ -80,7 +82,7 @@ of a daemon (a KDED module) and a KCModule for its configuration. %build -%cmake_kf5 +%cmake_kf5 -DHAVE_DDCUTIL=ON %cmake_build @@ -127,6 +129,9 @@ rm -fv %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so %{_kf5_qtplugindir}/powerdevil/action/powerdevil_*.so %changelog +* Sun Jun 25 2023 Alessandro Astone - 5.27.6-2 +- Enable ddcutil integration + * Sun Jun 25 2023 Marc Deop i Argemí - 5.27.6-1 - 5.27.6 From b10083983c53d96aefd377b06dc17ba549612d5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Deop=20i=20Argem=C3=AD?= Date: Mon, 26 Jun 2023 19:53:12 +0200 Subject: [PATCH 6/6] fix: exclude ddcutil on s390/s390x arches --- powerdevil.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/powerdevil.spec b/powerdevil.spec index 262e2f6..e6edcd2 100644 --- a/powerdevil.spec +++ b/powerdevil.spec @@ -2,7 +2,7 @@ Name: powerdevil Version: 5.27.6 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Manages the power consumption settings of a Plasma Shell License: GPLv2+ @@ -63,7 +63,12 @@ BuildRequires: xcb-util-image-devel BuildRequires: xcb-util-keysyms-devel BuildRequires: xcb-util-wm-devel +%ifnarch s390 s390x BuildRequires: libddcutil-devel +%global DDCUTIL ON +%else +%global DDCUTIL OFF +%endif %{?_qt5:Requires: %{_qt5}%{?_isa} >= %{_qt5_version}} @@ -82,7 +87,7 @@ of a daemon (a KDED module) and a KCModule for its configuration. %build -%cmake_kf5 -DHAVE_DDCUTIL=ON +%cmake_kf5 -DHAVE_DDCUTIL=%DDCUTIL %cmake_build @@ -129,6 +134,9 @@ rm -fv %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so %{_kf5_qtplugindir}/powerdevil/action/powerdevil_*.so %changelog +* Mon Jun 26 2023 Marc Deop i Argemí - 5.27.6-3 +- Exclude enabling ddcutil on s390/s390x arches + * Sun Jun 25 2023 Alessandro Astone - 5.27.6-2 - Enable ddcutil integration