|
|
@ -1,11 +1,15 @@
|
|
|
|
%global framework sonnet
|
|
|
|
%global framework sonnet
|
|
|
|
|
|
|
|
|
|
|
|
# bootstrap without backend plugins
|
|
|
|
# uncomment to enable bootstrap mode
|
|
|
|
#global bootstrap 1
|
|
|
|
#global bootstrap 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if !0%{?bootstrap}
|
|
|
|
|
|
|
|
%global tests 1
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Version: 5.27.0
|
|
|
|
Version: 5.27.0
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 5%{?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+
|
|
|
@ -72,7 +76,8 @@ GUI part of the Sonnet framework provides widgets with spell checking support.
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
%{cmake_kf5} .. \
|
|
|
|
-DHUNSPELL_MAIN_DICT_PATH:PATH="%{_datadir}/myspell"
|
|
|
|
-DHUNSPELL_MAIN_DICT_PATH:PATH="%{_datadir}/myspell" \
|
|
|
|
|
|
|
|
%{?tests:-DBUILD_TESTING:BOOL=ON}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
@ -84,6 +89,13 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%find_lang_kf5 sonnet5_qt
|
|
|
|
%find_lang_kf5 sonnet5_qt
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
|
|
|
%if 0%{?tests}
|
|
|
|
|
|
|
|
export CTEST_OUTPUT_ON_FAILURE=1
|
|
|
|
|
|
|
|
make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc README.md
|
|
|
|
%doc README.md
|
|
|
|
%license COPYING.LIB
|
|
|
|
%license COPYING.LIB
|
|
|
@ -120,6 +132,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Dec 13 2016 Rex Dieter <rdieter@fedoraproject.org> - 5.27.0-5
|
|
|
|
|
|
|
|
- %%check: make test
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Dec 13 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 5.27.0-4
|
|
|
|
* Tue Dec 13 2016 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 5.27.0-4
|
|
|
|
- Rebuild for hunspell 1.5.x
|
|
|
|
- Rebuild for hunspell 1.5.x
|
|
|
|
|
|
|
|
|
|
|
|