#1 Update to RLA-ES 2.3
Merged 6 years ago by caolanm. Opened 6 years ago by olea.
rpms/ olea/mythes-es master  into  master

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- /OOo2-thes_es_ES.tar.bz2

+ es_ANY.oxt

file modified
+60 -28
@@ -1,63 +1,95 @@ 

  Name: mythes-es

  Summary: Spanish thesaurus

- %define upstreamid 20120602

- Version: 0.%{upstreamid}

- Release: 2%{?dist}

- Source: http://openthes-es.berlios.de/download/OOo2-thes_es_ES.tar.bz2

+ Version: 2.3

+ 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/sinonimos

  Group: Applications/Text

- URL: http://openthes-es.berlios.de

- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

  License: LGPLv2+

  BuildArch: noarch

  Requires: mythes

+ Supplements: (mythes and langpacks-es)

  

  %description

  Spanish thesaurus.

  

  %prep

- %setup -q -c

- 

- %build

- for i in README_th_es_ES_v2.txt; do

-   if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then

-     iconv -f ISO-8859-1 -t UTF-8 $i > $i.new

-     touch -r $i $i.new

-     mv -f $i.new $i

-   fi

-   tr -d '\r' < $i > $i.new

-   touch -r $i $i.new

-   mv -f $i.new $i

- done

+ %setup -q -c -n %{name}

+ 

  

  %install

- rm -rf $RPM_BUILD_ROOT

  mkdir -p $RPM_BUILD_ROOT/%{_datadir}/mythes

  cp -p th_es_ES_v2.* $RPM_BUILD_ROOT/%{_datadir}/mythes

+ 

  pushd $RPM_BUILD_ROOT/%{_datadir}/mythes/

- 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_GT es_HN es_MX es_NI es_PA es_PE es_PH 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 th_es_ES_v2.dat "th_"$lang"_v2.dat"

          ln -s th_es_ES_v2.idx "th_"$lang"_v2.idx"

  done

  popd

  

- %clean

- rm -rf $RPM_BUILD_ROOT

+ mv COPYING_th_es_ES COPYING

  

  %files

- %defattr(-,root,root,-)

- %doc README_th_es_ES_v2.txt COPYING

+ %doc README_th_es_ES.txt

+ %license COPYING

  %{_datadir}/mythes/*

  

  %changelog

+ * Mon Jan 29 2018 Ismael Olea <ismael@olea.org> - 2.3-1

+ - update to v2.3

+ - adding es_PH

+ 

+ * Fri Jan 5 2018 Ismael Olea <ismael@olea.org> - 2.2-1

+ - updating to v2.2

+ - upstream changed to github

+ - cleaning obsolete SPEC conventions

+ 

+ * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20150304-6

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

+ 

+ * Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.20150304-5

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

+ 

+ * Fri Feb 19 2016 Parag Nemade <pnemade AT redhat DOT com> - 0.20150304-4

+ - Add Supplements: tag for langpacks naming guidelines

+ - Clean the specfile to follow current packaging guidelines

+ 

+ * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20150304-3

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

+ 

+ * Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20150304-2

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

+ 

+ * Wed Mar 04 2015 Caolán McNamara <caolanm@redhat.com> - 0.20150304-1

+ - Resolves: rhbz#1197184 berlios has disappeared, but rla-es seems

+   active, and using e.g. "a priori" as an example LibreOffice suggests

+   a non-corrupted set of suggestions

+ 

+ * Wed Mar 04 2015 Caolán McNamara <caolanm@redhat.com> - 0.20140516-1

+ - Related: rhbz#1197184 latest version

+ 

+ * Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20130102-3

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

+ 

+ * Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20130102-2

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

+ 

+ * Thu Jan 31 2013 Caolán McNamara <caolanm@redhat.com> - 0.20130102-1

+ - Resolves: rhbz#905972 latest version

+ 

+ * Wed Sep 12 2012 Caolán McNamara <caolanm@redhat.com> - 0.20120902-1

+ - latest version

+ 

  * Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20120602-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

  

- * Thu Jun 13 2012 Caolán McNamara <caolanm@redhat.com> - 0.20120602-1

+ * Wed Jun 13 2012 Caolán McNamara <caolanm@redhat.com> - 0.20120602-1

  - latest version

  

- * Wed Apr 13 2012 Caolán McNamara <caolanm@redhat.com> - 0.20120402-1

+ * Fri Apr 13 2012 Caolán McNamara <caolanm@redhat.com> - 0.20120402-1

  - latest version

  

  * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20111002-2

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- 2ea6a3c17d824e7fac751fd6d51e6ec0  OOo2-thes_es_ES.tar.bz2

+ SHA512 (es_ANY.oxt) = 2131ec088aa4c46e4236b974f77f3a80299f816d3b493816b17eea5a4b7c7b5631efbb15fa3a2bec804db7e6723e02b5a894614c7966626662a5f778676dcb6c

New version + new upstream.

I see that es_PH is added in as an alias, but I don't see es_PH in the output of locale -a (under F27) or as a locale in libreoffice. Is es_PH supported by glibc or something else in rawhide ?

Wow. You are right.

I would expect the language_region schema would be of general application but, considering I don't have access to the official ISO 639 standards, seems each code pair should be explicitly registered and there is no cue for es_PH

8-|

[...]

I've been researching the issue. Seems you are right: there is not official recognition for the es_PH code and I'm finding we lack es_GQ and maybe there is a bug in LibreOffice for using es_US.

If you can read Spanish I wrote a report at RLA-ES project: https://github.com/sbosio/rla-es/issues/164

What would you expect from me for v2.3? Maybe a new different PR fixing the es_PH thing?

My rule of thumb so far has been to only add dictionaries to fedora for locales that are supported by our glibc or libreoffice because otherwise they're not that useful in practice. What I'll do is merge these commits then drop the es_PH bits

Pull-Request has been merged by caolanm

6 years ago

Seems reasonable, yes.

I'll check how to fix this upstream.

Thanks :)

PS: if you wish I'll be happy to co-maintain the three related packages: hunspell-es, mythes-es and hyphen-es.

wrt maintaining, fine by me, added you as admin via src.fedoraproject.org now, so should go through shortly

wrt maintaining, fine by me, added you as admin via src.fedoraproject.org now, so should go through shortly

Thanks :)