diff --git a/hunspell-tl.spec b/hunspell-tl.spec new file mode 100644 index 0000000..0e2c676 --- /dev/null +++ b/hunspell-tl.spec @@ -0,0 +1,42 @@ +Name: hunspell-tl +Version: 0.20050109 +Release: 19 +Summary: Hunspell dictionaries for Tagalog +License: GPLv2+ +URL: https://ftp.nluug.nl/office/openoffice/contrib/dictionaries/ +Source: https://ftp.nluug.nl/office/openoffice/contrib/dictionaries/tl_PH.zip +BuildArch: noarch + +Requires: hunspell +BuildRequires: dos2unix +Supplements: (hunspell and langpacks-tl) + +%description +Hunspell dictionaries for Tagalog + +%prep +%autosetup -c -n hunspell-tl -p1 + +%build +iconv -f ISO-8859-1 -t UTF-8 README_tl_PH.txt > README_tl_PH.txt.new +touch -r README_tl_PH.txt README_tl_PH.txt.new +mv -f README_tl_PH.txt.new README_tl_PH.txt + +dos2unix README_tl_PH.txt + +%install +install -d $RPM_BUILD_ROOT/%{_datadir}/myspell +install -p tl_PH.* $RPM_BUILD_ROOT/%{_datadir}/myspell/ +cd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +ln -s tl_PH.aff fil_PH.aff +ln -s tl_PH.dic fil_PH.dic +cd .. + + +%files +%doc README_tl_PH.txt +%{_datadir}/myspell/* + +%changelog +* Wed Apr 29 2020 songzhenyu - 0.20050109-19 +- Package init diff --git a/hunspell-tl.yaml b/hunspell-tl.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-tl.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/tl_PH.zip b/tl_PH.zip new file mode 100644 index 0000000..4388a80 Binary files /dev/null and b/tl_PH.zip differ