Accepting request 839777 from GNOME:Factory

Revert, aspell will stay

OBS-URL: https://build.opensuse.org/request/show/839777
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/enchant?expand=0&rev=52
This commit is contained in:
Dominique Leuenberger 2020-10-06 11:43:58 +00:00 committed by Git OBS Bridge
parent 25206c380b
commit 63c1ba52ba
2 changed files with 17 additions and 7 deletions

View File

@ -1,9 +1,3 @@
-------------------------------------------------------------------
Fri Oct 2 15:04:45 UTC 2020 - pgajdos@suse.com
- remove aspell backand again, aspell is going to be removed from
tumbleweed
-------------------------------------------------------------------
Tue Aug 18 05:57:28 UTC 2020 - Atri Bhattacharya <badshah400@gmail.com>

View File

@ -29,6 +29,7 @@ License: LGPL-2.1-or-later
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
@ -63,6 +64,16 @@ 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
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
Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libhunspell.so))
@ -119,7 +130,8 @@ to develop applications that require these.
%build
%configure \
--disable-static
--disable-static \
--with-aspell
%make_build
%install
@ -141,6 +153,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