Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
dae1bb3d2f
commit
1e185de5b4
@ -1,14 +1,20 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-gl
|
Name: hunspell-gl
|
||||||
Summary: Galician hunspell dictionaries
|
Summary: Galician hunspell dictionaries
|
||||||
%global upstreamid 20080515
|
%global upstreamid 20080515
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 24%{?dist}
|
Release: 25%{?dist}
|
||||||
Source: https://downloads.sourceforge.net/project/aoo-extensions/800/2/corrector_ooo3.oxt
|
Source: https://downloads.sourceforge.net/project/aoo-extensions/800/2/corrector_ooo3.oxt
|
||||||
URL: http://wiki.mancomun.org/index.php/Corrector_ortogr%C3%A1fico_para_OpenOffice.org#Descrici.C3.B3n
|
URL: http://wiki.mancomun.org/index.php/Corrector_ortogr%C3%A1fico_para_OpenOffice.org#Descrici.C3.B3n
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-gl)
|
Supplements: (hunspell and langpacks-gl)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -20,15 +26,19 @@ Galician hunspell dictionaries.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p dictionaries/*.dic dictionaries/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
cp -p dictionaries/*.dic dictionaries/*.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc dictionaries/README-gl-ES.txt
|
%doc dictionaries/README-gl-ES.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20080515-25
|
||||||
|
- Add conditional for new hunspell dir path and update to Requires:
|
||||||
|
hunspell-filesystem
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20080515-24
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20080515-24
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user