[hspell/f16] hspell-1.2

Dan Kenigsberg danken at fedoraproject.org
Wed Feb 29 19:14:40 UTC 2012


commit 31abb8915020f9bcdba8d72da73273ee9ade710f
Author: Dan Kenigsberg <danken at redhat.com>
Date:   Sun Feb 26 22:10:58 2012 +0200

    hspell-1.2

 .gitignore                 |    1 +
 hspell-1.0.sharedlib.patch |   66 --------------------------------------------
 hspell.spec                |   36 ++++++++++--------------
 sources                    |    2 +-
 4 files changed, 17 insertions(+), 88 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1671351..0b028fb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 hspell-0.9.tar.gz
 hspell-1.0.tar.gz
+/hspell-1.2.tar.gz
diff --git a/hspell.spec b/hspell.spec
index aa7c57e..fceb4bd 100644
--- a/hspell.spec
+++ b/hspell.spec
@@ -1,14 +1,14 @@
 Summary: A Hebrew spell checker
 Name: hspell
-Version: 1.1
-Release: 4%{?dist}
+Version: 1.2
+Release: 1%{?dist}
 URL: http://hspell.ivrix.org.il
 Source: http://hspell.ivrix.org.il/hspell-%{version}.tar.gz
-License: GPLv2
+License: AGPLv3
 Group: Applications/Text
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: zlib-devel hunspell-devel
-Patch0: hspell-1.0.sharedlib.patch
+#Patch0: hspell-1.2.sharedlib.patch
 
 %description
 Hspell is a Hebrew SPELLer and morphological analyzer. It provides a mostly
@@ -43,26 +43,13 @@ Hebrew hunspell dictionaries.
 
 %prep
 %setup -q
-%patch0 -p1 -b .sharedlib.patch
+#%patch0 -p1 -b .sharedlib.patch
 /usr/bin/iconv -f hebrew -t utf8 -o WHATSNEW WHATSNEW
 
 %build
-%configure --enable-fatverb --enable-linginfo
+%configure --enable-fatverb --enable-linginfo --enable-shared
 make CFLAGS="$RPM_OPT_FLAGS" STRIP=:
 make hunspell
-cat >> hunspell/new_he.aff << EOF
-MAP 10
-MAP ךכח
-MAP םמ
-MAP ןנ
-MAP ףפ
-MAP ץצ
-MAP כק
-MAP אע # for English
-MAP גה # for Russian
-MAP צס # for Arabic
-MAP חכר # for French
-EOF
 
 %install
 rm -rf %{buildroot}
@@ -70,8 +57,12 @@ make DESTDIR=%{buildroot} install
 rm -f $RPM_BUILD_ROOT/%{_libdir}/libhspell.a
 
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
-cp -p hunspell/new_he.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.dic
-cp -p hunspell/new_he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff
+cp -p he.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.dic
+cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff
+
+%check
+# there are three known failures
+! make test | grep FAILED | egrep -v '1/aspell/[489]'
 
 %clean
 rm -rf %{buildroot}
@@ -102,6 +93,9 @@ rm -rf %{buildroot}
 %postun -p /sbin/ldconfig
 
 %changelog
+* Wed Feb 29 2012 Dan Kenigsberg <danken at cs.technion.ac.il> - 1.2-1
+- Sync with upstream hspell-1.2
+
 * Wed Feb 09 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 
diff --git a/sources b/sources
index a2428f7..4dfcd98 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-e79e75180ce529c008ea085954a52f2c  hspell-1.1.tar.gz
+32fbc1a71e86ab46bf7870c6eec9a6be  hspell-1.2.tar.gz


More information about the scm-commits mailing list