Compare commits
No commits in common. "rawhide" and "f37" have entirely different histories.
11 changed files with 30 additions and 116 deletions
|
|
@ -1 +0,0 @@
|
|||
1
|
||||
30
hspell.spec
30
hspell.spec
|
|
@ -1,8 +1,8 @@
|
|||
Summary: A Hebrew spell checker
|
||||
Name: hspell
|
||||
Version: 1.4
|
||||
Release: 24%{?dist}
|
||||
License: AGPL-3.0-only
|
||||
Release: 16%{?dist}
|
||||
License: AGPLv3
|
||||
URL: http://hspell.ivrix.org.il/
|
||||
Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz
|
||||
Patch0: 0001-require-local-module-explicitly.patch
|
||||
|
|
@ -45,7 +45,7 @@ Hebrew hunspell dictionaries.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch -P 0 -p1 -b .localreq
|
||||
%patch0 -p1 -b .localreq
|
||||
/usr/bin/iconv -f hebrew -t utf8 -o WHATSNEW WHATSNEW
|
||||
|
||||
%build
|
||||
|
|
@ -86,30 +86,6 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff
|
|||
%ldconfig_scriptlets
|
||||
|
||||
%changelog
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jul 07 2023 Parag Nemade <pnemade AT redhat DOT com> - 1.4-18
|
||||
- Migrate to SPDX license expression
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-16
|
||||
- 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,11 +0,0 @@
|
|||
test: ./runtests.sh
|
||||
duration: 10m
|
||||
framework: beakerlib
|
||||
require:
|
||||
- hspell
|
||||
- hunspell-he
|
||||
- make
|
||||
- gcc
|
||||
- gzip
|
||||
- zlib-devel
|
||||
- rpm-build
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
#!/bin/bash
|
||||
. /usr/share/beakerlib/beakerlib.sh || exit 1
|
||||
|
||||
NAME=convmv
|
||||
|
||||
rlJournalStart
|
||||
rlPhaseStartSetup
|
||||
rlAssertRpm ${NAME}
|
||||
rlShowPackageVersion ${NAME}
|
||||
rlRun -t -l "VERSION=$(rpm -q ${NAME} --queryformat='%{version}')" 0 "Get VERSION"
|
||||
rlRun "tmp=\$(mktemp -d)" 0 "Create tmp directory"
|
||||
rlRun "pushd $tmp"
|
||||
rlFetchSrcForInstalled "${NAME}"
|
||||
rlRun "rpm --define '_topdir $tmp' -i *src.rpm"
|
||||
rlRun -t -l "mkdir BUILD" 0 "Creating BUILD directory"
|
||||
rlRun -t -l "rpmbuild --noclean --nodeps --define '_topdir $tmp' -bp $tmp/SPECS/*spec"
|
||||
if [ -d BUILD/${NAME}-${VERSION}-build ]; then
|
||||
rlRun -t -l "pushd BUILD/${NAME}-${VERSION}-build/${NAME}-${VERSION}"
|
||||
else
|
||||
rlRun -t -l "pushd BUILD/${NAME}-${VERSION}"
|
||||
fi
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartTest
|
||||
rlRun "set -o pipefail"
|
||||
rlRun "echo "Default installation does not have aspell binary so remove its execution""
|
||||
rlRun "sed -i 's/he.rws hunspell/hunspell/g' Makefile.in"
|
||||
rlRun "./configure"
|
||||
rlRun "sed -i '82,84d' test/test1"
|
||||
rlRun "make V=1 test"
|
||||
rlRun "retval=$?"
|
||||
rlRun "echo $retval"
|
||||
rlRun "popd" 0
|
||||
rlPhaseEnd
|
||||
|
||||
rlPhaseStartCleanup
|
||||
rlRun "popd"
|
||||
rlRun "rm -r $tmp" 0 "Remove tmp directory"
|
||||
rlPhaseEnd
|
||||
rlJournalEnd
|
||||
|
||||
7
tests/smoke/runtest.sh
Normal file
7
tests/smoke/runtest.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
cd ../source
|
||||
echo "Default installation does not have aspell binary so remove its execution"
|
||||
sed -i 's/he.rws hunspell/hunspell/g' Makefile.in
|
||||
./configure
|
||||
sed -i '82,84d' test/test1
|
||||
make V=1 test
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
require:
|
||||
- python3-enchant
|
||||
- hunspell-he
|
||||
test: python3 test_dic_availability.py
|
||||
framework: shell
|
||||
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
import enchant
|
||||
|
||||
lang = "he_IL"
|
||||
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-he
|
||||
test: python3 test_suggest_words.py
|
||||
framework: shell
|
||||
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
#!/usr/bin/python3
|
||||
|
||||
import enchant
|
||||
|
||||
wdlst = [ "שלום", "תֵה", "שַׁחַר"]
|
||||
dic = enchant.Dict("he_IL")
|
||||
for wd in wdlst:
|
||||
dic.check(wd)
|
||||
print("input word = {0}, Suggestions => {1}".format(wd, dic.suggest(wd)))
|
||||
20
tests/tests.yml
Normal file
20
tests/tests.yml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-source
|
||||
|
||||
- hosts: localhost
|
||||
tags:
|
||||
- classic
|
||||
roles:
|
||||
- role: standard-test-basic
|
||||
tests:
|
||||
- smoke
|
||||
required_packages:
|
||||
- gcc
|
||||
- make
|
||||
- hspell
|
||||
- gzip
|
||||
- zlib-devel
|
||||
Loading…
Add table
Add a link
Reference in a new issue