Name: hunspell-fur Summary: Libraries for friulian hunspell dictionaries Version: 0.20050912 Release: 18 Source: http://digilander.libero.it/paganf/coretors/myspell-fur-12092005.zip URL: http://digilander.libero.it/paganf/coretors/dizionaris.html License: GPLv2+ BuildArch: noarch Requires: hunspell %description Libraries for friulian hunspell dictionaries. %prep %autosetup -n myspell-fur-12092005 -p1 %build chmod -x * for i in COPYING.txt LICENCE.txt LEIMI.txt; do if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then iconv -f ISO-8859-15 -t UTF-8 $i > $i.new touch -r $i $i.new;mv -f $i.new $i fi tr -d '\r' < $i > $i.new;touch -r $i $i.new;mv -f $i.new $i done %install install -d %{buildroot}/%{_datadir}/myspell install -p fur_IT.* %{buildroot}/%{_datadir}/myspell/ %files %doc COPYING.txt LEIMI.txt LICENCE.txt %{_datadir}/myspell/* %changelog * Tue Apr 28 2020 cuibaobao - 0.20050912-18 - Package init