%global framework sonnet Name: kf6-%{framework} Version: 5.247.0 Release: 1%{?dist} Summary: KDE Frameworks 6 Tier 1 solution for spell checking License: BSD-3-Clause AND CC0-1.0 AND LGPL-2.0-or-later AND LGPL-2.1-or-later URL: https://invent.kde.org/frameworks/%{framework} Source0: http://download.kde.org/%{stable_kf6}/frameworks/%{majmin_ver_kf6}/%{framework}-%{version}.tar.xz BuildRequires: appstream BuildRequires: extra-cmake-modules >= %{version} BuildRequires: kf6-rpm-macros BuildRequires: make BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: qt6-qtbase-devel BuildRequires: qt6-qtdeclarative-devel BuildRequires: qt6-qttools-devel BuildRequires: zlib-devel BuildRequires: cmake(Qt6Quick) BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(hunspell) Requires: kf6-filesystem Recommends: hunspell %description KDE Frameworks 6 Tier 1 solution for spell checking. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} Requires: qt6-qtbase-devel %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 %cmake_build %install %cmake_install %find_lang_kf6 sonnet6_qt %files -f sonnet6_qt.lang %doc README.md %license LICENSES/*.txt %{_kf6_datadir}/qlogging-categories6/*categories %{_kf6_libdir}/libKF6SonnetCore.so.* %{_kf6_bindir}/parsetrigrams6 %{_kf6_qmldir}/org/kde/sonnet/ %dir %{_kf6_plugindir}/sonnet %{_kf6_plugindir}/sonnet/sonnet_hunspell.so %{_kf6_libdir}/libKF6SonnetUi.so.* %{_kf6_qtplugindir}/designer/*6widgets.so %files devel %doc README.md %license LICENSES/*.txt %{_kf6_includedir}/Sonnet/ %{_kf6_includedir}/SonnetCore/ %{_kf6_includedir}/SonnetUi/ %{_kf6_libdir}/cmake/KF6Sonnet/ %{_kf6_libdir}/libKF6SonnetCore.so %{_kf6_libdir}/libKF6SonnetUi.so %changelog * Wed Dec 20 2023 Marc Deop i Argemí - 5.247.0-1 - 5.247.0 * Sat Dec 02 2023 Justin Zobel - 5.246.0-1 - Update to 5.246.0 * Thu Nov 09 2023 Steve Cossette - 5.245.0-1 - 5.245.0 * Sun Sep 24 2023 Steve Cossette - 5.240.0^20230920.235103.01f7019-1 - Initial release