diff --git a/.cvsignore b/.cvsignore index 68b6a2a..78ec302 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,3 @@ -ga_IE.zip ispell-gaeilge-4.3.tar.gz +myspell-header +hunspell-header diff --git a/hunspell-ga.spec b/hunspell-ga.spec index d1de2e1..97afa08 100644 --- a/hunspell-ga.spec +++ b/hunspell-ga.spec @@ -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 - 4.3-3 +- build the .aff from gaeilge.aff and ispellaff2myspell + * Tue Mar 04 2008 Caolan McNamara - 4.3-2 - update to latest .aff diff --git a/sources b/sources index b7ed45a..e96e3ef 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ eb7e6fb7ce5e74b5848ccf9b7d958b69 ispell-gaeilge-4.3.tar.gz -963e28e6a1b469f53fbc98e15ebda766 ga_IE.zip +53d9056c90f3954ee6451d5800354132 myspell-header +68a48ee26585b7ad8cfb14147f9198b4 hunspell-header