Compare commits

..

No commits in common. "ceca6b4648cd4de8ba220d4fb0a08296a0b470f8" and "3ca195448cb3566f79c0be5948ee953e3b2e1276" have entirely different histories.

3 changed files with 19 additions and 24 deletions

View File

@ -5,16 +5,20 @@
%endif %endif
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.113.0 Version: 5.90.0
Release: 1 Release: 1
Summary: KDE Frameworks 5 Syntax highlighting engine for Kate syntax definitions Summary: KDE Frameworks 5 Syntax highlighting engine for Kate syntax definitions
License: MIT License: MIT
URL: https://invent.kde.org/frameworks/%{framework} URL: https://invent.kde.org/frameworks/%{framework}
%global majmin %majmin_ver_kf5 %global majmin %(echo %{version} | cut -d. -f1-2)
%global stable %stable_kf5 %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 Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
BuildRequires: extra-cmake-modules >= %{majmin} BuildRequires: extra-cmake-modules >= %{majmin}
@ -45,12 +49,17 @@ developing applications that use %{name}.
%build %build
%cmake_kf5 mkdir %{_target_platform}
pushd %{_target_platform}
%{cmake_kf5} .. \
-DBUILD_TESTING:BOOL=%{?tests:ON}%{!?tests:OFF}
popd
%make_build -C %{_target_platform}
%make_build
%install %install
%make_install make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang_kf5 syntaxhighlighting5_qt %find_lang_kf5 syntaxhighlighting5_qt
@ -75,30 +84,16 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
%files devel %files devel
%{_kf5_libdir}/libKF5SyntaxHighlighting.so %{_kf5_libdir}/libKF5SyntaxHighlighting.so
%{_kf5_libdir}/cmake/KF5SyntaxHighlighting/ %{_kf5_libdir}/cmake/KF5SyntaxHighlighting/
%{_kf5_includedir}/ksyntaxhighlighting_version.h
%{_kf5_includedir}/KSyntaxHighlighting/ %{_kf5_includedir}/KSyntaxHighlighting/
%{_kf5_archdatadir}/mkspecs/modules/qt_KSyntaxHighlighting.pri %{_kf5_archdatadir}/mkspecs/modules/qt_KSyntaxHighlighting.pri
%changelog %changelog
* Wed Jan 03 2024 peijiankang <peijiankang@kylinos.cn> - 5.113.0-1 * Sat Feb 12 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.90.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
- update to upstream version 5.90.0 - update to upstream version 5.90.0
* Mon Jan 24 2022 peijiankang <peijiankang@kylinos.cn> - 5.88.0-1 * Mon Jan 24 2022 pei-jiankang<peijiankang@kylinos.cn> - 5.88.0-1
- update to upstream version 5.88.0 - update to upstream version 5.88.0
* Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1 * Mon Aug 17 2020 yeqinglong <yeqinglong@uniontech.com> - 5.55.0-1

Binary file not shown.

Binary file not shown.