upgrade to latest
This commit is contained in:
parent
b74696e3c3
commit
72f768a28a
@ -1 +1,2 @@
|
|||||||
ga_IE.zip
|
ga_IE.zip
|
||||||
|
ispell-gaeilge-4.2.tar.gz
|
||||||
|
@ -1,14 +1,15 @@
|
|||||||
Name: hunspell-ga
|
Name: hunspell-ga
|
||||||
Summary: Irish hunspell dictionaries
|
Summary: Irish hunspell dictionaries
|
||||||
%define upstreamid 20060731
|
Version: 4.2
|
||||||
Version: 0.%{upstreamid}
|
Release: 1%{?dist}
|
||||||
Release: 2%{?dist}
|
Source0: http://borel.slu.edu/ispell/ispell-gaeilge-%{version}.tar.gz
|
||||||
Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/ga_IE.zip
|
Source1: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/ga_IE.zip
|
||||||
Group: Applications/Text
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Patch1: ispell-gaeilge-4.2-buildhunspell.patch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell
|
||||||
|
|
||||||
@ -16,15 +17,18 @@ Requires: hunspell
|
|||||||
Irish hunspell dictionaries.
|
Irish hunspell dictionaries.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -c -n hunspell-ga
|
%setup -q -n ispell-gaeilge-%{version}
|
||||||
|
unzip %{SOURCE1}
|
||||||
|
%patch1 -p1 -b .buildhunspell.patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
make
|
||||||
chmod -x *
|
chmod -x *
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
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
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -35,6 +39,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Aug 03 2007 Caolan McNamara <caolanm@redhat.com> - 0.20060731-2
|
||||||
- clarify license version
|
- 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