diff --git a/.gitignore b/.gitignore index 5f495d2..de9a7f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /hyphen-es-0.20110222svn.tar.gz +/es_ANY.oxt diff --git a/hyphen-es.spec b/hyphen-es.spec index abff831..4d863a1 100644 --- a/hyphen-es.spec +++ b/hyphen-es.spec @@ -1,12 +1,10 @@ Name: hyphen-es Summary: Spanish hyphenation rules -%global upstreamid 20110222svn -Version: 0.%{upstreamid} -Release: 10%{?dist} -#svn checkout https://forja.rediris.es/svn/rla-es/separacion -Source: hyphen-es-0.20110222svn.tar.gz -URL: https://forja.rediris.es/projects/rla-es/ -License: LGPLv2+ +Version: 2.2 +Release: 1%{?dist} +Source: https://github.com/sbosio/rla-es/releases/download/v%{version}/es_ANY.oxt +URL: https://github.com/sbosio/rla-es/tree/master/separacion +License: LGPLv3+ or GPLv3+ or MPLv1.1 BuildArch: noarch Requires: hyphen @@ -16,28 +14,36 @@ Supplements: (hyphen and langpacks-es) Spanish hyphenation rules. %prep -%setup -q -c +%setup -q -c -n hyphen-es + +%{__unzip} -qq %{SOURCE0} %build %install 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/ -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 - ln -s hyph_es_ES.dic hyph_$lang.dic +for lang in $es_aliases; do + ln -s hyph_es.dic hyph_$lang.dic done popd %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/* %changelog +* Fri Jan 5 2018 Ismael Olea - 2.2-1 +- updating to v2.2 +- upstream changed to github +- detailing licensing + * Wed Jul 26 2017 Fedora Release Engineering - 0.20110222svn-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild diff --git a/sources b/sources index a3b558d..f6358e3 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -add8f9e140cd38ba4fa1c856f0f4d18a hyphen-es-0.20110222svn.tar.gz +SHA512 (es_ANY.oxt) = 0fadb78e15cca58c34abe7ec284d632607e76bbc220816d84803fc610eba631e93d2c555f71a3fc68c98b7c5d10208f5c199cb09582add1417065915a53a29b8