SUNWmyspell-dictionary-l10n.spec revision 20857
# http://wiki.services.openoffice.org/wiki/Dictionaries is the front page.
%define s_l_dict_extra bg_BG,ca_ES,da_DK,el_GR,en_AU,en_GB,et_EE,he_IL,hr_HR,lt_LT,lv_LV,nb_NO,nl_NL,nn_NO,pt_PT,ro_RO,sk_SK,sl_SI,th_TH,uk_UA
# original URL is http://j3e.de/hunspell/de_DE.zip
# original URL is http://www.justlocal.com.au/clients/oooau/
# original URL is http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
#Source8: %dictionary_source/en_GB-2006-11-30.zip
# original URL is http://magyarispell.sourceforge.net/hu_HU.zip
# original URL is http://sourceforge.net/projects/openoffice-lv/
Source23: http://downloads.sourceforge.net/project/openoffice-lv/openoffice-lv/lv_LV-0.8b1/lv_LV-0.8b1.zip
# original URL is http://pl.openoffice.org/pliki/pl_PL.zip
# original URL is http://hem.bredband.net/dsso1/sv_SE.zip
#Source39: %dictionary_source/sw_KE-2004-05-16.zip
# original URL is http://hunspell.sourceforge.net/fa_IR.tar.bz2
# Source301 - 399 are *.tar.gz
Source302: http://natura.di.uminho.pt/download/sources/Dictionaries/old/myspell/myspell.pt-20081113.tar.gz
# Source401 - 499 are *.tar.bz2
#%define GROUP0 %SOURCE0 %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4 %SOURCE5 %SOURCE6 %SOURCE7 %SOURCE8 %SOURCE9
%define GROUP1 %SOURCE10 %SOURCE11 %SOURCE12 %SOURCE13 %SOURCE14 %SOURCE15 %SOURCE16 %SOURCE17 %SOURCE18 %SOURCE19
%define GROUP2 %SOURCE20 %SOURCE21 %SOURCE22 %SOURCE23 %SOURCE24 %SOURCE25 %SOURCE26 %SOURCE27 %SOURCE28 %SOURCE29
#%define GROUP3 %SOURCE30 %SOURCE31 %SOURCE32 %SOURCE33 %SOURCE34 %SOURCE35 %SOURCE36 %SOURCE37 %SOURCE38 %SOURCE39
%define GROUP3 %SOURCE30 %SOURCE31 %SOURCE32 %SOURCE33 %SOURCE34 %SOURCE35 %SOURCE36 %SOURCE37 %SOURCE38
%define GROUP4 %SOURCE40 %SOURCE41 %SOURCE42 %SOURCE43 %SOURCE44 %SOURCE45 %SOURCE46 %SOURCE47 %SOURCE48
%prep
*.tar.gz)
if [ -d fa ] ; then
*.oxt)
cd $DIR
gl_ES-??)
hunspell-*)
lt_LT-*.*.*)
cd $DIR
cd $SUBDIR
cd $DIR
# SUNWmyspell-dictionary-$ling.copyright can be generated below.
# cat /packages/BUILD/myspell-dictionary-*/copyright-$ling \
if [ x"$IS_EXTRA" = x ] ; then
>> $copyright
if [ -d "$RPM_BUILD_ROOT" ] ; then
# We don't need hypy_lv_LV.dic and its README file
if [ ! -d $RPM_BUILD_ROOT%_thunderbirddir ] ; then \
rm -f $BROWSER_FILE && ln -s ../../../..%_myspelldir/$GNOME_FILE $BROWSER_FILE; \
if [ ! -d $RPM_BUILD_ROOT%_firefoxdir ] ; then \
cd $RPM_BUILD_ROOT%_firefoxdir; \
rm -f $BROWSER_FILE && ln -s ../../../..%_myspelldir/$GNOME_FILE $BROWSER_FILE; \
#rm -f $RPM_BUILD_ROOT/%_myspelldir/en_US.aff
#rm -f $RPM_BUILD_ROOT/%_firefoxdir/en-US.aff
#rm -f $RPM_BUILD_ROOT/%_thunderbirddir/en-US.aff
#%{_myspelldir}/en_AU.aff
#%{_myspelldir}/en_AU.dic
#%{_myspelldir}/en_GB.aff
#%{_myspelldir}/en_GB.dic
#%{_thunderbirddir}/en-AU.aff
#%{_thunderbirddir}/en-AU.dic
#%{_thunderbirddir}/en-GB.aff
#%{_thunderbirddir}/en-GB.dic
#%{_firefoxdir}/en-AU.aff
#%{_firefoxdir}/en-AU.dic
#%{_firefoxdir}/en-GB.aff
#%{_firefoxdir}/en-GB.dic
#%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/en_AU
#%{_docdir}/myspell-dictionary/en_AU/*
#%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/en_GB
#%{_docdir}/myspell-dictionary/en_GB/*
#%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/sw_KE
#%{_docdir}/myspell-dictionary/sw_KE/*
source location.