update to upstream version 5.24.4

(cherry picked from commit 2e9f1d821e0564d8b6b82ed9d07d8ec51da54dd9)
This commit is contained in:
pei-jiankang 2022-04-12 14:38:30 +08:00 committed by openeuler-sync-bot
parent f0ad50f41a
commit 072d23cff9
3 changed files with 18 additions and 4 deletions

Binary file not shown.

BIN
libkscreen-5.24.4.tar.xz Normal file

Binary file not shown.

View File

@ -2,11 +2,11 @@
Name: libkscreen-qt5
Summary: KDE display configuration library
Version: 5.20.90
Version: 5.24.4
Release: 1
License: GPLv2+
URL: https://cgit.kde.org/%{base_name}.git
URL: https://invent.kde.org/plasma/%{base_name}
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
@ -14,19 +14,25 @@ URL: https://cgit.kde.org/%{base_name}.git
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/plasma/%{version}/%{base_name}-%{version}.tar.xz
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: kf5-rpm-macros
BuildRequires: systemd
BuildRequires: kf5-kwayland-devel >= 5.22
BuildRequires: libX11-devel
BuildRequires: libxcb-devel
BuildRequires: libXrandr-devel
BuildRequires: plasma-wayland-protocols-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtwayland-devel
BuildRequires: qt5-qtx11extras-devel
BuildRequires: wayland-devel
Requires: kf5-filesystem
@ -53,6 +59,10 @@ developing applications that use %{name}.
%prep
%setup -q -n %{base_name}-%{version}
%if 0%{?rhel} && 0%{?rhel} <= 7
%patch1 -p1 -b .nowayland
%endif
%build
mkdir %{_target_platform}
@ -70,7 +80,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%ldconfig_scriptlets
%files
%license COPYING
%license LICENSES/*
%{_kf5_bindir}/kscreen-doctor
%{_kf5_libexecdir}/kscreen_backend_launcher
%{_kf5_libdir}/libKF5Screen.so.5.*
@ -78,6 +88,7 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%{_kf5_plugindir}/kscreen/
%{_datadir}/dbus-1/services/org.kde.kscreen.service
%{_kf5_datadir}/qlogging-categories5/libkscreen.categories
%{_userunitdir}/plasma-kscreen.service
%files devel
%{_kf5_includedir}/KScreen/
@ -89,6 +100,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%changelog
* Tue Apr 12 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.24.4-1
- update to upstream version 5.24.4
* Thu Feb 17 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.20.90-1
- update to upstream version 5.20.90