Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
6c54e4772a
commit
c5545ae387
@ -1,8 +1,14 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-zu
|
Name: hunspell-zu
|
||||||
Summary: Zulu hunspell dictionaries
|
Summary: Zulu hunspell dictionaries
|
||||||
%global upstreamid 20100126
|
%global upstreamid 20100126
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 24%{?dist}
|
Release: 25%{?dist}
|
||||||
Source: https://downloads.sourceforge.net/project/aoo-extensions/3132/3/dict-zu_za-2010.01.26.oxt
|
Source: https://downloads.sourceforge.net/project/aoo-extensions/3132/3/dict-zu_za-2010.01.26.oxt
|
||||||
URL: https://extensions.openoffice.org/en/project/zulu-spell-checker
|
URL: https://extensions.openoffice.org/en/project/zulu-spell-checker
|
||||||
# There is no License information in this new sourceforge Source: archive
|
# There is no License information in this new sourceforge Source: archive
|
||||||
@ -11,7 +17,7 @@ URL: https://extensions.openoffice.org/en/project/zulu-spell-checker
|
|||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-zu)
|
Supplements: (hunspell and langpacks-zu)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -33,16 +39,20 @@ for i in README-zu_ZA.txt; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p zu_ZA.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.aff
|
cp -p zu_ZA.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/zu.aff
|
||||||
cp -p zu_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/zu.dic
|
cp -p zu_ZA.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/zu.dic
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README-zu_ZA.txt
|
%doc README-zu_ZA.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20100126-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.20100126-24
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20100126-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