provide a pt-BR subpackage for consistency with hunspell-pt-BR
This commit is contained in:
parent
948dfb1129
commit
cf8d64243c
@ -2,7 +2,7 @@ Name: hyphen-pt
|
|||||||
Summary: Portuguese hyphenation rules
|
Summary: Portuguese hyphenation rules
|
||||||
%global upstreamid 20140727
|
%global upstreamid 20140727
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
# latest seen in Hifenizador section of https://pt-br.libreoffice.org/projetos/vero/
|
# latest seen in Hifenizador section of https://pt-br.libreoffice.org/projetos/vero/
|
||||||
Source0: https://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/hyphptBR-213.zip
|
Source0: https://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/hyphptBR-213.zip
|
||||||
# The contents of Source1 are the same rules that are currently (2022-05-16) in
|
# The contents of Source1 are the same rules that are currently (2022-05-16) in
|
||||||
@ -14,11 +14,19 @@ License: LGPLv3 and GPL+
|
|||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hyphen
|
Requires: hyphen
|
||||||
Supplements: (hyphen and (langpacks-pt or langpacks-pt_BR))
|
Supplements: (hyphen and langpacks-pt)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Portuguese hyphenation rules.
|
Portuguese hyphenation rules.
|
||||||
|
|
||||||
|
%package BR
|
||||||
|
Summary: Brazilian Portuguese hyphenation rules
|
||||||
|
Requires: hyphen
|
||||||
|
Supplements: (hyphen and langpacks-pt_BR)
|
||||||
|
|
||||||
|
%description BR
|
||||||
|
Brazilian Portuguese hyphenation rules.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -c
|
%autosetup -c
|
||||||
unzip -q -o %{SOURCE1}
|
unzip -q -o %{SOURCE1}
|
||||||
@ -35,12 +43,19 @@ for lang in $pt_PT_aliases; do
|
|||||||
ln -s hyph_pt_PT.dic "hyph_"$lang".dic"
|
ln -s hyph_pt_PT.dic "hyph_"$lang".dic"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README_hyph_pt_PT.txt README_hyph_pt_BR.txt
|
%doc README_hyph_pt_PT.txt
|
||||||
%{_datadir}/hyphen/*
|
%{_datadir}/hyphen/hyph_pt_*.dic
|
||||||
|
%exclude %{_datadir}/hyphen/hyph_pt_BR.dic
|
||||||
|
|
||||||
|
%files BR
|
||||||
|
%doc README_hyph_pt_BR.txt
|
||||||
|
%{_datadir}/hyphen/hyph_pt_BR.dic
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 16 2022 Caolán McNamara <caolanm@redhat.com> - 0.20140727-2
|
||||||
|
- provide a pt-BR subpackage for consistency with hunspell-pt-BR
|
||||||
|
|
||||||
* Mon May 16 2022 Caolán McNamara <caolanm@redhat.com> - 0.20140727-1
|
* Mon May 16 2022 Caolán McNamara <caolanm@redhat.com> - 0.20140727-1
|
||||||
- rhbz#2085482 update to latest available hyphenation rules
|
- rhbz#2085482 update to latest available hyphenation rules
|
||||||
- rhbz#2084587 add Supplements: langpacks-pt_BR
|
- rhbz#2084587 add Supplements: langpacks-pt_BR
|
||||||
|
Loading…
Reference in New Issue
Block a user