From 959152a985254cf3789e157d9724e368ca4f5679b045ca44958292941b82d8ef Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 2 Jan 2017 09:22:49 +0000 Subject: [PATCH] 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 --- baselibs.conf | 4 ++-- hunspell-1.5.4.tar.gz | 3 --- hunspell-1.6.0.tar.gz | 3 +++ hunspell.changes | 14 ++++++++++++++ hunspell.spec | 15 ++++++++++----- 5 files changed, 29 insertions(+), 10 deletions(-) delete mode 100644 hunspell-1.5.4.tar.gz create mode 100644 hunspell-1.6.0.tar.gz diff --git a/baselibs.conf b/baselibs.conf index 4f1d2f7..32188e8 100644 --- a/baselibs.conf +++ b/baselibs.conf @@ -1,3 +1,3 @@ hunspell-devel - requires "libhunspell-1_5-0- = " -libhunspell-1_5-0 + requires "libhunspell-1_6-0- = " +libhunspell-1_6-0 diff --git a/hunspell-1.5.4.tar.gz b/hunspell-1.5.4.tar.gz deleted file mode 100644 index b8a6526..0000000 --- a/hunspell-1.5.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:852c01a2e3b87eb1f2adb5261466608ba79f1f950202e18a2a1735de5098fc59 -size 1110858 diff --git a/hunspell-1.6.0.tar.gz b/hunspell-1.6.0.tar.gz new file mode 100644 index 0000000..bfbb674 --- /dev/null +++ b/hunspell-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:512e7d2ee69dad0b35ca011076405e56e0f10963a02d4859dbcc4faf53ca68e2 +size 699377 diff --git a/hunspell.changes b/hunspell.changes index 6a7199d..efb6688 100644 --- a/hunspell.changes +++ b/hunspell.changes @@ -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 diff --git a/hunspell.spec b/hunspell.spec index a9845df..72367e2 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -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