Resolves: RHEL-32831 - The mythes package is not present in RHEL10
This commit is contained in:
parent
16ab085940
commit
ea7e778ca7
@ -1,7 +1,13 @@
|
|||||||
|
%if 0%{?rhel} && 0%{?rhel} > 9
|
||||||
|
%bcond_with mythes
|
||||||
|
%else
|
||||||
|
%bcond_without mythes
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: openoffice-lv
|
Name: openoffice-lv
|
||||||
Summary: Latvian linguistic dictionaries
|
Summary: Latvian linguistic dictionaries
|
||||||
Version: 1.4.0
|
Version: 1.4.0
|
||||||
Release: 7%{?dist}
|
Release: 8%{?dist}
|
||||||
Source: http://dict.dv.lv/download/lv_LV-%{version}.oxt
|
Source: http://dict.dv.lv/download/lv_LV-%{version}.oxt
|
||||||
URL: http://dict.dv.lv/
|
URL: http://dict.dv.lv/
|
||||||
License: LGPL-2.1-or-later
|
License: LGPL-2.1-or-later
|
||||||
@ -24,12 +30,14 @@ Requires: hyphen
|
|||||||
%description -n hyphen-lv
|
%description -n hyphen-lv
|
||||||
Latvian hyphenation rules.
|
Latvian hyphenation rules.
|
||||||
|
|
||||||
|
%if %{with mythes}
|
||||||
%package -n mythes-lv
|
%package -n mythes-lv
|
||||||
Summary: Latvian thesaurus
|
Summary: Latvian thesaurus
|
||||||
Requires: mythes
|
Requires: mythes
|
||||||
|
|
||||||
%description -n mythes-lv
|
%description -n mythes-lv
|
||||||
Latvian thesaurus.
|
Latvian thesaurus.
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -c
|
%autosetup -c
|
||||||
@ -49,10 +57,13 @@ done
|
|||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hunspell
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hunspell
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
|
|
||||||
cp -p lv_LV.dic lv_LV.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell
|
cp -p lv_LV.dic lv_LV.aff $RPM_BUILD_ROOT/%{_datadir}/hunspell
|
||||||
cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
cp -p hyph_lv_LV.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||||
|
|
||||||
|
%if %{with mythes}
|
||||||
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes
|
||||||
cp -p th_lv_LV_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes
|
cp -p th_lv_LV_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n hunspell-lv
|
%files -n hunspell-lv
|
||||||
%doc README_lv_LV.txt
|
%doc README_lv_LV.txt
|
||||||
@ -64,12 +75,17 @@ cp -p th_lv_LV_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes
|
|||||||
%license license.txt
|
%license license.txt
|
||||||
%{_datadir}/hyphen/*
|
%{_datadir}/hyphen/*
|
||||||
|
|
||||||
|
%if %{with mythes}
|
||||||
%files -n mythes-lv
|
%files -n mythes-lv
|
||||||
%doc package-description.txt
|
%doc package-description.txt
|
||||||
%license license.txt
|
%license license.txt
|
||||||
%{_datadir}/mythes/*
|
%{_datadir}/mythes/*
|
||||||
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 15 2024 Parag Nemade <pnemade AT redhat DOT com> - 1.4.0-8
|
||||||
|
- Resolves: RHEL-32831 - The mythes package is not present in RHEL10
|
||||||
|
|
||||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-7
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-7
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user