Add conditional for new hunspell dir path and update to Requires: hunspell-filesystem
This commit is contained in:
parent
f126d4d730
commit
254d7eaf66
@ -1,14 +1,20 @@
|
|||||||
|
%if 0%{?fedora} >= 36 || 0%{?rhel} > 9
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: hunspell-tl
|
Name: hunspell-tl
|
||||||
Summary: Tagalog hunspell dictionaries
|
Summary: Tagalog hunspell dictionaries
|
||||||
%global upstreamid 20050109
|
%global upstreamid 20050109
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 25%{?dist}
|
Release: 26%{?dist}
|
||||||
Source: http://download.services.openoffice.org/contrib/dictionaries/tl_PH.zip
|
Source: http://download.services.openoffice.org/contrib/dictionaries/tl_PH.zip
|
||||||
URL: http://borel.slu.edu/crubadan/apps.html
|
URL: http://borel.slu.edu/crubadan/apps.html
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hunspell
|
Requires: hunspell-filesystem
|
||||||
Supplements: (hunspell and langpacks-tl)
|
Supplements: (hunspell and langpacks-tl)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -30,9 +36,9 @@ for i in README_tl_PH.txt; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p tl_PH.* $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
cp -p tl_PH.* $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
|
||||||
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
pushd $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
|
||||||
tl_PH_aliases="fil_PH"
|
tl_PH_aliases="fil_PH"
|
||||||
for lang in $tl_PH_aliases; do
|
for lang in $tl_PH_aliases; do
|
||||||
ln -s tl_PH.aff $lang.aff
|
ln -s tl_PH.aff $lang.aff
|
||||||
@ -43,9 +49,13 @@ popd
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README_tl_PH.txt
|
%doc README_tl_PH.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Mar 22 2022 Parag Nemade <pnemade AT redhat DOT com> - 0.20050109-26
|
||||||
|
- Add conditional for new hunspell dir path and update to Requires:
|
||||||
|
hunspell-filesystem
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050109-25
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050109-25
|
||||||
- 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