forked from pool/enchant
Accepting request 742518 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/742518 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/enchant?expand=0&rev=35
This commit is contained in:
commit
8ff3f49c70
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ffce4ea00dbda1478d91c3e1538cadfe5761d9d6c0ceb27bc3dba51882fe1c47
|
||||
size 953463
|
||||
oid sha256:ee8a663295c0e039b05d418af065ebcba9e539f785531e552e908030bec48164
|
||||
size 953499
|
||||
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 21 01:11:27 UTC 2019 - Yifan Jiang <yfjiang@suse.com>
|
||||
|
||||
- Disable aspell support on SLE.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 18 02:09:57 UTC 2019 - Yifan Jiang <yfjiang@suse.com>
|
||||
|
||||
- Redownload the 2.2.5 tarball to reflect the consistent upstream
|
||||
release provided in Source.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 19 07:38:52 UTC 2019 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
|
10
enchant.spec
10
enchant.spec
@ -25,7 +25,9 @@ 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
|
||||
@ -58,6 +60,7 @@ 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
|
||||
@ -68,6 +71,7 @@ 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
|
||||
@ -119,8 +123,12 @@ to develop applications that require these.
|
||||
|
||||
%build
|
||||
%configure \
|
||||
%if 0%{?is_opensuse}
|
||||
--disable-static \
|
||||
--with-aspell
|
||||
%else
|
||||
--disable-static
|
||||
%endif
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@ -142,9 +150,11 @@ 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
|
||||
|
Loading…
x
Reference in New Issue
Block a user