Hello community, here is the log from the commit of package enchant for openSUSE:Factory checked in at 2020-09-09 17:48:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/enchant (Old) and /work/SRC/openSUSE:Factory/.enchant.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "enchant" Wed Sep 9 17:48:26 2020 rev:38 rq:832685 version:2.2.8 Changes: -------- --- /work/SRC/openSUSE:Factory/enchant/enchant.changes 2020-08-20 22:25:02.751875162 +0200 +++ /work/SRC/openSUSE:Factory/.enchant.new.3399/enchant.changes 2020-09-09 17:49:51.922569079 +0200 @@ -1,0 +2,9 @@ +Tue Aug 18 05:57:28 UTC 2020 - Atri Bhattacharya <[email protected]> + +- Enable nuspell backend where it is available (openSUSE >= 1550): + + Introduce BuildRequires: nuspell-devel and + libboost_headers-devel. + + Split out new package enchant-2-backend-nuspell providing the + nuspell backend. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ enchant.spec ++++++ --- /var/tmp/diff_new_pack.VpwH7i/_old 2020-09-09 17:49:54.262570981 +0200 +++ /var/tmp/diff_new_pack.VpwH7i/_new 2020-09-09 17:49:54.266570984 +0200 @@ -16,6 +16,11 @@ # +%if 0%{?suse_version} >= 1550 +%bcond_without nuspell +%else +%bcond_with nuspell +%endif Name: enchant Version: 2.2.8 Release: 0 @@ -30,6 +35,10 @@ BuildRequires: glib2-devel BuildRequires: hunspell-devel BuildRequires: libvoikko-devel +%if %{with nuspell} +BuildRequires: libboost_headers-devel +BuildRequires: nuspell-devel +%endif %description A library providing an efficient extensible abstraction for dealing @@ -75,6 +84,16 @@ extensible abstraction for dealing with different spell checking libraries. +%package -n enchant-2-backend-nuspell +Summary: Nuspell backend for the Enchant spell checking library +Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libnuspell.so)) +Provides: enchant-2-backend + +%description -n enchant-2-backend-nuspell +Nuspell plugin for enchant, a library providing an efficient +extensible abstraction for dealing with different spell checking +libraries. + %package -n enchant-2-backend-voikko Summary: Voikko backend for the Enchant spell checking library Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libvoikko.so)) @@ -142,6 +161,12 @@ %dir %{_libdir}/enchant-2 %{_libdir}/enchant-2/enchant_hunspell.so +%if %{with nuspell} +%files -n enchant-2-backend-nuspell +%dir %{_libdir}/enchant-2 +%{_libdir}/enchant-2/enchant_nuspell.so +%endif + %files -n enchant-2-backend-voikko %dir %{_libdir}/enchant-2 %{_libdir}/enchant-2/enchant_voikko.so
