Name: hunspell-ny Epoch: 1 Version: 0.01 Release: 16 Summary: Hunspell dictionaries for Chichewa License: GPLv3+ URL: http://extensions.services.openoffice.org/en/project/chicspell Source: https://downloads.sourceforge.net/project/aoo-extensions/4052/0/hunspell-chichewa-ny-dict-%{version}.oxt BuildArch: noarch BuildRequires: hunspell-devel Requires: hunspell Supplements: (hunspell and langpacks-ny) %description Hunspell dictionaries for Chichewa. %prep %autosetup -c -n hunspell-ny-%{version} -p1 %build cd dictionaries iconv -f ISO-8859-2 -t UTF-8 README_ny_MW.txt > README_ny_MW.txt.new touch -r README_ny_MW.txt README_ny_MW.txt.new mv -f README_ny_MW.txt.new README_ny_MW.txt cd - %install install -d $RPM_BUILD_ROOT/%{_datadir}/myspell install -p dictionaries/ny_MW.* $RPM_BUILD_ROOT/%{_datadir}/myspell %files %doc dictionaries/README_ny_MW.txt LICENSES-en.txt %{_datadir}/myspell/* %changelog * Tue Apr 28 2020 huanghaitao - 0.01-16 - package init