adapt to the new CMake macros to fix build failure
This commit is contained in:
parent
470c9aa760
commit
0b5e48c180
@ -1,6 +1,6 @@
|
|||||||
Name: ukui-kwin
|
Name: ukui-kwin
|
||||||
Version: 1.0.5
|
Version: 1.0.5
|
||||||
Release: 7
|
Release: 8
|
||||||
Summary: KDE Window Manager for UKUI desktop environment
|
Summary: KDE Window Manager for UKUI desktop environment
|
||||||
License: GPL-2.0-or-later and LGPL-2.0-or-later
|
License: GPL-2.0-or-later and LGPL-2.0-or-later
|
||||||
URL: https://github.com/ukui/ukui-kwin
|
URL: https://github.com/ukui/ukui-kwin
|
||||||
@ -98,17 +98,14 @@ Summary: UKUI window manager effects library
|
|||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
|
||||||
pushd %{_target_platform}
|
|
||||||
%{cmake_kf5} .. \
|
%{cmake_kf5} .. \
|
||||||
-DBUILD_TESTING:BOOL=ON
|
-DBUILD_TESTING:BOOL=ON
|
||||||
popd
|
%{cmake_build}
|
||||||
|
|
||||||
%make_build -C %{_target_platform} -j4
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
%{cmake_install}
|
||||||
|
|
||||||
|
|
||||||
ln -s ukui-kwin_x11 %{buildroot}%{_bindir}/ukui-kwin
|
ln -s ukui-kwin_x11 %{buildroot}%{_bindir}/ukui-kwin
|
||||||
mkdir -p %{buildroot}%{_datadir}/licenses/ukui-kwin
|
mkdir -p %{buildroot}%{_datadir}/licenses/ukui-kwin
|
||||||
@ -205,6 +202,9 @@ cp COPYING* %{buildroot}%{_datadir}/licenses/ukui-kwin/
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Nov 20 2024 huayadong<huayadong@kylinos.cn> - 1.0.5-8
|
||||||
|
- adapt to the new CMake macros to fix build failure
|
||||||
|
|
||||||
* Tue Aug 29 2023 peijiankang<peijiankang@kylinos.cn> - 1.0.5-7
|
* Tue Aug 29 2023 peijiankang<peijiankang@kylinos.cn> - 1.0.5-7
|
||||||
- update qt5-qttools-devel to qt5-qttools-static
|
- update qt5-qttools-devel to qt5-qttools-static
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user