Name: hunspell-nr Version: 0.20091030 Release: 16 Summary: Hunspell dictionaries for Southern Ndebele License: LGPLv2+ URL: https://extensions.openoffice.org/en/project/ndebele-south-spell-checker Source: https://downloads.sourceforge.net/project/aoo-extensions/3141/0/dict-nr_za-2009.10.30.oxt BuildArch: noarch Requires: hunspell Buildrequires: dos2unix Supplements: (hunspell and langpacks-nr) %description Hunspell dictionaries for Southern Ndebele. %prep %autosetup -c -n hunspell-nr -p1 %build iconv -f ISO-8859-2 -t UTF-8 README-nr_ZA.txt -o README-nr_ZA.txt.new touch -r README-nr_ZA.txt README-nr_ZA.txt.new mv -f README-nr_ZA.txt.new README-nr_ZA.txt dos2unix release-notes-nr_ZA.txt package-description.txt %install install -d $RPM_BUILD_ROOT/%{_datadir}/myspell install -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell %files %doc README-nr_ZA.txt release-notes-nr_ZA.txt package-description.txt %{_datadir}/myspell/* %changelog * Tue Apr 28 2020 huanghaitao - 0.20091030-16 - package init