update default dictionary install location
- rename default install dir name from myspell to hunspell - F36 onwards will use hunspell dir & previous releases would use myspell dir - https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change
This commit is contained in:
parent
ee0fba1c68
commit
83f99224be
@ -1,8 +1,13 @@
|
|||||||
|
%if 0%{?fedora} > 35
|
||||||
|
%global dict_dirname hunspell
|
||||||
|
%else
|
||||||
|
%global dict_dirname myspell
|
||||||
|
%endif
|
||||||
Name: hunspell-sc
|
Name: hunspell-sc
|
||||||
Summary: Sardinian hunspell dictionaries
|
Summary: Sardinian hunspell dictionaries
|
||||||
%global upstreamid 20081101
|
%global upstreamid 20081101
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 27%{?dist}
|
Release: 28%{?dist}
|
||||||
Source: https://ayera.dl.sourceforge.net/project/aoo-extensions/1446/2/dict_sc_it03.oxt
|
Source: https://ayera.dl.sourceforge.net/project/aoo-extensions/1446/2/dict_sc_it03.oxt
|
||||||
URL: http://extensions.services.openoffice.org/project/Dict_sc
|
URL: http://extensions.services.openoffice.org/project/Dict_sc
|
||||||
#The license included is AGPLv3 and pkg-desc/pkg-description.txt
|
#The license included is AGPLv3 and pkg-desc/pkg-description.txt
|
||||||
@ -23,16 +28,20 @@ Sardinian hunspell dictionaries.
|
|||||||
%build
|
%build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
|
||||||
cp -p sc_IT.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/sc_IT.aff
|
cp -p sc_IT.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/sc_IT.aff
|
||||||
cp -p sc_it.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/sc_IT.dic
|
cp -p sc_it.dic $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/sc_IT.dic
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license registration/agpl3-en.txt
|
%license registration/agpl3-en.txt
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/%{dict_dirname}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 11 2022 Vishal Vijayraghavan <vishalvvr@fedoraproject.org> - 0.20081101-28
|
||||||
|
- rename install directory name from myspell to hunspell
|
||||||
|
- https://fedoraproject.org/wiki/Changes/Hunspell_dictionary_dir_change
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20081101-27
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20081101-27
|
||||||
- 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