SUNWmyspell-dictionary-l10n.spec
author adampaul
Tue, 22 Jul 2008 16:07:57 +0000
branchopensolaris-2008-05
changeset 11066 ed015069b8c6
parent 10024 0c28b1a45f60
child 10965 4c3bf20d82ab
permissions -rwxr-xr-x
Checkin fixes needed to build the OS2008.05 branch

#
# spec file for package SUNWmyspell-dictionary-l10n
#
# includes module(s): all modules which include l10n files
#
# Copyright (c) 2007 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Owner: fujiwara
#
%include Solaris.inc

# http://wiki.services.openoffice.org/wiki/Dictionaries is the front page.
# The URL is changed from
# http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/foo.zip
# to
# http://dlc.sun.com/osol/jds/downloads/extras/myspell/foo-YYYY-MM-DD.zip
# since RE needs the version number in filenames.
%define dictionary_source http://dlc.sun.com/osol/jds/downloads/extras/myspell
%define _myspelldir %_datadir/spell/myspell
%define _firefoxdir %_libdir/firefox/dictionaries
%define _thunderbirddir %_libdir/thunderbird/dictionaries

Name:                    SUNWmyspell-dictionary
Summary:                 Myspell and Hunspell spell dictionary files
Version:                 %{default_pkg_version}
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version}
Docdir:                  %{_datadir}/doc/myspell-dictionary
%if %build_l10n
## English (United States)
Source:                  %dictionary_source/en_US-2004-06-23.zip
## Catalan (Spain)
Source1:                 %dictionary_source/ca_ES-2002-10-15.zip
## Czech (Czech Republic)
Source2:                 %dictionary_source/cs_CZ-2003-01-01.zip
## Danish (Denmark)
Source3:                 %dictionary_source/da_DK-2007-01-06.zip
## German (Germany)
# original URL is http://j3e.de/hunspell/de_DE.zip
Source4:                 %dictionary_source/de_DE-2003-06-17.zip
## Greek (Greece)
Source5:                 %dictionary_source/el_GR-2004-12-20.zip
## Spanish (Spain-etal)
Source6:                 %dictionary_source/es_ES-2005-05-10.zip
## French (France)
Source7:                 %dictionary_source/fr_FR-2006-09-19.zip
## Hebrew (Israel)
Source8:                 %dictionary_source/he_IL-2005-01-12.zip
## Hungarian (Hungary)
# original URL is http://magyarispell.sourceforge.net/hu_HU.zip
Source9:                 %dictionary_source/hu_HU-2006-07-27.zip
## Italian (Italy)
Source10:                http://prdownloads.sf.net/linguistico/italiano_2_3_beta_2006_07_23.zip
## Norwegian Bokmaal (Norway)
Source11:                %dictionary_source/nb_NO-2006-05-08.zip
## Dutch (Netherlands)
Source12:                %dictionary_source/nl_NL-2005-07-20.zip
## Polish (Poland)
# original URL is http://pl.openoffice.org/pliki/pl_PL.zip
Source13:                %dictionary_source/pl_PL-2006-12-02.zip
## Portuguese (Brazil)
Source14:                http://www.deso-se.com.br/downloads/download.php/pt_BR-2700g.zip
## Russian (Russia)
Source15:                %dictionary_source/ru_RU-2004-04-06.zip
## Slovak (Slovakia)
Source16:                %dictionary_source/sk_SK-2005-09-11.zip
## Slovenian (Slovenia)
Source17:                %dictionary_source/sl_SI-2007-01-27.zip
## Swedish (Sweden)
# original URL is http://hem.bredband.net/dsso1/sv_SE.zip
Source18:                %dictionary_source/sv_SE-2006-12-07.zip
%include default-depend.inc
BuildRoot:               %{_tmppath}/%{name}-%{version}

%define GROUP0  %SOURCE0
%define GROUP1  %SOURCE1   %SOURCE2   %SOURCE3   %SOURCE4   %SOURCE5
%define GROUP2  %SOURCE6   %SOURCE7   %SOURCE8   %SOURCE9   %SOURCE10
%define GROUP3  %SOURCE11  %SOURCE12  %SOURCE13  %SOURCE14  %SOURCE15
%define GROUP4  %SOURCE16  %SOURCE17  %SOURCE18
%define ALL_SOURCES %GROUP0 %GROUP1 %GROUP2 %GROUP3 %GROUP4
%endif

