diff --git a/hyph_fo_FO-20040420a.zip b/hyph_fo_FO-20040420a.zip new file mode 100644 index 0000000..9beea7e Binary files /dev/null and b/hyph_fo_FO-20040420a.zip differ diff --git a/hyphen-fo.spec b/hyphen-fo.spec new file mode 100644 index 0000000..3644a95 --- /dev/null +++ b/hyphen-fo.spec @@ -0,0 +1,39 @@ +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 diff --git a/hyphen-fo.yaml b/hyphen-fo.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hyphen-fo.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA