From 4d9f7925ee9537dca683ee1cfa9d6f38cbcd78cef7bdd725dbf45aec36525efe Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 11 Apr 2019 14:48:41 +0000 Subject: [PATCH] Accepting request 691412 from home:mrostecki:branches:GNOME:Factory - Add enchant-2-backend-aspell package which provides the aspell backend for enchant. OBS-URL: https://build.opensuse.org/request/show/691412 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/enchant?expand=0&rev=38 --- enchant.changes | 6 ++++++ enchant.spec | 24 +++++++++++++++++++++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git a/enchant.changes b/enchant.changes index dae95e5..c939672 100644 --- a/enchant.changes +++ b/enchant.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Apr 3 21:27:17 UTC 2019 - MichaƂ Rostecki + +- Add enchant-2-backend-aspell package which provides the aspell + backend for enchant. + ------------------------------------------------------------------- Sun Jun 3 10:07:03 UTC 2018 - dleuenberger@suse.com diff --git a/enchant.spec b/enchant.spec index 0c91038..6f91fb3 100644 --- a/enchant.spec +++ b/enchant.spec @@ -1,7 +1,7 @@ # # spec file for package enchant # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # @@ -25,6 +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 +BuildRequires: aspell-devel BuildRequires: dbus-1-glib-devel BuildRequires: gcc-c++ BuildRequires: glib2-devel @@ -57,6 +58,17 @@ with different spell checking libraries. This package provides data/configuration files for libenchant. +%package -n enchant-2-backend-aspell +Summary: Aspell backend for the Enchant spell checking library +Group: Productivity/Text/Spell +Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libaspell.so)) +Provides: enchant-2-backend + +%description -n enchant-2-backend-aspell +Aspell plugin for enchant, a library providing an efficient +extensible abstraction for dealing with different spell checking +libraries. + %package -n enchant-2-backend-hunspell Summary: Hunspell backend for the Enchant spell checking library Group: Productivity/Text/Spell @@ -106,7 +118,9 @@ to develop applications that require these. %setup -q %build -%configure --disable-static +%configure \ + --disable-static \ + --with-aspell make %{?_smp_mflags} %install @@ -128,6 +142,10 @@ find %{buildroot} -type f -name "*.la" -delete -print %{_libdir}/*.so.* %dir %{_libdir}/enchant-2 +%files -n enchant-2-backend-aspell +%dir %{_libdir}/enchant-2 +%{_libdir}/enchant-2/enchant_aspell.so + %files -n enchant-2-backend-hunspell %dir %{_libdir}/enchant-2 %{_libdir}/enchant-2/enchant_hunspell.so