hyphen-pt/hyphen-pt.spec

42 lines
1.1 KiB
RPMSpec
Raw Normal View History

2020-07-09 20:29:25 +08:00
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
2020-07-09 20:29:25 +08:00
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
License: GPL-1.0-or-later
2020-07-09 20:29:25 +08:00
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}
2020-07-09 20:29:25 +08:00
%build
chmod -x *
2020-07-09 20:29:25 +08:00
%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
2020-07-09 20:29:25 +08:00
* Thu Apr 16 2020 Captain Wei <captain.a.wei@gmail.com> 0.20021021-19
- Package init