Compare commits

..

8 commits

Author SHA1 Message Date
Parag Nemade
8d3452e2a1
Fix the conversion again for eo.dic file 2026-07-17 18:54:29 +05:30
Parag Nemade
17dd778c73
Convert eo.dic to UTF-8 enconding format 2026-07-16 13:20:20 +05:30
Fedora Release Engineering
1df48a17e9 Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild 2026-07-16 03:25:21 +00:00
Fedora Release Engineering
1b55ae87b0 Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild 2026-01-20 03:22:10 +00:00
Fedora Release Engineering
5751c3dbd7 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 17:10:54 +00:00
Parag Nemade
37da861a43 Add tmt CI testcase 2025-05-04 16:53:39 +00:00
Fedora Release Engineering
dc86f5b8f0 Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 06:13:23 +00:00
Fedora Release Engineering
ee1a9fe5e1 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 09:31:20 +00:00
7 changed files with 71 additions and 1 deletions

1
.fmf/version Normal file
View file

@ -0,0 +1 @@
1

View file

@ -9,7 +9,7 @@ Summary: Esperanto hunspell dictionaries
%global upstreamid 20100218
Version: 0.%{upstreamid}
Epoch: 1
Release: 15%{?dist}
Release: 22%{?dist}
Source: http://www.esperantilo.org/literumilo-fontoj.tar.gz
URL: http://www.esperantilo.org
License: GPL-2.0-or-later
@ -24,6 +24,18 @@ Esperanto hunspell dictionaries.
%prep
%autosetup -n literumilo-fontoj
for i in eo_morf.dic; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
fi
tr -d '\r' < $i > $i.new
touch -r $i $i.new
mv -f $i.new $i
done
%build
chmod -x *
for i in LEGUMIN.txt; do
@ -43,6 +55,27 @@ cp -p eo_morf.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/eo.aff
%{_datadir}/%{dict_dirname}/*
%changelog
* Fri Jul 17 2026 Parag Nemade <panemade AT redhat DOT com> - 1:0.20100218-22
- Fix the conversion again for eo.dic file
* Thu Jul 16 2026 Parag Nemade <panemade AT redhat DOT com> - 1:0.20100218-21
- Convert eo.dic to UTF-8 enconding format
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20100218-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Tue Jan 20 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20100218-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20100218-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20100218-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20100218-16
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.20100218-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

5
plans/hunspell-eo.fmf Normal file
View file

@ -0,0 +1,5 @@
summary: Basic smoke test
discover:
how: fmf
execute:
how: tmt

View file

@ -0,0 +1,6 @@
require:
- python3-enchant
- hunspell-eo
test: python3 test_dic_availability.py
framework: shell

View file

@ -0,0 +1,10 @@
#!/usr/bin/python3
import enchant
lang = "eo_morf"
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")

View file

@ -0,0 +1,6 @@
require:
- python3-enchant
- hunspell-eo
test: python3 test_suggest_words.py
framework: shell

View file

@ -0,0 +1,9 @@
#!/usr/bin/python3
import enchant
wdlst = [ "saluton", "teo", "mateno"]
dic = enchant.Dict("eo_morf")
for wd in wdlst:
dic.check(wd)
print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd)))