|
|
@ -1,75 +1,45 @@
|
|
|
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
|
|
|
|
|
|
|
%global dict_dirname hunspell
|
|
|
|
|
|
|
|
%else
|
|
|
|
|
|
|
|
%global dict_dirname myspell
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: hunspell-fa
|
|
|
|
Name: hunspell-fa
|
|
|
|
Summary: Farsi hunspell dictionaries
|
|
|
|
Summary: Farsi hunspell dictionaries
|
|
|
|
%global upstreamid 20070116
|
|
|
|
%global upstreamid 20070116
|
|
|
|
Version: 0.%{upstreamid}
|
|
|
|
Version: 0.%{upstreamid}
|
|
|
|
Release: 35%{?dist}
|
|
|
|
Release: 26%{?dist}
|
|
|
|
# This source is generated by generate-source.sh using aspell dictionary
|
|
|
|
Source: ftp://ftp.gnu.org/gnu/aspell/dict/fa/aspell6-fa-0.11-0.tar.bz2
|
|
|
|
Source: hunspell-fa-0.11.tar.bz2
|
|
|
|
URL: http://aspell.net/
|
|
|
|
URL: http://ftp.gnu.org/gnu/aspell/dict/fa
|
|
|
|
License: GPLv2+
|
|
|
|
License: GPL-2.0-or-later
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
BuildRequires: aspell, hunspell-devel
|
|
|
|
|
|
|
|
|
|
|
|
Requires: hunspell-filesystem
|
|
|
|
Requires: hunspell
|
|
|
|
Supplements: (hunspell and langpacks-fa)
|
|
|
|
Supplements: (hunspell and langpacks-fa)
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
Farsi hunspell dictionaries.
|
|
|
|
Farsi hunspell dictionaries.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n hunspell-fa-0.11
|
|
|
|
%setup -q -n aspell6-fa-0.11-0
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
# nothing to build here
|
|
|
|
export LANG=C.UTF-8
|
|
|
|
|
|
|
|
preunzip -d *.cwl
|
|
|
|
|
|
|
|
cat *.wl > farsi.wordlist
|
|
|
|
|
|
|
|
wordlist2hunspell farsi.wordlist fa_IR
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
|
|
|
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
%files
|
|
|
|
%doc COPYING Copyright README ChangeLog
|
|
|
|
%doc COPYING Copyright doc/README doc/ChangeLog
|
|
|
|
%{_datadir}/%{dict_dirname}/*
|
|
|
|
%{_datadir}/myspell/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.20070116-35
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.20070116-26
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20070116-34
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.20070116-33
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Aug 08 2023 Parag Nemade <pnemade AT redhat DOT com> - 0.20070116-32
|
|
|
|
|
|
|
|
- Use new source archive generated using Farsi aspell dictionary
|
|
|
|
|
|
|
|
- Resolves:rhbz#2218158 - Drop dependency on aspell
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20070116-31
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Feb 22 2023 Caolán McNamara <caolanm@redhat.com> - 0.20070116-30
|
|
|
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.20070116-29
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20070116-28
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20070116-27
|
|
|
|
|
|
|
|
- Add conditional for new hunspell dir path and update to Requires:
|
|
|
|
|
|
|
|
hunspell-filesystem
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20070116-26
|
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20070116-25
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.20070116-25
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20070116-24
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20070116-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|