%global framework syntax-highlighting Name: kf6-%{framework} Version: 6.29.0 Release: 1%{?dist} Summary: Syntax highlighting engine for structured text and code 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} Source0: https://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz BuildRequires: cmake BuildRequires: gcc-c++ BuildRequires: extra-cmake-modules BuildRequires: kf6-rpm-macros BuildRequires: perl-interpreter BuildRequires: pkgconfig(xerces-c) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6Qml) Requires: kde-filesystem %description Syntax highlighting engine for Kate syntax definitions, used by Kate, KTextEditor, and other KDE applications. Trimmed from Fedora's spec: BUILD_TESTING off and %%check dropped (avoid ctest flakiness in a container build environment), plain %%exclude wildcard for locale content instead of %%find_lang_kf6. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n %{framework}-%{version} -p1 %build %cmake_kf6 -DBUILD_TESTING:BOOL=OFF %cmake_build_kf6 %install %cmake_install_kf6 %files %exclude %{_datadir}/locale/*/LC_MESSAGES/*.qm %doc README.md %license LICENSES/*.txt %{_kf6_bindir}/ksyntaxhighlighter6 %{_kf6_datadir}/qlogging-categories6/*categories %{_kf6_libdir}/libKF6SyntaxHighlighting.so.6 %{_kf6_libdir}/libKF6SyntaxHighlighting.so.%{version} %{_kf6_qmldir}/org/kde/syntaxhighlighting %files devel %{_kf6_includedir}/KSyntaxHighlighting/ %{_kf6_libdir}/libKF6SyntaxHighlighting.so %{_kf6_libdir}/cmake/KF6SyntaxHighlighting/ %changelog * Sat Aug 29 2026 Smech - 6.29.0-1 - Real upstream source, tests off, %exclude wildcard for locale content, kde-filesystem Requires