SUNWmyspell-dictionary-l10n.spec revision 19690
10139N/A#
10139N/A# spec file for package SUNWmyspell-dictionary-l10n
10139N/A#
10139N/A# includes module(s): all modules which include l10n files
10139N/A#
20185N/A# Copyright (c) 2009 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A%define owner funix
10139N/A#
10139N/A%include Solaris.inc
10139N/A
10139N/A%define OSR delivered in s10:N/A
10139N/A
18584N/A# http://wiki.services.openoffice.org/wiki/Dictionaries is the front page.
18584N/A# The URL is changed from
18584N/A# http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/foo.zip
18584N/A# to
18584N/A# http://dlc.sun.com/osol/jds/downloads/extras/myspell/foo-YYYY-MM-DD.zip
18584N/A# since RE needs the version number in filenames.
18584N/A%define dictionary_source http://dlc.sun.com/osol/jds/downloads/extras/myspell
18584N/A%define _myspelldir %_datadir/spell/myspell
10139N/A%define _firefoxdir %_libdir/firefox/dictionaries
10139N/A%define _thunderbirddir %_libdir/thunderbird/dictionaries
10139N/A%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
10139N/A
10139N/AName: SUNWmyspell-dictionary
10139N/ASummary: Myspell and Hunspell spell dictionary files
10139N/ALicense: BSD Alike,BSD,LGPLv2.1,GPLv2,GPLv3,LGPLv3,SISL,MPL 1.1,CC SharedAlike 1.0
18688N/AVendor: Other
18688N/AVersion: %{default_pkg_version}
10139N/ASUNW_BaseDir: %{_basedir}
20064N/ASUNW_Category: GNOME2,application,%{jds_version}
10139N/ADocdir: %{_datadir}/doc/myspell-dictionary
10139N/A
12739N/ABuildRequires: SUNWunzip
19097N/A
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ASUNW_Copyright: %{name}.copyright
19142N/A
20079N/A%if %build_l10n
16401N/A## English (United States)
10139N/ASource: %dictionary_source/en_US-2004-06-23.zip
13552N/A## Afrikaans (South Africa)
16125N/ASource1: %dictionary_source/af_ZA-2006-01-17.zip
18993N/A## Catalan (Spain)
10139N/ASource2: %dictionary_source/ca_ES-2002-10-15.zip
10139N/A## Czech (Czech Republic)
10139N/ASource3: %dictionary_source/cs_CZ-2003-01-01.zip
10139N/A## Danish (Denmark)
10139N/ASource4: %dictionary_source/da_DK-2007-01-06.zip
18993N/A## German (Germany)
18594N/A# original URL is http://j3e.de/hunspell/de_DE.zip
10139N/ASource5: %dictionary_source/de_DE-2003-06-17.zip
10139N/A## Greek (Greece)
10139N/ASource6: %dictionary_source/el_GR-2004-12-20.zip
10139N/A## English (Australia)
10139N/A# original URL is http://www.justlocal.com.au/clients/oooau/
13442N/A# Not reviewed yet
18618N/A#Source7: http://www.justlocal.com.au/clients/dictionaryfree/en-AU-full-V2.2.2.zip
17284N/A## English (United Kingdom)
18993N/A# original URL is http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
19832N/A# Not reviewed yet
19990N/A#Source8: %dictionary_source/en_GB-2006-11-30.zip
19990N/A## English (South Africa)
19990N/ASource9: %dictionary_source/en_ZA-2006-01-20.zip
19992N/A## Spanish (Spain-etal)
16401N/ASource10: %dictionary_source/es_ES-2005-05-10.zip
10139N/A## Esperanto (anywhere)
10139N/ASource11: %dictionary_source/eo-2004-11-29.zip
10139N/A## Estonian (Estonia)
16526N/A# original URL is:
16526N/A# http://www.meso.ee/~jjpp/speller/et_EE.aff
16526N/A# http://www.meso.ee/~jjpp/speller/et_EE.dic
10139N/A# http://www.eki.ee/eki/litsents.html
10139N/A# The date is taken from openoffice site.
10139N/ASource12: %dictionary_source/et_EE-2003-06-02.zip
10139N/A## Faroese (Faroe Islands)
18594N/ASource13: %dictionary_source/fo_FO-2005-03-07.zip
10139N/A## French (France)
10139N/ASource14: %dictionary_source/fr_FR-2006-09-19.zip
10139N/A## Irish Gaelic (Ireland)
10139N/ASource15: %dictionary_source/ga_IE-2007-10-29.zip
13442N/A## Scottish Gaelic (Scotland)
10139N/ASource16: %dictionary_source/gd_GB-2005-01-08.zip
10139N/A## Galician (Spain)
10139N/ASource17: http://downloads.sourceforge.net/project/ispell-gl/MySpell/0.5/gl_ES-05.zip
10139N/A## Hebrew (Israel)
10139N/ASource18: %dictionary_source/he_IL-2005-01-12.zip
10139N/A## Croatian (Croatia)
18618N/ASource19: %dictionary_source/hr_HR-2006-06-07.zip
16307N/A## Hungarian (Hungary)
17284N/A# original URL is http://magyarispell.sourceforge.net/hu_HU.zip
10139N/ASource20: %dictionary_source/hu_HU-2006-07-27.zip
10139N/A## Kurdish (Turkey, Syria)
10139N/ASource21: %dictionary_source/ku_TR-2005-01-21.zip
10139N/A## Lithuanian (Lithuania)
10139N/ASource22: http://files.akl.lt/ispell-lt/lt_LT-1.2.1.zip
10139N/A## Latvian (Latvia)
10139N/A# original URL is http://sourceforge.net/projects/openoffice-lv/
10139N/ASource23: http://downloads.sourceforge.net/project/openoffice-lv/openoffice-lv/lv_LV-0.8b1/lv_LV-0.8b1.zip
19142N/A## Italian (Italy)
10139N/ASource24: http://prdownloads.sf.net/linguistico/italiano_2_3_beta_2006_07_23.zip
10139N/A## Norwegian Bokmal (Norway)
10139N/ASource25: %dictionary_source/nb_NO-2008-03-10.zip
10139N/A## Dutch (Netherlands)
10139N/ASource26: %dictionary_source/nl_NL-2005-07-20.zip
19142N/A## Norwegian Nynorsk (Norway)
10139N/ASource27: %dictionary_source/nn_NO-2008-03-10.zip
10139N/A## Ndebele (South Africa)
10139N/ASource28: %dictionary_source/nr_ZA-2006-01-20.zip
10139N/A## Northern Sotho (South Africa)
10139N/ASource29: %dictionary_source/ns_ZA-2006-01-20.zip
10139N/A## Polish (Poland)
10139N/A# original URL is http://pl.openoffice.org/pliki/pl_PL.zip
10139N/ASource30: %dictionary_source/pl_PL-2006-12-02.zip
18584N/A## Portuguese (Brazil)
18584N/ASource31: %dictionary_source/pt_BR-2700g.zip
18584N/A## Romanian (Romania)
18584N/ASource32: http://downloads.sourceforge.net/rospell/ro_RO.3.2.zip
18584N/A## Russian (Russia)
18584N/ASource33: %dictionary_source/ru_RU-2004-04-06.zip
18584N/A## Slovak (Slovakia)
18584N/ASource34: %dictionary_source/sk_SK-2005-09-11.zip
18584N/A## Slovenian (Slovenia)
18584N/ASource35: %dictionary_source/sl_SI-2007-01-27.zip
18584N/A## Swazi/Swati (South Africa)
18584N/ASource36: %dictionary_source/ss_ZA-2006-07-05.zip
18584N/A## Southern Sotho (South Africa)
10139N/ASource37: %dictionary_source/st_ZA-2006-01-20.zip
10139N/A## Swedish (Sweden)
10139N/A# original URL is http://hem.bredband.net/dsso1/sv_SE.zip
10139N/ASource38: %dictionary_source/sv_SE-2006-12-07.zip
15694N/A## Kiswahili (East Africa)
15694N/A# Reviewed but source is not available
15694N/A#Source39: %dictionary_source/sw_KE-2004-05-16.zip
15694N/A## Thai (Thailand)
15694N/ASource40: %dictionary_source/th_TH-2006-12-12.zip
15694N/A## Setswana (Africa)
18584N/ASource41: %dictionary_source/tn_ZA-2004-05-16.zip
18584N/A## Tsonga (South Africa)
18710N/ASource42: %dictionary_source/ts_ZA-2006-01-23.zip
18710N/A## Ukrainian (Ukraine)
18710N/ASource43: %dictionary_source/uk_UA-2009-01-25.zip
18710N/A## Venda (South Africa)
18710N/ASource44: %dictionary_source/ve_ZA-2006-07-06.zip
18710N/A## Xhosa (South Africa)
18584N/ASource45: %dictionary_source/xh_ZA-2006-01-23.zip
18710N/A## Zulu (Africa)
18710N/ASource46: %dictionary_source/zu_ZA-2006-01-20.zip
18584N/A## German (Switzerland)
10139N/ASource47: %dictionary_source/de_CH-2009-02-21.zip
18617N/A## Persian (Iran)
10139N/A# original URL is http://hunspell.sourceforge.net/fa_IR.tar.bz2
18584N/ASource48: %dictionary_source/fa_IR-2007-08-16.zip
10139N/A
18584N/A# Source101 - 199 are OOo-spell-*.zip
19026N/A## Bulgarian (Bulgaria)
18617N/ASource101: http://downloads.sourceforge.net/bgoffice/OOo-spell-bg-4.1.zip
18584N/A
18584N/A# Source201 - 299 are *.oxt
18584N/A
18584N/A# Source301 - 399 are *.tar.gz
18584N/A## Armenian (Eastern)
18584N/ASource301: http://downloads.sourceforge.net/armspell/myspell-hy-0.10.1.tar.gz
18584N/A## Portuguese (Portugal)
18584N/ASource302: http://natura.di.uminho.pt/download/sources/Dictionaries/myspell/myspell.pt-20081113.tar.gz
19026N/A
19026N/A## Manx Gaelic
18584N/ASource303: http://borel.slu.edu/ispell/ispell-gv-1.0.tar.gz
18617N/A
18584N/A# Source401 - 499 are *.tar.bz2
18584N/A
18710N/A# Source501 - 599 are hunspell-*.zip
18710N/A## Slovak (Slovakia)
18584N/ASource501: http://www.sk-spell.sk.cx/file_download/38/hunspell-sk-20080525.zip
18710N/A
18584N/A
18584N/ABuildRoot: %{_tmppath}/%{name}-%{version}
18584N/A
18619N/A#%define GROUP0 %SOURCE0 %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4 %SOURCE5 %SOURCE6 %SOURCE7 %SOURCE8 %SOURCE9
18584N/A%define GROUP0 %SOURCE0 %SOURCE1 %SOURCE2 %SOURCE3 %SOURCE4 %SOURCE5 %SOURCE6 %SOURCE9
18584N/A%define GROUP1 %SOURCE10 %SOURCE11 %SOURCE12 %SOURCE13 %SOURCE14 %SOURCE15 %SOURCE16 %SOURCE17 %SOURCE18 %SOURCE19
18710N/A%define GROUP2 %SOURCE20 %SOURCE21 %SOURCE22 %SOURCE23 %SOURCE24 %SOURCE25 %SOURCE26 %SOURCE27 %SOURCE28 %SOURCE29
18710N/A#%define GROUP3 %SOURCE30 %SOURCE31 %SOURCE32 %SOURCE33 %SOURCE34 %SOURCE35 %SOURCE36 %SOURCE37 %SOURCE38 %SOURCE39
18584N/A%define GROUP3 %SOURCE30 %SOURCE31 %SOURCE32 %SOURCE33 %SOURCE34 %SOURCE35 %SOURCE36 %SOURCE37 %SOURCE38
18584N/A%define GROUP4 %SOURCE40 %SOURCE41 %SOURCE42 %SOURCE43 %SOURCE44 %SOURCE45 %SOURCE46 %SOURCE47 %SOURCE48
18584N/A%define GROUP101 %SOURCE101
18584N/A%define GROUP201 ""
18584N/A%define GROUP301 %SOURCE301 %SOURCE302 %SOURCE303
18584N/A%define GROUP401 ""
10139N/A%define GROUP501 %SOURCE501
19026N/A%define GROUP_NONE_OO2 %GROUP101 %GROUP301 %GROUP501
18584N/A%define ALL_SOURCES %GROUP0 %GROUP1 %GROUP2 %GROUP3 %GROUP4 %GROUP_NONE_OO2
10139N/A
18584N/A
10139N/A%package -n SUNWmyspell-dictionary-en
19026N/AIPS_package_name: library/myspell/dictionary/en
19026N/AMeta(info.classification): %{classification_prefix}:System/Localizations
10139N/ASummary: %{summary} for English
18584N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Category: GNOME2,application,%{jds_version}
18584N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ASUNW_Copyright: %{name}-en.copyright
15694N/A
15694N/A%package -n SUNWmyspell-dictionary-cs
15694N/AIPS_package_name: library/myspell/dictionary/cs
15694N/AMeta(info.classification): %{classification_prefix}:System/Localizations
15694N/ASummary: %{summary} for Czech
15694N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Category: GNOME2,application,%{jds_version},l10ncs
10139N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
18584N/ASUNW_Loc: cs_CZ
18584N/A%include default-depend.inc
18874N/A%include gnome-consolidation.inc
18584N/ASUNW_Copyright: %{name}-cs.copyright
18584N/A
18584N/A%package -n SUNWmyspell-dictionary-de
18584N/AIPS_package_name: library/myspell/dictionary/de
18584N/AMeta(info.classification): %{classification_prefix}:System/Localizations
18584N/ASummary: %{summary} for German
18584N/ASUNW_BaseDir: %{_basedir}
18584N/ASUNW_Category: GNOME2,application,%{jds_version},l10nde
18584N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
18584N/ASUNW_Loc: de
18584N/A%include default-depend.inc
18584N/A%include gnome-consolidation.inc
18584N/ASUNW_Copyright: %{name}-de.copyright
18584N/A
18584N/A%package -n SUNWmyspell-dictionary-es
18584N/AIPS_package_name: library/myspell/dictionary/es
18584N/AMeta(info.classification): %{classification_prefix}:System/Localizations
18584N/ASummary: %{summary} for Spanish
18584N/ASUNW_BaseDir: %{_basedir}
18584N/ASUNW_Category: GNOME2,application,%{jds_version},l10nes
18584N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
18874N/ASUNW_Loc: es
18584N/A%include default-depend.inc
18584N/A%include gnome-consolidation.inc
18584N/ASUNW_Copyright: %{name}-es.copyright
18584N/A
18584N/A%package -n SUNWmyspell-dictionary-fr
10139N/AIPS_package_name: library/myspell/dictionary/fr
10139N/AMeta(info.classification): %{classification_prefix}:System/Localizations
10139N/ASummary: %{summary} for French
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Category: GNOME2,application,%{jds_version},l10nfr
10139N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
10139N/ASUNW_Loc: fr
10139N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ASUNW_Copyright: %{name}-fr.copyright
10139N/A
10139N/A%package -n SUNWmyspell-dictionary-hu
10139N/AIPS_package_name: library/myspell/dictionary/hu
10139N/AMeta(info.classification): %{classification_prefix}:System/Localizations
10139N/ASummary: %{summary} for Hungarian
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Category: GNOME2,application,%{jds_version},l10nhu
10139N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
10139N/ASUNW_Loc: hu_HU
10139N/A%include default-depend.inc
18584N/A%include gnome-consolidation.inc
18584N/ASUNW_Copyright: %{name}-hu.copyright
10139N/A
10139N/A%package -n SUNWmyspell-dictionary-it
18100N/AIPS_package_name: library/myspell/dictionary/it
19898N/AMeta(info.classification): %{classification_prefix}:System/Localizations
18100N/ASummary: %{summary} for Italian
18100N/ASUNW_BaseDir: %{_basedir}
19911N/ASUNW_Category: GNOME2,application,%{jds_version},l10nit
20185N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
20185N/ASUNW_Loc: it
18100N/A%include default-depend.inc
18100N/A%include gnome-consolidation.inc
11001N/ASUNW_Copyright: %{name}-it.copyright
11001N/A
11001N/A%package -n SUNWmyspell-dictionary-pl
11001N/AIPS_package_name: library/myspell/dictionary/pl
10139N/AMeta(info.classification): %{classification_prefix}:System/Localizations
10139N/ASummary: %{summary} for Polish
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Category: GNOME2,application,%{jds_version},l10npl
10139N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
16307N/ASUNW_Loc: pl_PL
16307N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ASUNW_Copyright: %{name}-pl.copyright
10139N/A
10139N/A%package -n SUNWmyspell-dictionary-ptBR
10139N/AIPS_package_name: library/myspell/dictionary/pt_br
10139N/AMeta(info.classification): %{classification_prefix}:System/Localizations
10139N/ASummary: %{summary} for Portugese Brazilian
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Category: GNOME2,application,%{jds_version},l10nptbr
18288N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
19051N/ASUNW_Loc: pt_BR
18584N/A%include default-depend.inc
18584N/A%include gnome-consolidation.inc
18584N/ASUNW_Copyright: %{name}-ptBR.copyright
18584N/A
18584N/A%package -n SUNWmyspell-dictionary-ru
18584N/AIPS_package_name: library/myspell/dictionary/ru
18584N/AMeta(info.classification): %{classification_prefix}:System/Localizations
18584N/ASummary: %{summary} for Russian
19051N/ASUNW_BaseDir: %{_basedir}
19051N/ASUNW_Category: GNOME2,application,%{jds_version},l10nru
18584N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
10139N/ASUNW_Loc: ru_RU
18584N/A%include default-depend.inc
18584N/A%include gnome-consolidation.inc
18584N/ASUNW_Copyright: %{name}-ru.copyright
18584N/A
18584N/A%package -n SUNWmyspell-dictionary-sv
18584N/AIPS_package_name: library/myspell/dictionary/sv
18584N/AMeta(info.classification): %{classification_prefix}:System/Localizations
18584N/ASummary: %{summary} for Swedish
18584N/ASUNW_BaseDir: %{_basedir}
18584N/ASUNW_Category: GNOME2,application,%{jds_version},l10nsv
18584N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
18584N/ASUNW_Loc: sv
18584N/A%include default-depend.inc
18584N/A%include gnome-consolidation.inc
18584N/ASUNW_Copyright: %{name}-sv.copyright
18584N/A
18584N/A%package -n SUNWmyspell-dictionary-extra
18584N/AIPS_package_name: library/myspell/dictionary/extra
18584N/AMeta(info.classification): %{classification_prefix}:System/Localizations
18584N/ASummary: %{summary} for extra languages
14316N/ASUNW_BaseDir: %{_basedir}
19051N/ASUNW_Category: GNOME2,application,%{jds_version}
15942N/ASUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
15942N/ASUNW_Loc: %s_l_dict_extra
14316N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ASUNW_Copyright: %{name}-extra.copyright
10139N/A
10139N/A%package -n SUNWmyspell-dictionary-noinst
10139N/AIPS_package_name: library/myspell/dictionary/noinst
10139N/AMeta(info.classification): %{classification_prefix}:System/Localizations
10139N/ASummary: %{summary} for extra languages (not in /usr/lib/locale)
10139N/ASUNW_BaseDir: %{_basedir}
10139N/ASUNW_Category: GNOME2,application,%{jds_version}
10139N/A# Comment out because SUNW_PkgList needs SUNW_Loc.
19911N/A#SUNW_PkgList: SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
19911N/A#SUNW_Loc:
20830N/A%include default-depend.inc
10139N/A%include gnome-consolidation.inc
10139N/ASUNW_Copyright: %{name}-noinst.copyright
10139N/A
10139N/A
10139N/A%prep
10139N/Arm -rf myspell-dictionary-%version
18584N/Amkdir myspell-dictionary-%version
18584N/Acd myspell-dictionary-%version
18584N/Afor SOURCE in %ALL_SOURCES
18584N/Ado
18584N/A DIR=`basename $SOURCE .zip`
10139N/A
10139N/A case $DIR in
10139N/A *.tar.gz)
10139N/A gzcat $SOURCE | tar xf -
10139N/A ;;
10139N/A *.tar.bz2)
10139N/A bzcat $SOURCE | tar xf -
10139N/A DIR=`basename $SOURCE .tar.bz2`
10139N/A if [ -d fa ] ; then
10139N/A mv fa $DIR
10139N/A fi
10139N/A ;;
10139N/A *.oxt)
10139N/A DIR=`basename $DIR .oxt | sed -e "s|dict-||"`
10139N/A mkdir $DIR
10139N/A cd $DIR
10139N/A unzip $SOURCE
10139N/A cd ..
20185N/A ;;
20185N/A OOo-spell-*)
18594N/A unzip $SOURCE
18594N/A ;;
18288N/A gl_ES-??)
18288N/A unzip $SOURCE
18100N/A mv gl_ES $DIR
18100N/A ;;
18100N/A hunspell-*)
16526N/A unzip $SOURCE
16526N/A ;;
16307N/A lt_LT-*.*.*)
16307N/A unzip $SOURCE
15942N/A ;;
15942N/A no_NO-pack*)
14316N/A mkdir $DIR
14316N/A cd $DIR
13442N/A unzip $SOURCE
13442N/A cd ..
13005N/A for FILE in `/bin/ls $DIR/*.zip | grep -v "/th_" | grep -v "/hyph_"`
13005N/A do
12739N/A SUBDIR=`basename $FILE .zip`
12739N/A mkdir $SUBDIR
12112N/A cd $SUBDIR
12112N/A unzip ../$FILE
11314N/A cd ..
11314N/A done
11001N/A /bin/rm -r $DIR
11012N/A ;;
11012N/A *)
11001N/A mkdir $DIR
11001N/A cd $DIR
10860N/A unzip $SOURCE
10860N/A cd ..
10139N/A ;;
10139N/A esac
10139N/Adone
10139N/A
10139N/A# Generating Copyright template...
10139N/A# SUNWmyspell-dictionary-$ling.copyright can be generated below.
10139N/A#for ling in cs de en es extra fr hu it pl ru sv
10139N/A#do
10139N/A# cat copyright/SUNWmyspell-dictionary.copyright \
10139N/A# > copyright/SUNWmyspell-dictionary-$ling.copyright
10139N/A# cat /packages/BUILD/myspell-dictionary-*/copyright-$ling \
10139N/A# >> copyright/SUNWmyspell-dictionary-$ling.copyright
10139N/A# done
10139N/Afor file in `find . -name "README*" -o -name "COPYING" -o -name "Copyright" | sort`
10139N/Ado
10139N/A dir=`echo $file | sed -e "s|^\./||" | sed -e "s|/.*||" | sed -e "s|myspell-||" |\
10139N/A sed -e "s|OOo-spell-||" | sed -e "s|ispell-||" | sed -e "s|hunspell-||" |\
10139N/A sed -e "s|myspell\.||" | sed -e "s|-.*||" | sed -e "s|\..*||"`
10139N/A
10139N/A copyright=copyright
10139N/A case $dir in
10139N/A en_US*) copyright=copyright-en;;
10139N/A cs*) copyright=copyright-cs;;
10139N/A de*) copyright=copyright-de;;
10139N/A es*) copyright=copyright-es;;
10139N/A fr*) copyright=copyright-fr;;
10139N/A hu*) copyright=copyright-hu;;
10139N/A it*) copyright=copyright-it;;
10139N/A pl*) copyright=copyright-pl;;
10139N/A pt_BR*) copyright=copyright-ptBR;;
10139N/A ru*) copyright=copyright-ru;;
10139N/A sv*) copyright=copyright-sv;;
10139N/A *)
10139N/A copyright=copyright-extra
10139N/A IS_EXTRA=`echo "%s_l_dict_extra" | grep "$dir"; echo "" > /dev/null`
10139N/A if [ x"$IS_EXTRA" = x ] ; then
10139N/A copyright=copyright-noinst
10139N/A fi
10139N/A ;;
10139N/A esac
10139N/A
10139N/A echo "$dir Copyright" >> $copyright
10139N/A echo "" >> $copyright
10139N/A cat $file | sed -e 's/^/ /' >> $copyright
10139N/A echo "" >> $copyright
10139N/A echo "--------------------------------------------------------------------" \
10139N/A >> $copyright
10139N/A echo "" >> $copyright
10139N/Adone
10139N/A
10139N/A%build
10139N/A
10139N/A%install
10139N/Aif [ -d "$RPM_BUILD_ROOT" ] ; then
10139N/A rm -r $RPM_BUILD_ROOT
10139N/Afi
10139N/Amkdir -p $RPM_BUILD_ROOT/usr
10139N/A
10139N/Acd myspell-dictionary-%version
10139N/A# We don't need hypy_lv_LV.dic and its README file
10139N/Arm lv_LV*/*hyph*
10139N/A
10139N/Afor DICT in `/bin/ls */*.aff */*.dic */*_frami/*_frami.aff */*_frami/*_frami.dic`
10139N/Ado
10139N/A if [ ! -d $RPM_BUILD_ROOT%_myspelldir ] ; then
10139N/A install -d $RPM_BUILD_ROOT%_myspelldir
10139N/A fi
10139N/A GNOME_FILE=`basename $DICT | sed -e "s|_frami\.|.|" | sed -e "s|gv\.|gv_IE.|"`
10139N/A install --mode=0644 $DICT $RPM_BUILD_ROOT%_myspelldir/$GNOME_FILE
10139N/A ( \
10139N/A BROWSER_FILE=`echo $GNOME_FILE | sed -e 's/_/-/'`; \
10139N/A \
10139N/A if [ ! -d $RPM_BUILD_ROOT%_thunderbirddir ] ; then \
10139N/A install -d $RPM_BUILD_ROOT%_thunderbirddir; \
10139N/A fi; \
10139N/A cd $RPM_BUILD_ROOT%_thunderbirddir; \
10139N/A rm -f $BROWSER_FILE && ln -s ../../../..%_myspelldir/$GNOME_FILE $BROWSER_FILE; \
10139N/A \
10139N/A if [ ! -d $RPM_BUILD_ROOT%_firefoxdir ] ; then \
10139N/A install -d $RPM_BUILD_ROOT%_firefoxdir; \
10139N/A fi; \
10139N/A cd $RPM_BUILD_ROOT%_firefoxdir; \
10139N/A rm -f $BROWSER_FILE && ln -s ../../../..%_myspelldir/$GNOME_FILE $BROWSER_FILE; \
10139N/A )
10139N/Adone
10139N/A
10139N/Afor SOURCE in %ALL_SOURCES
10139N/Ado
10139N/A SOURCE_DIR=`basename $SOURCE .zip`
10139N/A SOURCE_DIR=`basename $SOURCE_DIR .tar.bz2`
10139N/A SOURCE_DIR=`basename $SOURCE_DIR .tar.gz`
10139N/A SOURCE_DIR=`basename "$SOURCE_DIR" .oxt | sed -e "s/^dict-//" |\
10139N/A sed -e "s/no_NO-pack2*/nb_NO/"`
10139N/A DEST_DIR=`echo $SOURCE_DIR | sed -e 's/\([^0-9]*\)[-_][0-9-]*/\1/' |\
10139N/A sed -e "s/-frami//" | sed -e "s/ispell-//" | sed -e "s/hunspell-//" |\
10139N/A sed -e 's/myspell[.-]//' |\
10139N/A sed -e 's/\([^.0-9]*\)[.0-9-]*/\1/' | sed -e "s/-sun//"`
10139N/A case $DEST_DIR in
10139N/A OOo-spell-bg*) DEST_DIR=bg_BG;;
10139N/A en-AU*) DEST_DIR=en_AU;;
10139N/A eo*) DEST_DIR=eo_l3;;
10139N/A gv*) DEST_DIR=gv_IE;;
10139N/A hy*) DEST_DIR=hy_AM;;
10139N/A lv*) DEST_DIR=lv_LV;;
10139N/A italiano*) DEST_DIR=it_IT;;
10139N/A pt) DEST_DIR=pt_PT;;
10139N/A pt_BR*) DEST_DIR=pt_BR;;
10139N/A ro*) DEST_DIR=ro_RO;;
10139N/A sk) DEST_DIR=sk_SK;;
10139N/A *) ;;
10139N/A esac
10139N/A
10139N/A for FILE in `find $SOURCE_DIR ! -name "*.aff" ! -name "*.dic" -type f`
10139N/A do
10139N/A install -d $RPM_BUILD_ROOT%{_docdir}/myspell-dictionary/$DEST_DIR
10139N/A install --mode=0644 $FILE $RPM_BUILD_ROOT%{_docdir}/myspell-dictionary/$DEST_DIR
10139N/A done
10139N/Adone
10139N/A
10139N/A#rm -f $RPM_BUILD_ROOT/%_myspelldir/en_US.aff
10139N/A#rm -f $RPM_BUILD_ROOT/%_firefoxdir/en-US.aff
10139N/A#rm -f $RPM_BUILD_ROOT/%_thunderbirddir/en-US.aff
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A# The *-en package includes en_US only due to the size of LiveCD.
10139N/A# en_AU,en_GB are moved to *-extra. en_ZA is moved to *-noinst
10139N/A%files -n SUNWmyspell-dictionary-en
10139N/A%defattr (-, root, other)
10139N/A%dir %attr (0755, root, sys) %{_datadir}
10139N/A%dir %attr (0755, root, bin) %{_datadir}/spell
10139N/A%dir %attr (0755, root, bin) %{_myspelldir}
16401N/A%{_myspelldir}/en_US.aff
%{_myspelldir}/en_US.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/en-US.aff
%{_thunderbirddir}/en-US.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/en-US.aff
%{_firefoxdir}/en-US.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/en_US
%{_docdir}/myspell-dictionary/en_US/*
%files -n SUNWmyspell-dictionary-cs
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/cs_*.aff
%{_myspelldir}/cs_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/cs-*.aff
%{_thunderbirddir}/cs-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/cs-*.aff
%{_firefoxdir}/cs-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/cs_CZ
%{_docdir}/myspell-dictionary/cs_CZ/*
%files -n SUNWmyspell-dictionary-de
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/de_*.aff
%{_myspelldir}/de_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/de-*.aff
%{_thunderbirddir}/de-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/de-*.aff
%{_firefoxdir}/de-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/de_CH
%{_docdir}/myspell-dictionary/de_CH/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/de_DE
%{_docdir}/myspell-dictionary/de_DE/*
%files -n SUNWmyspell-dictionary-es
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/es_*.aff
%{_myspelldir}/es_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/es-*.aff
%{_thunderbirddir}/es-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/es-*.aff
%{_firefoxdir}/es-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/es_ES
%{_docdir}/myspell-dictionary/es_ES/*
%files -n SUNWmyspell-dictionary-fr
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/fr_*.aff
%{_myspelldir}/fr_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/fr-*.aff
%{_thunderbirddir}/fr-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/fr-*.aff
%{_firefoxdir}/fr-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/fr_FR
%{_docdir}/myspell-dictionary/fr_FR/*
%files -n SUNWmyspell-dictionary-hu
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/hu_*.aff
%{_myspelldir}/hu_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/hu-*.aff
%{_thunderbirddir}/hu-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/hu-*.aff
%{_firefoxdir}/hu-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/hu_HU
%{_docdir}/myspell-dictionary/hu_HU/*
%files -n SUNWmyspell-dictionary-it
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/it_*.aff
%{_myspelldir}/it_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/it-*.aff
%{_thunderbirddir}/it-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/it-*.aff
%{_firefoxdir}/it-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/it_IT
%{_docdir}/myspell-dictionary/it_IT/*
%files -n SUNWmyspell-dictionary-pl
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/pl_*.aff
%{_myspelldir}/pl_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/pl-*.aff
%{_thunderbirddir}/pl-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/pl-*.aff
%{_firefoxdir}/pl-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/pl_PL
%{_docdir}/myspell-dictionary/pl_PL/*
%files -n SUNWmyspell-dictionary-ptBR
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/pt_BR.aff
%{_myspelldir}/pt_BR.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/pt-BR.aff
%{_thunderbirddir}/pt-BR.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/pt-BR.aff
%{_firefoxdir}/pt-BR.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/pt_BR
%{_docdir}/myspell-dictionary/pt_BR/*
%files -n SUNWmyspell-dictionary-ru
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/ru_*.aff
%{_myspelldir}/ru_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/ru-*.aff
%{_thunderbirddir}/ru-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/ru-*.aff
%{_firefoxdir}/ru-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/ru_RU
%{_docdir}/myspell-dictionary/ru_RU/*
%files -n SUNWmyspell-dictionary-sv
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/sv_*.aff
%{_myspelldir}/sv_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/sv-*.aff
%{_thunderbirddir}/sv-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/sv-*.aff
%{_firefoxdir}/sv-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/sv_SE
%{_docdir}/myspell-dictionary/sv_SE/*
%files -n SUNWmyspell-dictionary-extra
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/bg_*.aff
%{_myspelldir}/bg_*.dic
%{_myspelldir}/ca_*.aff
%{_myspelldir}/ca_*.dic
%{_myspelldir}/da_*.aff
%{_myspelldir}/da_*.dic
%{_myspelldir}/el_*.aff
%{_myspelldir}/el_*.dic
#%{_myspelldir}/en_AU.aff
#%{_myspelldir}/en_AU.dic
#%{_myspelldir}/en_GB.aff
#%{_myspelldir}/en_GB.dic
%{_myspelldir}/et_*.aff
%{_myspelldir}/et_*.dic
%{_myspelldir}/he_*.aff
%{_myspelldir}/he_*.dic
%{_myspelldir}/hr_*.aff
%{_myspelldir}/hr_*.dic
%{_myspelldir}/lt_*.aff
%{_myspelldir}/lt_*.dic
%{_myspelldir}/lv_*.aff
%{_myspelldir}/lv_*.dic
%{_myspelldir}/nb_*.aff
%{_myspelldir}/nb_*.dic
%{_myspelldir}/nl_*.aff
%{_myspelldir}/nl_*.dic
%{_myspelldir}/nn_*.aff
%{_myspelldir}/nn_*.dic
%{_myspelldir}/pt_PT.aff
%{_myspelldir}/pt_PT.dic
%{_myspelldir}/ro_*.aff
%{_myspelldir}/ro_*.dic
%{_myspelldir}/sk_*.aff
%{_myspelldir}/sk_*.dic
%{_myspelldir}/sl_*.aff
%{_myspelldir}/sl_*.dic
%{_myspelldir}/th_*.aff
%{_myspelldir}/th_*.dic
%{_myspelldir}/uk_*.aff
%{_myspelldir}/uk_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/bg-*.aff
%{_thunderbirddir}/bg-*.dic
%{_thunderbirddir}/ca-*.aff
%{_thunderbirddir}/ca-*.dic
%{_thunderbirddir}/da-*.aff
%{_thunderbirddir}/da-*.dic
%{_thunderbirddir}/el-*.aff
%{_thunderbirddir}/el-*.dic
#%{_thunderbirddir}/en-AU.aff
#%{_thunderbirddir}/en-AU.dic
#%{_thunderbirddir}/en-GB.aff
#%{_thunderbirddir}/en-GB.dic
%{_thunderbirddir}/et-*.aff
%{_thunderbirddir}/et-*.dic
%{_thunderbirddir}/he-*.aff
%{_thunderbirddir}/he-*.dic
%{_thunderbirddir}/hr-*.aff
%{_thunderbirddir}/hr-*.dic
%{_thunderbirddir}/lt-*.aff
%{_thunderbirddir}/lt-*.dic
%{_thunderbirddir}/lv-*.aff
%{_thunderbirddir}/lv-*.dic
%{_thunderbirddir}/nb-*.aff
%{_thunderbirddir}/nb-*.dic
%{_thunderbirddir}/nl-*.aff
%{_thunderbirddir}/nl-*.dic
%{_thunderbirddir}/nn-*.aff
%{_thunderbirddir}/nn-*.dic
%{_thunderbirddir}/pt-PT.aff
%{_thunderbirddir}/pt-PT.dic
%{_thunderbirddir}/ro-*.aff
%{_thunderbirddir}/ro-*.dic
%{_thunderbirddir}/sk-*.aff
%{_thunderbirddir}/sk-*.dic
%{_thunderbirddir}/sl-*.aff
%{_thunderbirddir}/sl-*.dic
%{_thunderbirddir}/th-*.aff
%{_thunderbirddir}/th-*.dic
%{_thunderbirddir}/uk-*.aff
%{_thunderbirddir}/uk-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/bg-*.aff
%{_firefoxdir}/bg-*.dic
%{_firefoxdir}/ca-*.aff
%{_firefoxdir}/ca-*.dic
%{_firefoxdir}/da-*.aff
%{_firefoxdir}/da-*.dic
%{_firefoxdir}/el-*.aff
%{_firefoxdir}/el-*.dic
#%{_firefoxdir}/en-AU.aff
#%{_firefoxdir}/en-AU.dic
#%{_firefoxdir}/en-GB.aff
#%{_firefoxdir}/en-GB.dic
%{_firefoxdir}/et-*.aff
%{_firefoxdir}/et-*.dic
%{_firefoxdir}/he-*.aff
%{_firefoxdir}/he-*.dic
%{_firefoxdir}/hr-*.aff
%{_firefoxdir}/hr-*.dic
%{_firefoxdir}/lt-*.aff
%{_firefoxdir}/lt-*.dic
%{_firefoxdir}/lv-*.aff
%{_firefoxdir}/lv-*.dic
%{_firefoxdir}/nb-*.aff
%{_firefoxdir}/nb-*.dic
%{_firefoxdir}/nl-*.aff
%{_firefoxdir}/nl-*.dic
%{_firefoxdir}/nn-*.aff
%{_firefoxdir}/nn-*.dic
%{_firefoxdir}/pt-PT.aff
%{_firefoxdir}/pt-PT.dic
%{_firefoxdir}/ro-*.aff
%{_firefoxdir}/ro-*.dic
%{_firefoxdir}/sk-*.aff
%{_firefoxdir}/sk-*.dic
%{_firefoxdir}/sl-*.aff
%{_firefoxdir}/sl-*.dic
%{_firefoxdir}/th-*.aff
%{_firefoxdir}/th-*.dic
%{_firefoxdir}/uk-*.aff
%{_firefoxdir}/uk-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/bg_BG
%{_docdir}/myspell-dictionary/bg_BG/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/ca_ES
%{_docdir}/myspell-dictionary/ca_ES/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/da_DK
%{_docdir}/myspell-dictionary/da_DK/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/el_GR
%{_docdir}/myspell-dictionary/el_GR/*
#%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/et_EE
%{_docdir}/myspell-dictionary/et_EE/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/he_IL
%{_docdir}/myspell-dictionary/he_IL/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/hr_HR
%{_docdir}/myspell-dictionary/hr_HR/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/lt_LT
%{_docdir}/myspell-dictionary/lt_LT/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/lv_LV
%{_docdir}/myspell-dictionary/lv_LV/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/nb_NO
%{_docdir}/myspell-dictionary/nb_NO/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/nl_NL
%{_docdir}/myspell-dictionary/nl_NL/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/nn_NO
%{_docdir}/myspell-dictionary/nn_NO/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/pt_PT
%{_docdir}/myspell-dictionary/pt_PT/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/ro_RO
%{_docdir}/myspell-dictionary/ro_RO/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/sk_SK
%{_docdir}/myspell-dictionary/sk_SK/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/sl_SI
%{_docdir}/myspell-dictionary/sl_SI/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/th_TH
%{_docdir}/myspell-dictionary/th_TH/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/uk_UA
%{_docdir}/myspell-dictionary/uk_UA/*
%files -n SUNWmyspell-dictionary-noinst
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/af_*.aff
%{_myspelldir}/af_*.dic
%{_myspelldir}/en_ZA.aff
%{_myspelldir}/en_ZA.dic
%{_myspelldir}/eo_*.aff
%{_myspelldir}/eo_*.dic
%{_myspelldir}/fa_*.aff
%{_myspelldir}/fa_*.dic
%{_myspelldir}/fo_*.aff
%{_myspelldir}/fo_*.dic
%{_myspelldir}/ga_*.aff
%{_myspelldir}/ga_*.dic
%{_myspelldir}/gd_*.aff
%{_myspelldir}/gd_*.dic
%{_myspelldir}/gl_*.aff
%{_myspelldir}/gl_*.dic
%{_myspelldir}/gv_*.aff
%{_myspelldir}/gv_*.dic
%{_myspelldir}/hy_*.aff
%{_myspelldir}/hy_*.dic
%{_myspelldir}/ku_*.aff
%{_myspelldir}/ku_*.dic
%{_myspelldir}/nr_*.aff
%{_myspelldir}/nr_*.dic
%{_myspelldir}/ns_*.aff
%{_myspelldir}/ns_*.dic
%{_myspelldir}/ss_*.aff
%{_myspelldir}/ss_*.dic
%{_myspelldir}/st_*.aff
%{_myspelldir}/st_*.dic
#%{_myspelldir}/sw_*.aff
#%{_myspelldir}/sw_*.dic
%{_myspelldir}/tn_*.aff
%{_myspelldir}/tn_*.dic
%{_myspelldir}/ts_*.aff
%{_myspelldir}/ts_*.dic
%{_myspelldir}/ve_*.aff
%{_myspelldir}/ve_*.dic
%{_myspelldir}/xh_*.aff
%{_myspelldir}/xh_*.dic
%{_myspelldir}/zu_*.aff
%{_myspelldir}/zu_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/af-*.aff
%{_thunderbirddir}/af-*.dic
%{_thunderbirddir}/en-ZA.aff
%{_thunderbirddir}/en-ZA.dic
%{_thunderbirddir}/eo-*.aff
%{_thunderbirddir}/eo-*.dic
%{_thunderbirddir}/fa-*.aff
%{_thunderbirddir}/fa-*.dic
%{_thunderbirddir}/fo-*.aff
%{_thunderbirddir}/fo-*.dic
%{_thunderbirddir}/ga-*.aff
%{_thunderbirddir}/ga-*.dic
%{_thunderbirddir}/gd-*.aff
%{_thunderbirddir}/gd-*.dic
%{_thunderbirddir}/gl-*.aff
%{_thunderbirddir}/gl-*.dic
%{_thunderbirddir}/gv-*.aff
%{_thunderbirddir}/gv-*.dic
%{_thunderbirddir}/hy-*.aff
%{_thunderbirddir}/hy-*.dic
%{_thunderbirddir}/ku-*.aff
%{_thunderbirddir}/ku-*.dic
%{_thunderbirddir}/nr-*.aff
%{_thunderbirddir}/nr-*.dic
%{_thunderbirddir}/ns-*.aff
%{_thunderbirddir}/ns-*.dic
%{_thunderbirddir}/ss-*.aff
%{_thunderbirddir}/ss-*.dic
%{_thunderbirddir}/st-*.aff
%{_thunderbirddir}/st-*.dic
#%{_thunderbirddir}/sw-*.aff
#%{_thunderbirddir}/sw-*.dic
%{_thunderbirddir}/tn-*.aff
%{_thunderbirddir}/tn-*.dic
%{_thunderbirddir}/ts-*.aff
%{_thunderbirddir}/ts-*.dic
%{_thunderbirddir}/ve-*.aff
%{_thunderbirddir}/ve-*.dic
%{_thunderbirddir}/xh-*.aff
%{_thunderbirddir}/xh-*.dic
%{_thunderbirddir}/zu-*.aff
%{_thunderbirddir}/zu-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/af-*.aff
%{_firefoxdir}/af-*.dic
%{_firefoxdir}/en-ZA.aff
%{_firefoxdir}/en-ZA.dic
%{_firefoxdir}/eo-*.aff
%{_firefoxdir}/eo-*.dic
%{_firefoxdir}/fa-*.aff
%{_firefoxdir}/fa-*.dic
%{_firefoxdir}/fo-*.aff
%{_firefoxdir}/fo-*.dic
%{_firefoxdir}/ga-*.aff
%{_firefoxdir}/ga-*.dic
%{_firefoxdir}/gd-*.aff
%{_firefoxdir}/gd-*.dic
%{_firefoxdir}/gl-*.aff
%{_firefoxdir}/gl-*.dic
%{_firefoxdir}/gv-*.aff
%{_firefoxdir}/gv-*.dic
%{_firefoxdir}/hy-*.aff
%{_firefoxdir}/hy-*.dic
%{_firefoxdir}/ku-*.aff
%{_firefoxdir}/ku-*.dic
%{_firefoxdir}/nr-*.aff
%{_firefoxdir}/nr-*.dic
%{_firefoxdir}/ns-*.aff
%{_firefoxdir}/ns-*.dic
%{_firefoxdir}/ss-*.aff
%{_firefoxdir}/ss-*.dic
%{_firefoxdir}/st-*.aff
%{_firefoxdir}/st-*.dic
#%{_firefoxdir}/sw-*.aff
#%{_firefoxdir}/sw-*.dic
%{_firefoxdir}/tn-*.aff
%{_firefoxdir}/tn-*.dic
%{_firefoxdir}/ts-*.aff
%{_firefoxdir}/ts-*.dic
%{_firefoxdir}/ve-*.aff
%{_firefoxdir}/ve-*.dic
%{_firefoxdir}/xh-*.aff
%{_firefoxdir}/xh-*.dic
%{_firefoxdir}/zu-*.aff
%{_firefoxdir}/zu-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/af_ZA
%{_docdir}/myspell-dictionary/af_ZA/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/en_ZA
%{_docdir}/myspell-dictionary/en_ZA/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/eo_l3
%{_docdir}/myspell-dictionary/eo_l3/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/fa_IR
%{_docdir}/myspell-dictionary/fa_IR/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/fo_FO
%{_docdir}/myspell-dictionary/fo_FO/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/ga_IE
%{_docdir}/myspell-dictionary/ga_IE/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/gd_GB
%{_docdir}/myspell-dictionary/gd_GB/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/gl_ES
%{_docdir}/myspell-dictionary/gl_ES/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/gv_IE
%{_docdir}/myspell-dictionary/gv_IE/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/hy_AM
%{_docdir}/myspell-dictionary/hy_AM/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/ku_TR
%{_docdir}/myspell-dictionary/ku_TR/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/nr_ZA
%{_docdir}/myspell-dictionary/nr_ZA/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/ns_ZA
%{_docdir}/myspell-dictionary/ns_ZA/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/ss_ZA
%{_docdir}/myspell-dictionary/ss_ZA/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/st_ZA
%{_docdir}/myspell-dictionary/st_ZA/*
#%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/sw_KE
#%{_docdir}/myspell-dictionary/sw_KE/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/tn_ZA
%{_docdir}/myspell-dictionary/tn_ZA/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/ts_ZA
%{_docdir}/myspell-dictionary/ts_ZA/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/ve_ZA
%{_docdir}/myspell-dictionary/ve_ZA/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/xh_ZA
%{_docdir}/myspell-dictionary/xh_ZA/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/zu_ZA
%{_docdir}/myspell-dictionary/zu_ZA/*
%endif
%changelog
* Mon Nov 29 2010 - harry.fu@oracle.com
- Update License line.
* Tue Oct 27 2009 - dave.lin@sun.com
- Removed the symbol link anyway before creating it in %install.
* Tue Jul 20 2009 - harry.fu@sun.com
- Uncomment dictionaries not reviewed before(CR6847877) and correct some
source location.
* Mon Mar 23 2009 - takao.fujiwara@sun.com
- Add af, bg, fa, fo, ga, gd, gv, hy, ku, lv, nr, ns, ss, st, sw, ts, ve, xh,
zu myspell dictionaries. CR 6820626.
* Fri Apr 04 2008 - takao.fujiwara@sun.com
- Add a copyright merging.
* Fri Jun 08 2007 - takao.fujiwara@sun.com
- Add symbolic links for firefox l10n dictionaries. Fixes 6566162.
* Fri May 18 2007 - damien.carbery@sun.com
- Remove SUNW_PkgList from base package so that it can be integrated to WOS.
* Thu May 17 2007 - damien.carbery@sun.com
- Correct invalid locale in -extra package: s/nb_NO.UTF-8/nb_NO/.
* Wed May 09 2007 - takao.fujiwara@sun.com
- Removed SUNW_LOC=C at the moment.
* Thu May 03 2007 - takao.fujiwara@sun.com
- Fix typo.
- Modify the correct URL.
* Thu May 03 2007 - damien.carbery@sun.com
- Change all the source file names to be static, removing the _with_download
modifier.
* Thu May 03 2007 - damien.carbery@sun.com
- Modify dictionary_source url to append 'myspell' as the files have been moved
to a subdir on the download centre server.
* Tue May 01 2007 - takao.fujiwara@sun.com
- Revised the implementation - no log.
* Tue May 01 2007 - yuriy.kuznetsov@sun.com
- Initial implementation