%if %build_l10n

%package -n              SUNWmyspell-dictionary-en
Summary:                 %{summary} for English
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version}
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-cs
Summary:                 %{summary} for Czech
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version},l10ncs
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                cs_CZ
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-de
Summary:                 %{summary} for German
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version},l10nde
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                de
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-es
Summary:                 %{summary} for Spanish
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version},l10nes
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                es
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-fr
Summary:                 %{summary} for French
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version},l10nfr
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                fr
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-hu
Summary:                 %{summary} for Hungarian
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version},l10nhu
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                hu_HU
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-it
Summary:                 %{summary} for Italian
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version},l10nit
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                it
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-pl
Summary:                 %{summary} for Polish
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version},l10npl
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                pl_PL
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-ptBR
Summary:                 %{summary} for Portugese Brazilian
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version},l10nptbr
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                pt_BR
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-ru
Summary:                 %{summary} for Russian
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version},l10nru
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                ru_RU
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-sv
Summary:                 %{summary} for Swedish
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version},l10nsv
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                sv
%include default-depend.inc

%package -n              SUNWmyspell-dictionary-extra
Summary:                 %{summary} for extra languages
SUNW_BaseDir:            %{_basedir}
SUNW_Category:           GNOME2,application,%{jds_version}
SUNW_PkgList:            SUNWfirefox,SUNWgnome-spell,SUNWthunderbird
SUNW_Loc:                ca_ES,da_DK,el_GR,he_IL,nb_NO,nl_NL,sk_SK,sl_SI
%include default-depend.inc


%prep
rm -rf myspell-dictionary-%version
mkdir myspell-dictionary-%version
cd myspell-dictionary-%version
for SOURCE in %ALL_SOURCES
do
  DIR=`basename $SOURCE .zip`
  mkdir $DIR
  cd $DIR
  unzip $SOURCE
  cd ..
done

%build

%install
if [ -d "$RPM_BUILD_ROOT" ] ; then
  rm -r $RPM_BUILD_ROOT
fi
mkdir -p $RPM_BUILD_ROOT/usr

cd myspell-dictionary-%version
for DICT in `/bin/ls */*.aff */*.dic`
do
  if [ ! -d $RPM_BUILD_ROOT%_myspelldir ] ; then
    install -d $RPM_BUILD_ROOT%_myspelldir
  fi
  install --mode=0644 $DICT $RPM_BUILD_ROOT%_myspelldir
  ( \
    GNOME_FILE=`basename $DICT`; \
    BROWSER_FILE=`echo $GNOME_FILE | sed -e 's/_/-/'`; \
    \
    if [ ! -d $RPM_BUILD_ROOT%_thunderbirddir ] ; then \
      install -d $RPM_BUILD_ROOT%_thunderbirddir; \
    fi; \
    cd $RPM_BUILD_ROOT%_thunderbirddir; \
    ln -s ../../../..%_myspelldir/$GNOME_FILE $BROWSER_FILE; \
    \
    if [ ! -d $RPM_BUILD_ROOT%_firefoxdir ] ; then \
      install -d $RPM_BUILD_ROOT%_firefoxdir; \
    fi; \
    cd $RPM_BUILD_ROOT%_firefoxdir; \
    ln -s ../../../..%_myspelldir/$GNOME_FILE $BROWSER_FILE; \
  )
done

for SOURCE in %ALL_SOURCES
do
  SOURCE_DIR=`basename $SOURCE .zip`
  DEST_DIR=`echo $SOURCE_DIR | sed -e 's/\([^0-9]*\)-[0-9-]*/\1/'`
  case $DEST_DIR in
  italiano*) DEST_DIR=it_IT;;
  pt_BR*)    DEST_DIR=pt_BR;;
  *) ;;
  esac

  for FILE in `find $SOURCE_DIR ! -name "*.aff" ! -name "*.dic" -type f`
  do
    install -d $RPM_BUILD_ROOT%{_docdir}/myspell-dictionary/$DEST_DIR
    install --mode=0644 $FILE $RPM_BUILD_ROOT%{_docdir}/myspell-dictionary/$DEST_DIR
  done
done

#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

%clean
rm -rf $RPM_BUILD_ROOT

