|
|
|
@ -1,13 +1,11 @@
|
|
|
|
|
%global framework sonnet
|
|
|
|
|
|
|
|
|
|
# bootstrap without backend plugins
|
|
|
|
|
%if 0%{?fedora} > 25
|
|
|
|
|
%global bootstrap 1
|
|
|
|
|
%endif
|
|
|
|
|
#global bootstrap 1
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Version: 5.27.0
|
|
|
|
|
Release: 2%{?dist}.1.bootstrap
|
|
|
|
|
Release: 3%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 1 solution for spell checking
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
@ -22,10 +20,13 @@ URL: https://quickgit.kde.org/?p=%{framework}.git
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
## upstream patches (lookaside cache)
|
|
|
|
|
Patch5: 0005-Also-search-for-hunspell-1.5.patch
|
|
|
|
|
|
|
|
|
|
## upstreamable patches
|
|
|
|
|
# workaround multilib conflicts in trigrams.map by using QMap instead of QHash
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1262746
|
|
|
|
|
Patch2: sonnet-5.13.0-multilib.patch
|
|
|
|
|
Patch102: sonnet-5.13.0-multilib.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
%if ! 0%{?bootstrap}
|
|
|
|
@ -92,8 +93,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
%files core
|
|
|
|
|
%{_kf5_libdir}/libKF5SonnetCore.so.*
|
|
|
|
|
%dir %{_kf5_plugindir}/sonnet/
|
|
|
|
|
%if ! 0%{?bootstrap}
|
|
|
|
|
%dir %{_kf5_plugindir}/sonnet/
|
|
|
|
|
%{_kf5_plugindir}/sonnet/hunspell.so
|
|
|
|
|
%endif
|
|
|
|
|
%{_kf5_bindir}/parsetrigrams
|
|
|
|
@ -119,6 +120,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-3
|
|
|
|
|
- upstream hunspell patch
|
|
|
|
|
|
|
|
|
|
* Tue Dec 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-2.1.bootstrap
|
|
|
|
|
- rebuild (hunspell bootstrap)
|
|
|
|
|
|
|
|
|
|