diff --git a/.gitignore b/.gitignore index 0a707fa..eb9de55 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ hunspell-mi-0.1.20080630-beta.tar.gz +/mi_NZ.zip diff --git a/hunspell-mi.spec b/hunspell-mi.spec index aa202c1..61b95f0 100644 --- a/hunspell-mi.spec +++ b/hunspell-mi.spec @@ -2,9 +2,9 @@ Name: hunspell-mi Summary: Maori hunspell dictionaries %global upstreamid 20080630 Version: 0.%{upstreamid} -Release: 15%{?dist} -Source: http://packages.papakupu.maori.nz/hunspell/hunspell-mi-0.1.%{upstreamid}-beta.tar.gz -URL: http://papakupu.maori.nz/ +Release: 16%{?dist} +Source: http://download.services.openoffice.org/contrib/dictionaries/mi_NZ.zip +URL: https://wiki.openoffice.org/wiki/Dictionaries License: GPLv3+ BuildArch: noarch @@ -15,21 +15,30 @@ Supplements: (hunspell and langpacks-mi) Maori hunspell dictionaries. %prep -%setup -q -c -n hunspell-mi-%{version} +%autosetup -c -n hunspell-mi-%{version} %build +for i in README_mi_NZ.txt; do + tr -d '\r' < $i > $i.new + touch -r $i $i.new + mv -f $i.new $i +done %install mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell -cp -p mi.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.aff -cp -p mi.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.dic +cp -p mi_NZ.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.aff +cp -p mi_NZ.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.dic %files -%doc mi.AUTHORS mi.LICENSE mi.README +%doc README_mi_NZ.txt +%license LICENSE_mi_NZ.txt %{_datadir}/myspell/* %changelog +* Sat Jul 07 2018 Parag Nemade - 0.20080630-16 +- Update to new upstream archive + * Wed Feb 07 2018 Fedora Release Engineering - 0.20080630-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild diff --git a/sources b/sources index 85bb613..ca69e72 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -81bdb8563e1890466da842fe5e17d9cd hunspell-mi-0.1.20080630-beta.tar.gz +SHA512 (mi_NZ.zip) = 7f15ed0a5cd3ee383d7cf1da6bb87855cfefeb913c6113a3ad4271aaa94548476a25e68cfd00ebcfb561ca67271545ce3161857627578b8a5f5f57158d2950da