Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade: Hunspell-ga to version 5.1 #11705

Open
wants to merge 1 commit into
base: 3.0-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions SPECS-EXTENDED/hunspell-ga/hunspell-ga.signatures.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"Signatures": {
"hunspell-header": "9f0ed3d283cbf86edb4087df2943db8c9c2cdf71dd1b3b4cec72c94d1164f603",
"ispell-gaeilge-5.0.tar.gz": "6dfe0c5de0f2ff71d2183b2ee8765c79737e544151fae61e037dd21386f2fa3d",
"myspell-header": "cdcf06e36e297243f05b01e9ba412e263e923f01354a0820249bf0f4713008cb"
"hunspell-ga-5.1.zip": "8988e1d46b8f59e70bc2f86aec0055cdd0374661eeffe379835e07804f797f7f"
}
}
85 changes: 63 additions & 22 deletions SPECS-EXTENDED/hunspell-ga/hunspell-ga.spec
Original file line number Diff line number Diff line change
@@ -1,47 +1,88 @@
Vendor: Microsoft Corporation
Distribution: Azure Linux
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
%global dict_dirname hunspell
%else
%global dict_dirname myspell
%endif

Name: hunspell-ga
Summary: Irish hunspell dictionaries
Version: 5.0
Release: 7%{?dist}
Source0: https://github.com/kscanne/gaelspell/releases/download/v%{version}/ispell-gaeilge-%{version}.tar.gz
Source1: myspell-header
Source2: hunspell-header
URL: https://github.com/kscanne/gaelspell
License: GPLv2+
Version: 5.1
Release: 8%{?dist}
Source: https://github.com/kscanne/gaelspell/releases/download/v%{version}/hunspell-ga-%{version}.zip
URL: https://cadhan.com/gaelspell/
License: GPL-2.0-or-later
BuildArch: noarch
BuildRequires: make
BuildRequires: hunspell-devel
Patch1: ispell-gaeilge-5.0-buildhunspell.patch

Requires: hunspell
Requires: hunspell-filesystem
Supplements: (hunspell and langpacks-ga)

%description
Irish hunspell dictionaries.

%prep
%autosetup -n ispell-gaeilge-%{version}
%autosetup -c

%build
make
cat %{SOURCE1} %{SOURCE2} > header
export LANG=C.UTF-8
iconv -f utf-8 -t iso-8859-1 < gaeilge.aff > gaeilge.aff.iso-8859-1
ispellaff2myspell gaeilge.aff.iso-8859-1 --myheader header | sed -e "s/\"\"/0/g" | sed -e "s/\"//g" > ga_IE.aff

%install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p ga_IE.dic ga_IE.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
cp -p ga_IE.dic ga_IE.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}


%files
%doc README ChangeLog
%license COPYING
%{_datadir}/myspell/*
%doc README_ga_IE.txt
%{_datadir}/%{dict_dirname}/*


%changelog
* Fri Oct 15 2021 Pawel Winogrodzki <[email protected]> - 5.0-7
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
* Tue Dec 17 2024 Akarsh Chaudhary <[email protected]> - 5.1-8
- AzureLinux import from Fedora 41 .
- License verified

* Sun Aug 04 2024 Parag Nemade <pnemade AT redhat DOT com> - 5.1-7
- Add conditional for RHEL for using hunspell directory
- Add tmt CI tests

* Thu Jul 18 2024 Fedora Release Engineering <[email protected]> - 5.1-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild

* Wed Jan 24 2024 Fedora Release Engineering <[email protected]> - 5.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Sat Jan 20 2024 Fedora Release Engineering <[email protected]> - 5.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

* Thu Jul 20 2023 Fedora Release Engineering <[email protected]> - 5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild

* Thu Jan 19 2023 Fedora Release Engineering <[email protected]> - 5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

* Fri Dec 16 2022 Caolán McNamara <[email protected]> - 5.1-1
- latest release

* Thu Jul 21 2022 Fedora Release Engineering <[email protected]> - 5.0-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 5.0-11
- Add conditional for new hunspell dir path and update to Requires:
hunspell-filesystem

* Thu Jan 20 2022 Fedora Release Engineering <[email protected]> - 5.0-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

* Thu Jul 22 2021 Fedora Release Engineering <[email protected]> - 5.0-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

* Tue Jan 26 2021 Fedora Release Engineering <[email protected]> - 5.0-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

* Tue Jul 28 2020 Fedora Release Engineering <[email protected]> - 5.0-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

* Wed Jan 29 2020 Fedora Release Engineering <[email protected]> - 5.0-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Expand Down

This file was deleted.

40 changes: 0 additions & 40 deletions SPECS-EXTENDED/hunspell-ga/myspell-header

This file was deleted.

4 changes: 2 additions & 2 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -5690,8 +5690,8 @@
"type": "other",
"other": {
"name": "hunspell-ga",
"version": "5.0",
"downloadUrl": "https://github.com/kscanne/gaelspell/releases/download/v5.0/ispell-gaeilge-5.0.tar.gz"
"version": "5.1",
"downloadUrl": "https://github.com/kscanne/gaelspell/releases/download/v5.1/hunspell-ga-5.1.zip"
}
}
},
Expand Down