|
|
@ -1,12 +1,15 @@
|
|
|
|
%global framework sonnet
|
|
|
|
%global framework sonnet
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# bootstrap without backend plugins
|
|
|
|
|
|
|
|
#global bootstrap 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Version: 5.21.0
|
|
|
|
Version: 5.21.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
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+
|
|
|
|
URL: https://projects.kde.org/sonnet
|
|
|
|
URL: https://quickgit.kde.org/?p=%{framework}.git
|
|
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
@ -23,9 +26,13 @@ Patch1: sonnet-5.15.0-qDebug.patch
|
|
|
|
# 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
|
|
|
|
Patch2: sonnet-5.13.0-multilib.patch
|
|
|
|
|
|
|
|
# support hunspell-1.4
|
|
|
|
|
|
|
|
Patch3: sonnet-hunspell14.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
|
|
|
%if ! 0%{?bootstrap}
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
|
|
|
|
%endif
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
@ -59,10 +66,7 @@ GUI part of the Sonnet framework provides widgets with spell checking support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
%autosetup -n %{framework}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
|
|
%patch1 -p1 -b .qDebug
|
|
|
|
|
|
|
|
%patch2 -p1 -b .multilib
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -91,7 +95,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%files core
|
|
|
|
%files core
|
|
|
|
%{_kf5_libdir}/libKF5SonnetCore.so.*
|
|
|
|
%{_kf5_libdir}/libKF5SonnetCore.so.*
|
|
|
|
%dir %{_kf5_plugindir}/sonnet/
|
|
|
|
%dir %{_kf5_plugindir}/sonnet/
|
|
|
|
|
|
|
|
%if ! 0%{?bootstrap}
|
|
|
|
%{_kf5_plugindir}/sonnet/hunspell.so
|
|
|
|
%{_kf5_plugindir}/sonnet/hunspell.so
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%dir %{_kf5_datadir}/kf5/sonnet/
|
|
|
|
%dir %{_kf5_datadir}/kf5/sonnet/
|
|
|
|
%{_kf5_datadir}/kf5/sonnet/trigrams.map
|
|
|
|
%{_kf5_datadir}/kf5/sonnet/trigrams.map
|
|
|
|
|
|
|
|
|
|
|
@ -113,6 +119,11 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Apr 18 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.21.0-3
|
|
|
|
|
|
|
|
- update URL
|
|
|
|
|
|
|
|
- support bootstrapping
|
|
|
|
|
|
|
|
- add support for hunspell-1.4
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Apr 18 2016 Caolán McNamara <caolanm@redhat.com> - 5.21.0-2
|
|
|
|
* Mon Apr 18 2016 Caolán McNamara <caolanm@redhat.com> - 5.21.0-2
|
|
|
|
- rebuild for hunspell 1.4.0
|
|
|
|
- rebuild for hunspell 1.4.0
|
|
|
|
|
|
|
|
|
|
|
|