Accepting request 794541 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/794541
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enchant?expand=0&rev=36
This commit is contained in:
Dominique Leuenberger 2020-04-17 22:28:46 +00:00 committed by Git OBS Bridge
commit 759a1d3263
2 changed files with 6 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Apr 13 07:36:20 UTC 2020 - Yifan Jiang <yfjiang@suse.com>
- Enable aspell support on SLE to synchronize with Leap.
-------------------------------------------------------------------
Mon Oct 21 01:11:27 UTC 2019 - Yifan Jiang <yfjiang@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package enchant
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -25,9 +25,7 @@ Group: Productivity/Text/Spell
URL: https://abiword.github.io/enchant/
Source: https://github.com/AbiWord/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
%if 0%{?is_opensuse}
BuildRequires: aspell-devel
%endif
BuildRequires: dbus-1-glib-devel
BuildRequires: gcc-c++
BuildRequires: glib2-devel
@ -60,7 +58,6 @@ with different spell checking libraries.
This package provides data/configuration files for libenchant.
%if 0%{?is_opensuse}
%package -n enchant-2-backend-aspell
Summary: Aspell backend for the Enchant spell checking library
Group: Productivity/Text/Spell
@ -71,7 +68,6 @@ Provides: enchant-2-backend
Aspell plugin for enchant, a library providing an efficient
extensible abstraction for dealing with different spell checking
libraries.
%endif
%package -n enchant-2-backend-hunspell
Summary: Hunspell backend for the Enchant spell checking library
@ -123,12 +119,8 @@ to develop applications that require these.
%build
%configure \
%if 0%{?is_opensuse}
--disable-static \
--with-aspell
%else
--disable-static
%endif
make %{?_smp_mflags}
%install
@ -150,11 +142,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%{_libdir}/*.so.*
%dir %{_libdir}/enchant-2
%if 0%{?is_opensuse}
%files -n enchant-2-backend-aspell
%dir %{_libdir}/enchant-2
%{_libdir}/enchant-2/enchant_aspell.so
%endif
%files -n enchant-2-backend-hunspell
%dir %{_libdir}/enchant-2