summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-05 02:47:16 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-05 02:47:16 +0000
commit52b82fcbd8b738879066cd674772a279a57a01c8 (patch)
tree37d9d37a21fb1d7a042d82f2f8a8a2812b62d328
parent35b6501163b67e43b65241da9f4c42fdc7bba3a5 (diff)
automatic import of hunspell-gaopeneuler24.03_LTS
-rw-r--r--.gitignore1
-rw-r--r--hunspell-ga.spec151
-rw-r--r--hunspell-header87
-rw-r--r--ispell-gaeilge-5.0-buildhunspell.patch26
-rw-r--r--myspell-header40
-rw-r--r--sources1
6 files changed, 306 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e69de29..ea66bed 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ispell-gaeilge-5.0.tar.gz
diff --git a/hunspell-ga.spec b/hunspell-ga.spec
new file mode 100644
index 0000000..654a061
--- /dev/null
+++ b/hunspell-ga.spec
@@ -0,0 +1,151 @@
+Name: hunspell-ga
+Summary: Irish hunspell dictionaries
+Version: 5.0
+Release: 10%{?dist}
+Source0: https://github.com/kscanne/gaelspell/releases/download/v%{version}/ispell-gaeilge-%{version}.tar.gz
+Source1: myspell-header
+Source2: hunspell-header
+URL: http://borel.slu.edu/ispell/index.html
+License: GPLv2+
+BuildArch: noarch
+BuildRequires: make
+BuildRequires: hunspell-devel
+Patch1: ispell-gaeilge-5.0-buildhunspell.patch
+
+Requires: hunspell
+Supplements: (hunspell and langpacks-ga)
+
+%description
+Irish hunspell dictionaries.
+
+%prep
+%autosetup -n ispell-gaeilge-%{version}
+
+%build
+make
+cat %{SOURCE1} %{SOURCE2} > header
+export LANG=C.UTF-8
+iconv -f utf-8 -t iso-8859-1 < gaeilge.aff > gaeilge.aff.iso-8859-1
+ispellaff2myspell gaeilge.aff.iso-8859-1 --myheader header | sed -e "s/\"\"/0/g" | sed -e "s/\"//g" > ga_IE.aff
+
+%install
+mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
+cp -p ga_IE.dic ga_IE.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
+
+
+%files
+%doc README ChangeLog
+%license COPYING
+%{_datadir}/myspell/*
+
+%changelog
+* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 5.0-10
+- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
+ Related: rhbz#1991688
+
+* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 5.0-9
+- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
+
+* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
+
+* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
+
+* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-5
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
+
+* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
+
+* Sun Nov 18 2018 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 5.0-3
+- Use C.UTF-8 locale
+ See https://fedoraproject.org/wiki/Changes/Remove_glibc-langpacks-all_from_buildroot
+
+* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 5.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
+
+* Sun Jul 08 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 5.0-1
+- Update Source tag
+
+* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-15
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
+
+* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-14
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
+
+* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-13
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
+
+* Mon Sep 12 2016 Caolán McNamara <caolanm@redhat.com> - 4.6-12
+- Resolves: rhbz#1373537 rebuild to fix problem caused by earlier grep
+
+* Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 4.6-11
+- Add Supplements: tag for langpacks naming guidelines
+- Clean the specfile to follow current packaging guidelines
+
+* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 4.6-10
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
+
+* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-9
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
+
+* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-8
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
+
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Tue May 28 2013 Caolán McNamara <caolanm@redhat.com> - 4.6-6
+- Resolves: rhbz#967637 encoding bustage
+
+* Mon May 27 2013 Caolán McNamara <caolanm@redhat.com> - 4.6-5
+- Resolves: rhbz#967637 empty ga.aff
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.6-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Wed Jun 29 2011 Caolán McNamara <caolanm@redhat.com> - 4.6-1
+- latest version
+
+* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* 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
+
+* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.4-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Tue Aug 05 2008 Caolán McNamara <caolanm@redhat.com> - 4.4-1
+- latest version
+
+* 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 Caolán McNamara <caolanm@redhat.com> - 4.3-2
+- update to latest .aff
+
+* Mon Nov 05 2007 Caolán McNamara <caolanm@redhat.com> - 4.3-1
+- latest version
+
+* Mon Aug 20 2007 Caolán McNamara <caolanm@redhat.com> - 4.2-1
+- bump to latest upstream
+
+* Fri Aug 03 2007 Caolán McNamara <caolanm@redhat.com> - 0.20060731-2
+- clarify license version
+
+* Thu Dec 07 2006 Caolán McNamara <caolanm@redhat.com> - 0.20060731-1
+- initial version
diff --git a/hunspell-header b/hunspell-header
new file mode 100644
index 0000000..4147e6e
--- /dev/null
+++ b/hunspell-header
@@ -0,0 +1,87 @@
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+# Start hunspell affix file extensions #
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+WORDCHARS -'
+
+# see gramadoir morph-ga; not bothering with any replacements
+# from that file that are anchored at ^ or $, nor with any that
+# simply add a fada (hopefully handled by MAP rules below),
+# nor with derivational morphology, since these are undesirable for
+# spelling replacement
+REP 64
+REP a
+REP e
+REP i
+REP o
+REP u
+REP uigh aigh
+REP uith aith
+REP idhth ith
+REP ighth ith
+REP sg sc
+REP sb sp
+REP sd st
+REP dn nn
+REP eu a
+REP tch t
+REP idhea o
+REP ighea o
+REP idhe
+REP ighe
+REP um am
+REP ut at
+REP uo ao
+REP aghadh
+REP adha
+REP dh
+REP mhth f
+REP bhth f
+REP thmh f
+REP thbh f
+REP thch ch
+REP tht t
+REP gha a
+REP llr lr
+REP lls ls
+REP llt lt
+REP nnc nc
+REP nnd nd
+REP nnl nl
+REP nnr nr
+REP nns ns
+REP nnt nt
+REP aingc aing
+REP agc ag
+REP igc ig
+REP iargc iarg
+REP adt ad
+REP idt id
+REP domb dom
+REP domb dom
+REP dhomb dhom
+REP dhomb dhom
+REP anbhf anbh
+REP ainbhf ainbh
+REP ighim m
+REP ighidh
+REP ighinn nn
+REP a
+REP i
+REP i
+REP i
+REP i
+REP o
+REP i
+REP i
+
+MAP 5
+MAP aA
+MAP eE
+MAP iI
+MAP oO
+MAP uU
+
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+# End hunspell extensions; remainder are PFX and SFX specifications #
+#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#-#
+
diff --git a/ispell-gaeilge-5.0-buildhunspell.patch b/ispell-gaeilge-5.0-buildhunspell.patch
new file mode 100644
index 0000000..034961c
--- /dev/null
+++ b/ispell-gaeilge-5.0-buildhunspell.patch
@@ -0,0 +1,26 @@
+diff -urN ispell-gaeilge-5.0.old/makefile ispell-gaeilge-5.0/makefile
+--- ispell-gaeilge-5.0.old/makefile 2017-12-04 02:02:36.000000000 +0530
++++ ispell-gaeilge-5.0/makefile 2018-07-08 09:16:16.483019455 +0530
+@@ -20,17 +20,15 @@
+ ALTAFFIXFILE=gaeilgemor.aff
+ INSTALL_DATA=$(INSTALL) -m 444
+
+-SORT=/usr/bin/sort -u
++SORT=sort -u
+
+-hashtable: $(INSTALLATION).hash
+-
+-all: gaeilge.hash gaeilgelit.hash gaeilgemor.hash
++all: ga_IE.dic
+
+ # grep -v filters out Malmö, São, LC_ALL=C needed!
+-gaeilge.hash: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
++ga_IE.dic: $(RAWWORDS) $(AFFIXFILE) $(PERSONAL)
+ LC_ALL=C $(SORT) $(RAWWORDS) $(PERSONAL) | LC_ALL=C grep -v "[^'a-zA-ZáéíóúÁÉÍÓÚ/-]" | iconv -f UTF-8 -t iso-8859-1 > gaeilge.focail
+- iconv -f UTF-8 -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=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)
diff --git a/myspell-header b/myspell-header
new file mode 100644
index 0000000..4c48e0a
--- /dev/null
+++ b/myspell-header
@@ -0,0 +1,40 @@
+# hunspell affix file for Irish by Kevin Scannell
+# I created this file by converting my ispell affix file on 5 August 2002
+# Exactly the same set of affixes, except one can avoid the acrobatics
+# for the verb "bugh" because hunspell is a bit smarter about
+# combining affixes
+#
+# ABCDEFGHIJKLMNOPQRSTUVWXYZ
+# ****** ****** ***
+#
+# Copyright 2002-2007 Kevin P. Scannell
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
+# 02110-1301, USA.
+#
+#
+# Consult the web page
+#
+# http://borel.slu.edu/ispell/
+#
+# for detailed information about these packages and installation information.
+
+SET ISO8859-1
+
+# TRY aihnrsetcdoglumbfpvjzxywqk (Aug. 2002, 8MB corpus)
+# TRY aihnrestcoldgumbfCpATBSIDNMGRFLEOPHUyJvkqKWVwzxjYQZX (Sept. 2003, 75MB corpus)
+# Latest: July 2006, 128MB corpus
+TRY aihnretsocldgmubfACpTSINBDEMRGL-FOP'HUywvkJWKxVYqzjXZQ
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..5307e36
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+e5b01715e7eed4e14728dcd8110b940c ispell-gaeilge-5.0.tar.gz