build the .aff from gaeilge.aff and ispellaff2myspell
This commit is contained in:
parent
7a307badf8
commit
58742eab43
@ -1,2 +1,3 @@
|
||||
ga_IE.zip
|
||||
ispell-gaeilge-4.3.tar.gz
|
||||
myspell-header
|
||||
hunspell-header
|
||||
|
@ -1,9 +1,10 @@
|
||||
Name: hunspell-ga
|
||||
Summary: Irish hunspell dictionaries
|
||||
Version: 4.3
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?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
|
||||
Source1: myspell-header
|
||||
Source2: hunspell-header
|
||||
Group: Applications/Text
|
||||
URL: http://borel.slu.edu/ispell/index.html
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
@ -18,13 +19,13 @@ Irish hunspell dictionaries.
|
||||
|
||||
%prep
|
||||
%setup -q -n ispell-gaeilge-%{version}
|
||||
unzip %{SOURCE1}
|
||||
%patch1 -p1 -b .buildhunspell.patch
|
||||
|
||||
%build
|
||||
make
|
||||
chmod -x *
|
||||
|
||||
cat %{SOURCE1} %{SOURCE2} > header
|
||||
export LANG=en_IE.UTF-8
|
||||
ispellaff2myspell gaeilge.aff --myheader header | sed -e "s/\"\"/0/g" | sed -e "s/\"//g" > ga_IE.aff
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
@ -35,10 +36,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_ga_IE.txt
|
||||
%doc README COPYING ChangeLog
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 05 2008 Caolan 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
|
||||
- update to latest .aff
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user