- updated to 1.3.3:

- OpenDocument (ODF and Flat ODF) support (ODF needs unzip program)
  - various bug fixes
- removed patches:
  * hashmgr-add-word.patch (upstreamed)
  * hunspell-1.3.2-static-lib.patch (upstreamed)

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/hunspell?expand=0&rev=37
This commit is contained in:
Petr Gajdos 2014-06-23 12:54:33 +00:00 committed by Git OBS Bridge
parent 3a8ea6688e
commit 571ebc6fd1
6 changed files with 19 additions and 39 deletions

View File

@ -1,13 +0,0 @@
Index: hunspell-1.3.2/src/hunspell/hashmgr.cxx
===================================================================
--- hunspell-1.3.2.orig/src/hunspell/hashmgr.cxx
+++ hunspell-1.3.2/src/hunspell/hashmgr.cxx
@@ -116,7 +116,7 @@ int HashMgr::add_word(const char * word,
int al, const char * desc, bool onlyupcase)
{
bool upcasehomonym = false;
- int descl = desc ? (aliasm ? sizeof(short) : strlen(desc) + 1) : 0;
+ int descl = desc ? (aliasm ? sizeof(char *) : strlen(desc) + 1) : 0;
// variable-length hash record with word and optional fields
struct hentry* hp =
(struct hentry *) malloc (sizeof(struct hentry) + wbl + descl);

View File

@ -1,9 +0,0 @@
diff -urN hunspell-1.3.2.old/src/parsers/Makefile.am hunspell-1.3.2/src/parsers/Makefile.am
--- hunspell-1.3.2.old/src/parsers/Makefile.am 2011-09-15 11:50:40.251441126 +0200
+++ hunspell-1.3.2/src/parsers/Makefile.am 2011-09-17 06:06:50.469615528 +0200
@@ -1,4 +1,4 @@
-lib_LIBRARIES=libparsers.a
+noinst_LIBRARIES=libparsers.a
libparsers_a_SOURCES=firstparser.cxx htmlparser.cxx \
latexparser.cxx manparser.cxx \
textparser.cxx

View File

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

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

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

View File

@ -1,4 +1,13 @@
-------------------------------------------------------------------
Mon Jun 23 12:54:06 UTC 2014 - pgajdos@suse.com
- updated to 1.3.3:
- OpenDocument (ODF and Flat ODF) support (ODF needs unzip program)
- various bug fixes
- removed patches:
* hashmgr-add-word.patch (upstreamed)
* hunspell-1.3.2-static-lib.patch (upstreamed)
-------------------------------------------------------------------
Mon May 5 07:43:37 UTC 2014 - tchvatal@suse.com
- Cleanup with spec-cleaner.

View File

@ -18,7 +18,7 @@
%define ver 1.3
Name: hunspell
Version: 1.3.2
Version: 1.3.3
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+
@ -26,8 +26,6 @@ Group: System/Libraries
Url: http://hunspell.sourceforge.net/
Source0: http://downloads.sourceforge.net/project/%{name}/Hunspell/%{version}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
Patch0: hashmgr-add-word.patch
Patch1: hunspell-1.3.2-static-lib.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gcc-c++
@ -66,8 +64,6 @@ Includes and definitions for developing with hunspell.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
autoreconf -vi
@ -98,18 +94,15 @@ make check %{?_smp_mflags}
%defattr(644,root,root,755)
%doc README README.myspell AUTHORS AUTHORS.myspell COPYING THANKS license.hunspell license.myspell
%attr(755,root,root) %{_bindir}/hunspell
%attr(755,root,root) %{_libdir}/libhunspell*.so*
%attr(755,root,root) %{_libdir}/libhunspell*.so.0.0.0
%{_libdir}/libhunspell*.so.0
%exclude %{_libdir}/libhunspell*.so
%dir %{_mandir}/hu
%dir %{_mandir}/hu/man1
%dir %{_mandir}/hu/man4
%{_mandir}/man1/hunspell.1*
%{_mandir}/man4/hunspell.4*
%{_mandir}/man1/hunzip.1*
%{_mandir}/man1/hzip.1*
%{_mandir}/man3/hunspell.3*
%{_mandir}/man1/*
%{_mandir}/man3/*
%{_mandir}/man5/*
%lang(hu) %{_mandir}/hu/man1/hunspell.1*
%lang(hu) %{_mandir}/hu/man4/hunspell.4*
%files tools
%defattr(644,root,root,755)
@ -127,7 +120,7 @@ make check %{?_smp_mflags}
%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libhunspell*.so
%{_libdir}/libhunspell*.so
%{_includedir}/%{name}
%{_includedir}/munch.h
%{_includedir}/unmunch.h