hyphen-es/hyphen-es.spec

40 lines
1.2 KiB
RPMSpec
Raw Normal View History

2020-07-07 11:25:30 +08:00
Name: hyphen-es
Summary: Spanish hyphenation rules
2024-01-18 16:29:24 +08:00
Version: 2.8
Release: 1
2020-07-07 11:25:30 +08:00
Summary: Spanish hyphenation rules
2024-01-18 16:29:24 +08:00
License: LGPL-3.0-or-later or GPL-3.0-or-later or MPL-1.1 or LGPL-2.1-only
2020-07-07 11:25:30 +08:00
URL: https://github.com/sbosio/rla-es/tree/master/separacion
2024-01-18 16:29:24 +08:00
Source: https://github.com/sbosio/rla-es/releases/download/v%{version}/es.oxt
2020-07-07 11:25:30 +08:00
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
2024-01-18 16:29:24 +08:00
install -Dp hyph_es.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_es.dic
2020-07-07 11:25:30 +08:00
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
2024-01-18 16:29:24 +08:00
%doc README_hyph_es.txt GPLv3.txt LGPLv2.1.txt LGPLv3.txt MPL-1.1.txt
2020-07-07 11:25:30 +08:00
%{_datadir}/hyphen/*
%changelog
2024-01-18 16:29:24 +08:00
* Thu Jan 18 2024 yaoxin <yao_xin001@hoperun.com> - 2.8-1
- Upgrade to 2.8
2020-07-07 11:25:30 +08:00
* Mon Jul 6 2020 yanan li <liyanan032@huawei.com> - 2.3-5
- Package init