Thunderbird spellcheck patch
Cezary Krzyzanowski
dhubleizh at o2.pl
Wed Aug 24 16:32:14 CEST 2005
Witam
Siadłem dziś nad mozillą-thunderbird, bo nie wiedzieć czemu, nie mamy
spellchecka włączonego. Zamieszczam łatę na speca mozilli-thunderbird,
która włącza spellchecka i buduje domyślny słownik en-US dostarczony ze
źródłami.
Podrzucam też mozilla-thunderbird-dictionary.spec, który walnąłem, żeby
budować słowniki inne niż en-US. Słowniki pobieram stąd:
http://www.mozilla.org/products/thunderbird/dictionaries.html
Teraz pytanko - dlaczego mamy powyłączane 90% extensions w naszej
dystrybucyjnej mozilli-thunderbird?? Z palca są wymienione 3 tylko,
które mają działać, a tam tego 'ciut' jest, więc łaj??
Zdroofka
Cz at rny
-------------- next part --------------
Index: mozilla-thunderbird.spec
===================================================================
RCS file: /cvsroot/SPECS/mozilla-thunderbird.spec,v
retrieving revision 1.43
diff -u -r1.43 mozilla-thunderbird.spec
--- mozilla-thunderbird.spec 20 Jul 2005 18:30:36 -0000 1.43
+++ mozilla-thunderbird.spec 24 Aug 2005 14:25:13 -0000
@@ -3,19 +3,20 @@
# Conditional builds
%bcond_without ft218 # compile with freetype < 2.1.8
%bcond_without enigmail # enigmail - GPG/PGP support
+%bcond_without spellcheck # spellcheck fucntion
#
Summary: Mozilla Thunderbird - email client
Summary(pl): Mozilla Thunderbird - klient poczty
Name: mozilla-thunderbird
Version: 1.0.6
-Release: 1
+Release: 2
License: MPL/LGPL
Group: Applications/Networking
Source0: http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/thunderbird-%{version}-source.tar.bz2
# Source0-md5: a0ddcc8bd5ee2c9be724b6963ad27111
Source1: %{name}.desktop
Source2: %{name}.sh
-%if %{with enigmail}
+%if %{with enigmail}
Source3: http://www.mozilla-enigmail.org/downloads/src/ipc-1.1.3.tar.gz
# Source3-md5: 64ba4c6e3b52568468c4f6680ec7e679
Source4: http://www.mozilla-enigmail.org/downloads/src/enigmail-0.92.0.tar.gz
@@ -59,6 +60,9 @@
%endif
Requires: nspr >= 1:4.6-0.20041030.1
Requires: nss >= 3.8
+%if %{with spellcheck}
+Provides: mozilla-thunderbird-spellcheck
+%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _thunderbirddir %{_libdir}/%{name}
@@ -73,6 +77,24 @@
Mozilla Thunderbird jest open sourcowym, szybkim i przenośnym klientem
poczty.
+%if %{with spellcheck}
+%package dictionary-en-US
+Summary: English(US) dictionary for spellchecking
+Summary(pl): Angielski(USA) słownik do sprawdzania pisowni
+Group: Applications/Dictionaries
+Requires: mozilla-thunderbird-spellcheck
+
+%description dictionary-en-US
+This package contains english(US) myspell-compatibile dictionary used for
+spellcheck function of mozilla-thunderbird. An alternative for this
+can be the OpenOffices dictionary.
+
+%description dictionary-en-US -l pl
+Ta paczka zawiera angielski(USA) słownik kompatybilny z myspell, używany
+przez funkcję sprawdzania pisowni mozilli-thunderbird. Alternatywą dla
+niego może być słownik OpenOffice'a.
+%endif
+
%prep
%setup -q -n mozilla
%if %{with enigmail}
@@ -105,6 +127,7 @@
cp -f %{_datadir}/automake/config.* build/autoconf
cp -f %{_datadir}/automake/config.* nsprpub/build/autoconf
cp -f %{_datadir}/automake/config.* directory/c-sdk/config/autoconf
+
%configure2_13 \
%if %{?debug:1}0
--enable-debug \
@@ -124,7 +147,7 @@
--disable-xprint \
--enable-crypto \
--enable-default-toolkit="gtk2" \
- --enable-extensions="pref,cookie,wallet" \
+ --enable-extensions="pref,cookie,wallet%{?with_spellcheck:,spellcheck}" \
--enable-freetype2 \
--enable-mathml \
--enable-optimize="%{rpmcflags}" \
@@ -153,7 +176,6 @@
%endif
%install
-
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_pixmapsdir},%{_desktopdir}}
@@ -163,7 +185,7 @@
EXCLUDE_NSPR_LIBS=1
install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/mozilla-thunderbird
-%{__sed} -i 's@/usr/lib/@%{_libdir}/@g' $RPM_BUILD_ROOT%{_bindir}/mozilla-thunderbird
+%{__sed} -i 's@%{_prefix}/lib/@%{_libdir}/@g' $RPM_BUILD_ROOT%{_bindir}/mozilla-thunderbird
tar -xvz -C $RPM_BUILD_ROOT%{_libdir} -f dist/mozilla-thunderbird-*-linux-gnu.tar.gz
@@ -182,6 +204,9 @@
%attr(755,root,root) %{_thunderbirddir}/components/*.so
%{_thunderbirddir}/components/*.js
%{_thunderbirddir}/components/*.xpt
+%if %{with spellcheck}
+%dir %{_thunderbirddir}/components/myspell
+%endif
%{_thunderbirddir}/defaults
%{_thunderbirddir}/greprefs
%{_thunderbirddir}/icons
@@ -225,6 +250,13 @@
%{_thunderbirddir}/init.d/README
%{_pixmapsdir}/*
%{_desktopdir}/*
+
+%if %{with spellcheck}
+%files dictionary-en-US
+%defattr(644,root,root,755)
+%{_thunderbirddir}/components/myspell/en-US.dic
+%{_thunderbirddir}/components/myspell/en-US.aff
+%endif
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
-------------- next part --------------
# $Revision: 1.31 $, $Date: 2005/01/05 14:12:17 $
# Conditional build:
%define _url http://downloads.mozdev.org/dictionaries/spell-
#
# TODO:
# - check broken af-ZA archive
# - check translations and spelling
# - make a way to compile only selected languages
# - make a way do omit selected packages in full compilation
Summary: Meta package for building all dictionaries
Summary(pl): Meta paczka do budowy wszystkich słowników
Name: mozilla-thunderbird-dictionary
Version: 1.0.6
Release: 0.1
License: - (enter GPL/LGPL/BSD/BSD-like/other license name here)
Group: Applications/Dictionaries
Vendor: PLD
#af-ZA broken archive??
#Source0: %{_url}af-ZA.xpi
Source0: %{_url}ca.xpi
# Source0-md5: 2c1b1c98b33bc768aed7dc92a0a0c54b
Source2: %{_url}hr.xpi
# Source2-md5: 499a5a499de28948fae196cc245c9f85
Source3: %{_url}cs.xpi
# Source3-md5: 2b97865792d0afdecb7acae16454a459
Source4: %{_url}bg.xpi
# Source4-md5: 7a0bd2330808766be3576a480721b593
Source5: %{_url}da.xpi
# Source5-md5: 950335a5cf28e1a425a2d0db825a5839
Source6: %{_url}nl.xpi
# Source6-md5: bac8d295dbf57dd86d0a9259b05a775d
#Included in mozilla-thunderbird main package
#Source7: %{_url}en-US.xpi
# Source7-md5: 4e75797aa996e0f384606af8b75f1d69
Source8: %{_url}en-AU.xpi
# Source8-md5: a762af69e11eaad5d3d413dd2c86c745
Source9: %{_url}en-GB.xpi
# Source9-md5: ba686d49605c87a766f8f79f28825e01
Source10: %{_url}en-CA.xpi
# Source10-md5: b74e470762636ffe34c5084f0dbf5399
Source11: %{_url}en-NZ.xpi
# Source11-md5: 181ee877bcbbb54460c64592273c0680
Source12: %{_url}fr-FR.xpi
# Source12-md5: d50a3a4cc8c303016330cab9eef07cd1
Source13: %{_url}fo.xpi
# Source13-md5: 002ee510e098f695d3421e67c0e43ff2
Source14: %{_url}gl.xpi
# Source14-md5: 0f1d330326c1af0e8d119f378735fc91
Source15: %{_url}de-AT.xpi
# Source15-md5: b498f24a49120f9c33a73c50dfa00bd3
Source16: %{_url}de-DE.xpi
# Source16-md5: ca983441de50359c9aad8123ecc7adda
Source17: %{_url}de-CH.xpi
# Source17-md5: 594cba9e951fdb0964b92f9de4da0ead
Source18: %{_url}el.xpi
# Source18-md5: d8c16c4a44ad4620edbcc6fc17207f97
Source19: %{_url}he-IL.xpi
# Source19-md5: 15895fdb19dc8fbcb98d088605f2c685
Source20: %{_url}hu.xpi
# Source20-md5: 622830acfcf1f9ed8a4b2944837577a4
Source21: %{_url}ga.xpi
# Source21-md5: 0939c83e4a773634e41689712e3f8859
Source22: %{_url}ia.xpi
# Source22-md5: 509a326095849a5655a01fb1bab5b253
Source23: %{_url}it.xpi
# Source23-md5: ffb0c12c0e985f178503575b78bde581
Source24: %{_url}la.xpi
# Source24-md5: c8c4326301d1cf72caacdd0961279a31
Source25: %{_url}lv-LV.xpi
# Source25-md5: a2178096c52f03b5b9d6acaadd6fe1be
Source26: %{_url}lt.xpi
# Source26-md5: 089e299885b3239c32c86054c8e919a4
Source27: %{_url}ms.xpi
# Source27-md5: 11ceedc2fe20e8eb4ed16c485abcc35f
Source28: %{_url}mi.xpi
# Source28-md5: f863592c869991d596de45380338f793
Source29: %{_url}nb.xpi
# Source29-md5: a57b2683b7cc57832c6deedd805fbe5f
Source30: %{_url}nn.xpi
# Source30-md5: 450d19ee5f5bfd6cd3f4e39956c3a7ce
Source31: %{_url}pl.xpi
# Source31-md5: 4951aefa9afd2be89c4dfedc71c26f59
Source32: %{_url}pt.xpi
# Source32-md5: 24d60a61f7143ab7ead1f19892180ce7
Source33: %{_url}pt-BR.xpi
# Source33-md5: 58da6b1e64fb47fe3fad1f4cb5ad6a07
Source34: %{_url}ro.xpi
# Source34-md5: 63b3e971e0d6196b44b8f097931b38fb
Source35: %{_url}ru.xpi
# Source35-md5: 401f130c50df97b3859fe17b261a5a69
Source36: %{_url}ru-ie.xpi
# Source36-md5: e115c13ae930070a784c2f7b9cf39122
Source37: %{_url}es-MX.xpi
# Source37-md5: ff753ee0ba4dba693c22f610aa56f5f0
Source38: %{_url}es-ES.xpi
# Source38-md5: 71e9a6229f9fc12e3b4748e274bd8638
Source39: %{_url}sk.xpi
# Source39-md5: 25eec563c43484001d3beaed90ed9213
Source40: %{_url}sl.xpi
# Source40-md5: 01e96c3f0a86bd6e4dfc17d610640259
Source41: %{_url}sv.xpi
# Source41-md5: 47da6dc9dc9331a82190731d19c80ec1
Source42: %{_url}uk.xpi
# Source42-md5: 3db52608eea5db2fc48319562e06530e
Source43: %{_url}cy-GB.xpi
# Source43-md5: a0a673640b3b7ee3f0d8e1bafe20862f
Source44: %{_url}zu-ZA.xpi
# Source44-md5: ed25d59f25ff31a4e4d88df484389f99
URL: http://www.mozilla.org/products/thunderbird/dictionaries.html
BuildRequires: unzip
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _myspelldir %{_libdir}/mozilla-thunderbird/components/myspell
%description
Meta package for building all the dictionaries for
mozilla-thunderbirds spellchecking function.
%description -l pl
Meta paczka do budowy wszystkich słowników do funkcji sprawdzania
pisowni mozilli-thunderbird.
#%package af-ZA
#Summary: Afrikaans(South Africa) dictionary for spellchecking
#Summary(pl): Afrykański(Południowa Afryka) słownik do sprawdzania pisowni
#Group: Applications/Dictionaries #Requires: mozilla-thunderbird-spellcheck
#%description af-ZA #This package
#contains afrikaans(South Africa) myspell-compatibile dictionary used
#for spellcheck function of mozilla-thunderbird. An alternative for
#this can be the OpenOffices dictionary.
#%description af-ZA -l pl
#Ta paczka zawiera afrykański(Afryka Południowa) słownik kompatybilny
#z myspell,używany #przez funkcję sprawdzania pisowni mozill-thunderbird.
#Alternatywą dla #niego może być słownik OpenOffice'a.
%package ca
Summary: Catalan dictionary for spellchecking
Summary(pl): Kataloński słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description ca
This package contains catalan myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description ca -l pl
Ta paczka zawiera kataloński słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package hr
Summary: Croatian dictionary for spellchecking
Summary(pl): Chorwacki słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description hr
This package contains croatian myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description hr -l pl
Ta paczka zawiera chorwacki słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package cs
Summary: Czech dictionary for spellchecking
Summary(pl): Czeski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description cs
This package contains czech myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description cs -l pl
Ta paczka zawiera czeski słownik kompatybilny z myspell, używany przez
funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla niego
może być słownik OpenOffice'a.
%package bg
Summary: Bulgarian dictionary for spellchecking
Summary(pl): Bułgarski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description bg
This package bulgarian croatian myspell-compatibile dictionary used
for spellcheck function of mozilla-thunderbird. An alternative for
this can be the OpenOffices dictionary.
%description bg -l pl
Ta paczka zawiera bułgarski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package da
Summary: Danish dictionary for spellchecking
Summary(pl): Duński słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description da
This package contains danich myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description da -l pl
Ta paczka zawiera duński słownik kompatybilny z myspell, używany przez
funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla niego
może być słownik OpenOffice'a.
%package nl
Summary: Dutch dictionary for spellchecking
Summary(pl): Holenderski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description nl
This package contains dutch myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description da -l pl
Ta paczka zawiera holenderski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package en-AU
Summary: English(Australia) dictionary for spellchecking
Summary(pl): Angielski(Australia) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description en-AU
This package contains english(Australia) myspell-compatibile
dictionary used for spellcheck function of mozilla-thunderbird. An
alternative for this can be the OpenOffices dictionary.
%description en-AU -l pl
Ta paczka zawiera angielski(Australia) słownik kompatybilny z myspell,
używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package en-GB
Summary: English(United Kingdom) dictionary for spellchecking
Summary(pl): Angielski(Wielka Brytania) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description en-GB
This package contains english(United Kingdom) myspell-compatibile
dictionary used for spellcheck function of mozilla-thunderbird. An
alternative for this can be the OpenOffices dictionary.
%description en-GB -l pl
Ta paczka zawiera angielski(Wielka Brytania) słownik kompatybilny z
myspell, używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package en-CA
Summary: English(Canada) dictionary for spellchecking
Summary(pl): Angielski(Kanada) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description en-CA
This package contains english(Canada) myspell-compatibile dictionary
used for spellcheck function of mozilla-thunderbird. An alternative
for this can be the OpenOffices dictionary.
%description en-CA -l pl
Ta paczka zawiera angielski(Kanada) słownik kompatybilny z myspell,
używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package en-NZ
Summary: English(New Zeland) dictionary for spellchecking
Summary(pl): Angielski(Nowa Zelandia) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description en-NZ
This package contains english(New Zeland) myspell-compatibile
dictionary used for spellcheck function of mozilla-thunderbird. An
alternative for this can be the OpenOffices dictionary.
%description en-NZ -l pl
Ta paczka zawiera angielski(Nowa Zelandia) słownik kompatybilny z
myspell, używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package fr-FR
Summary: French(France) dictionary for spellchecking
Summary(pl): Francuski(Francja) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description fr-FR
This package contains French(France) myspell-compatibile dictionary
used for spellcheck function of mozilla-thunderbird. An alternative
for this can be the OpenOffices dictionary.
%description fr-FR -l pl
Ta paczka zawiera francuski(Francja) słownik kompatybilny z myspell,
używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package fo
Summary: Faroese dictionary for spellchecking
Summary(pl): Farerski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description fo
This package contains faroese myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description fo -l pl
Ta paczka zawiera farerski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package gl
Summary: Galician(Spain) dictionary for spellchecking
Summary(pl): Galicyjski(Hiszpania) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description gl
This package contains galician(Spain) myspell-compatibile dictionary
used for spellcheck function of mozilla-thunderbird. An alternative
for this can be the OpenOffices dictionary.
%description gl -l pl
Ta paczka zawiera galicyjski(Hiszpania) słownik kompatybilny z
myspell, używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package de-AT
Summary: German(Austria) dictionary for spellchecking
Summary(pl): Niemiecki(Austria) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description de-AT
This package contains german(Austria) myspell-compatibile dictionary
used for spellcheck function of mozilla-thunderbird. An alternative
for this can be the OpenOffices dictionary.
%description de-AT -l pl
Ta paczka zawiera niemiecki(Austria) słownik kompatybilny z myspell,
używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package de-DE
Summary: German(Germany) dictionary for spellchecking
Summary(pl): Niemiecki(Niemcy) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description de-DE
This package contains german(Germany) myspell-compatibile dictionary
used for spellcheck function of mozilla-thunderbird. An alternative
for this can be the OpenOffices dictionary.
%description de-DE -l pl
Ta paczka zawiera niemiecki(Niemcy) słownik kompatybilny z myspell,
używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package de-CH
Summary: German(Switzerland) dictionary for spellchecking
Summary(pl): Niemiecki(Szwajcaria) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description de-CH
This package contains german(Switzerland) myspell-compatibile
dictionary used for spellcheck function of mozilla-thunderbird. An
alternative for this can be the OpenOffices dictionary.
%description de-CH -l pl
Ta paczka zawiera niemiecki(Szwajcaria) słownik kompatybilny z
myspell, używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package el
Summary: Greek dictionary for spellchecking
Summary(pl): Grecki słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description el
This package contains greek myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description el -l pl
Ta paczka zawiera grecki słownik kompatybilny z myspell, używany przez
funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla niego
może być słownik OpenOffice'a.
%package he-IL
Summary: Hebrew dictionary for spellchecking
Summary(pl): Hebrajski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description he-IL
This package contains hebrew myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description he-IL -l pl
Ta paczka zawiera hebrajski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package hu
Summary: Hungarian dictionary for spellchecking
Summary(pl): Węgierski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description hu
This package contains hungarian myspell-compatibile dictionary used
for spellcheck function of mozilla-thunderbird. An alternative for
this can be the OpenOffices dictionary.
%description hu -l pl
Ta paczka zawiera węgierski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package ga
Summary: Irish dictionary for spellchecking
Summary(pl): Irlandzki słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description ga
This package contains irish myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description ga -l pl
Ta paczka zawiera irlandzki słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package ia
Summary: Interlingua dictionary for spellchecking
Summary(pl): Słownik interlingua do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description ia
This package contains interligua myspell-compatibile dictionary used
for spellcheck function of mozilla-thunderbird. An alternative for
this can be the OpenOffices dictionary.
%description ia -l pl
Ta paczka zawiera słownik interlingua kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package it
Summary: Italian dictionary for spellchecking
Summary(pl): Włoski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description it
This package contains italian myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description it -l pl
Ta paczka zawiera włoski słownik kompatybilny z myspell, używany przez
funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla niego
może być słownik OpenOffice'a.
%package la
Summary: Latin dictionary for spellchecking
Summary(pl): Łaciński słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description la
This package contains latin myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description la -l pl
Ta paczka zawiera łaciński słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package lv-LV
Summary: Latvian dictionary for spellchecking
Summary(pl): Łotewski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description lv-LV
This package latvian danich myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description lv-LV -l pl
Ta paczka zawiera łotewski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package lt
Summary: Lithuanian dictionary for spellchecking
Summary(pl): Litewski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description lt
This package contains lithuanian myspell-compatibile dictionary used
for spellcheck function of mozilla-thunderbird. An alternative for
this can be the OpenOffices dictionary.
%description lt -l pl
Ta paczka zawiera litewski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package ms
Summary: Malay dictionary for spellchecking
Summary(pl): Malajski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description ms
This package contains malay myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description ms -l pl
Ta paczka zawiera malajski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package mi
Summary: Maori dictionary for spellchecking
Summary(pl): Maoryjski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description mi
This package contains maori myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description mi -l pl
Ta paczka zawiera maoryjski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package nb
Summary: Norwegian(Bokomal) dictionary for spellchecking
Summary(pl): Norweski(Bokomal) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description nb
This package contains norwegian(Bokomal) myspell-compatibile
dictionary used for spellcheck function of mozilla-thunderbird. An
alternative for this can be the OpenOffices dictionary.
%description nb -l pl
Ta paczka zawiera norweski(Bokomal) słownik kompatybilny z myspell,
używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package nn
Summary: Norwegian(Nynorsk) dictionary for spellchecking
Summary(pl): Norweski(Nynorsk) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description nn
This package contains norwegian(Nynorsk) myspell-compatibile
dictionary used for spellcheck function of mozilla-thunderbird. An
alternative for this can be the OpenOffices dictionary.
%description nn -l pl
Ta paczka zawiera norweski(Nynorsk) słownik kompatybilny z myspell,
używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package pl
Summary: Polish dictionary for spellchecking
Summary(pl): Polski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description pl
This package contains polish myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description pl -l pl
Ta paczka zawiera polski słownik kompatybilny z myspell, używany przez
funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla niego
może być słownik OpenOffice'a.
%package pt
Summary: Portuguese(Portugal) dictionary for spellchecking
Summary(pl): Portugalski(Portugalia) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description pt
This package contains portuguese(Portugal) myspell-compatibile
dictionary used for spellcheck function of mozilla-thunderbird. An
alternative for this can be the OpenOffices dictionary.
%description pt -l pl
Ta paczka zawiera portugalski(Portugalia) słownik kompatybilny z
myspell, używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package pt-BR
Summary: Portuguese(Brasil) dictionary for spellchecking
Summary(pl): Portugalski(Brazylia) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description pt-BR
This package contains portuguese(Brasil) myspell-compatibile
dictionary used for spellcheck function of mozilla-thunderbird. An
alternative for this can be the OpenOffices dictionary.
%description pt-BR -l pl
Ta paczka zawiera portugalski(Brazylia) słownik kompatybilny z
myspell, używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package ro
Summary: Romanian dictionary for spellchecking
Summary(pl): Rumuński słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description ro
This package contains romanian myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description ro -l pl
Ta paczka zawiera rumuński słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package ru
Summary: Russian dictionary for spellchecking
Summary(pl): Rosyjski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description ru
This package contains russian myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description ru -l pl
Ta paczka zawiera rosyjski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package ru-ie
Summary: Russian(Without E) dictionary for spellchecking
Summary(pl): Rosyjski(Bez E) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description ru-ie
This package contains russian(without E) myspell-compatibile
dictionary used for spellcheck function of mozilla-thunderbird. An
alternative for this can be the OpenOffices dictionary.
%description ru-ie -l pl
Ta paczka zawiera rosyjski(bez E) słownik kompatybilny z myspell,
używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package es-MX
Summary: Spanish(Mexico) dictionary for spellchecking
Summary(pl): Hiszpański(Meksyk) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description es-MX
This package contains spanish(Mexico) myspell-compatibile dictionary
used for spellcheck function of mozilla-thunderbird. An alternative
for this can be the OpenOffices dictionary.
%description es-MX -l pl
Ta paczka zawiera hiszpański(Meksyk) słownik kompatybilny z myspell,
używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package es-ES
Summary: Spanish(Spain) dictionary for spellchecking
Summary(pl): Hiszpański(Hiszpania) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description es-ES
This package contains spanish(Spain) myspell-compatibile dictionary
used for spellcheck function of mozilla-thunderbird. An alternative
for this can be the OpenOffices dictionary.
%description es-ES -l pl
Ta paczka zawiera hiszpański(Hiszpania) słownik kompatybilny z
myspell, używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%package sk
Summary: Slovak dictionary for spellchecking
Summary(pl): Słowacki słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description sk
This package contains slovak myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description sk -l pl
Ta paczka zawiera słowacki słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package sl
Summary: Slovenian dictionary for spellchecking
Summary(pl): Słowacki słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description sl
This package contains slovenian myspell-compatibile dictionary used
for spellcheck function of mozilla-thunderbird. An alternative for
this can be the OpenOffices dictionary.
%description sl -l pl
Ta paczka zawiera słowacki słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package sv
Summary: Swedish dictionary for spellchecking
Summary(pl): Szwedzki słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description sv
This package contains swedish myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description sv -l pl
Ta paczka zawiera szwedzki słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package uk
Summary: Ukrainian dictionary for spellchecking
Summary(pl): Ukraiński słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description uk
This package contains ukrainian myspell-compatibile dictionary used
for spellcheck function of mozilla-thunderbird. An alternative for
this can be the OpenOffices dictionary.
%description uk -l pl
Ta paczka zawiera ukraiński słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package cy-GB
Summary: Welsh dictionary for spellchecking
Summary(pl): Walijski słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description cy-GB
This package contains welsh myspell-compatibile dictionary used for
spellcheck function of mozilla-thunderbird. An alternative for this
can be the OpenOffices dictionary.
%description cy-GB -l pl
Ta paczka zawiera walijski słownik kompatybilny z myspell, używany
przez funkcję sprawdzania pisowni mozill-thunderbird. Alternatywą dla
niego może być słownik OpenOffice'a.
%package zu-ZA
Summary: Zulu(South Africa) dictionary for spellchecking
Summary(pl): Zulu(Afryka Południowa) słownik do sprawdzania pisowni
Group: Applications/Dictionaries
Requires: mozilla-thunderbird-spellcheck
%description zu-ZA
This package contains zulu(South Africa) myspell-compatibile
dictionary used for spellcheck function of mozilla-thunderbird. An
alternative for this can be the OpenOffices dictionary.
%description zu-ZA -l pl
Ta paczka zawiera słownik zulu(Afryka Południowa) kompatybilny z
myspell, używany przez funkcję sprawdzania pisowni mozill-thunderbird.
Alternatywą dla niego może być słownik OpenOffice'a.
%prep
%setup -q -c
for FILE in \
%{SOURCE2} %{SOURCE3} %{SOURCE4} \
%{SOURCE5} %{SOURCE6} \
%{SOURCE8} %{SOURCE9} %{SOURCE10} %{SOURCE11} \
%{SOURCE12} %{SOURCE13} %{SOURCE14} %{SOURCE15} \
%{SOURCE16} %{SOURCE17} %{SOURCE18} %{SOURCE19} \
%{SOURCE20} %{SOURCE21} %{SOURCE22} %{SOURCE23} \
%{SOURCE24} %{SOURCE25} %{SOURCE26} %{SOURCE27} \
%{SOURCE28} %{SOURCE29} %{SOURCE30} %{SOURCE31} \
%{SOURCE32} %{SOURCE33} %{SOURCE34} %{SOURCE35} \
%{SOURCE37} %{SOURCE38} %{SOURCE39} \
%{SOURCE40} %{SOURCE41} %{SOURCE42} %{SOURCE43} \
%{SOURCE44}
do
unzip -n $FILE
done
unzip -d ru-ie %{SOURCE36}
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_myspelldir}
install *.{dic,aff} $RPM_BUILD_ROOT%{_myspelldir}
#special treatment for bg
install bin/components/myspell/bg.{dic,aff} $RPM_BUILD_ROOT%{_myspelldir}
#anti-conflict ru
install ru-ie/ru.dic $RPM_BUILD_ROOT%{_myspelldir}/ru-ie.dic
install ru-ie/ru.aff $RPM_BUILD_ROOT%{_myspelldir}/ru-ie.aff
%clean
rm -rf $RPM_BUILD_ROOT
%files ca
%defattr(644,root,root,755)
%{_myspelldir}/ca.aff
%{_myspelldir}/ca.dic
%files hr
%defattr(644,root,root,755)
%{_myspelldir}/hr.aff
%{_myspelldir}/hr.dic
%files cs
%defattr(644,root,root,755)
%{_myspelldir}/cs.aff
%{_myspelldir}/cs.dic
%files bg
%defattr(644,root,root,755)
%{_myspelldir}/bg.aff
%{_myspelldir}/bg.dic
%files da
%defattr(644,root,root,755)
%{_myspelldir}/da.aff
%{_myspelldir}/da.dic
%files nl
%defattr(644,root,root,755)
%{_myspelldir}/nl.aff
%{_myspelldir}/nl.dic
%files en-AU
%defattr(644,root,root,755)
%{_myspelldir}/en-AU.aff
%{_myspelldir}/en-AU.dic
%files en-GB
%defattr(644,root,root,755)
%{_myspelldir}/en-GB.aff
%{_myspelldir}/en-GB.dic
%files en-CA
%defattr(644,root,root,755)
%{_myspelldir}/en-CA.aff
%{_myspelldir}/en-CA.dic
%files en-NZ
%defattr(644,root,root,755)
%{_myspelldir}/en-NZ.aff
%{_myspelldir}/en-NZ.dic
%files fr-FR
%defattr(644,root,root,755)
%{_myspelldir}/fr-FR.aff
%{_myspelldir}/fr-FR.dic
%files fo
%defattr(644,root,root,755)
%{_myspelldir}/fo.aff
%{_myspelldir}/fo.dic
%files gl
%defattr(644,root,root,755)
%{_myspelldir}/gl.aff
%{_myspelldir}/gl.dic
%files de-AT
%defattr(644,root,root,755)
%{_myspelldir}/de-AT.aff
%{_myspelldir}/de-AT.dic
%files de-DE
%defattr(644,root,root,755)
%{_myspelldir}/de-DE.aff
%{_myspelldir}/de-DE.dic
%files de-CH
%defattr(644,root,root,755)
%{_myspelldir}/de-CH.aff
%{_myspelldir}/de-CH.dic
%files el
%defattr(644,root,root,755)
%{_myspelldir}/el.aff
%{_myspelldir}/el.dic
%files he-IL
%defattr(644,root,root,755)
%{_myspelldir}/he-IL.aff
%{_myspelldir}/he-IL.dic
%files hu
%defattr(644,root,root,755)
%{_myspelldir}/hu.aff
%{_myspelldir}/hu.dic
%files ga
%defattr(644,root,root,755)
%{_myspelldir}/ga.aff
%{_myspelldir}/ga.dic
%files ia
%defattr(644,root,root,755)
%{_myspelldir}/ia.aff
%{_myspelldir}/ia.dic
%files it
%defattr(644,root,root,755)
%{_myspelldir}/it.aff
%{_myspelldir}/it.dic
%files la
%defattr(644,root,root,755)
%{_myspelldir}/la.aff
%{_myspelldir}/la.dic
%files lv-LV
%defattr(644,root,root,755)
%{_myspelldir}/lv-LV.aff
%{_myspelldir}/lv-LV.dic
%files lt
%defattr(644,root,root,755)
%{_myspelldir}/lt.aff
%{_myspelldir}/lt.dic
%files ms
%defattr(644,root,root,755)
%{_myspelldir}/ms.aff
%{_myspelldir}/ms.dic
%files mi
%defattr(644,root,root,755)
%{_myspelldir}/mi.aff
%{_myspelldir}/mi.dic
%files nb
%defattr(644,root,root,755)
%{_myspelldir}/nb.aff
%{_myspelldir}/nb.dic
%files nn
%defattr(644,root,root,755)
%{_myspelldir}/nn.aff
%{_myspelldir}/nn.dic
%files pl
%defattr(644,root,root,755)
%{_myspelldir}/pl.aff
%{_myspelldir}/pl.dic
%files pt
%defattr(644,root,root,755)
%{_myspelldir}/pt.aff
%{_myspelldir}/pt.dic
%files pt-BR
%defattr(644,root,root,755)
%{_myspelldir}/pt-BR.aff
%{_myspelldir}/pt-BR.dic
%files ro
%defattr(644,root,root,755)
%{_myspelldir}/ro.aff
%{_myspelldir}/ro.dic
%files ru
%defattr(644,root,root,755)
%{_myspelldir}/ru.aff
%{_myspelldir}/ru.dic
%files ru-ie
%defattr(644,root,root,755)
%{_myspelldir}/ru-ie.aff
%{_myspelldir}/ru-ie.dic
%files es-MX
%defattr(644,root,root,755)
%{_myspelldir}/es-MX.aff
%{_myspelldir}/es-MX.dic
%files es-ES
%defattr(644,root,root,755)
%{_myspelldir}/es-ES.aff
%{_myspelldir}/es-ES.dic
%files sk
%defattr(644,root,root,755)
%{_myspelldir}/sk.aff
%{_myspelldir}/sk.dic
%files sl
%defattr(644,root,root,755)
%{_myspelldir}/sl.aff
%{_myspelldir}/sl.dic
%files sv
%defattr(644,root,root,755)
%{_myspelldir}/sv.aff
%{_myspelldir}/sv.dic
%files uk
%defattr(644,root,root,755)
%{_myspelldir}/uk.aff
%{_myspelldir}/uk.dic
%files cy-GB
%defattr(644,root,root,755)
%{_myspelldir}/cy-GB.aff
%{_myspelldir}/cy-GB.dic
%files zu-ZA
%defattr(644,root,root,755)
%{_myspelldir}/zu-ZA.aff
%{_myspelldir}/zu-ZA.dic
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log:$
More information about the pld-devel-pl
mailing list