rpms/hunspell-ar/F-9 .cvsignore, 1.2, 1.3 hunspell-ar.spec, 1.2, 1.3 sources, 1.2, 1.3

Dan Kenigsberg (danken) fedora-extras-commits at redhat.com
Fri Jun 27 22:35:28 UTC 2008


Author: danken

Update of /cvs/extras/rpms/hunspell-ar/F-9
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1361

Modified Files:
	.cvsignore hunspell-ar.spec sources 
Log Message:
use the much lighter ayaspell data



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/hunspell-ar/F-9/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	20 Jun 2007 05:54:49 -0000	1.2
+++ .cvsignore	27 Jun 2008 22:34:26 -0000	1.3
@@ -1 +1 @@
-buckwalter_morphan_1_hunspell_patch.tar.gz
+hunspell-ar_20070905_beta2.tar.gz


Index: hunspell-ar.spec
===================================================================
RCS file: /cvs/extras/rpms/hunspell-ar/F-9/hunspell-ar.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- hunspell-ar.spec	20 Jun 2007 06:19:25 -0000	1.2
+++ hunspell-ar.spec	27 Jun 2008 22:34:26 -0000	1.3
@@ -1,14 +1,13 @@
 Name: hunspell-ar
 Summary: Arabic hunspell dictionaries
-%define upstreamid 20060208
+%define upstreamid 20080110
 Version: 0.%{upstreamid}
 Release: 1%{?dist}
-Source0: http://hunspell.sourceforge.net/buckwalter_morphan_1_hunspell_patch.tar.gz
-Source1: http://www.andy-roberts.net/software/buckwalter2unicode/buckwalter2unicode.py
+Source: http://downloads.sourceforge.net/ayaspell/hunspell-ar_%{upstreamid}.tar.gz
 Group: Applications/Text
-URL: http://hunspell.sourceforge.net
+URL: http://ayaspell.sourceforge.net/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-License: GPL
+License: GPLv2 or LGPLv2 or MPLv1.1
 BuildArch: noarch
 
 Requires: hunspell
@@ -17,33 +16,21 @@
 Arabic (Egypt, Algeria, etc.) hunspell dictionaries
 
 %prep
-%setup -q -n buckwalter_morphan_1_hunspell_patch
-cp %{SOURCE1} convert2hunspell
-chmod +x convert2hunspell/buckwalter2unicode.py
+%setup -q -n %{name}_%{upstreamid}
 
 %build
-cd convert2hunspell
-make
-
-./buckwalter2unicode.py -i arabic_alias.dic -o ../ar_LB.dic
-grep -v '^.FX' arabic_alias.aff > nonFX
-grep '^.FX' arabic_alias.aff > FX.in
-./buckwalter2unicode.py -i FX.in -d ' ' -c 4 -o FX
-cat nonFX FX > ../ar_LB.aff
-
-tr -d '\r' < ../doc/readme.txt > ../doc/readme.txt.new
-mv -f ../doc/readme.txt.new ../doc/readme.txt
 
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
-cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
+cp -p ar.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/ar_TN.dic
+cp -p ar.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/ar_TN.aff
 
 pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
-ar_LB_aliases="ar_AE ar_BH ar_DZ ar_EG ar_IN ar_IQ ar_JO ar_KW ar_LY ar_MA ar_OM ar_QA ar_SA ar_SD ar_SY ar_TN ar_YE"
-for lang in $ar_LB_aliases; do
-	ln -s ar_LB.aff $lang.aff
-	ln -s ar_LB.dic $lang.dic
+ar_TN_aliases="ar_AE ar_BH ar_DZ ar_EG ar_IN ar_IQ ar_JO ar_LB ar_KW ar_LY ar_MA ar_OM ar_QA ar_SA ar_SD ar_SY ar_YE"
+for lang in $ar_TN_aliases; do
+	ln -s ar_TN.aff $lang.aff
+	ln -s ar_TN.dic $lang.dic
 done
 popd
 
@@ -52,9 +39,12 @@
 
 %files
 %defattr(-,root,root,-)
-%doc gpl.txt doc/readme.txt convert2hunspell/README
+%doc AUTHORS ChangeLog-ar COPYING README-ar THANKS
 %{_datadir}/myspell/*
 
 %changelog
+* Thu Apr 28 2008 Caolan McNamara <caolanm at redhat.com> - 0.20080110-1
+- use the much lighter ayaspell data instead of Buckwalter
+
 * Wed Jun 06 2007 Caolan McNamara <caolanm at redhat.com> - 0.20060208-1
 - initial version


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/hunspell-ar/F-9/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	20 Jun 2007 05:54:49 -0000	1.2
+++ sources	27 Jun 2008 22:34:26 -0000	1.3
@@ -1 +1 @@
-28c3b7dce962051d55b23ac5e51f264b  buckwalter_morphan_1_hunspell_patch.tar.gz
+69990932920960eb765fd35883640124  hunspell-ar_20080110.tar.gz




More information about the fedora-extras-commits mailing list