37 lines
1.1 KiB
RPMSpec
37 lines
1.1 KiB
RPMSpec
Name: hyphen-es
|
|
Summary: Spanish hyphenation rules
|
|
Version: 2.3
|
|
Release: 5
|
|
Summary: Spanish hyphenation rules
|
|
License: LGPLv3+ or GPLv3+ or MPLv1.1
|
|
URL: https://github.com/sbosio/rla-es/tree/master/separacion
|
|
Source: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_ANY.oxt
|
|
BuildArch: noarch
|
|
Requires: hyphen
|
|
Supplements: (hyphen and langpacks-es)
|
|
%description
|
|
Hyphen is a library for high quality hyphenation and justification
|
|
|
|
%prep
|
|
%autosetup -c -n %{name} -p1
|
|
|
|
%build
|
|
|
|
%install
|
|
install -Dp hyph_es_ANY.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_es.dic
|
|
cd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
|
|
es_aliases="es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_ES es_GT es_HN es_MX es_NI
|
|
es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE"
|
|
for lang in $es_aliases; do
|
|
ln -s hyph_es.dic hyph_$lang.dic
|
|
done
|
|
|
|
|
|
%files
|
|
%doc README_hyph_es_ANY.txt GPLv3.txt LGPLv3.txt MPL-1.1.txt
|
|
%{_datadir}/hyphen/*
|
|
|
|
%changelog
|
|
* Mon Jul 6 2020 yanan li <liyanan032@huawei.com> - 2.3-5
|
|
- Package init
|