Accepting request 447487 from home:pluskalm:branches:devel:libraries:c_c++

- Update to version 1.6.0:

OBS-URL: https://build.opensuse.org/request/show/447487
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hunspell?expand=0&rev=56
This commit is contained in:
Petr Gajdos 2017-01-02 09:22:49 +00:00 committed by Git OBS Bridge
parent 567212ca65
commit 959152a985
5 changed files with 29 additions and 10 deletions

View File

@ -1,3 +1,3 @@
hunspell-devel
requires "libhunspell-1_5-0-<targettype> = <version>"
libhunspell-1_5-0
requires "libhunspell-1_6-0-<targettype> = <version>"
libhunspell-1_6-0

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:852c01a2e3b87eb1f2adb5261466608ba79f1f950202e18a2a1735de5098fc59
size 1110858

3
hunspell-1.6.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:512e7d2ee69dad0b35ca011076405e56e0f10963a02d4859dbcc4faf53ca68e2
size 699377

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Fri Dec 23 10:15:12 UTC 2016 - mpluskal@suse.com
- Update to version 1.6.0:
* Changes in the library:
+ Performance improvement in ngsuggest(), suggestions should be
faster.
+ Revert MAXWORDLEN to 100 as in 1.3.3 for performance reasons.
+ MAXWORDLEN can be set during build time with -D defines.
+ Fix crash when word with 102 consecutive X is spelled.
* Changes in the command line tool:
+ -D shows all loaded dictionares insted of only the first.
+ -D properly lists all available dictionaries on Windows.
-------------------------------------------------------------------
Thu Dec 1 11:10:46 UTC 2016 - pgajdos@suse.com

View File

@ -16,10 +16,10 @@
#
%define ver 1.5
%define libname lib%{name}-1_5-0
%define ver 1.6
%define libname lib%{name}-1_6-0
Name: hunspell
Version: 1.5.4
Version: 1.6.0
Release: 0
Summary: A spell checker and morphological analyzer library
License: (GPL-2.0+ or LGPL-2.1+ or MPL-1.1+) and LGPL-2.1+
@ -27,10 +27,13 @@ Group: Productivity/Office/Other
Url: https://hunspell.github.io
Source0: https://github.com/%{name}/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: libstdc++-devel
BuildRequires: libtool
BuildRequires: ncurses-devel >= 5.0
BuildRequires: pkg-config
BuildRequires: pkgconfig
BuildRequires: readline-devel
Recommends: %{name}-tools
Recommends: unzip
@ -79,6 +82,8 @@ Includes and definitions for developing with hunspell.
%setup -q
%build
# latest released tarball does not contain generated configure
autoreconf -fiv
%configure \
--disable-silent-rules \
--enable-nls \
@ -92,7 +97,7 @@ make %{?_smp_mflags}
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
rm -f %{buildroot}%{_bindir}/example
install -m 644 src/tools/{,un}munch.h %{buildroot}%{_includedir}
install -p -m 644 src/tools/{,un}munch.h %{buildroot}%{_includedir}
ln -sf %{_libdir}/libhunspell-%{ver}.so.0.0.0 %{buildroot}%{_libdir}/libhunspell.so
%check