Accepting request 832685 from GNOME:Factory
- 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. (forwarded request 832584 from badshah400) OBS-URL: https://build.opensuse.org/request/show/832685 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enchant?expand=0&rev=38
This commit is contained in:
commit
09dc043754
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 18 05:57:28 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 5 21:50:14 UTC 2020 - Matthias Eliasson <elimat@opensuse.org>
|
||||
|
||||
|
25
enchant.spec
25
enchant.spec
@ -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: gcc-c++
|
||||
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 @@ Hunspell plugin for enchant, a library providing an efficient
|
||||
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 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
%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
|
||||
|
Loading…
x
Reference in New Issue
Block a user