!3 [sync] PR-2: Package upgrade

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-10-18 06:42:18 +00:00 committed by Gitee
commit 3946d26cfb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 11 additions and 7 deletions

View File

@ -1,10 +1,11 @@
Name: hyphen-pt
Summary: Portuguese hyphenation rules for hunspell used in OpenOffice
Version: 0.20021021
Release: 19
Source: http://openoffice.cs.utah.edu/contrib/dictionaries//hyph_pt_PT.zip
Version: 0.20140727
Release: 1
Source0: https://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/hyphptBR-213.zip
Source1: http://download.services.openoffice.org/contrib/dictionaries/hyph_pt_PT.zip
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
License: GPL
License: GPL-1.0-or-later
BuildArch: noarch
Requires: hyphen
@ -14,17 +15,17 @@ Supplements: (hyphen and langpacks-pt)
Portuguese hyphenation rules for hunspell used in OpenOffice.
%prep
%autosetup -c -p1
chmod -x *
%autosetup -c
unzip -q -o %{SOURCE1}
%build
chmod -x *
%install
install -d $RPM_BUILD_ROOT/%{_datadir}/hyphen
install -Dp -m644 *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
cd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
ln -s hyph_pt_PT.dic hyph_pt_BR.dic
ln -s hyph_pt_PT.dic hyph_pt_AO.dic
cd -
@ -33,5 +34,8 @@ cd -
%{_datadir}/hyphen/*
%changelog
* Wed Jun 15 2022 SimpleUpdate Robot <tc@openeuler.org> - 0.20140727-1
- Upgrade to version 0.20140727
* Thu Apr 16 2020 Captain Wei <captain.a.wei@gmail.com> 0.20021021-19
- Package init

BIN
hyphptBR-213.zip Normal file

Binary file not shown.