Accepting request 54282 from OpenOffice.org:UNSTABLE

Accepted submit request 54282 from user pmladek

OBS-URL: https://build.opensuse.org/request/show/54282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/myspell-dictionaries?expand=0&rev=19
This commit is contained in:
Marcus Rückert 2010-12-02 16:06:49 +00:00 committed by Git OBS Bridge
parent c4d3bbe837
commit f9901d7fb8
32 changed files with 973 additions and 491 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70d65bb07db99aaa1b0db50862057a712b454c8f0211c6a5353cdc48140eff91
size 186407

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b44a8314151390bfc69c68c6fd2ded7faea301a4afb191be56545e2407bcf347
size 1433036

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3827dbd0554bb74e56d1f1a92bb5b4e91cc21dd64efc4817fb2f0948c4ad6d6
size 1215174

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98bc03b78371c326ab76c862cb8576a1509553f1f50b8660ee837c1537e319ab
size 342812

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c922b18f9d1d2c70b0b7833b03f8a76580cdb617961194b737f61b039695f56f
size 343579

3
dic-fur.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b232dc4d92a865686b42f03bf5cbec0b4c7c41852b1b21f76be36434c8762699
size 119874

3
dict-cop_EG_v03.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d063bb960d73e86d49c54f93a1c2b0dfeacb505a2196b0941e6281d9489b1be5
size 51058

3
dict-it.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3dd8d2030a11b5661c19d678444722ba055da0878aa4ee8d4f1f7f6cbaa87ef7
size 1204927

3
dict-kk.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:344d518e772b7d7af2e3c9ca5371a8f82a870d2393ec8e7fc9d534a791e5feea
size 216948

3
dict-la_2010-08-23.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e99aab3e0c58500b1afef18b90d523643dccf3d9693cc0a4f9aa2a8c7b5b6d1b
size 304061

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6fafd8ecf303263f1fc8d622479af2f04e1299da228fd848307c541a8660fad7
size 1789660

3
dict-ro.1.3-cedilla.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:29964de24cf47a3b5db8e16afd66c6149ff159fce5de781d5d0e4038a0a3aa2f
size 1640819

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:95dc692e6822c9327ea2d73ce6bca2b37bd15f3d1f56a3e35b82c30b112c4a53
size 535264
oid sha256:946c2a1b7e0b503930155f52f1fd6c1fba853aeaaef879873eaef9cc768c2c79
size 566174

3
dict-sr.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:09da9be038b6b54f55c60eefd579c1ab6f4bbf9e9525fbda99b6ee6780e0bf0e
size 1237183

3
dict_valencian_racv.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a7a0508451c207ec99bce45366bb0c3d44c68f2991d9f6badb724182075b70fa
size 759106

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f885c38b8a1c72b821ab74a1a9dd75ec4f52877942ecd6ffb6a00d9abe3ee529
size 1327903
oid sha256:e034e2f9fbfcc58f4af91d0d0506261bd690811711d1776838f32acccd262779
size 1355636

3
esperantilo.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:56574c2cb9fd6e71addd55a5167b4ff1519b45a8c06f5f92fc371c7312190cac
size 285895

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9347a974c1c35e50f47aa0543df86037a05bf6938a3c1e8bc5a4742b82185f21
size 29065

3
hy_AM-0.20.0.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6883dc9f6518756d6bf85a3bacf26c2889d30d4225a9c91e2d17fd332d68b826
size 280482

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ea77914ca5c5f5613283c9de83172ecbc35977ee25940e7b208065974214699
size 321428

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:595ede1894bab474b537954f71b95ff0b242c6471da64737fe856156406382b8
size 274725

View File

@ -262,7 +262,7 @@ sub write_conditional_encoding($$$)
my ($pld, $locale, $condition_tag) = @_;
my $out = "";
$out .= " \"${locale}\") coding=\"$pld->{$condition_tag}{'encoding'}\" ;;\n" if (defined $pld->{$condition_tag}{'encoding'});
$out .= " \"${locale}\") coding=\"$pld->{$condition_tag}{'encoding'}\" ;;\n" if (defined $pld->{$condition_tag}{'encoding'});
return $out;
}
@ -322,7 +322,7 @@ sub write_lang_name_section($$)
my $pld = \% {$pdata->{'dict'}{$locale}};
my $out = "";
$out .= " \"${locale}\") lang_name=\"$pld->{'default'}{'pack_suffix'}\" ;;\n" if (defined $pld->{'default'}{'pack_suffix'});
$out .= " \"${locale}\") lang_name=\"$pld->{'default'}{'pack_suffix'}\" ;;\n" if (defined $pld->{'default'}{'pack_suffix'});
return $out;
}

