[OmegaT/f17] update hunspell patch to 1.3.*

Ismael Olea olea at fedoraproject.org
Thu Dec 6 00:10:47 UTC 2012


commit 5f45c5e0b9f819045df667f43aa72060b1d5c2f1
Author: Ismael Olea <ismael at olea.org>
Date:   Thu Dec 6 01:02:33 2012 +0100

    update hunspell patch to 1.3.*

 OmegaT-06-use-external-hunspell.patch |    2 +-
 OmegaT.spec                           |    7 +++++--
 2 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/OmegaT-06-use-external-hunspell.patch b/OmegaT-06-use-external-hunspell.patch
index 70dc20e..2c0f935 100644
--- a/OmegaT-06-use-external-hunspell.patch
+++ b/OmegaT-06-use-external-hunspell.patch
@@ -33,7 +33,7 @@ diff -Naur OmegaT-2.2.3_Beta-orig/src/org/omegat/util/OConsts.java OmegaT-2.2.3_
      public static final String SPELLCHECKER_LIBRARY_NAME = "hunspell";
  
 +    /** the path of the spell checking library */
-+    public static final String SPELLCHECKER_LIBRARY_PATH = "/usr/lib/libhunspell-1.2.so.0";
++    public static final String SPELLCHECKER_LIBRARY_PATH = "/usr/lib/libhunspell-1.3.so.0";
 +
 +    /** directory of system dictionaries */
 +     public static final String SPELLCHECKER_SYSTEM_DICTIONARY_DIRECTORY = "/usr/share/myspell/";   // NOI18N
diff --git a/OmegaT.spec b/OmegaT.spec
index 73a9e0c..0fab0ee 100644
--- a/OmegaT.spec
+++ b/OmegaT.spec
@@ -4,7 +4,7 @@ Summary:	Computer Aid Translation tool
 Version:	2.3.0_06
 #%define versionr	2.2.3_04_Beta
 %define versionr	%{version}
-Release:	3%{?dist}
+Release:	4%{?dist}
 #Release:	0.2.04_Beta%{?dist}
 Source0:	http://downloads.sourceforge.net/omegat/%{name}_%{versionr}_Source.zip
 Source2:	OmegaT-lib-mnemonics-build.xml
@@ -23,7 +23,7 @@ BuildRequires:	swing-layout
 Requires:	java, jpackage-utils
 Requires:	vldocking >= 2.1.4
 Requires:	htmlparser
-Requires:	hunspell
+Requires:	hunspell <= 1.4.0
 Requires:	jna
 Requires:	swing-layout
 Requires:	ws-jaxme
@@ -174,6 +174,9 @@ dos2unix -k -f release/*.txt
 
 
 %changelog
+* Thu Dec 6 2012 Ismael Olea <ismael at olea.org> - 2.3.0_06-4
+- update hunspell patch to 1.3.*
+
 * Thu Dec 6 2012 Ismael Olea <ismael at olea.org> - 2.3.0_06-3
 - bump
 


More information about the scm-commits mailing list