Name: layer-shell-qt Version: 5.24.0 Release: 1 Summary: Library to easily use clients based on wlr-layer-shell License: LGPLv3+ 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 %if 0 BuildRequires: extra-cmake-modules >= 5.82 BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-private-devel BuildRequires: qt5-qtbase-static BuildRequires: qt5-qtwayland-devel BuildRequires: qt5-qtdeclarative-devel BuildRequires: libxkbcommon-devel BuildRequires: plasma-wayland-protocols-devel BuildRequires: wayland-devel BuildRequires: wayland-protocols-devel %endif %description This component is meant for applications to be able to easily use clients based on wlr-layer-shell %package devel Summary: Developer files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel >= 5.15.0 %description devel %{summary}. %if 0 %prep %autosetup %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} %files %license LICENSES/* %{_libdir}/libLayerShellQtInterface.so.5* %{_qt5_plugindir}/wayland-shell-integration/ %endif %files devel %if 0 %{_includedir}/LayerShellQt/ %{_libdir}/libLayerShellQtInterface.so %{_libdir}/cmake/LayerShellQt/ %endif %changelog * Sat Feb 12 2022 pei-jiankang - 5.24.0-1 - update to upstream version 5.24.0