Updating to v2.2

This commit is contained in:
Ismael Olea 2018-01-06 22:50:32 +01:00
parent fed007ab91
commit 9428b88c6d
3 changed files with 21 additions and 14 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/hyphen-es-0.20110222svn.tar.gz /hyphen-es-0.20110222svn.tar.gz
/es_ANY.oxt

View File

@ -1,12 +1,10 @@
Name: hyphen-es Name: hyphen-es
Summary: Spanish hyphenation rules Summary: Spanish hyphenation rules
%global upstreamid 20110222svn Version: 2.2
Version: 0.%{upstreamid} Release: 1%{?dist}
Release: 10%{?dist} Source: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_ANY.oxt
#svn checkout https://forja.rediris.es/svn/rla-es/separacion URL: https://github.com/sbosio/rla-es/tree/master/separacion
Source: hyphen-es-0.20110222svn.tar.gz License: LGPLv3+ or GPLv3+ or MPLv1.1
URL: https://forja.rediris.es/projects/rla-es/
License: LGPLv2+
BuildArch: noarch BuildArch: noarch
Requires: hyphen Requires: hyphen
@ -16,28 +14,36 @@ Supplements: (hyphen and langpacks-es)
Spanish hyphenation rules. Spanish hyphenation rules.
%prep %prep
%setup -q -c %setup -q -c -n hyphen-es
%{__unzip} -qq %{SOURCE0}
%build %build
%install %install
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p separacion/hyph_es_ANY.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hyph_es_ES.dic cp -p hyph_es_ANY.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen/hypth_es.dic
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/ pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
es_ES_aliases="es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_GT es_HN es_MX es_NI es_PA es_PE es_PR es_PY es_SV es_US es_UY es_VE" 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_ES_aliases; do for lang in $es_aliases; do
ln -s hyph_es_ES.dic hyph_$lang.dic ln -s hyph_es.dic hyph_$lang.dic
done done
popd popd
%files %files
%doc separacion/README_hyph_es_ANY.txt %doc README_hyph_es_ANY.txt
%license GPLv3.txt LGPLv3.txt MPL-1.1.txt
%{_datadir}/hyphen/* %{_datadir}/hyphen/*
%changelog %changelog
* Fri Jan 5 2018 Ismael Olea <ismael@olea.org> - 2.2-1
- updating to v2.2
- upstream changed to github
- detailing licensing
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110222svn-10 * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20110222svn-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

View File

@ -1 +1 @@
add8f9e140cd38ba4fa1c856f0f4d18a hyphen-es-0.20110222svn.tar.gz SHA512 (es_ANY.oxt) = 0fadb78e15cca58c34abe7ec284d632607e76bbc220816d84803fc610eba631e93d2c555f71a3fc68c98b7c5d10208f5c199cb09582add1417065915a53a29b8