View File

@ -1,3 +1,38 @@
Thu Nov 29 17:50:49 CEST 2010 - kkemenczy@opensuse.org
- add Coptic (cop_EG) dictionary, Valencian (ca_XV)
- updated Esperanto (eo_EO), Portuguese (pt_PT,)
Romanian (ro_RO) dictionary
-------------------------------------------------------------------
Thu Oct 02 22:26:41 CEST 2010 - kkemenczy@opensuse.org
- updated Yiddish (yi_IL) dictionary
-------------------------------------------------------------------
Thu Sep 16 12:10:52 CEST 2010 - kkemenczy@opensuse.org
- updated Bulgarian (bg_BG) dictionary
-------------------------------------------------------------------
Wed Sep 01 21:09:22 CEST 2010 - kkemenczy@opensuse.org
- added Armenian (hy_AM), Friulian (fur_IT), Kazakh (kk_KZ), Korean (ko_KR),
Latin (la_LA), Lower sorbian (dsb_DE), Serbian Latin (sh_RS),
Serbian Cyrillic (sr_RS), Sinhala (si_LK), Yiddish (yi_IL)
- updated Albanian (sq_AL), Chichewa (ny_MW), French (fr_FR), Khmer (km_KH)
-------------------------------------------------------------------
Sun May 16 22:46:34 CEST 2010 - kkemenczy@opensuse.org
- updated Italian (it_IT), Franch (fr_FR) dictionaries
-------------------------------------------------------------------
Mon Apr 19 13:10:18 CEST 2010 - kkemenczy@opensuse.org
- updated Latvian (lv_LV) dictionary

View File

