From 35f1855326d18c5f43b2993c130d28fa642999cf Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Tue, 17 Jun 2008 19:22:17 +0000 Subject: [PATCH] next version --- .cvsignore | 2 +- hunspell-1.2.2-xulrunner.pita.patch | 42 ----------------------------- hunspell.spec | 14 ++++++---- sources | 2 +- 4 files changed, 11 insertions(+), 49 deletions(-) delete mode 100644 hunspell-1.2.2-xulrunner.pita.patch diff --git a/.cvsignore b/.cvsignore index 79cc950..0a251e2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,2 @@ ispellaff2myspell -hunspell-1.2.2.tar.gz +hunspell-1.2.4.tar.gz diff --git a/hunspell-1.2.2-xulrunner.pita.patch b/hunspell-1.2.2-xulrunner.pita.patch deleted file mode 100644 index 2bd6115..0000000 --- a/hunspell-1.2.2-xulrunner.pita.patch +++ /dev/null @@ -1,42 +0,0 @@ ---- hunspell-1.2.2.orig/src/hunspell/hunspell.hxx 2008-04-02 13:12:03.000000000 +0100 -+++ hunspell-1.2.2/src/hunspell/hunspell.hxx 2008-05-16 14:49:12.000000000 +0100 -@@ -51,7 +51,8 @@ - * input: path of affix file and dictionary file - */ - -- Hunspell(const char * affpath, const char * dpath, const char * key = NULL); -+ Hunspell(const char * affpath, const char * dpath); -+ Hunspell(const char * affpath, const char * dpath, const char * key); - ~Hunspell(); - - /* load extra dictionaries (only dic files) */ -@@ -170,7 +171,7 @@ - int insert_sug(char ***slst, char * word, int ns); - void cat_result(char * result, char * st); - char * stem_description(const char * desc); -- -+ void init(const char * affpath, const char * dpath, const char * key); - }; - - #endif ---- hunspell-1.2.2.orig/src/hunspell/hunspell.cxx 2008-04-02 13:12:30.000000000 +0100 -+++ hunspell-1.2.2/src/hunspell/hunspell.cxx 2008-05-16 14:49:50.000000000 +0100 -@@ -22,8 +22,18 @@ - #endif - #endif - -+Hunspell::Hunspell(const char * affpath, const char * dpath) -+{ -+ init(affpath, dpath, NULL); -+} -+ - Hunspell::Hunspell(const char * affpath, const char * dpath, const char * key) - { -+ init(affpath, dpath, key); -+} -+ -+void Hunspell::init(const char * affpath, const char * dpath, const char * key) -+{ - encoding = NULL; - csconv = NULL; - utf8 = 0; diff --git a/hunspell.spec b/hunspell.spec index 7bf12a8..efd91b3 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -1,7 +1,7 @@ Name: hunspell Summary: Hunspell is a spell checker and morphological analyzer library -Version: 1.2.2 -Release: 3%{?dist} +Version: 1.2.4 +Release: 1%{?dist} Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell Group: System Environment/Libraries @@ -9,7 +9,6 @@ URL: http://hunspell.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: LGPLv2+ or GPLv2+ or MPLv1.1 BuildRequires: libtool, ncurses-devel -Patch0: hunspell-1.2.2-xulrunner.pita.patch %description Hunspell is a spell checker and morphological analyzer library and program @@ -27,8 +26,7 @@ Includes and definitions for developing with hunspell %prep %setup -q -%patch0 -p1 -b .xulrunner.pita.patch -# Filter unwanted Requires for the use explicitely string in ispellaff2myspell +# Filter unwanted Requires for the "use explicitely" string in ispellaff2myspell cat << \EOF > %{name}-req #!/bin/sh %{__perl_requires} $* |\ @@ -91,8 +89,14 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/hunzip %{_bindir}/ispellaff2myspell %{_libdir}/pkgconfig/hunspell.pc +%{_mandir}/man1/hunzip.1.gz +%{_mandir}/man1/hzip.1.gz +%{_mandir}/man3/hunspell.3.gz %changelog +* Thu Jun 17 2008 Caolan McNamara - 1.2.4-1 +- latest version + * Fri May 16 2008 Caolan McNamara - 1.2.2-3 - Resolves: rhbz#446821 fix crash diff --git a/sources b/sources index 3c5681e..0288a04 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 1c5ea5ecd2481ddc116d65ea294acae3 ispellaff2myspell -e8cde1130894dcd3f732248db945d0c0 hunspell-1.2.2.tar.gz +7bc9efc8d7b564819d5ad99d519ffe78 hunspell-1.2.4.tar.gz