upgrade to latest
This commit is contained in:
parent
b74696e3c3
commit
72f768a28a
@ -1 +1,2 @@
|
||||
ga_IE.zip
|
||||
ispell-gaeilge-4.2.tar.gz
|
||||
|
@ -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 @@ Requires: hunspell
|
||||
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 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Mon Aug 20 2007 Caolan McNamara <caolanm@redhat.com> - 4.2-1
|
||||
- bump to latest upstream
|
||||
|
||||
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 0.20060731-2
|
||||
- clarify license version
|
||||
|
||||
|
22
ispell-gaeilge-4.2-buildhunspell.patch
Normal file
22
ispell-gaeilge-4.2-buildhunspell.patch
Normal file
@ -0,0 +1,22 @@
|
||||
--- 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)
|
Loading…
Reference in New Issue
Block a user