update to 2.6 [release 2.6-1mamba;Tue Jan 04 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 23:45:05 +01:00
parent 293c81d2a4
commit fb15a20c15

View File

@ -1,49 +1,99 @@
Name: hunspell-es Name: hunspell-es
Version: 2011025 Epoch: 1
Release: 2mamba Version: 2.6
Release: 1mamba
Summary: Spanish hunspell dictionaries Summary: Spanish hunspell dictionaries
Group: System/Internationalization Group: System/Internationalization
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: gil <puntogil@libero.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://es.openoffice.org/programa/diccionario.html URL: https://github.com/sbosio/rla-es
Source: http://es.openoffice.org/files/documents/73/3001/es_ANY.zip Source: https://github.com/sbosio/rla-es.git/v%{version}/rla-es-%{version}.tar.bz2
License: GPL, LGPL, MPL 1.1 License: GPL, LGPL, MPL 1.1
Requires: hunspell Requires: hunspell
BuildRoot: %{_tmppath}/%{name}-%{version}-root ## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
%description %description
Spanish hunspell dictionaries. %{summary}.
%package -n hyphen-es
Summary: Spanish hyphenation rules
Group: System/Internationalization
Requires: libhyphen
Obsoletes: hyphen-es <= 20040810
%description -n hyphen-es
%{summary}.
%package -n mythes-es
Summary: Spanish thesaurus
Group: System/Internationalization
Requires: libmythes
Obsoletes: mythes-es <= 20110122
%description -n mythes-es
%{summary}.
%prep %prep
%setup -q -c %{name}-%{version} %setup -q -n rla-es-%{version}
%build %build
chmod -x *
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
mkdir -p %{buildroot}%{_datadir}/myspell
cp -p es_ANY.dic %{buildroot}%{_datadir}/myspell/es_ES.dic
cp -p es_ANY.aff %{buildroot}%{_datadir}/myspell/es_ES.aff
pushd %{buildroot}%{_datadir}/myspell/ # Hunspell
for lang in 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; do mkdir -p %{buildroot}%{_datadir}/myspell
ln -s es_ES.aff $lang.aff cp -p source-code/hispalabras-0.1/hispalabras/es_ANY.dic %{buildroot}%{_datadir}/myspell/es_ES.dic
ln -s es_ES.dic $lang.dic cp -p source-code/hispalabras-0.1/hispalabras/es_ANY.aff %{buildroot}%{_datadir}/myspell/es_ES.aff
done
popd LANGS="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"
for lang in ${LANGS}; do
ln -s es_ES.aff %{buildroot}%{_datadir}/myspell/${lang}.aff
ln -s es_ES.dic %{buildroot}%{_datadir}/myspell/${lang}.dic
done
# Hyphen
install -Dm644 separacion/hyph_es.dic -t %{buildroot}%{_datadir}/hyphen/
for lang in ${LANGS}; do
ln -s hyph_es.dic %{buildroot}%{_datadir}/hyphen/hyph_${lang}.dic
done
# Mythes
install -Dm644 sinonimos/palabras/th_es_v2.* -t %{buildroot}%{_datadir}/mythes
for lang in ${LANGS}; do
ln -s th_es_v2.idx %{buildroot}%{_datadir}/mythes/th_es_${lang}_v2.idx
ln -s th_es_v2.dat %{buildroot}%{_datadir}/mythes/th_es_${lang}_v2.dat
done
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_datadir}/myspell %{_datadir}/myspell/es_*.dic
%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt %{_datadir}/myspell/es_*.aff
%doc LICENSE.md
%files -n hyphen-es
%defattr(-,root,root)
%{_datadir}/hyphen/hyph_es*.dic
%doc LICENSE.md
%files -n mythes-es
%defattr(-,root,root)
%{_datadir}/mythes/th_es*_v2.idx
%{_datadir}/mythes/th_es*_v2.dat
%doc LICENSE.md
%changelog %changelog
* Tue Jan 04 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-1mamba
- update to 2.6
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2011025-2mamba * Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 2011025-2mamba
- rebuilt - rebuilt