Related: rhbz#2013265 upgrade to the latest pt_BR version and update URL

This commit is contained in:
Caolán McNamara 2021-10-12 16:27:56 +01:00
parent 8dba969a26
commit b505505100
3 changed files with 12 additions and 11 deletions

3
.gitignore vendored
View File

@ -1,3 +1,2 @@
/vero_pt_br_v210aoc.oxt
/hunspell-pt_PT-20130125.tar.gz
/ptBR20130317AOC.zip
/ptBR-2013-10-30AOC-2.zip

View File

@ -1,12 +1,11 @@
Name: hunspell-pt
Summary: Portuguese hunspell dictionaries
%global upstreamid 20130125
%global upstreamid 20131030
Version: 0.%{upstreamid}
Release: 17%{?dist}
Release: 1%{?dist}
Source0: http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20130125.tar.gz
# Mark following Source1 as dead link
Source1: http://pt-br.libreoffice.org/assets/ptBR20130317AOC.zip
URL: http://www.broffice.org/verortografico/baixar
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
# pt_BR dicts are under LGPLv3 or MPL, pt_PT under GPLv2 or LGPLv2 or MPLv1.1
License: ((LGPLv3 or MPL) and LGPLv2) and (GPLv2 or LGPLv2 or MPLv1.1)
BuildArch: noarch
@ -20,7 +19,7 @@ Portuguese hunspell dictionaries.
%prep
%setup -q -n hunspell-pt_PT-20130125
unzip -q -o %{SOURCE1}
for i in README_pt_BR.txt README_pt_PT.txt; do
for i in README_pt_BR.TXT README_pt_PT.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
touch -r $i $i.new
@ -47,11 +46,14 @@ popd
%files
%doc README_pt_BR.txt README_pt_PT.txt
%doc README_pt_BR.TXT README_pt_PT.txt
%license COPYING
%{_datadir}/myspell/*
%changelog
* Tue Oct 12 2021 Caolán McNamara <caolanm@redhat.com> - 0.20131030-1
- Related: rhbz#2013265 upgrade to the latest pt_BR version and update URL
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.20130125-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1,2 +1,2 @@
d7d8c66fc4b425b4f0dd813b4651c995 hunspell-pt_PT-20130125.tar.gz
fbfe2eee6aa8072b5bd00a528bd37a40 ptBR20130317AOC.zip
SHA512 (ptBR-2013-10-30AOC-2.zip) = 67149da8a16ef08087a1c0529c84b5a09570b21780364896c1a6b5ff5ba19ff6d850baea8a03ce830645c1c98170a860df9c58ae57925c185cffcef24de7a502
SHA512 (hunspell-pt_PT-20130125.tar.gz) = 7484d84fcc8fd29eb16ba47489e9823c7aa4d56e8e4c68d65365aab25f6415657d4ef31c4ac805db9ddc7487213877ccbf33db5e4897d4836a641a6090c9717b