+#
# TODO:
-# - CHECK all features of enigmail
-# - separate spec for enigmail
+# - CHECK all features of enigmail
+# - separate spec for enigmail
#
# Conditional builds
%bcond_without enigmail # don't build enigmail - GPG/PGP support
%undefine with_gnomevfs
%endif
%define enigmail_ver 0.95.6
-%define thunderbird_ver 2.0.0.14
Summary: Icedove - email client
Summary(pl.UTF-8): Icedove - klient poczty
Name: icedove
-Version: %{thunderbird_ver}
-Release: 1
+Version: 2.0.0.14
+Release: 2
License: MPL 1.1 or GPL v2+ or LGPL v2.1+
Group: Applications/Networking
Source0: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/thunderbird-%{version}-source.tar.bz2
Patch5: %{name}-install.patch
Patch6: %{name}-myspell.patch
Patch7: %{name}-regionNames.patch
+Patch8: %{name}-prefs.patch
URL: http://www.mozilla.org/projects/thunderbird/
%{?with_gnomevfs:BuildRequires: GConf2-devel >= 1.2.1}
BuildRequires: automake
License: MPL/LGPL
Group: Applications/Networking
URL: http://enigmail.mozdev.org/
-Requires: %{name} = %{thunderbird_ver}-%{release}
+Requires: %{name} = %{version}-%{release}
%description addon-enigmail
Enigmail is an extension to the Icedove mail client which allows users
- interfejs do zarządzania kluczami OpenPGP
%prep
-%setup -q -c
-tar xvfj %{SOURCE2}
+%setup -q -c -a2
cd mozilla
%{?with_enigmail:tar xvfz %{SOURCE1} -C mailnews/extensions}
/bin/sh %{SOURCE3}
%patch5 -p1
%patch6 -p1
%patch7 -p1
+%patch8 -p1
:> config/gcc_hidden.h