diff --git a/hunspell-mi.spec b/hunspell-mi.spec new file mode 100644 index 0000000..c4b10fd --- /dev/null +++ b/hunspell-mi.spec @@ -0,0 +1,34 @@ +Name: hunspell-mi +Summary: Hunspell dictionaries for Maori +Version: 0.20080630 +Release: 18 +Source: http://downloads.sourceforge.net/project/openofficeorg.mirror/contrib/dictionaries/mi_NZ.zip +URL: https://wiki.openoffice.org/wiki/Dictionaries +License: GPLv3+ +BuildArch: noarch + +Requires: hunspell +Supplements: (hunspell and langpacks-mi) + +%description +Hunspell dictionaries for Maori. + +%prep +%autosetup -c -n hunspell-mi-%{version} -p1 + +%build +tr -d '\r' < README_mi_NZ.txt > README_mi_NZ.txt.new +touch -r README_mi_NZ.txt README_mi_NZ.txt.new +mv -f README_mi_NZ.txt.new README_mi_NZ.txt + +%install +install -Dp mi_NZ.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.aff +install -Dp mi_NZ.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/mi_NZ.dic + +%files +%doc README_mi_NZ.txt LICENSE_mi_NZ.txt +%{_datadir}/myspell/* + +%changelog +* Thu Apr 23 2020 lizhenhua - 0.20080630-18 +- Package init diff --git a/mi_NZ.zip b/mi_NZ.zip new file mode 100644 index 0000000..2252f77 Binary files /dev/null and b/mi_NZ.zip differ