adapt to the new CMake macros to fix build failure
This commit is contained in:
parent
e44064fe29
commit
35fe91c9b1
@ -2,7 +2,7 @@
|
||||
|
||||
Name: kf5-kirigami2-addons
|
||||
Version: 0.11.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Epoch: 1
|
||||
License: LGPLv3
|
||||
Summary: Convergent visual components ("widgets") for Kirigami-based applications
|
||||
@ -46,14 +46,12 @@ Tree view Kirigami addon, which is useful for listing files.
|
||||
%autosetup -n %{orig_name}-v%{version}
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} ..
|
||||
popd
|
||||
%make_build -C %{_target_platform}
|
||||
%{cmake_kf5}
|
||||
%{cmake_build}
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
%{cmake_install}
|
||||
%find_lang %{orig_name} --all-name
|
||||
|
||||
%files -f %{orig_name}.lang
|
||||
@ -71,5 +69,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
%{_kf5_qmldir}/org/kde/kirigamiaddons/treeview/
|
||||
|
||||
%changelog
|
||||
* Sun Nov 17 2024 ChenYanpan <chenyanpan@xfusion.com> - 1:0.11.0-2
|
||||
- adapt to the new CMake macros to fix build failure
|
||||
|
||||
* Fri Sep 22 2023 misaka00251 <liuxin@iscas.ac.cn> - 1:0.11.0-1
|
||||
- Init package
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user