diff --git a/hunspell-ms.spec b/hunspell-ms.spec new file mode 100644 index 0000000..0353764 --- /dev/null +++ b/hunspell-ms.spec @@ -0,0 +1,36 @@ +Name: hunspell-ms +Summary: Hunspell dictionaries for Malay +Version: 0.20050117 +Release: 19 +Source: http://downloads.sourceforge.net/project/openofficeorg.mirror/contrib/dictionaries/ms_MY.zip +URL: https://wiki.openoffice.org/wiki/Dictionaries +License: GFDL and GPL+ +BuildArch: noarch + +Requires: hunspell +Supplements: (hunspell and langpacks-ms) + +%description +Hunspell dictionaries for Malay. + +%prep +%autosetup -c -n hunspell-ms -p1 + +%build +chmod -x * + +%install +install -d %{buildroot}/%{_datadir}/myspell +cp -p *.dic *.aff %{buildroot}/%{_datadir}/myspell + +cd %{buildroot}/%{_datadir}/myspell/ +ln -s ms_MY.aff ms_BN.aff +ln -s ms_MY.dic ms_BN.dic + +%files +%doc README_ms_MY.txt +%{_datadir}/myspell/* + +%changelog +* Thu Apr 23 2020 lizhenhua - 0.20050117-19 +- Package init diff --git a/ms_MY.zip b/ms_MY.zip new file mode 100644 index 0000000..e40220b Binary files /dev/null and b/ms_MY.zip differ