hyphen-pt/hyphen-pt.spec
starlet-dx 5adbca4690 Package upgrade
(cherry picked from commit 2137336350239da917bc1cf5b6241a073f3e89c0)
2022-10-18 12:11:43 +08:00

42 lines
1.1 KiB
RPMSpec

Name: hyphen-pt
Summary: Portuguese hyphenation rules for hunspell used in OpenOffice
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-1.0-or-later
BuildArch: noarch
Requires: hyphen
Supplements: (hyphen and langpacks-pt)
%description
Portuguese hyphenation rules for hunspell used in OpenOffice.
%prep
%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_AO.dic
cd -
%files
%doc README_hyph_pt_PT.txt
%{_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