Name: kate Version: 26.08.0 Release: 2%{?dist} Summary: Advanced text editor License: BSD-2-Clause AND CC0-1.0 AND GFDL-1.2-only AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND MIT AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only) URL: https://kate-editor.org Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: extra-cmake-modules BuildRequires: kf6-rpm-macros BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6GuiAddons) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(KF6IconThemes) BuildRequires: cmake(KF6TextEditor) BuildRequires: cmake(Qt6Test) BuildRequires: cmake(KF6DBusAddons) BuildRequires: cmake(KF6TextWidgets) BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(KF6WidgetsAddons) BuildRequires: qt6-qtbase-private-devel BuildRequires: cmake(Qt6Concurrent) BuildRequires: cmake(Qt6Sql) BuildRequires: cmake(KF6Config) BuildRequires: cmake(KF6NewStuff) BuildRequires: cmake(KF6Wallet) BuildRequires: cmake(KF6KIO) BuildRequires: cmake(KF6Archive) Requires: %{name}-libs = %{version}-%{release} %description Kate is KDE's advanced text editor. Full CMakeLists.txt read (top-level + apps/lib/ + a recursive scan of the entire addons/ tree, which hosts dozens of individually optional plugins). Every addon's own dependency is either a soft QUIET find already satisfied by frameworks already built in this repo, or genuinely absent and harmlessly skipped (Qt6Keychain -- katesql plugin loses password-saving support only). %%files uses broad glob patterns for the plugin directory rather than an exhaustive per-plugin list, since which plugins actually build depends on soft-optional deps that may differ from Fedora's reference set (Qt6Keychain absence here, for one). %package libs Summary: Runtime libraries for %{name} %description libs %{summary}. %package plugins Summary: Plugins for %{name} Requires: %{name} = %{version}-%{release} %description plugins %{summary}. %package -n kwrite Summary: Simple text editor Requires: %{name}-libs = %{version}-%{release} %description -n kwrite KWrite is a simple text editor built on the same KTextEditor component as Kate. %prep %autosetup -p1 %build %cmake_kf6 -DBUILD_TESTING:BOOL=OFF %cmake_build_kf6 %install %cmake_install_kf6 %find_lang all --all-name --with-html grep plugin all.lang > plugins.lang grep -E '(kate\.mo|kwrite)' all.lang > kwrite.lang cat all.lang plugins.lang kwrite.lang | sort | uniq -u > kate.lang %files -f kate.lang %doc README.md %license LICENSES/* %{_kf6_bindir}/kate %{_kf6_datadir}/applications/org.kde.kate.desktop %{_kf6_datadir}/icons/hicolor/*/apps/kate.* %{_kf6_metainfodir}/org.kde.kate.appdata.xml %files libs %{_kf6_libdir}/libkateprivate.so.%{version} %files plugins -f plugins.lang %{_kf6_datadir}/kateproject/ %{_kf6_datadir}/katexmltools/ %dir %{_kf6_plugindir}/ktexteditor/ %{_kf6_plugindir}/ktexteditor/*.so %{_kf6_plugindir}/kio/kio_kateexec.so %{_bindir}/exec_inspect.sh %files -n kwrite -f kwrite.lang %{_kf6_bindir}/kwrite %{_kf6_datadir}/applications/org.kde.kwrite.desktop %{_kf6_datadir}/icons/hicolor/*/apps/kwrite.* %{_kf6_metainfodir}/org.kde.kwrite.appdata.xml %changelog * Sun Aug 30 2026 Smech - 26.08.0-2 - R1 compiled cleanly, no unpackaged-file warnings at all -- only real error was claiming %{_mandir}/man1/kate.1*, which is only generated via KF6DocTools (kdoctools_create_manpage), not built in this repo. Dropped the claim. * Sun Aug 30 2026 Smech - 26.08.0-1 - Real upstream source. Full dependency tree scanned recursively across apps/lib/ and the entire addons/ tree (dozens of plugin subdirectories) up front. Proactively added cmake(Qt6Qml) (KF6Config is pulled in). %%files transcribed from Fedora's reference spec but switched to broad globs for the ktexteditor plugin directory instead of an exhaustive per-.so list, since exact plugin output depends on soft-optional deps (Qt6Keychain absent here) that may differ from Fedora's build. Docs (KF6DocTools) and tests both dropped, matching this repo's conventions elsewhere.