Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
3eb76e6d5b
commit
10a12e9ce3
@ -1,13 +1,19 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-grc
|
Name: hunspell-grc
|
||||||
Summary: Ancient Greek hunspell dictionaries
|
Summary: Ancient Greek hunspell dictionaries
|
||||||
Version: 2.1.5
|
Version: 2.1.5
|
||||||
Release: 24%{?dist}
|
Release: 25%{?dist}
|
||||||
Source: https://downloads.sourceforge.net/project/aoo-extensions/2313/1/grc.oxt
|
Source: https://downloads.sourceforge.net/project/aoo-extensions/2313/1/grc.oxt
|
||||||
URL: http://www.himeros.eu/
|
URL: http://www.himeros.eu/
|
||||||
License: GPL+ or LGPLv2+
|
License: GPL+ or LGPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-grc)
|
Supplements: (hunspell and langpacks-grc)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -19,17 +25,21 @@ Ancient Greek hunspell dictionaries.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p dictionaries/grc_GR.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/grc.aff
|
cp -p dictionaries/grc_GR.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/grc.aff
|
||||||
cp -p dictionaries/grc_GR.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/grc.dic
|
cp -p dictionaries/grc_GR.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/grc.dic
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSES-en.txt
|
%doc LICENSES-en.txt
|
||||||
|
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 2.1.5-25
|
||||||
|
- Add conditional for new hunspell dir path and update to Requires:
|
||||||
|
hunspell-filesystem
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.5-24
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.5-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