forked from pool/enchant
Accepting request 832584 from GNOME:Next
- 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. OBS-URL: https://build.opensuse.org/request/show/832584 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/enchant?expand=0&rev=49
This commit is contained in:
parent
aea6d2ff64
commit
d35a95eee6
@ -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>
|
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
|
Name: enchant
|
||||||
Version: 2.2.8
|
Version: 2.2.8
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -30,6 +35,10 @@ BuildRequires: gcc-c++
|
|||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
BuildRequires: hunspell-devel
|
BuildRequires: hunspell-devel
|
||||||
BuildRequires: libvoikko-devel
|
BuildRequires: libvoikko-devel
|
||||||
|
%if %{with nuspell}
|
||||||
|
BuildRequires: libboost_headers-devel
|
||||||
|
BuildRequires: nuspell-devel
|
||||||
|
%endif
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A library providing an efficient extensible abstraction for dealing
|
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
|
extensible abstraction for dealing with different spell checking
|
||||||
libraries.
|
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
|
%package -n enchant-2-backend-voikko
|
||||||
Summary: Voikko backend for the Enchant spell checking library
|
Summary: Voikko backend for the Enchant spell checking library
|
||||||
Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libvoikko.so))
|
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
|
%dir %{_libdir}/enchant-2
|
||||||
%{_libdir}/enchant-2/enchant_hunspell.so
|
%{_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
|
%files -n enchant-2-backend-voikko
|
||||||
%dir %{_libdir}/enchant-2
|
%dir %{_libdir}/enchant-2
|
||||||
%{_libdir}/enchant-2/enchant_voikko.so
|
%{_libdir}/enchant-2/enchant_voikko.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user