source: spec/trunk/SPECS/hunspell-es.spec@ 1569

Last change on this file since 1569 was 1105, checked in by tellie, 9 years ago

spec: hunspell-es: Release version 0.7-1.

File size: 1.1 KB
Line 
1Name: hunspell-es
2Summary: Spanish hunspell dictionaries
3Version: 0.7
4Release: 1%{?dist}
5Epoch: 1
6Source: http://forja.rediris.es/frs/download.php/2890/es_ANY.oxt
7URL: https://forja.rediris.es/projects/rla-es/
8License: LGPLv3+ or GPLv3+ or MPLv1.1
9BuildArch: noarch
10
11Requires: hunspell
12Supplements: (hunspell and langpacks-es)
13
14%description
15Spanish (Spain, Mexico, etc.) hunspell dictionaries.
16
17%prep
18%setup -q -c -n hunspell-es
19
20%build
21chmod -x *
22
23%install
24mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
25cp -p es_ANY.dic $RPM_BUILD_ROOT/%{_datadir}/myspell/es.dic
26cp -p es_ANY.aff $RPM_BUILD_ROOT/%{_datadir}/myspell/es.aff
27
28#push $RPM_BUILD_ROOT/%{_datadir}/myspell/
29cd $RPM_BUILD_ROOT/%{_datadir}/myspell/
30es_ES_aliases="es_ES 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"
31
32for lang in $es_ES_aliases; do
33 ln -s es.aff $lang.aff
34 ln -s es.dic $lang.dic
35done
36#popd
37
38%files
39%doc README.txt Changelog.txt GPLv3.txt MPL-1.1.txt LGPLv3.txt
40%{_datadir}/myspell/*
41
42%changelog
43* Tue Apr 18 2017 Elbert Pol <elbert.pol@gmail.com> - 1:0.7-1
44- First Os2 Rpm build
Note: See TracBrowser for help on using the repository browser.