From 5b2b2e54fc70c8dfb950213c391e69d6c279c781 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Jul 08 2018 03:48:08 +0000 Subject: Update Source tag --- diff --git a/.gitignore b/.gitignore index 1e88a45..9639034 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /myspell-header /hunspell-header /ispell-gaeilge-4.6.tar.gz +/ispell-gaeilge-5.0.tar.gz diff --git a/hunspell-ga.spec b/hunspell-ga.spec index 9418a48..59a12c8 100644 --- a/hunspell-ga.spec +++ b/hunspell-ga.spec @@ -1,15 +1,15 @@ Name: hunspell-ga Summary: Irish hunspell dictionaries -Version: 4.6 -Release: 15%{?dist} -Source0: http://gaelspell.googlecode.com/files/ispell-gaeilge-%{version}.tar.gz +Version: 5.0 +Release: 1%{?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: hunspell-devel -Patch1: ispell-gaeilge-4.2-buildhunspell.patch +Patch1: ispell-gaeilge-5.0-buildhunspell.patch Requires: hunspell Supplements: (hunspell and langpacks-ga) @@ -18,8 +18,7 @@ Supplements: (hunspell and langpacks-ga) Irish hunspell dictionaries. %prep -%setup -q -n ispell-gaeilge-%{version} -%patch1 -p1 -b .buildhunspell.patch +%autosetup -n ispell-gaeilge-%{version} %build make @@ -34,10 +33,14 @@ cp -p ga_IE.dic ga_IE.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %files -%doc README COPYING ChangeLog +%doc README ChangeLog +%license COPYING %{_datadir}/myspell/* %changelog +* Sun Jul 08 2018 Parag Nemade - 5.0-1 +- Update Source tag + * Wed Feb 07 2018 Fedora Release Engineering - 4.6-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/ispell-gaeilge-4.2-buildhunspell.patch b/ispell-gaeilge-4.2-buildhunspell.patch deleted file mode 100644 index 0967755..0000000 --- a/ispell-gaeilge-4.2-buildhunspell.patch +++ /dev/null @@ -1,26 +0,0 @@ -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=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 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=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/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/sources b/sources index b1e1c67..81349a6 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -53d9056c90f3954ee6451d5800354132 myspell-header -68a48ee26585b7ad8cfb14147f9198b4 hunspell-header -34b2acc46580c52522fb8ed8194b5ce5 ispell-gaeilge-4.6.tar.gz +SHA512 (myspell-header) = 18173d8c44d010ae96a6a7babcc9a0ed2e3110483ce0d7ba22d601a4c9d88970b01772df0c9f08218c8c7f857484f9a264c182623bb42d2b244b15799057286f +SHA512 (hunspell-header) = 129ee05b85dd795f19cd2532b0e46d19c338285424c07541fc77169e09447e92a8730ebb6f6226de84793fd77b61fc1bf5a48e1b43786d95cb507aaa5c849e17 +SHA512 (ispell-gaeilge-5.0.tar.gz) = 9303b1f971aa22a619cc90b1e74d301e7fbe07b835b05e928de7dd38475bfe64d0bb6afdb14734dc6f75eee8166f9f8a08efc6805a2790244c87549b50d19128