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
|
Name: kf5-kirigami2-addons
|
||||||
Version: 0.11.0
|
Version: 0.11.0
|
||||||
Release: 1
|
Release: 2
|
||||||
Epoch: 1
|
Epoch: 1
|
||||||
License: LGPLv3
|
License: LGPLv3
|
||||||
Summary: Convergent visual components ("widgets") for Kirigami-based applications
|
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}
|
%autosetup -n %{orig_name}-v%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
mkdir %{_target_platform}
|
%{cmake_kf5}
|
||||||
pushd %{_target_platform}
|
%{cmake_build}
|
||||||
%{cmake_kf5} ..
|
|
||||||
popd
|
|
||||||
%make_build -C %{_target_platform}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
%{cmake_install}
|
||||||
%find_lang %{orig_name} --all-name
|
%find_lang %{orig_name} --all-name
|
||||||
|
|
||||||
%files -f %{orig_name}.lang
|
%files -f %{orig_name}.lang
|
||||||
@ -71,5 +69,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|||||||
%{_kf5_qmldir}/org/kde/kirigamiaddons/treeview/
|
%{_kf5_qmldir}/org/kde/kirigamiaddons/treeview/
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Sep 22 2023 misaka00251 <liuxin@iscas.ac.cn> - 1:0.11.0-1
|
||||||
- Init package
|
- Init package
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user