upstream hunspell patch

epel9
Rex Dieter 8 years ago
parent 4d2f3fc921
commit 0952a089ad

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

@ -1 +1,2 @@
45bd0c4fe7f903980617bc818ee543e7 sonnet-5.27.0.tar.xz SHA512 (sonnet-5.27.0.tar.xz) = 716a4b034fdc2bd11269f799a23411650c11889cdafbbf57ddb14d424d66690718c4d61d4603ebf9cbd23fbcc8c8c972b4875fbd002fdf114873d1a4bbb36b96
SHA512 (0005-Also-search-for-hunspell-1.5.patch) = 69d68ce742721091dafbf903b1eaeed64f114eb556ab6db9b3c318ce9c3feb96228077e243b46943b8e0904106ebbace3959b71ef4f5e0ac930fd5203de2b0bc

Loading…
Cancel
Save