Name: hyphen-fo Version: 0.20040420 Release: 15 Summary: Faroese dictionary for spell checking License: GPL+ URL: http://fo.speling.org/ Source: http://fo.speling.org/filer/hyph_fo_FO-20040420a.zip Requires: hyphen Supplements: (hyphen and langpacks-fo) BuildArch: noarch %description Faroese dictionary for spell checking. %prep %autosetup -c -p1 -S git %build if ! iconv -f utf-8 -t utf-8 -o /dev/null README_hyph_fo_FO.txt > /dev/null 2>&1; then iconv -f ISO-8859-1 -t UTF-8 README_hyph_fo_FO.txt > README_hyph_fo_FO.txt.new touch -r README_hyph_fo_FO.txt README_hyph_fo_FO.txt.new mv -f README_hyph_fo_FO.txt.new README_hyph_fo_FO.txt fi tr -d '\r' < README_hyph_fo_FO.txt > README_hyph_fo_FO.txt.new touch -r README_hyph_fo_FO.txt README_hyph_fo_FO.txt.new mv -f README_hyph_fo_FO.txt.new README_hyph_fo_FO.txt %install install -Dp hyph_fo_FO.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_fo_FO.dic %files %doc README_hyph_fo_FO.txt %{_datadir}/hyphen/* %changelog * Wed May 13 2020 leiju - 0.20040420-15 - package init