forked from pool/enchant
Accepting request 794534 from home:yfjiang:branches:GNOME:Factory
- Enable aspell support on SLE to synchronize with Leap. OBS-URL: https://build.opensuse.org/request/show/794534 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/enchant?expand=0&rev=44
This commit is contained in:
parent
01ddb18d05
commit
3fe2f430ff
@ -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>
|
Mon Oct 21 01:11:27 UTC 2019 - Yifan Jiang <yfjiang@suse.com>
|
||||||
|
|
||||||
|
12
enchant.spec
12
enchant.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package enchant
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,9 +25,7 @@ Group: Productivity/Text/Spell
|
|||||||
URL: https://abiword.github.io/enchant/
|
URL: https://abiword.github.io/enchant/
|
||||||
Source: https://github.com/AbiWord/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
Source: https://github.com/AbiWord/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
BuildRequires: aspell-devel
|
BuildRequires: aspell-devel
|
||||||
%endif
|
|
||||||
BuildRequires: dbus-1-glib-devel
|
BuildRequires: dbus-1-glib-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
@ -60,7 +58,6 @@ with different spell checking libraries.
|
|||||||
|
|
||||||
This package provides data/configuration files for libenchant.
|
This package provides data/configuration files for libenchant.
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%package -n enchant-2-backend-aspell
|
%package -n enchant-2-backend-aspell
|
||||||
Summary: Aspell backend for the Enchant spell checking library
|
Summary: Aspell backend for the Enchant spell checking library
|
||||||
Group: Productivity/Text/Spell
|
Group: Productivity/Text/Spell
|
||||||
@ -71,7 +68,6 @@ Provides: enchant-2-backend
|
|||||||
Aspell plugin for enchant, a library providing an efficient
|
Aspell 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.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package -n enchant-2-backend-hunspell
|
%package -n enchant-2-backend-hunspell
|
||||||
Summary: Hunspell backend for the Enchant spell checking library
|
Summary: Hunspell backend for the Enchant spell checking library
|
||||||
@ -123,12 +119,8 @@ to develop applications that require these.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--with-aspell
|
--with-aspell
|
||||||
%else
|
|
||||||
--disable-static
|
|
||||||
%endif
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -150,11 +142,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%dir %{_libdir}/enchant-2
|
%dir %{_libdir}/enchant-2
|
||||||
|
|
||||||
%if 0%{?is_opensuse}
|
|
||||||
%files -n enchant-2-backend-aspell
|
%files -n enchant-2-backend-aspell
|
||||||
%dir %{_libdir}/enchant-2
|
%dir %{_libdir}/enchant-2
|
||||||
%{_libdir}/enchant-2/enchant_aspell.so
|
%{_libdir}/enchant-2/enchant_aspell.so
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -n enchant-2-backend-hunspell
|
%files -n enchant-2-backend-hunspell
|
||||||
%dir %{_libdir}/enchant-2
|
%dir %{_libdir}/enchant-2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user