Compare commits
No commits in common. "rawhide" and "f37" have entirely different histories.
7 changed files with 2 additions and 69 deletions
|
|
@ -1 +0,0 @@
|
|||
1
|
||||
|
|
@ -8,10 +8,10 @@ Name: hunspell-th
|
|||
Summary: Thai hunspell dictionaries
|
||||
%global upstreamid 20061212
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 37%{?dist}
|
||||
Release: 27%{?dist}
|
||||
Source: http://download.services.openoffice.org/contrib/dictionaries/th_TH.zip
|
||||
URL: https://wiki.openoffice.org/wiki/Dictionaries
|
||||
License: LGPL-2.1-or-later
|
||||
License: LGPLv2+
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: hunspell-filesystem
|
||||
|
|
@ -38,36 +38,6 @@ cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
|||
%{_datadir}/%{dict_dirname}/*
|
||||
|
||||
%changelog
|
||||
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.20061212-37
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.20061212-36
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.20061212-35
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.20061212-34
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20061212-33
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20061212-32
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20061212-31
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20061212-30
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Thu Feb 23 2023 Caolán McNamara <caolanm@redhat.com> - 0.20061212-29
|
||||
- migrated to SPDX license
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20061212-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20061212-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
summary: Basic smoke test
|
||||
discover:
|
||||
how: fmf
|
||||
execute:
|
||||
how: tmt
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
require:
|
||||
- python3-enchant
|
||||
- hunspell-th
|
||||
test: python3 test_dic_availability.py
|
||||
framework: shell
|
||||
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
import enchant
|
||||
|
||||
lang = "th_TH"
|
||||
try:
|
||||
dic = enchant.request_dict(lang)
|
||||
print("Dictionary for {0} language is available for use".format(lang))
|
||||
except enchant.errors.DictNotFoundError:
|
||||
print("Dictionary is not installed for use")
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
require:
|
||||
- python3-enchant
|
||||
- hunspell-th
|
||||
test: python3 test_suggest_words.py
|
||||
framework: shell
|
||||
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
import enchant
|
||||
|
||||
wdlst = [ "สวัสดี", "ชา", "เช้า"]
|
||||
dic = enchant.Dict("th_TH")
|
||||
for wd in wdlst:
|
||||
dic.check(wd)
|
||||
print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue