diff --git a/hunspell-th.spec b/hunspell-th.spec new file mode 100644 index 0000000..3355ddb --- /dev/null +++ b/hunspell-th.spec @@ -0,0 +1,34 @@ +Name: hunspell-th +Version: 0.20061212 +Release: 20 +Summary: Hunspell dictionaries for Thai +License: LGPLv2+ +URL: https://wiki.openoffice.org/wiki/Dictionaries +Source: http://ftp.tu-chemnitz.de/pub/openoffice-extended/contrib/dictionaries/th_TH.zip +BuildArch: noarch + +Requires: hunspell +Supplements: (hunspell and langpacks-th) + +%description +Hunspell dictionaries for Thai + +%prep +%autosetup -c -n hunspell-th -p1 + +%build +sed -i -e 's/TIS620-2533/TIS620/g' th_TH.aff +chmod -x * + +%install +install -d $RPM_BUILD_ROOT/%{_datadir}/myspell +install -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell + + +%files +%doc README_th_TH.txt +%{_datadir}/myspell/* + +%changelog +* Tue Apr 28 2020 songzhenyu - 0.20061212-20 +- Package init diff --git a/hunspell-th.yaml b/hunspell-th.yaml new file mode 100644 index 0000000..00bbaf0 --- /dev/null +++ b/hunspell-th.yaml @@ -0,0 +1,4 @@ +version_control: NA +src_repo: NA +tag_prefix: NA +seperator: NA diff --git a/th_TH.zip b/th_TH.zip new file mode 100644 index 0000000..8345536 Binary files /dev/null and b/th_TH.zip differ