diff --git a/.gitignore b/.gitignore index 7f9abf0..2bfdae0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ zulu__south_africa__dictionary-20100125-fx+tb.xpi +/dict-zu_za-2010.01.26.oxt diff --git a/hunspell-zu.spec b/hunspell-zu.spec index 3f2f63c..54495c5 100644 --- a/hunspell-zu.spec +++ b/hunspell-zu.spec @@ -2,9 +2,12 @@ Name: hunspell-zu Summary: Zulu hunspell dictionaries %global upstreamid 20100126 Version: 0.%{upstreamid} -Release: 15%{?dist} -Source: http://releases.mozilla.org/pub/mozilla.org/addons/46490/zulu__south_africa__dictionary-20100125-fx+tb.xpi -URL: http://www.translate.org.za/ +Release: 16%{?dist} +Source: https://downloads.sourceforge.net/project/aoo-extensions/3132/3/dict-zu_za-2010.01.26.oxt +URL: https://extensions.openoffice.org/en/project/zulu-spell-checker +# There is no License information in this new sourceforge Source: archive +# Based on old gone upstream archive, Let's keep GPLv3+ license +# old and new archive .dic and .aff contents are same License: GPLv3+ BuildArch: noarch @@ -15,10 +18,10 @@ Supplements: (hunspell and langpacks-zu) Zulu hunspell dictionaries. %prep -%setup -q -c +%autosetup -c %build -for i in README-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 @@ -31,16 +34,19 @@ done %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p dictionaries/zu-ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.aff -cp -p dictionaries/zu-ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.dic +cp -p zu_ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.aff +cp -p zu_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.dic %files -%doc README-zu-ZA.txt - +%doc README-zu_ZA.txt %{_datadir}/myspell/* %changelog +* Mon Jul 09 2018 Parag Nemade - 0.20100126-16 +- Update Source tag +- License is still same GPLv3+ based on old archive + * Wed Feb 07 2018 Fedora Release Engineering - 0.20100126-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index abd76c6..5603292 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -c41f0b678c323407157e4eccc2f8527c zulu__south_africa__dictionary-20100125-fx+tb.xpi +SHA512 (dict-zu_za-2010.01.26.oxt) = 0eeafbcfff3459ec65d0fcd3b845d0cf7b1deecc1ce1364fb45cab092b17986971a3518190355e6ce863514df4bf822804cd9006fd40c0bd03eb5ad6129c3b8e