@ -75,9 +75,9 @@ Source: asturianu.oxt
Locale: bg_BG
Language: Bulgarian
URL: http://extensions.services.openoffice.org/project/dictionaries-bg
Version: 4.1.5
Version: 4.3.1
Types: myspell, hyphen, thesaurus
License: GPLv2
License: GPLv2, LGPLv2.1, MPLv1.1
Source: dictionaries-bg.oxt
Locale: bn_BD
@ -123,6 +123,25 @@ Prep: mv catalan/dictionaries/catalan.dic catalan/dictionaries/ca_ES.dic
#, thesaurus available: http://extensions.services.openoffice.org/project/thesaurus-ca
Source: catalan.oxt
Locale: ca_XV
Language: Valencian
URL: http://extensions.services.openoffice.org/project/vaé_dict_racv
Version: 2.0.1 # 2009-07-23
Types: hunspell
License: LGPLv2.1
# TODO mail to the owner to solve this
Prep: mv dict_valencian_racv/valencian.aff dict_valencian_racv/ca_XV.aff
Prep: mv dict_valencian_racv/valencian.dic dict_valencian_racv/ca_XV.dic
Source: dict_valencian_racv.oxt
Locale: cop_EG
Language: Coptic
URL: http://extensions.services.openoffice.org/project/copt_dict
Version: 0.3
Types: hunspell
License: GPLv3
Source: dict-cop_EG_v03.oxt
Locale: cs_CZ
Language: Czech
Types: myspell
@ -193,6 +212,14 @@ License: GPLv2+
Source: dict-de_DE-frami_2010-03-07.oxt
%endif
Locale: dsb_DE
Language: Lower sorbian
URL: http://extensions.services.openoffice.org/en/project/HunSpellDic_dsb_DE
Version: 1.4.2
Types: hunspell
License: GPLv2
Source: lower_sorbian_spelling_dictionary-1.4.2.oxt
Locale: el_GR
Language: Greek
URL: http://wiki.services.openoffice.org/wiki/Dictionaries#Greek_.28Greece.29
@ -265,15 +292,15 @@ Source: en_ZA.tar.bz2
Locale: eo_EO
Language: Esperanto
URL: http://extensions.services.openoffice.org/project/literumilo
Version: 1.0
URL: http://extensions.services.openoffice.org/project/Esperantilo
Version: 1.1 # 2010-11-24
Types: hunspell
Prep: mv 1.0-dev/literumilo.aff 1.0-dev/eo_EO.aff
Prep: mv 1.0-dev/literumilo.dic 1.0-dev/eo_EO.dic
License: LGPLv3
Source: 1.0-dev.oxt
Prep: mv esperantilo/eo_ilo.aff esperantilo/eo_EO.aff
Prep: mv esperantilo/eo_ilo.dic esperantilo/eo_EO.dic
License: LGPLv2
Source: esperantilo.oxt
#Locale: en_CA
#Locale: en_CA
#Language: Canadian English
# NEW
#URL: http://extensions.services.openoffice.org/project/en_CA
@ -498,13 +525,23 @@ Source: fo_FO.tar.bz2
Locale: fr_FR
Language: French
URL: http://extensions.services.openoffice.org/project/french-dictionary-classic-reform1990
Version: 20100125 # 3.5
Types: myspell, hyphen, thesaurus
# under investigation, it looks it belongs to several countries
Prep: mv ooo-dictionnaire-fr-reforme1990-v3.5/dictionaries/fr-reforme1990.aff ooo-dictionnaire-fr-reforme1990-v3.5/dictionaries/fr_FR.aff
Prep: mv ooo-dictionnaire-fr-reforme1990-v3.5/dictionaries/fr-reforme1990.dic ooo-dictionnaire-fr-reforme1990-v3.5/dictionaries/fr_FR.dic
Version: 20100810 # 3.8
Types: hunspell, hyphen, thesaurus
# under investigation, looks it belongs to several countries
Prep: mv ooo-dictionnaire-fr-reforme1990-v3.8/dictionaries/fr-reforme1990.aff ooo-dictionnaire-fr-reforme1990-v3.8/dictionaries/fr_FR.aff
Prep: mv ooo-dictionnaire-fr-reforme1990-v3.8/dictionaries/fr-reforme1990.dic ooo-dictionnaire-fr-reforme1990-v3.8/dictionaries/fr_FR.dic
License: GPLv2, LGPLv2.1, MLP1.1
Source: ooo-dictionnaire-fr-reforme1990-v3.5.oxt
Source: ooo-dictionnaire-fr-reforme1990-v3.8.oxt
Locale: fur_IT
Language: Friulian
Prov_lang: fur_IT
URL: http://extensions.services.openoffice.org/en/project/furlan
Version: 20100606
Types: hunspell
# license is not clear: opensource
License: GPLv2
Source: dic-fur.oxt
Locale: ga_IE
Language: Irish
@ -588,6 +625,13 @@ Types: hunspell
License: GPLv3+
Source: hunspell-ht-0.06.oxt
Locale: hy_AM
Language: Armenian
URL: http://extensions.services.openoffice.org/en/project/armspell
Version: 0.20.0
Types: hunspell
License: GPLv2
Source: hy_AM-0.20.0.oxt
Locale: id_ID
Language: Indonese
@ -610,11 +654,11 @@ Source: Icelandic-dict-2009-08-23.oxt
Locale: it_IT
Language: Italian
URL: http://extensions.services.openoffice.org/project/Dict_it_IT
Version: 20081129
URL: http://extensions.services.openoffice.org/project/dict-it
Version: 20100501
Types: hunspell, hyphen, thesaurus
License: GPLv3
Source: Dizionari.IT_20081129.oxt
Source: dict-it.oxt
Locale: kik_KE
Language: Kikuyu
@ -625,15 +669,33 @@ Types: hunspell
License: LGPLv2.1
Source: kik_KE.oxt
Locale: kk_KZ
Language: Kazakh
Prov_lang: kk_KZ
URL: http://extensions.services.openoffice.org/en/project/dict-kk
Version: 20090901
Types: hunspell
License: GPLv2, LGPLv2.1, MPLv1.1
Source: dict-kk.oxt
Locale: km_KH
Language: Khmer
Prov_lang: km_KH
URL: http://extensions.services.openoffice.org/project/khmersbbic
Version: 1.1
URL: http://extensions.services.openoffice.org/en/project/khmersbbic
Version: 1.3
Types: hunspell
License: GPLv3
Source: SBBIC-spellingchecker-OOo.1.1.oxt
Source: SBBIC-spellingchecker-OOo.1.3.oxt
Locale: ko_KR
Language: Korean
URL: http://extensions.services.openoffice.org/en/project/spellchecker-ko
Version: 0.4.3 # 20100803
Types: hunspell
Prep: mv Korean_spell-checker-0.4.3_OOo/dictionaries/ko-KR.aff Korean_spell-checker-0.4.3_OOo/dictionaries/ko_KR.aff
Prep: mv Korean_spell-checker-0.4.3_OOo/dictionaries/ko-KR.dic Korean_spell-checker-0.4.3_OOo/dictionaries/ko_KR.dic
License: GPLv3, LGPLv2.1, MPLv1.1
Source: Korean_spell-checker-0.4.3_OOo.oxt
Locale: ku_TR
Language: Kurdish
@ -646,6 +708,17 @@ License: GPLv3, LGPLv2.1, MPLv1.1
#, hyphen available: http://extensions.services.openoffice.org/project/kitandin
Source: rastnivis.oxt
Locale: la_LA
Language: Latin
URL: http://http://extensions.services.openoffice.org/en/project/dict-la
Version: 20100823
Types: hunspell, hyphen
Prep: mv dict-la_2010-08-23/la/la.aff dict-la_2010-08-23/la/la_LA.aff
Prep: mv dict-la_2010-08-23/la/la.dic dict-la_2010-08-23/la/la_LA.dic
Encoding: ISO-8859-1
License: GPLv3
Source: dict-la_2010-08-23.oxt
Locale: lt_LT
Language: Lithuanian
URL: http://ftp.akl.lt/OpenOffice.org-extras/spell-checkers/
@ -766,11 +839,11 @@ Locale: ny_MW
Language: Chichewa
# accroding to the included .aff file
Encoding: ISO8859-14
URL: http://wiki.services.openoffice.org/wiki/Dictionaries#Chichewa_.28Malawi.29
Version: 0.01
URL: http://extensions.services.openoffice.org/en/project/chicspell
Version: 0.1 # 20100525
Types: myspell
License: GPLv2+
Source: ny_MW.tar.bz2
License: GPLv3+
Source: hunspell-chichewa-ny-dict-0.01.oxt
Locale: oc_FR
Language: Occitan Lengadocian
@ -799,11 +872,11 @@ Source: Vero_pt_BR_V207AOC.oxt
Locale: pt_PT
Language: Portuguese
URL: http://extensions.services.openoffice.org/project/ptPTdict
URL: http://extensions.services.openoffice.org/project/ptPTAOdict
Version: 20091015 # 9.10.13.0
Types: hunspell, hyphen, thesaurus
License: GPLv2+, BSD
Source: oo3x-pt-PT.oxt
License: GPLv2, LGPLv2.1, MPL 1.1
Source: oo3x-pt-PT-AO.oxt
Locale: qu_EC
Language: Kichwa
@ -816,11 +889,11 @@ Source: qu_EC.oxt
Locale: ro_RO
Language: Romanian
URL: http://extensions.services.openoffice.org/project/dictionaries-ro-contemporary
Version: 20091130 # 1.1
URL: http://extensions.services.openoffice.org/project/RomanianDictionaryPackCedillaVersion
Version: 20100608 # 1.3
Types: hunspell, hyphen, thesaurus
License: GPLv2, LGPLv2.1, MPLv1.1
Source: dict-ro.1.1.oxt
Source: dict-ro.1.3-cedilla.oxt
Locale: ru_RU
Language: Russian
@ -845,6 +918,18 @@ License: LGPLv2.1 # as aspell legacy
# not correct file name
Source: rw.oxt
Locale: si_LK
Language: Sinhala
URL: http://extensions.services.openoffice.org/en/project/SinhalaUbiquitousSpellChecker
Version: 3.0.1
Types: hunspell
# TODO need to send request to the developer
Prep: mv si_LK/dictionaries/si-LK.aff si_LK/dictionaries/si_LK.aff
Prep: mv si_LK/dictionaries/si-LK.dic si_LK/dictionaries/si_LK.dic
License: GPLv3+
# TODO license is not standard
Source: si_LK.oxt
Locale: sk_SK
Language: Slovak
URL: http://extensions.services.openoffice.org/project/dict-sk
@ -864,11 +949,36 @@ Source: pack-sl.oxt
Locale: sq_AL
Language: Albanian
URL: http://extensions.services.openoffice.org/project/dict-sq
Version: 1.6.1 # 2007.10.15
Version: 20100517
Types: myspell
License: GPLv2+
Source: dict-sq.oxt
Locale: sh_RS
Language: Serbian Latin
# FIXME: support also sh_YU
URL: http://extensions.services.openoffice.org/en/project/dict-sr
Version: 20100818
Types: hunspell, hyphen
# TODO need to send request to the developer
Prep: mv dict-sr/sh.aff dict-sr/sh_RS.aff
Prep: mv dict-sr/sh.dic dict-sr/sh_RS.dic
Prep: mv dict-sr/sr.aff dict-sr/sr_RS.aff
Prep: mv dict-sr/sr.dic dict-sr/sr_RS.dic
License: LGPLv3
# shared with sr_RS
Source: dict-sr.oxt
Locale: sr_RS
Language: Serbian Cyrillic
# FIXME: support also sr_YU
URL: http://extensions.services.openoffice.org/en/project/dict-sr
Version: 20100818
Types: hunspell, hyphen
License: LGPLv3
# source is shared with sh_RS
#Source: dict-sr.oxt
Locale: ss_ZA
Language: Swati
URL: http://extensions.services.openoffice.org/project/dict-ss
@ -988,6 +1098,16 @@ Types: hunspell
License: LGPLv2.1 # as aspell legacy
Source: dict-xh_ZA-2009.10.30.oxt
Locale: yi_IL
Language: Yiddish
URL: http://extensions.services.openoffice.org/en/project/jidysznetooo-spellchecker
Version: 20100902
Types: hunspell
Prep: mv jidysz.net.ooo.spellchecker/dictionaries/yi.aff jidysz.net.ooo.spellchecker/dictionaries/yi_IL.aff
Prep: mv jidysz.net.ooo.spellchecker/dictionaries/yi.dic jidysz.net.ooo.spellchecker/dictionaries/yi_IL.dic
License: GPLv2, LGPLv2.1, MPLv1.1
Source: jidysz.net.ooo.spellchecker.oxt
Locale: zu_ZA
Language: Zulu
URL: http://extensions.services.openoffice.org/project/dict-zu

