2007-01-10 16:39:32 +00:00
|
|
|
#
|
2011-09-21 15:41:51 +00:00
|
|
|
# spec file for package enchant
|
2007-01-10 16:39:32 +00:00
|
|
|
#
|
2020-04-16 09:59:40 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2007-01-10 16:39:32 +00:00
|
|
|
#
|
2009-03-17 16:02:30 +00:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-04-11 14:48:41 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-10 16:39:32 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-09-07 07:49:01 +00:00
|
|
|
%if 0%{?suse_version} >= 1550
|
|
|
|
%bcond_without nuspell
|
|
|
|
%else
|
|
|
|
%bcond_with nuspell
|
|
|
|
%endif
|
2007-01-10 16:39:32 +00:00
|
|
|
Name: enchant
|
Accepting request 824554 from home:elimat:branches:GNOME:Factory
- Update to version 2.2.8:
+ Add a provider back-end for Nuspell (thanks, Sander van Geloven). Nuspell is
a new spell-checker whose development has been supported by the Mozilla
foundation. It is backwards-compatible with Hunspell and Myspell
dictionaries, while supporting a wider range of language peculiarities,
improved suggestions, and easier maintainability of the code-base.
+ Doxygen documentation generation is now supported for Enchant (thanks,
Sander van Geloven).
+ The command-line parsing of the “enchant” program has been made more
friendly and reliable. The -L flag (show line numbers), which had not been
working for some time, has been fixed.
+ A buffer overflow in personal wordlist handling has been fixed.
+ Minor improvements were made to the tests (thanks, Sander van Geloven).
- Changes in version 2.2.7:
+ Fix some memory leaks in the hunspell and aspell providers, thanks to an
improvement to the build system to use ASAN for the tests.
- Changes in version 2.2.6:
+ Treat PWL as text, not binary.
- Run spec-cleaner
+ Remove package groups
OBS-URL: https://build.opensuse.org/request/show/824554
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/enchant?expand=0&rev=46
2020-08-17 09:43:10 +00:00
|
|
|
Version: 2.2.8
|
2013-03-13 23:01:11 +00:00
|
|
|
Release: 0
|
2008-08-02 00:59:25 +00:00
|
|
|
Summary: Generic Spell Checking Library
|
2018-03-09 10:13:23 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2018-06-03 10:47:56 +00:00
|
|
|
URL: https://abiword.github.io/enchant/
|
2018-03-09 10:13:23 +00:00
|
|
|
Source: https://github.com/AbiWord/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
|
2010-08-25 09:40:25 +00:00
|
|
|
Source1: baselibs.conf
|
2010-04-02 22:10:15 +00:00
|
|
|
BuildRequires: dbus-1-glib-devel
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: glib2-devel
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
BuildRequires: libvoikko-devel
|
2020-09-07 07:49:01 +00:00
|
|
|
%if %{with nuspell}
|
|
|
|
BuildRequires: libboost_headers-devel
|
|
|
|
BuildRequires: nuspell-devel
|
|
|
|
%endif
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%description
|
2008-08-02 00:59:25 +00:00
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
|
|
|
|
2010-08-25 09:40:25 +00:00
|
|
|
%package tools
|
2018-03-12 10:48:49 +00:00
|
|
|
Summary: Command line tools for the Enchant spell checking library
|
2010-08-25 09:40:25 +00:00
|
|
|
|
|
|
|
%description tools
|
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
|
|
|
|
|
|
|
This package provides command-line tools to interact with enchant.
|
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%package data
|
|
|
|
Summary: Data files for libenchant
|
|
|
|
# enchant up to version 1.6.1 was not packaged properly according the SLPP
|
|
|
|
Conflicts: libenchant1 < 1.6.1
|
2008-08-02 00:59:25 +00:00
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%description data
|
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
|
|
|
|
|
|
|
This package provides data/configuration files for libenchant.
|
|
|
|
|
|
|
|
%package -n enchant-2-backend-hunspell
|
2018-03-12 10:48:49 +00:00
|
|
|
Summary: Hunspell backend for the Enchant spell checking library
|
2018-06-03 10:47:56 +00:00
|
|
|
Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libhunspell.so))
|
2018-03-09 10:13:23 +00:00
|
|
|
Provides: enchant-2-backend
|
|
|
|
|
|
|
|
%description -n enchant-2-backend-hunspell
|
|
|
|
Hunspell plugin for enchant, a library providing an efficient
|
2008-08-02 00:59:25 +00:00
|
|
|
extensible abstraction for dealing with different spell checking
|
|
|
|
libraries.
|
|
|
|
|
2020-09-07 07:49:01 +00:00
|
|
|
%package -n enchant-2-backend-nuspell
|
|
|
|
Summary: Nuspell backend for the Enchant spell checking library
|
|
|
|
Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libnuspell.so))
|
|
|
|
Provides: enchant-2-backend
|
|
|
|
|
|
|
|
%description -n enchant-2-backend-nuspell
|
|
|
|
Nuspell plugin for enchant, a library providing an efficient
|
|
|
|
extensible abstraction for dealing with different spell checking
|
|
|
|
libraries.
|
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%package -n enchant-2-backend-voikko
|
2018-03-12 10:48:49 +00:00
|
|
|
Summary: Voikko backend for the Enchant spell checking library
|
2018-06-03 10:47:56 +00:00
|
|
|
Supplements: packageand(libenchant-2-2:%(rpm -q --qf "%%{name}" -f $(readlink -f %{_libdir}/libvoikko.so))
|
2018-03-09 10:13:23 +00:00
|
|
|
Provides: enchant-2-backend
|
|
|
|
Provides: locale(libenchant-2-2:fi)
|
|
|
|
|
|
|
|
%description -n enchant-2-backend-voikko
|
|
|
|
Voikko plugin (Finnish) for enchant, a library providing an efficient
|
|
|
|
extensible abstraction for dealing with different spell checking
|
|
|
|
libraries.
|
|
|
|
|
|
|
|
%package -n libenchant-2-2
|
2008-08-02 00:59:25 +00:00
|
|
|
Summary: Generic Spell Checking Library
|
2018-03-09 10:13:23 +00:00
|
|
|
Requires: enchant-2-backend
|
|
|
|
Requires: enchant-data >= %{version}
|
2018-05-30 13:00:20 +00:00
|
|
|
Suggests: enchant-2-backend-hunspell
|
2007-10-19 02:29:34 +00:00
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%description -n libenchant-2-2
|
2008-08-02 00:59:25 +00:00
|
|
|
A library providing an efficient extensible abstraction for dealing
|
|
|
|
with different spell checking libraries.
|
2007-10-19 02:29:34 +00:00
|
|
|
|
2007-01-10 16:39:32 +00:00
|
|
|
%package devel
|
2018-03-12 10:48:49 +00:00
|
|
|
Summary: Development files for the Enchant spell checking library
|
2013-03-13 23:01:11 +00:00
|
|
|
Requires: glib2-devel
|
2018-03-09 10:13:23 +00:00
|
|
|
Requires: libenchant-2-2 = %{version}
|
2013-03-13 23:01:11 +00:00
|
|
|
Requires: libstdc++-devel
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains all necessary include files and libraries needed
|
|
|
|
to develop applications that require these.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2019-04-11 14:48:41 +00:00
|
|
|
%configure \
|
2020-10-05 08:06:09 +00:00
|
|
|
--disable-static
|
Accepting request 824554 from home:elimat:branches:GNOME:Factory
- Update to version 2.2.8:
+ Add a provider back-end for Nuspell (thanks, Sander van Geloven). Nuspell is
a new spell-checker whose development has been supported by the Mozilla
foundation. It is backwards-compatible with Hunspell and Myspell
dictionaries, while supporting a wider range of language peculiarities,
improved suggestions, and easier maintainability of the code-base.
+ Doxygen documentation generation is now supported for Enchant (thanks,
Sander van Geloven).
+ The command-line parsing of the “enchant” program has been made more
friendly and reliable. The -L flag (show line numbers), which had not been
working for some time, has been fixed.
+ A buffer overflow in personal wordlist handling has been fixed.
+ Minor improvements were made to the tests (thanks, Sander van Geloven).
- Changes in version 2.2.7:
+ Fix some memory leaks in the hunspell and aspell providers, thanks to an
improvement to the build system to use ASAN for the tests.
- Changes in version 2.2.6:
+ Treat PWL as text, not binary.
- Run spec-cleaner
+ Remove package groups
OBS-URL: https://build.opensuse.org/request/show/824554
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/enchant?expand=0&rev=46
2020-08-17 09:43:10 +00:00
|
|
|
%make_build
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%install
|
2018-03-09 10:13:23 +00:00
|
|
|
%make_install
|
2010-04-02 22:10:15 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2007-01-10 16:39:32 +00:00
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%post -n libenchant-2-2 -p /sbin/ldconfig
|
|
|
|
%postun -n libenchant-2-2 -p /sbin/ldconfig
|
2007-01-10 16:39:32 +00:00
|
|
|
|
2010-08-25 09:40:25 +00:00
|
|
|
%files tools
|
2018-03-09 10:13:23 +00:00
|
|
|
%{_bindir}/enchant-2
|
|
|
|
%{_bindir}/enchant-lsmod-2
|
|
|
|
%{_mandir}/man1/enchant-2.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/enchant-lsmod-2.1%{?ext_man}
|
|
|
|
|
|
|
|
%files -n libenchant-2-2
|
|
|
|
%license COPYING.LIB
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
2007-10-19 02:29:34 +00:00
|
|
|
%{_libdir}/*.so.*
|
2018-03-09 10:13:23 +00:00
|
|
|
%dir %{_libdir}/enchant-2
|
|
|
|
|
|
|
|
%files -n enchant-2-backend-hunspell
|
|
|
|
%dir %{_libdir}/enchant-2
|
|
|
|
%{_libdir}/enchant-2/enchant_hunspell.so
|
|
|
|
|
2020-09-07 07:49:01 +00:00
|
|
|
%if %{with nuspell}
|
|
|
|
%files -n enchant-2-backend-nuspell
|
|
|
|
%dir %{_libdir}/enchant-2
|
|
|
|
%{_libdir}/enchant-2/enchant_nuspell.so
|
|
|
|
%endif
|
|
|
|
|
2018-03-09 10:13:23 +00:00
|
|
|
%files -n enchant-2-backend-voikko
|
|
|
|
%dir %{_libdir}/enchant-2
|
|
|
|
%{_libdir}/enchant-2/enchant_voikko.so
|
|
|
|
|
|
|
|
%files data
|
2010-08-25 09:40:25 +00:00
|
|
|
# The directories are not versioned, unfortunately. Not good for the SLPP.
|
2018-03-09 10:13:23 +00:00
|
|
|
%dir %{_datadir}/enchant
|
|
|
|
%{_datadir}/enchant/enchant.ordering
|
2007-01-10 16:39:32 +00:00
|
|
|
|
|
|
|
%files devel
|
2018-03-09 10:13:23 +00:00
|
|
|
%{_includedir}/enchant-2
|
2007-01-10 16:39:32 +00:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
2008-05-17 00:14:42 +00:00
|
|
|
|
2007-10-19 02:29:34 +00:00
|
|
|
%changelog
|