diff --git a/hunspell-pt.spec b/hunspell-pt.spec index dcc528c..c5774e1 100644 --- a/hunspell-pt.spec +++ b/hunspell-pt.spec @@ -7,7 +7,7 @@ Name: hunspell-pt Summary: Portuguese hunspell dictionaries %global upstreamid 20131030 Version: 0.%{upstreamid} -Release: 5%{?dist} +Release: 6%{?dist} Source0: http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20130125.tar.gz Source1: https://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/ptBR-2013-10-30AOC-2.zip URL: https://pt-br.libreoffice.org/projetos/vero @@ -16,11 +16,19 @@ License: ((LGPLv3 or MPL) and LGPLv2) and (GPLv2 or LGPLv2 or MPLv1.1) BuildArch: noarch Requires: hunspell -Supplements: (hunspell and (langpacks-pt or langpacks-pt_BR)) +Supplements: (hunspell and langpacks-pt) %description Portuguese hunspell dictionaries. +%package BR +Summary: Brazilian Portuguese hunspell dictionaries +Requires: hunspell +Supplements: (hunspell and langpacks-pt_BR) + +%description BR +Brazilian Portuguese hunspell dictionaries + %prep %setup -q -n hunspell-pt_PT-20130125 unzip -q -o %{SOURCE1} @@ -51,11 +59,19 @@ popd %files -%doc README_pt_BR.TXT README_pt_PT.txt +%doc README_pt_PT.txt %license COPYING %{_datadir}/%{dict_dirname}/* +%exclude %{_datadir}/%{dict_dirname}/pt_BR.* + +%files BR +%doc README_pt_BR.TXT README_en.TXT +%{_datadir}/%{dict_dirname}/pt_BR.* %changelog +* Mon May 16 2022 Caolán McNamara - 0.20131030-6 +- Related: rhbz#2084587 provide a pt-BR subpackage + * Fri May 13 2022 Caolán McNamara - 0.20131030-5 - Related: rhbz#2084587 try (pt or pt-BR)