rpms/hspell/EL-5 hspell.spec,1.10,1.11 sources,1.4,1.5

Dan Kenigsberg danken at fedoraproject.org
Thu Dec 31 13:00:30 UTC 2009


Author: danken

Update of /cvs/extras/rpms/hspell/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22666

Modified Files:
	hspell.spec sources 
Log Message:
* Thu Dec 31 2009 Dan Kenigsberg <danken at cs.technion.ac.il> - 1.1-1
- Rebase to upstream version 1.1



Index: hspell.spec
===================================================================
RCS file: /cvs/extras/rpms/hspell/EL-5/hspell.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- hspell.spec	2 Oct 2008 17:04:08 -0000	1.10
+++ hspell.spec	31 Dec 2009 13:00:29 -0000	1.11
@@ -1,36 +1,25 @@
 Summary: A Hebrew spell checker
 Name: hspell
-Version: 1.0
-Release: 8%{?dist}
-URL: http://ivrix.org.il/projects/spell-checker/
-Source: http://ivrix.org.il/projects/spell-checker/hspell-%{version}.tar.gz
-License: GPL
+Version: 1.1
+Release: 1%{?dist}
+URL: http://hspell.ivrix.org.il
+Source: http://hspell.ivrix.org.il/hspell-%{version}.tar.gz
+License: GPLv2
 Group: Applications/Text
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: zlib-devel
-Obsoletes: hspell-fat
-Provides: hspell-fat = %{version}-%{release}
+Patch0: hspell-1.0.sharedlib.patch
 
 %description
-Hspell is a Hebrew SPELLer . It currently provides a mostly spell-like 
-interface (gives the list of wrong words in the input text), but can also 
-suggest corrections (-c). It also provides a true (yet incomplete) 
-morphological analizer (-l), that prints all known meanings of a Hebrew 
-string.
-
-On typical documents Hspell recognizes the majority of correct words. However,
-users must take into account that it still will not recognize *all* the correct
-words; The dictionary is still not complete, and this situation will continue
-to improve in the next releases. On the other hand, barring bugs Hspell should
-not recognize incorrect words - extreme attention has been given to the
-correctness and consistency of the dictionary.
+Hspell is a Hebrew SPELLer and morphological analizer. It provides a mostly
+spell-like interface (gives the list of wrong words in the input text), but can
+also suggest corrections (-c). It also provides a true (yet incomplete)
+morphological analizer (-l), that prints all known meanings of a Hebrew string.
 
 %description -l he
-Hspell הוא מאיית עברי, המספק (בינתיים) מנשק דמוי-spell - פולט רשימה של המילים
-השגויות המופיעות בקלט. רשימת המילים שלנו נכבדת, אולם היא איננה שלמה עדיין - יש
-מילים תקניות שאינן מוכרות והן מדווחות כשגיאות. הקפדנו מאוד על-מנת שמילים שהוא
-*כן* מכיר יאויתו נכונה על-פי כללי האקדמיה העברית לכתיב חסר ניקוד )"כתיב מלא"(.
-כמו כן, Hspell מספק (-l) מנתח מורפולוגי אמתי (אם-כי לא שלם) אשר מדפיס את כל
+Hspell הוא מאיית ומנתח צורני עברי, המספק מנשק דמוי-spell - פולט רשימה של המילים
+השגויות המופיעות בקלט. Hspell מקפיד מאוד כללי האקדמיה העברית לכתיב חסר ניקוד
+)"כתיב מלא"(.  כמו כן, Hspell מספק (-l) מנתח מורפולוגי אשר מדפיס את כל
 המשמעויות האפשריות של מחרוזת אותיות עברית.
 
 %package devel
@@ -44,8 +33,6 @@ Library and include files for applicatio
 %description -l he devel
 ספרייה וקובצי כותרת עבור יישומים שרוצים להשתמש ב-Hspell.
 
-%define hunspell_exists 0
-%if %hunspell_exists
 %package -n hunspell-he
 Summary: Hebrew hunspell dictionaries
 Group: Applications/Text
@@ -53,32 +40,38 @@ Requires: hunspell
 
 %description -n hunspell-he
 Hebrew hunspell dictionaries.
-%endif
 
 %prep
 %setup -q
-sed -i -e '/^\s\+strip\s/d' Makefile.in
-sed -i -e 's/gzip/gzip -n/g' Makefile.in
+%patch0 -p1 -b .sharedlib.patch
+/usr/bin/iconv -f hebrew -t utf8 -o WHATSNEW WHATSNEW
 
 %build
 %configure --enable-fatverb --enable-linginfo
-make CFLAGS="$RPM_OPT_FLAGS"
-
-%if %hunspell_exists
-export PATH=$PATH:.
-make myspell
-%endif
+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}
 make DESTDIR=%{buildroot} install
+rm -f $RPM_BUILD_ROOT/%{_libdir}/libhspell.a
 
-%if %hunspell_exists
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
-cp -p he.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.dic
-echo -e "WORDCHARS \0340\0341\0342\0343\0344\0345\0346\0347\0350\0351\0352\0353\0354\0355\0356\0357\0360\0361\0362\0363\0364\0365\0366\0367\0370\0371\0372\042\047" >> he.aff
-cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff
-%endif
+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
 
 %clean
 rm -rf %{buildroot}
@@ -89,25 +82,47 @@ rm -rf %{buildroot}
 %{_bindir}/hspell
 %{_bindir}/hspell-i
 %{_bindir}/multispell
+%{_libdir}/libhspell.so.0
 %{_mandir}/man1/hspell.1*
 %{_datadir}/hspell/
 
 %files devel
 %defattr(-,root,root)
 %{_includedir}/*.h
-%{_libdir}/libhspell.a
+%{_libdir}/libhspell.so
 %{_mandir}/man3/hspell.3*
 
-%if %hunspell_exists
 %files -n hunspell-he
 %defattr(-,root,root,-)
 %doc LICENSE
 %{_datadir}/myspell/*
-%endif
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
 
 %changelog
-* Tue Apr 21 2008 Dan Kenigsberg <danken at cs.technion.ac.il> 1.0-8
-- drop hunspell-he since RHEL ain't got hunspell.
+* Thu Dec 31 2009 Dan Kenigsberg <danken at cs.technion.ac.il> - 1.1-1
+- Rebase to upstream version 1.1
+
+* Fri Jul 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-12
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sun Sep 21 2008 Ville Skyttä <ville.skytta at iki.fi> - 1.0-11
+- Fix Patch0:/%%patch mismatch.
+
+* Thu Jul 31 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 1.0-10
+- fix license tag
+
+* Wed May 14 2008 Caolan McNamara <caolanm at redhat.com> - 1.0-9
+- Resolves: rhbz#313231 build hspell.so instead of a .a
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.0-8
+- Autorebuild for GCC 4.3
+
 * Tue May 22 2007 Dan Kenigsberg <danken at cs.technion.ac.il> 1.0-7
 - Move the hunspell-he dictionaries into hspell package (Bug #240696).
   Mostly applying Caolan McNamara's patch #155078.


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/hspell/EL-5/sources,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- sources	20 May 2006 17:58:22 -0000	1.4
+++ sources	31 Dec 2009 13:00:29 -0000	1.5
@@ -1 +1 @@
-3e12fa383c2cfd430918d115f33f9841  hspell-1.0.tar.gz
+fd2f78cb81d391cd4c0bf18489293ced  hspell-1.1.tar.gz




More information about the fedora-extras-commits mailing list