%global commit0 7e096a6e013e061626bdf994b1673e15c70fb340 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global bumpver 1 %global framework syntax-highlighting Name: kf6-%{framework} Version: 6.9.0%{?bumpver:~%{bumpver}.git%{shortcommit0}} Release: 1%{?dist} Summary: KDE Frameworks 6 Syntax highlighting engine for Kate syntax definitions License: MIT AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND LGPL-2.0-or-later URL: https://invent.kde.org/frameworks/%{framework} %frameworks_meta BuildRequires: cmake BuildRequires: extra-cmake-modules BuildRequires: gcc-c++ BuildRequires: kf6-rpm-macros BuildRequires: perl-interpreter BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Network) BuildRequires: cmake(Qt6PrintSupport) BuildRequires: cmake(Qt6Quick) BuildRequires: cmake(Qt6Test) BuildRequires: cmake(Qt6Widgets) Requires: kf6-filesystem %description %{summary}. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: cmake(Qt6Core) %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %qch_package %prep %{!?bumpver:%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'} %autosetup -n %{sourcerootdir} -p1 %build %cmake_kf6 -DBUILD_TESTING:BOOL=ON %cmake_build %install %cmake_install %find_lang_kf6 syntaxhighlighting6_qt %check %ctest %files -f syntaxhighlighting6_qt.lang %doc README.md %license LICENSES/*.txt %{_kf6_bindir}/ksyntaxhighlighter6 %{_kf6_datadir}/qlogging-categories6/*categories %{_kf6_libdir}/libKF6SyntaxHighlighting.so.%{version_no_git} %{_kf6_libdir}/libKF6SyntaxHighlighting.so.6 %{_kf6_qmldir}/org/kde/syntaxhighlighting/ %files devel %{_qt6_docdir}/*.tags %{_kf6_includedir}/KSyntaxHighlighting/ %{_kf6_libdir}/cmake/KF6SyntaxHighlighting/ %{_kf6_libdir}/libKF6SyntaxHighlighting.so %changelog %{?kde_snapshot_changelog_entry} * Fri Oct 04 2024 Pavel Solovev - 6.7.0-1 - Update to 6.7.0 * Fri Sep 06 2024 Pavel Solovev - 6.6.0-1 - Update to 6.6.0 * Fri Aug 09 2024 Pavel Solovev - 6.5.0-1 - Update to 6.5.0 * Fri Jul 12 2024 Pavel Solovev - 6.4.0-1 - Update to 6.4.0 * Fri Jun 07 2024 Pavel Solovev - 6.3.0-1 - Update to 6.3.0 * Sun Jun 02 2024 Pavel Solovev - 6.2.0-1.1 - rebuild for f40 * Sun May 12 2024 Pavel Solovev - 6.2.0-1 - Update to 6.2.0 * Fri Apr 12 2024 Pavel Solovev - 6.1.0-1 - Update to 6.1.0 * Wed Mar 20 2024 Pavel Solovev - 6.0.0-2 - qmlcache rebuild * Thu Nov 09 2023 Steve Cossette - 5.245.0-1 - 5.245.0 * Wed Sep 27 2023 Justin Zobel - 5.240.0^20230922.195427.0211d718294684eb9d557e7d523b1693f03f16b9-135 - Initial Package