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
|
ispell-gaeilge-4.3.tar.gz
|
||||||
|
myspell-header
|
||||||
|
hunspell-header
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
Name: hunspell-ga
|
Name: hunspell-ga
|
||||||
Summary: Irish hunspell dictionaries
|
Summary: Irish hunspell dictionaries
|
||||||
Version: 4.3
|
Version: 4.3
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Source0: http://borel.slu.edu/ispell/ispell-gaeilge-%{version}.tar.gz
|
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
|
Group: Applications/Text
|
||||||
URL: http://borel.slu.edu/ispell/index.html
|
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)
|
||||||
@ -18,13 +19,13 @@ Irish hunspell dictionaries.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n ispell-gaeilge-%{version}
|
%setup -q -n ispell-gaeilge-%{version}
|
||||||
unzip %{SOURCE1}
|
|
||||||
%patch1 -p1 -b .buildhunspell.patch
|
%patch1 -p1 -b .buildhunspell.patch
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
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
|
%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
|
||||||
@ -35,10 +36,13 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README_ga_IE.txt
|
%doc README COPYING ChangeLog
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Mar 04 2008 Caolan McNamara <caolanm@redhat.com> - 4.3-2
|
||||||
- update to latest .aff
|
- update to latest .aff
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user