This commit is contained in:
Caolán McNamara 2010-07-31 16:32:19 +01:00
parent 88785fb8c9
commit a352c13f27
4 changed files with 30 additions and 23 deletions

2
.gitignore vendored
View File

@ -1,3 +1,3 @@
myspell-header
hunspell-header
ispell-gaeilge-4.4.tar.gz
ispell-gaeilge-4.5.tar.gz

View File

@ -1,8 +1,8 @@
Name: hunspell-ga
Summary: Irish hunspell dictionaries
Version: 4.4
Release: 3%{?dist}
Source0: http://borel.slu.edu/ispell/ispell-gaeilge-%{version}.tar.gz
Version: 4.5
Release: 1%{?dist}
Source0: http://gaelspell.googlecode.com/files/ispell-gaeilge-%{version}.tar.gz
Source1: myspell-header
Source2: hunspell-header
Group: Applications/Text
@ -40,6 +40,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/myspell/*
%changelog
* Sat Jul 31 2010 Caolán McNamara <caolanm@redhat.com> - 4.5-1
- latest version
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
@ -49,20 +52,20 @@ rm -rf $RPM_BUILD_ROOT
* Tue Aug 05 2008 Caolán McNamara <caolanm@redhat.com> - 4.4-1
- latest version
* Wed Mar 05 2008 Caolan McNamara <caolanm@redhat.com> - 4.3-3
* Wed Mar 05 2008 Caolán McNamara <caolanm@redhat.com> - 4.3-3
- build the .aff from gaeilge.aff and ispellaff2myspell
* Tue Mar 04 2008 Caolan McNamara <caolanm@redhat.com> - 4.3-2
* Tue Mar 04 2008 Caolán McNamara <caolanm@redhat.com> - 4.3-2
- update to latest .aff
* Mon Nov 05 2007 Caolan McNamara <caolanm@redhat.com> - 4.3-1
* Mon Nov 05 2007 Caolán McNamara <caolanm@redhat.com> - 4.3-1
- latest version
* Mon Aug 20 2007 Caolan McNamara <caolanm@redhat.com> - 4.2-1
* Mon Aug 20 2007 Caolán McNamara <caolanm@redhat.com> - 4.2-1
- bump to latest upstream
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 0.20060731-2
* Fri Aug 03 2007 Caolán McNamara <caolanm@redhat.com> - 0.20060731-2
- clarify license version
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20060731-1
* Thu Dec 07 2006 Caolán McNamara <caolanm@redhat.com> - 0.20060731-1
- initial version

View File

@ -1,22 +1,26 @@
--- 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 @@
diff -ru ispell-gaeilge-4.5/makefile ispell-gaeilge-4.5/makefile
--- ispell-gaeilge-4.5/makefile 2010-07-31 16:21:50.000000000 +0100
+++ ispell-gaeilge-4.5/makefile 2010-07-31 16:22:04.000000000 +0100
@@ -18,17 +18,15 @@
ALTAFFIXFILE=gaeilgemor.aff
INSTALL_DATA=$(INSTALL) -m 444
SORT=/usr/bin/sort -u
-SORT=/usr/bin/sort -u
+SORT=sort -u
-hashtable: $(INSTALLATION).hash
-
-all: gaeilge.hash gaeilgelit.hash gaeilgemor.hash
+all: ga_IE.dic
-all: gaeilge.hash gaeilgelit.hash gaeilgemor.hash
+hashtable: $(INSTALLATION).hash
# grep -v filters out Malmö, São, LC_ALL=C needed!
-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
LC_ALL=C $(SORT) $(RAWWORDS) $(PERSONAL) | LC_ALL=C grep -v "[^'a-zA-ZáéíóúÁÉÍÓÚ/-]" | iconv -f utf8 -t iso-8859-1 > gaeilge.focail
- iconv -f utf8 -t iso-8859-1 $(AFFIXFILE) > tempaff.txt
- $(ISPELLBIN)/buildhash gaeilge.focail tempaff.txt gaeilge.hash
+ 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
+ LC_ALL=C $(SORT) -f -t / --key 1,1 gaeilge.focail >> ga_IE.dic
rm -f gaeilge.focail tempaff.txt
gaeilgelit.hash: $(RAWWORDS) $(LITWORDS) gaeilgelit.aff $(PERSONAL)

View File

@ -1,3 +1,3 @@
53d9056c90f3954ee6451d5800354132 myspell-header
68a48ee26585b7ad8cfb14147f9198b4 hunspell-header
a45a7874d72d8b4e6849667bd8b36058 ispell-gaeilge-4.4.tar.gz
fe5338f13e775558d00317c8f22b533d ispell-gaeilge-4.5.tar.gz