auto-import hunspell-es-0.20050510-1 on branch devel from
hunspell-es-0.20050510-1.src.rpm
This commit is contained in:
parent
d6e04ad039
commit
d18d999428
@ -0,0 +1,2 @@
|
||||
es_ES.zip
|
||||
es_MX.zip
|
||||
50
hunspell-es.spec
Normal file
50
hunspell-es.spec
Normal file
@ -0,0 +1,50 @@
|
||||
Name: hunspell-es
|
||||
Summary: Spanish hunspell dictionaries
|
||||
%define upstreamid 20050510
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 1%{?dist}
|
||||
Source0: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/es_ES.zip
|
||||
Source1: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/es_MX.zip
|
||||
Group: Applications/Text
|
||||
URL: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: LGPL
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: hunspell
|
||||
|
||||
%description
|
||||
Spanish (Spain, Mexico, etc.) hunspell dictionaries.
|
||||
|
||||
%prep
|
||||
%setup -q -c -n hunspell-es
|
||||
unzip -q %{SOURCE1}
|
||||
|
||||
%build
|
||||
chmod -x *
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
||||
|
||||
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
||||
es_MX_aliases="es_AR es_BO es_CL es_CO es_CR es_DO es_EC es_GT es_HN es_NI es_PA es_PE es_PR es_PY es_SV es_UY es_VE"
|
||||
|
||||
for lang in $es_MX_aliases; do
|
||||
ln -s es_MX.aff $lang.aff
|
||||
ln -s es_MX.dic $lang.dic
|
||||
done
|
||||
popd
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc README_es_ES.txt README_es_MX.txt
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%changelog
|
||||
* Thu Dec 07 2006 Caolan McNamara <caolanm@redhat.com> - 0.20050510-1
|
||||
- initial version
|
||||
Loading…
Reference in New Issue
Block a user