Compare commits

..

No commits in common. "d4240a7a151e89b82b2fac56122198bdc50b5a25" and "273ce56d19370c150652013fbdc4fae6e13879ba" have entirely different histories.

3 changed files with 20 additions and 25 deletions

View File

@ -1,3 +1,4 @@
%undefine __cmake_in_source_build
%global framework sonnet
# uncomment to enable bootstrap mode
@ -8,16 +9,20 @@
%endif
Name: kf5-%{framework}
Version: 5.113.0
Version: 5.90.0
Release: 1
Summary: KDE Frameworks 5 Tier 1 solution for spell checking
License: LGPLv2+
URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %majmin_ver_kf5
%global stable %stable_kf5
%global majmin %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3)
%if %{revision} >= 50
%global stable unstable
%else
%global stable stable
%endif
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
# filter plugin provides
@ -66,12 +71,17 @@ GUI part of the Sonnet framework provides widgets with spell checking support.
%build
%cmake_kf5
mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} .. \
%{?tests:-DBUILD_TESTING:BOOL=ON}
popd
%make_build -C %{_target_platform}
%make_build
%install
%make_install
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang_kf5 sonnet5_qt
@ -107,7 +117,7 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%{_kf5_qtplugindir}/designer/*5widgets.so
%files devel
%{_kf5_includedir}/Sonnet/
%{_kf5_includedir}/sonnet_version.h
%{_kf5_includedir}/SonnetCore/
%{_kf5_includedir}/SonnetUi/
%{_kf5_libdir}/libKF5SonnetCore.so
@ -118,25 +128,10 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%changelog
* Mon Jan 08 2024 zhangxianting <zhangxianting@uniontech.cn> - 5.113.0-1
- Update version to 5.113.0
* Thu Aug 03 2023 zhangkea <zhangkea@uniontech.cn> - 5.108.0-1
- Update version to 5.108.0
* Mon Dec 12 2022 lijian <lijian2@kylinos.cn> - 5.100.0-1
- update to upstream version 5.100.0
* Mon Sep 05 2022 liweiganga <liweiganga@uniontech.com> - 5.97.0-1
- update to upstream version 5.97.0
* Tue Jul 05 2022 peijiankang <peijiankang@kylinos.cn> - 5.95.0-1
- update to upstream version 5.95.0
* Sat Feb 12 2022 peijiankang <peijiankang@kylinos.cn> - 5.90.0-1
* Sat Feb 12 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.90.0-1
- update to upstream version 5.90.0
* Sun Jan 16 2022 peijiankang <peijiankang@kylinos.cn> - 5.88.0-1
* Sun Jan 16 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.88.0-1
- update to upstream version 5.88.0
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1

Binary file not shown.

BIN
sonnet-5.90.0.tar.xz Normal file

Binary file not shown.