!2 update to upstream version 5.24.0

From: @pei-jiankang 
Reviewed-by: @dou33 
Signed-off-by: @dou33
This commit is contained in:
openeuler-ci-bot 2022-02-22 02:39:30 +00:00 committed by Gitee
commit 0926497a5b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 75 additions and 0 deletions

Binary file not shown.

75
kwayland-server.spec Normal file
View File

@ -0,0 +1,75 @@
%global wayland_min_version 1.3
Name: kwayland-server
Version: 5.24.0
Release: 2
Summary: Wayland server components built on KDE Frameworks
License: LGPLv2+ and MIT and BSD
URL: https://invent.kde.org/plasma/%{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}/%{name}-%{version}.tar.xz
BuildRequires: libxml2
BuildRequires: qt5-qtbase-devel
BuildRequires: extra-cmake-modules
BuildRequires: kf5-kwayland-devel
BuildRequires: wayland-devel
BuildRequires: wayland-protocols-devel
BuildRequires: plasma-wayland-protocols-devel >= 1.2
BuildRequires: kf5-kwindowsystem-devel
BuildRequires: kf5-kguiaddons-devel
BuildRequires: qt5-qtwayland-devel
%description
%{summary}.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%prep
%autosetup -p1
%build
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} ..
popd
make %{?_smp_mflags} -C %{_target_platform}
%install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%ldconfig_scriptlets
%files
%license LICENSES/*
%{_kf5_datadir}/qlogging-categories5/kwaylandserver.categories
%{_kf5_libdir}/libKWaylandServer.so.*
%files devel
%{_kf5_libdir}/libKWaylandServer.so
%{_includedir}/KWaylandServer/
%{_includedir}/kwaylandserver_version.h
%{_libdir}/cmake/KWaylandServer/
%changelog
* Tue Feb 22 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.24.0-2
- update to version 5.24.0-2
* Sat Feb 12 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.24.0-1
- update to upstream version 5.24.0