%files -n SUNWmyspell-dictionary-en
%defattr (-, root, other)
%dir %attr (0755, root, sys) %{_datadir}
%dir %attr (0755, root, bin) %{_datadir}/spell
%dir %attr (0755, root, bin) %{_myspelldir}
%{_myspelldir}/en_*.aff
%{_myspelldir}/en_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/en-*.aff
%{_thunderbirddir}/en-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/en-*.aff
%{_firefoxdir}/en-*.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_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}/ca_*.aff
%{_myspelldir}/ca_*.dic
%{_myspelldir}/da_*.aff
%{_myspelldir}/da_*.dic
%{_myspelldir}/el_*.aff
%{_myspelldir}/el_*.dic
%{_myspelldir}/he_*.aff
%{_myspelldir}/he_*.dic
%{_myspelldir}/nb_*.aff
%{_myspelldir}/nb_*.dic
%{_myspelldir}/nl_*.aff
%{_myspelldir}/nl_*.dic
%{_myspelldir}/sk_*.aff
%{_myspelldir}/sk_*.dic
%{_myspelldir}/sl_*.aff
%{_myspelldir}/sl_*.dic
%dir %attr (0755, root, bin) %{_libdir}
%dir %attr (0755, root, bin) %{_libdir}/thunderbird
%dir %attr (0755, root, bin) %{_thunderbirddir}
%{_thunderbirddir}/ca-*.aff
%{_thunderbirddir}/ca-*.dic
%{_thunderbirddir}/da-*.aff
%{_thunderbirddir}/da-*.dic
%{_thunderbirddir}/el-*.aff
%{_thunderbirddir}/el-*.dic
%{_thunderbirddir}/he-*.aff
%{_thunderbirddir}/he-*.dic
%{_thunderbirddir}/nb-*.aff
%{_thunderbirddir}/nb-*.dic
%{_thunderbirddir}/nl-*.aff
%{_thunderbirddir}/nl-*.dic
%{_thunderbirddir}/sk-*.aff
%{_thunderbirddir}/sk-*.dic
%{_thunderbirddir}/sl-*.aff
%{_thunderbirddir}/sl-*.dic
%dir %attr (0755, root, bin) %{_libdir}/firefox
%dir %attr (0755, root, bin) %{_firefoxdir}
%{_firefoxdir}/ca-*.aff
%{_firefoxdir}/ca-*.dic
%{_firefoxdir}/da-*.aff
%{_firefoxdir}/da-*.dic
%{_firefoxdir}/el-*.aff
%{_firefoxdir}/el-*.dic
%{_firefoxdir}/he-*.aff
%{_firefoxdir}/he-*.dic
%{_firefoxdir}/nb-*.aff
%{_firefoxdir}/nb-*.dic
%{_firefoxdir}/nl-*.aff
%{_firefoxdir}/nl-*.dic
%{_firefoxdir}/sk-*.aff
%{_firefoxdir}/sk-*.dic
%{_firefoxdir}/sl-*.aff
%{_firefoxdir}/sl-*.dic
%dir %attr (0755, root, other) %{_docdir}
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary
%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/he_IL
%{_docdir}/myspell-dictionary/he_IL/*
%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/sk_SK
%{_docdir}/myspell-dictionary/sk_SK/*
%dir %attr (0755, root, bin) %{_docdir}/myspell-dictionary/sl_SI
%{_docdir}/myspell-dictionary/sl_SI/*

%endif

%changelog
* Fri Jun 08 2007 - [email protected]
- Add symbolic links for firefox l10n dictionaries. Fixes 6566162.

* Fri May 18 2007 - [email protected]
- Remove SUNW_PkgList from base package so that it can be integrated to WOS.

* Thu May 17 2007 - [email protected]
- Correct invalid locale in -extra package: s/nb_NO.UTF-8/nb_NO/.

* Wed May 09 2007 - [email protected]
- Removed SUNW_LOC=C at the moment.

* Thu May 03 2007 - [email protected]
- Fix typo.
- Modify the correct URL.

* Thu May 03 2007 - [email protected]
- Change all the source file names to be static, removing the _with_download
  modifier.

* Thu May 03 2007 - [email protected]
- 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 - [email protected]
- Revised the implementation - no log.

* Tue May 01 2007 - [email protected]
- Initial implementation