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
This commit is contained in:
parent
e3ed76bf84
commit
4d9f7925ee
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 3 21:27:17 UTC 2019 - Michał Rostecki <mrostecki@opensuse.org>
|
||||||
|
|
||||||
|
- Add enchant-2-backend-aspell package which provides the aspell
|
||||||
|
backend for enchant.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 3 10:07:03 UTC 2018 - dleuenberger@suse.com
|
Sun Jun 3 10:07:03 UTC 2018 - dleuenberger@suse.com
|
||||||
|
|
||||||
|
24
enchant.spec
24
enchant.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package enchant
|
# 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
|
# 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
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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/
|
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
|
||||||
|
BuildRequires: aspell-devel
|
||||||
BuildRequires: dbus-1-glib-devel
|
BuildRequires: dbus-1-glib-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
@ -57,6 +58,17 @@ with different spell checking libraries.
|
|||||||
|
|
||||||
This package provides data/configuration files for libenchant.
|
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
|
%package -n enchant-2-backend-hunspell
|
||||||
Summary: Hunspell backend for the Enchant spell checking library
|
Summary: Hunspell backend for the Enchant spell checking library
|
||||||
Group: Productivity/Text/Spell
|
Group: Productivity/Text/Spell
|
||||||
@ -106,7 +118,9 @@ to develop applications that require these.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static
|
%configure \
|
||||||
|
--disable-static \
|
||||||
|
--with-aspell
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -128,6 +142,10 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
|||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%dir %{_libdir}/enchant-2
|
%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
|
%files -n enchant-2-backend-hunspell
|
||||||
%dir %{_libdir}/enchant-2
|
%dir %{_libdir}/enchant-2
|
||||||
%{_libdir}/enchant-2/enchant_hunspell.so
|
%{_libdir}/enchant-2/enchant_hunspell.so
|
||||||
|
Loading…
x
Reference in New Issue
Block a user