rhbz#2085482 update to latest available hyphenation rules
This commit is contained in:
parent
9f1459589a
commit
449d9daae4
3
.gitignore
vendored
3
.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
hyph_pt_PT.zip
|
/hyph_pt_PT.zip
|
||||||
|
/hyphptBR-213.zip
|
||||||
|
@ -1,11 +1,16 @@
|
|||||||
Name: hyphen-pt
|
Name: hyphen-pt
|
||||||
Summary: Portuguese hyphenation rules
|
Summary: Portuguese hyphenation rules
|
||||||
%global upstreamid 20021021
|
%global upstreamid 20140727
|
||||||
Version: 0.%{upstreamid}
|
Version: 0.%{upstreamid}
|
||||||
Release: 25%{?dist}
|
Release: 1%{?dist}
|
||||||
Source: http://download.services.openoffice.org/contrib/dictionaries/hyph_pt_PT.zip
|
# latest seen in Hifenizador section of https://pt-br.libreoffice.org/projetos/vero/
|
||||||
URL: http://wiki.services.openoffice.org/wiki/Dictionaries
|
Source0: https://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/hyphptBR-213.zip
|
||||||
License: GPL+
|
# The contents of Source1 are the same rules that are currently (2022-05-16) in
|
||||||
|
# use for pt-PT at https://cgit.freedesktop.org/libreoffice/dictionaries/tree/pt_PT
|
||||||
|
# so we continue to use those rules in the absence of a contrary opinion
|
||||||
|
Source1: http://download.services.openoffice.org/contrib/dictionaries/hyph_pt_PT.zip
|
||||||
|
URL: https://pt-br.libreoffice.org/projetos/vero/
|
||||||
|
License: LGPLv3 and GPL+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: hyphen
|
Requires: hyphen
|
||||||
@ -16,6 +21,7 @@ Portuguese hyphenation rules.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -c
|
%autosetup -c
|
||||||
|
unzip -q -o %{SOURCE1}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
chmod -x *
|
chmod -x *
|
||||||
@ -24,17 +30,20 @@ chmod -x *
|
|||||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||||
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
|
||||||
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
|
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
|
||||||
pt_PT_aliases="pt_BR pt_AO"
|
pt_PT_aliases="pt_AO"
|
||||||
for lang in $pt_PT_aliases; do
|
for lang in $pt_PT_aliases; do
|
||||||
ln -s hyph_pt_PT.dic "hyph_"$lang".dic"
|
ln -s hyph_pt_PT.dic "hyph_"$lang".dic"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README_hyph_pt_PT.txt
|
%doc README_hyph_pt_PT.txt README_hyph_pt_BR.txt
|
||||||
%{_datadir}/hyphen/*
|
%{_datadir}/hyphen/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 16 2022 Caolán McNamara <caolanm@redhat.com> - 0.20140727-1
|
||||||
|
- rhbz#2085482 update to latest available hyphenation rules
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20021021-25
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.20021021-25
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
3
sources
3
sources
@ -1 +1,2 @@
|
|||||||
327989bbbfc9f9d56eb772427a344eb3 hyph_pt_PT.zip
|
SHA512 (hyphptBR-213.zip) = dfcd0d1ae9e757891c319a1ff457172b4bf37c84421ab35ecd1d7079fc08b0da18c72c0cd29bffb5b247c652dcf0725de85f5389d7462663032a3965456bdc01
|
||||||
|
SHA512 (hyph_pt_PT.zip) = f1a272e81fc25f763e353c70f45edda2aa068ee92d5ee4efaf7cef59f8580cd915abb2cb8ba152f2e619f451adf9c247469e9d3489a3496582c3c10e9730ef8c
|
||||||
|
Loading…
Reference in New Issue
Block a user