File diff suppressed because it is too large Load Diff

View File

@ -93,21 +93,23 @@ rm -f filelist.template
install -m 755 -d $RPM_BUILD_ROOT%{_datadir}/myspell/
for lang_dir in * ; do
test -d $lang_dir || continue
# temporary file list
filelist=`mktemp /tmp/myspell-dictionaries-XXXXXX`
echo "%%defattr(-,root,root)" >$filelist
echo "%%dir %{_datadir}/myspell/" >>$filelist
# install dictionaries
dic=
# support locales with 2 and 3 letters in the language code: ll_CC.aff and lll_CC.aff
for aff in `find $lang_dir -regextype posix-extended -regex ".*/[[:lower:]][[:lower:]][[:lower:]]?_[[:upper:]][[:upper:]].aff" | sort` ; do
# find dictionaries
dic=`echo $aff | sed -e "s|.aff$|.dic|"`
if ! test -f $dic ; then
echo "Warning: Found $aff but not $dic"
echo "Skipping $aff"
continue;
fi
# both .dic and .aff files exists => install them
# both .dic and .aff files exists => valid dictionary
# initialize file list
filelist=`mktemp /tmp/myspell-dictionaries-XXXXXX`
echo "%%defattr(-,root,root)" >$filelist
echo "%%dir %{_datadir}/myspell/" >>$filelist
# install the dictionary
for f in $aff $dic ; do
fname=$(basename $f)
if test -f $RPM_BUILD_ROOT%{_datadir}/myspell/$fname ; then
@ -118,56 +120,56 @@ for lang_dir in * ; do
install -m 644 $f $RPM_BUILD_ROOT%{_datadir}/myspell/
echo %{_datadir}/myspell/$fname >>$filelist
done
done
# detect locale, lang and country
if test -n $dic ; then
# replace the underscore with a dot to be able to separate the language and the coutry code with the command "cut"
dic_pname=`basename $dic | sed "s|_|.|"`
lang=`echo $dic_pname | cut -d "." -f1`
country=`echo $dic_pname | cut -d "." -f2`
else
echo "Error: No dictionary found in $lang_dir"
exit 1;
fi
locale="${lang}_${country}"
# detect long language name
case "$locale" in
@LANG_NAME@ *) echo "Error: do not know language name for the locale $locale"
exit 1
;;
esac
# detect README encoding
coding=`LC_CTYPE="$locale" locale -k LC_CTYPE | grep charmap | sed "s|charmap=\"\(.*\)\"\$|\1|"`
# special hack for some locales
case "$locale" in
@ENCODING@ esac
# install documentation
docdir=%{_docdir}/myspell-$lang_name
mkdir -p $RPM_BUILD_ROOT$docdir
echo "%%doc $docdir" >>$filelist
for doc in `find $lang_dir -type f -printf "%%P\n" | \
grep -v -e ".aff$" -e ".dic$" -e ".dat$" -e ".idx$" \
-e ".orig$" -e ".old$" -e "~$" \
-e ".sh$" -e "makefile" -e "META-INF"` ; do
if ! test -f $lang_dir/$doc ; then
echo "Error: is not a file: $lang_dir/$doc"
# detect locale, lang and country
if test -n $dic ; then
# replace the underscore with a dot to be able to separate the language and the coutry code with the command "cut"
dic_pname=`basename $dic | sed "s|_|.|"`
lang=`echo $dic_pname | cut -d "." -f1`
country=`echo $dic_pname | cut -d "." -f2`
else
echo "Error: No dictionary found in $lang_dir"
exit 1;
fi
recode utf8..utf16 <$lang_dir/$doc >/dev/null 2>&1 || recode $coding..utf8 $lang_dir/$doc
dos2unix $lang_dir/$doc
dname=$(dirname $doc)
install -m 755 -d $RPM_BUILD_ROOT$docdir/$dname
install -m 644 $lang_dir/$doc $RPM_BUILD_ROOT$docdir/$dname
locale="${lang}_${country}"
# detect long language name
case "$locale" in
@LANG_NAME@ *) echo "Error: do not know language name for the locale $locale"
exit 1
;;
esac
# detect README encoding
coding=`LC_CTYPE="$locale" locale -k LC_CTYPE | grep charmap | sed "s|charmap=\"\(.*\)\"\$|\1|"`
# special hack for some locales
case "$locale" in
@ENCODING@ esac
# install documentation
docdir=%{_docdir}/myspell-$lang_name
mkdir -p $RPM_BUILD_ROOT$docdir
echo "%%doc $docdir" >>$filelist
for doc in `find $lang_dir -type f -printf "%%P\n" | \
grep -v -e ".aff$" -e ".dic$" -e ".dat$" -e ".idx$" \
-e ".orig$" -e ".old$" -e "~$" \
-e ".sh$" -e "makefile" -e "META-INF"` ; do
if ! test -f $lang_dir/$doc ; then
echo "Error: is not a file: $lang_dir/$doc"
exit 1;
fi
recode utf8..utf16 <$lang_dir/$doc >/dev/null 2>&1 || recode $coding..utf8 $lang_dir/$doc
dos2unix $lang_dir/$doc
dname=$(dirname $doc)
install -m 755 -d $RPM_BUILD_ROOT$docdir/$dname
install -m 644 $lang_dir/$doc $RPM_BUILD_ROOT$docdir/$dname
done
# rename the file list according to the detacted lang and country
mv $filelist $locale.list
# generate tempalte for the %files section
echo "%%files -f $locale.list -n myspell-$lang_name" >>filelist.template
echo "" >>filelist.template
done
# rename the file list according to the detacted lang and country
mv $filelist $locale.list
# generate tempalte for the %files section
echo "%%files -f $locale.list -n myspell-$lang_name" >>filelist.template
echo "" >>filelist.template
done
echo "******"

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bfb0f5269761b92a4b94fdc6436e3bf9039f77b87683076924907c8ab78bdc20
size 24168

3
oo3x-pt-PT-AO.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:83b356f49bfaf5daeb7009d96c76433f18ee1b82cf0446dafbe13ab0535da88c
size 780878

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bb94f9aaa8795e09fe054db6500043e653c76a38495a9e09321c1ae73d67c149
size 539003

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ae393909f54451a432162109b64fcf1ac76541adab03e8d8eded70c20a5494da
size 2139671

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:afafe2d96636ad1462267bac3a3e6dc17058dd8a2d722d5c204898d35187d2e9
size 2003960

3
si_LK.oxt Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d14738d5ffa55c270966120c11c03bf6937f1c74f87ed573947dcb42035d342b
size 255752