Compare commits
No commits in common. "c9-beta" and "c8" have entirely different histories.
43
SOURCES/hspell-1.4-remove-aspell-rule.patch
Normal file
43
SOURCES/hspell-1.4-remove-aspell-rule.patch
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
diff -urN hspell-1.4.old/Makefile.in hspell-1.4/Makefile.in
|
||||||
|
--- hspell-1.4.old/Makefile.in 2017-06-23 03:02:50.000000000 +0530
|
||||||
|
+++ hspell-1.4/Makefile.in 2018-09-20 11:12:50.241459999 +0530
|
||||||
|
@@ -306,19 +306,6 @@
|
||||||
|
|
||||||
|
mk_he_affix.o: prefixes.c hspell.h
|
||||||
|
|
||||||
|
-# The "he_affix.dat" and "he.wl" files are the two files basic files which
|
||||||
|
-# together form an Aspell 0.6 dictionary.
|
||||||
|
-.PHONY: aspell
|
||||||
|
-aspell: he_affix.dat he.wl
|
||||||
|
-he.wl: mk_he_affix wunzip hebrew.wgz hebrew.wgz.prefixes specfilter
|
||||||
|
- ./mk_he_affix 0 he_affix.dat he.wl
|
||||||
|
-he_affix.dat: he.wl
|
||||||
|
-
|
||||||
|
-# Aspell runtime prefers a hash-table dump which can be mmapped, instead of
|
||||||
|
-# the textual word format:
|
||||||
|
-he.rws: he.wl
|
||||||
|
- aspell --lang=he create master ./he.rws < he.wl
|
||||||
|
-
|
||||||
|
# The "he.dic" and "he.aff" files are the two files basic files which
|
||||||
|
# form a Hunspell dictionary; Hunspell is the multilingual spellchecker used
|
||||||
|
# by Firefox, OpenOffice, and many other projects. The format of these files
|
||||||
|
@@ -346,5 +333,5 @@
|
||||||
|
|
||||||
|
# A (very small number of) automated tests
|
||||||
|
.PHONY: test
|
||||||
|
-test: hspell hebrew.wgz.sizes he.rws hunspell
|
||||||
|
+test: hspell hebrew.wgz.sizes hunspell
|
||||||
|
test/test1
|
||||||
|
diff -urN hspell-1.4.old/test/test1 hspell-1.4/test/test1
|
||||||
|
--- hspell-1.4.old/test/test1 2012-02-27 04:23:23.000000000 +0530
|
||||||
|
+++ hspell-1.4/test/test1 2018-09-20 11:13:02.437284530 +0530
|
||||||
|
@@ -79,9 +79,6 @@
|
||||||
|
cat $DIR/test1.dat|
|
||||||
|
test_all hspell ./hspell -Dhebrew.wgz -a
|
||||||
|
|
||||||
|
-cat $DIR/test1.dat|
|
||||||
|
-test_all aspell aspell --dict-dir=. -d he.rws -a
|
||||||
|
-
|
||||||
|
iconv -f iso-8859-8 -t utf-8 $DIR/test1.dat |
|
||||||
|
test_all hunspell hunspell -i utf-8 -d `pwd`/he -a
|
||||||
|
|
@ -1,15 +1,14 @@
|
|||||||
Summary: A Hebrew spell checker
|
Summary: A Hebrew spell checker
|
||||||
Name: hspell
|
Name: hspell
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
Release: 15%{?dist}
|
Release: 6%{?dist}
|
||||||
License: AGPLv3
|
License: AGPLv3
|
||||||
URL: http://hspell.ivrix.org.il/
|
URL: http://hspell.ivrix.org.il/
|
||||||
Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz
|
Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz
|
||||||
Patch0: 0001-require-local-module-explicitly.patch
|
Patch0: 0001-require-local-module-explicitly.patch
|
||||||
|
Patch1: hspell-1.4-remove-aspell-rule.patch
|
||||||
|
|
||||||
BuildRequires: gcc, make, hunspell-devel
|
BuildRequires: hunspell-devel, perl-generators, zlib-devel
|
||||||
BuildRequires: perl-generators, perl-interpreter, zlib-devel
|
|
||||||
BuildRequires: perl(Carp), perl(FileHandle)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Hspell is a Hebrew SPELLer and morphological analyzer. It provides a mostly
|
Hspell is a Hebrew SPELLer and morphological analyzer. It provides a mostly
|
||||||
@ -46,6 +45,7 @@ Hebrew hunspell dictionaries.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .localreq
|
%patch0 -p1 -b .localreq
|
||||||
|
%patch1 -p1 -b .aspell-remove
|
||||||
/usr/bin/iconv -f hebrew -t utf8 -o WHATSNEW WHATSNEW
|
/usr/bin/iconv -f hebrew -t utf8 -o WHATSNEW WHATSNEW
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -63,7 +63,7 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
# there are three known failures
|
# there are three known failures
|
||||||
! make test | grep FAILED | grep -E -v '1/aspell/[489]'
|
! LD_LIBRARY_PATH=%{buildroot}%{_libdir} make test | grep FAILED | grep -E -v '1/aspell/[489]'
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE README WHATSNEW COPYING
|
%doc LICENSE README WHATSNEW COPYING
|
||||||
@ -83,39 +83,15 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff
|
|||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-15
|
* Thu Sep 20 2018 Parag Nemade <pnemade AT fedoraproject DOT org> - 1.4-6
|
||||||
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
- Resolves:rh#1626335
|
||||||
Related: rhbz#1991688
|
- fix aspell error in build.log
|
||||||
|
- fix %%check section
|
||||||
* Fri May 21 2021 Parag Nemade <pnemade AT redhat DOT com> - 1.4-14
|
|
||||||
- Resolves:rhbz#1961995 - Add gating tests from rhel-8
|
|
||||||
|
|
||||||
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4-13
|
|
||||||
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
||||||
|
|
||||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-12
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
||||||
|
|
||||||
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-11
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Mar 26 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.4-10
|
|
||||||
- Add perl dependencies needed for build
|
|
||||||
|
|
||||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-9
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-8
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-7
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user