35 lines
780 B
RPMSpec
35 lines
780 B
RPMSpec
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<songzhenyu@huawei.com> - 0.20061212-20
|
|
- Package init
|