|
|
|
@ -1,13 +1,19 @@
|
|
|
|
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
|
|
|
|
%global dict_dirname hunspell
|
|
|
|
|
%else
|
|
|
|
|
%global dict_dirname myspell
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: hunspell-ca
|
|
|
|
|
Summary: Catalan hunspell dictionaries
|
|
|
|
|
Version: 2.3
|
|
|
|
|
Release: 19%{?dist}
|
|
|
|
|
Source: http://www.softcatala.org/diccionaris/actualitzacions/OOo/catalan.oxt
|
|
|
|
|
URL: http://www.softcatala.org/wiki/Projectes/Corrector_ortogràfic
|
|
|
|
|
License: GPLv2+
|
|
|
|
|
Version: 3.0.8
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Source: https://github.com/Softcatala/catalan-dict-tools/releases/download/v%{version}/ca.%{version}-hunspell.zip
|
|
|
|
|
URL: https://www.softcatala.org/projectes/corrector-ortografic/
|
|
|
|
|
License: GPL-2.0-or-later OR LGPL-2.1-or-later
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
Requires: hunspell
|
|
|
|
|
Requires: hunspell-filesystem
|
|
|
|
|
Supplements: (hunspell and langpacks-ca)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -17,15 +23,15 @@ Catalan hunspell dictionaries.
|
|
|
|
|
%setup -q -c
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
tr -d '\r' < dictionaries/catalan.aff > ca_ES.aff
|
|
|
|
|
touch -r dictionaries/catalan.aff ca_ES.aff
|
|
|
|
|
tr -d '\r' < dictionaries/catalan.dic > ca_ES.dic
|
|
|
|
|
touch -r dictionaries/catalan.dic ca_ES.dic
|
|
|
|
|
tr -d '\r' < catalan.aff > ca_ES.aff
|
|
|
|
|
touch -r catalan.aff ca_ES.aff
|
|
|
|
|
tr -d '\r' < catalan.dic > ca_ES.dic
|
|
|
|
|
touch -r catalan.dic ca_ES.dic
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
|
cp -p ca_ES.dic ca_ES.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
|
|
|
|
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
|
|
|
|
cp -p ca_ES.dic ca_ES.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
|
|
|
|
pushd $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
|
|
|
|
|
ca_ES_aliases="ca_AD ca_FR ca_IT"
|
|
|
|
|
for lang in $ca_ES_aliases; do
|
|
|
|
|
ln -s ca_ES.aff $lang.aff
|
|
|
|
@ -35,16 +41,48 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc LICENSES-en.txt LLICENCIES-ca.txt
|
|
|
|
|
%{_datadir}/myspell/*
|
|
|
|
|
%doc README.txt release-notes_en.txt
|
|
|
|
|
%license LICENSE gpl-2.0.txt lgpl-2.1.txt
|
|
|
|
|
%{_datadir}/%{dict_dirname}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.3-19
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 3.0.8-5
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 3.0.8-4
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.8-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.8-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Aug 10 2023 Parag Nemade <pnemade AT redhat DOT com> - 3.0.8-1
|
|
|
|
|
- Resolves:rh#2230531 - Update to new Upstream Source
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-24
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 22 2023 Caolán McNamara <caolanm@redhat.com> - 2.3-23
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-22
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-21
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 2.3-20
|
|
|
|
|
- Add conditional for new hunspell dir path and update to Requires:
|
|
|
|
|
hunspell-filesystem
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.3-18
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.3-17
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|