diff --git a/.cvsignore b/.cvsignore index cbbc7a0..7f9abf0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -dict-zu_ZA-2009.12.10.oxt +zulu__south_africa__dictionary-20100125-fx+tb.xpi diff --git a/hunspell-zu.spec b/hunspell-zu.spec index 734633d..6b413e0 100644 --- a/hunspell-zu.spec +++ b/hunspell-zu.spec @@ -1,9 +1,9 @@ Name: hunspell-zu Summary: Zulu hunspell dictionaries -%define upstreamid 20091210 +%define upstreamid 20100126 Version: 0.%{upstreamid} Release: 1%{?dist} -Source: http://extensions.services.openoffice.org/files/3132/1/dict-zu_ZA-2009.12.10.oxt +Source: http://releases.mozilla.org/pub/mozilla.org/addons/46490/zulu__south_africa__dictionary-20100125-fx+tb.xpi Group: Applications/Text URL: http://www.translate.org.za/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -19,7 +19,7 @@ Zulu hunspell dictionaries. %setup -q -c %build -for i in README-zu_ZA.txt package-description.txt release-notes-zu_ZA.txt; do +for i in README-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 @@ -33,17 +33,22 @@ done %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p dictionaries/zu-ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/zu_ZA.aff +cp -p dictionaries/zu-ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/zu_ZA.dic %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README-zu_ZA.txt package-description.txt release-notes-zu_ZA.txt +%doc README-zu-ZA.txt + %{_datadir}/myspell/* %changelog +* Sat Feb 06 2010 Caolan McNamara - 0.20100126-1 +- latest version + * Fri Dec 11 2009 Caolan McNamara - 0.20091210-1 - latest version diff --git a/sources b/sources index 8fd7eb5..abd76c6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -2f01b2291f2482bf217ffc4a34654f0d dict-zu_ZA-2009.12.10.oxt +c41f0b678c323407157e4eccc2f8527c zulu__south_africa__dictionary-20100125-fx+tb.xpi