Name: hunspell-tn Version: 0.20150904 Release: 3 Summary: Hunspell dictionaries for Tswana License: GPLv3+ URL: https://addons.mozilla.org/en-US/firefox/addon/tswana-spell-checker/ Source: https://addons.mozilla.org/firefox/downloads/file/347396/tswana_spell_checker-20150904-sm+tb+fx+an+fn.xpi BuildArch: noarch Requires: hunspell Supplements: (hunspell and langpacks-tn) %description Hunspell dictionaries for Tswana %prep %autosetup -c -n hunspell-tn -p1 %build %install install -Dp dictionaries/tn-ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/tn_ZA.aff cp -p dictionaries/tn-ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/tn_ZA.dic cd $RPM_BUILD_ROOT/%{_datadir}/myspell/ ln -s tn_ZA.aff tn_BW.aff ln -s tn_ZA.dic tn_BW.dic cd .. %files %doc dictionaries/README_tn_ZA.txt %{_datadir}/myspell/* %changelog * Mon Apr 27 2020 songzhenyu - 0.20150904-3 - Package init