diff --git a/.cvsignore b/.cvsignore index a2ea867..cbbc7a0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -myspell-zu_ZA-20060120.zip +dict-zu_ZA-2009.12.10.oxt diff --git a/hunspell-zu.spec b/hunspell-zu.spec index 76e41a9..734633d 100644 --- a/hunspell-zu.spec +++ b/hunspell-zu.spec @@ -1,9 +1,9 @@ Name: hunspell-zu Summary: Zulu hunspell dictionaries -%define upstreamid 20060120 +%define upstreamid 20091210 Version: 0.%{upstreamid} -Release: 4%{?dist} -Source: http://downloads.sourceforge.net/translate/myspell-zu_ZA-%{upstreamid}.zip +Release: 1%{?dist} +Source: http://extensions.services.openoffice.org/files/3132/1/dict-zu_ZA-2009.12.10.oxt Group: Applications/Text URL: http://www.translate.org.za/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -16,9 +16,19 @@ Requires: hunspell Zulu hunspell dictionaries. %prep -%setup -q -c -n hunspell-zu_ZA +%setup -q -c %build +for i in README-zu_ZA.txt package-description.txt release-notes-zu_ZA.txt; do + if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then + iconv -f ISO-8859-2 -t UTF-8 $i > $i.new + touch -r $i $i.new + mv -f $i.new $i + fi + tr -d '\r' < $i > $i.new + touch -r $i $i.new + mv -f $i.new $i +done %install rm -rf $RPM_BUILD_ROOT @@ -30,10 +40,13 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README_zu_ZA.txt +%doc README-zu_ZA.txt package-description.txt release-notes-zu_ZA.txt %{_datadir}/myspell/* %changelog +* Fri Dec 11 2009 Caolan McNamara - 0.20091210-1 +- latest version + * Fri Jul 24 2009 Fedora Release Engineering - 0.20060120-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index 99d36df..8fd7eb5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -3f1f9d5c41d6a7520e4dbb5d37a115b7 myspell-zu_ZA-20060120.zip +2f01b2291f2482bf217ffc4a34654f0d dict-zu_ZA-2009.12.10.oxt