rpms/hunspell-ga/devel ispell-gaeilge-4.2-buildhunspell.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 hunspell-ga.spec, 1.2, 1.3 sources, 1.2, 1.3

Caolan McNamara (caolanm) fedora-extras-commits at redhat.com
Mon Aug 20 12:55:08 UTC 2007


Author: caolanm

Update of /cvs/pkgs/rpms/hunspell-ga/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31506

Modified Files:
	.cvsignore hunspell-ga.spec sources 
Added Files:
	ispell-gaeilge-4.2-buildhunspell.patch 
Log Message:
upgrade to latest

ispell-gaeilge-4.2-buildhunspell.patch:

--- NEW FILE ispell-gaeilge-4.2-buildhunspell.patch ---
--- ispell-gaeilge-4.2.orig/makefile	2007-08-20 14:37:20.000000000 +0100
+++ ispell-gaeilge-4.2/makefile	2007-08-20 14:41:34.000000000 +0100
@@ -20,13 +20,14 @@
 
 SORT=/usr/bin/sort -u
 
-hashtable: $(INSTALLATION).hash
+all: ga_IE.dic
 
-all: gaeilge.hash gaeilgelit.hash gaeilgemor.hash
+hashtable: $(INSTALLATION).hash
 
-gaeilge.hash: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
-	$(SORT) $(RAWWORDS) $(PERSONAL) | LC_ALL=C grep -v "[^'a-zA-ZáéíóúÁÉÍÓÚ/-]" > gaeilge.focail
-	$(ISPELLBIN)/buildhash gaeilge.focail $(AFFIXFILE) gaeilge.hash
+ga_IE.dic: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
+	sort $(RAWWORDS) $(PERSONAL) | LC_ALL=C grep -v "[^'a-zA-ZáéíóúÁÉÍÓÚ/-]" > gaeilge.focail
+	wc -l gaeilge.focail | cut -d ' ' -f 1 > ga_IE.dic
+	LC_ALL=ga_IE sort -f -t / --key 1,1 gaeilge.focail >> ga_IE.dic
 #	rm -f gaeilge.focail
 
 gaeilgelit.hash: $(RAWWORDS) $(LITWORDS) gaeilgelit.aff $(PERSONAL)


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-ga/devel/.cvsignore,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- .cvsignore	14 Feb 2007 10:11:49 -0000	1.2
+++ .cvsignore	20 Aug 2007 12:54:35 -0000	1.3
@@ -1 +1,2 @@
 ga_IE.zip
+ispell-gaeilge-4.2.tar.gz


Index: hunspell-ga.spec
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-ga/devel/hunspell-ga.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- hunspell-ga.spec	3 Aug 2007 08:53:25 -0000	1.2
+++ hunspell-ga.spec	20 Aug 2007 12:54:35 -0000	1.3
@@ -1,14 +1,15 @@
 Name: hunspell-ga
 Summary: Irish hunspell dictionaries
-%define upstreamid 20060731
-Version: 0.%{upstreamid}
-Release: 2%{?dist}
-Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/ga_IE.zip
+Version: 4.2
+Release: 1%{?dist}
+Source0: http://borel.slu.edu/ispell/ispell-gaeilge-%{version}.tar.gz
+Source1: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/ga_IE.zip
 Group: Applications/Text
-URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
+URL: http://borel.slu.edu/ispell/index.html
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 License: GPLv2+
 BuildArch: noarch
+Patch1: ispell-gaeilge-4.2-buildhunspell.patch
 
 Requires: hunspell
 
@@ -16,15 +17,18 @@
 Irish hunspell dictionaries.
 
 %prep
-%setup -q -c -n hunspell-ga
+%setup -q -n ispell-gaeilge-%{version}
+unzip %{SOURCE1}
+%patch1 -p1 -b .buildhunspell.patch
 
 %build
+make
 chmod -x *
 
 %install
 rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
-cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
+cp -p ga_IE.dic ga_IE.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -35,6 +39,9 @@
 %{_datadir}/myspell/*
 
 %changelog
+* Mon Aug 20 2007 Caolan McNamara <caolanm at redhat.com> - 4.2-1
+- bump to latest upstream
+
 * Fri Aug 03 2007 Caolan McNamara <caolanm at redhat.com> - 0.20060731-2
 - clarify license version
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/hunspell-ga/devel/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- sources	14 Feb 2007 10:11:49 -0000	1.2
+++ sources	20 Aug 2007 12:54:35 -0000	1.3
@@ -1 +1,2 @@
 bf115e31b0618268001c28c4bb638444  ga_IE.zip
+ba063fd9ed597d2bc2ab7c4f5d047adf  ispell-gaeilge-4.2.tar.gz




More information about the fedora-extras-commits mailing list