|
|
|
|
@ -1,23 +1,21 @@
|
|
|
|
|
Summary: A Hebrew spell checker
|
|
|
|
|
Name: hspell
|
|
|
|
|
Version: 1.4
|
|
|
|
|
Release: 24%{?dist}
|
|
|
|
|
License: AGPL-3.0-only
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: AGPLv3
|
|
|
|
|
Group: Applications/Text
|
|
|
|
|
URL: http://hspell.ivrix.org.il/
|
|
|
|
|
Source: http://hspell.ivrix.org.il/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch0: 0001-require-local-module-explicitly.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc, make, hunspell-devel
|
|
|
|
|
BuildRequires: perl-generators, perl-interpreter, zlib-devel
|
|
|
|
|
BuildRequires: perl(Carp), perl(FileHandle)
|
|
|
|
|
BuildRequires: hunspell-devel, perl-generators, zlib-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Hspell is a Hebrew SPELLer and morphological analyzer. It provides a mostly
|
|
|
|
|
spell-like interface (gives the list of wrong words in the input text), but can
|
|
|
|
|
also suggest corrections (-c). It also provides a true morphological analyzer
|
|
|
|
|
(-l), that prints all known meanings of a Hebrew string.
|
|
|
|
|
Hspell 1.4 still follows the old (pre June 2017) spelling standard of the
|
|
|
|
|
Academy of the Hebrew Language.
|
|
|
|
|
Hspell 1.4 still follows the old (pre June 2017) spelling standard of the Academy.
|
|
|
|
|
|
|
|
|
|
%description -l he
|
|
|
|
|
Hspell הוא מאיית ומנתח צורני עברי, המספק מנשק דמוי-spell - פולט רשימה של המילים
|
|
|
|
|
@ -28,6 +26,7 @@ Hspell הוא מאיית ומנתח צורני עברי, המספק מנשק ד
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Library and include files for Hspell, the Hebrew spell checker
|
|
|
|
|
Group: Applications/Text
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
@ -38,6 +37,7 @@ Library and include files for applications that want to use Hspell.
|
|
|
|
|
|
|
|
|
|
%package -n hunspell-he
|
|
|
|
|
Summary: Hebrew hunspell dictionaries
|
|
|
|
|
Group: Applications/Text
|
|
|
|
|
Requires: hunspell
|
|
|
|
|
|
|
|
|
|
%description -n hunspell-he
|
|
|
|
|
@ -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
|
|
|
|
|
@ -57,9 +57,9 @@ make hunspell
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT STRIP=: install
|
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libhspell.a
|
|
|
|
|
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hunspell
|
|
|
|
|
cp -p he.dic $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.dic
|
|
|
|
|
cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
|
cp -p he.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.dic
|
|
|
|
|
cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/he_IL.aff
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
# there are three known failures
|
|
|
|
|
@ -81,84 +81,16 @@ cp -p he.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell/he_IL.aff
|
|
|
|
|
|
|
|
|
|
%files -n hunspell-he
|
|
|
|
|
%doc LICENSE
|
|
|
|
|
%{_datadir}/hunspell/*
|
|
|
|
|
%{_datadir}/myspell/*
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
* Sat Jan 29 2022 Parag Nemade <pnemade AT redhat DOT com> - 1.4-15
|
|
|
|
|
- Update hunspell dictionary directory path
|
|
|
|
|
https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 15 2017 Dan Kenigsberg <danken@cs.technion.ac.il> - 1.4-1
|
|
|
|
|
- Sync with upstream hspell-1.4
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.3-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|