diff --git a/kf5-sonnet.spec b/kf5-sonnet.spec index 2cbfcae..492c74f 100644 --- a/kf5-sonnet.spec +++ b/kf5-sonnet.spec @@ -22,9 +22,11 @@ Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{v # filter plugin provides %global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$ +%if 0%{?fedora} BuildRequires: aspell-devel BuildRequires: hspell-devel BuildRequires: libvoikko-devel +%endif BuildRequires: extra-cmake-modules >= %{majmin} %if ! 0%{?bootstrap} BuildRequires: hunspell-devel @@ -102,9 +104,11 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||: %{_kf5_bindir}/parsetrigrams %{_kf5_bindir}/gentrigrams %{_kf5_qmldir}/org/kde/sonnet/ +%if 0%{?fedora} %{_kf5_plugindir}/sonnet/sonnet_aspell.so %{_kf5_plugindir}/sonnet/sonnet_hspell.so %{_kf5_plugindir}/sonnet/sonnet_voikko.so +%endif %ldconfig_scriptlets ui