Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
4d9e0d8afc
commit
c9af520414
@ -1,13 +1,19 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-gd
|
Name: hunspell-gd
|
||||||
Summary: Scots Gaelic hunspell dictionaries
|
Summary: Scots Gaelic hunspell dictionaries
|
||||||
Version: 2.6
|
Version: 2.6
|
||||||
Release: 18%{?dist}
|
Release: 19%{?dist}
|
||||||
Source: http://downloads.sourceforge.net/project/aoo-extensions/4587/8/hunspell-gd-2.6.oxt
|
Source: http://downloads.sourceforge.net/project/aoo-extensions/4587/8/hunspell-gd-2.6.oxt
|
||||||
URL: http://extensions.services.openoffice.org/en/project/faclair-afb
|
URL: http://extensions.services.openoffice.org/en/project/faclair-afb
|
||||||
License: GPLv2+ and GPLv3+
|
License: GPLv2+ and GPLv3+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-gd)
|
Supplements: (hunspell and langpacks-gd)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -19,15 +25,19 @@ Scots Gaelic hunspell dictionaries.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p dictionaries/gd_GB.dic dictionaries/gd_GB.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
cp -p dictionaries/gd_GB.dic dictionaries/gd_GB.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc dictionaries/README_gd_GB.txt LICENSES-en.txt
|
%doc dictionaries/README_gd_GB.txt LICENSES-en.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 2.6-19
|
||||||
|
- Add conditional for new hunspell dir path and update to Requires:
|
||||||
|
hunspell-filesystem
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-18
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-18
|
||||||
- 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