From e1e079806989cd1d7ee5c696b2cc88dc0ee6c9a3 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 21 Dec 2011 21:01:24 +0100 Subject: Enigmail 1.3.4 --- thunderbird-enigmail.spec | 60 +++++++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 25 deletions(-) (limited to 'thunderbird-enigmail.spec') diff --git a/thunderbird-enigmail.spec b/thunderbird-enigmail.spec index d998cee..ce533e0 100644 --- a/thunderbird-enigmail.spec +++ b/thunderbird-enigmail.spec @@ -1,14 +1,20 @@ %define nspr_version 4.8.8 -%define nss_version 3.12.10 +%define nss_version 3.13.1 %define cairo_version 1.10.0 %define freetype_version 2.1.9 %define lcms_version 1.19 -%define sqlite_version 3.6.22 +%define sqlite_version 3.7.7.1 %define libnotify_version 0.4 %define build_langpacks 1 %define thunderbird_app_id \{3550f703-e582-4d05-9a08-453d09bdfdc6\} -%global thunver 8.0 +%if 0%{?fedora} <= 15 +%define system_sqlite 0 +%else +%define system_sqlite 1 +%endif + +%global thunver 9.0 # The tarball is pretty inconsistent with directory structure. # Sometimes there is a top level directory. That goes here. @@ -26,7 +32,7 @@ Summary: Authentication and encryption extension for Mozilla Thunderbird Name: thunderbird-enigmail -Version: 1.3.3 +Version: 1.3.4 %if 0%{?prever:1} Release: 0.1.%{prever}%{?dist} %else @@ -59,13 +65,15 @@ Source101: enigmail-fixlang.php # Mozilla (XULRunner) patches Patch0: thunderbird-install-dir.patch Patch7: crashreporter-remove-static.patch -Patch8: xulrunner-6.0-secondary-ipc.patch -Patch9: mozilla-670719.patch +Patch8: xulrunner-9.0-secondary-ipc.patch Patch10: xulrunner-2.0-network-link-service.patch Patch11: xulrunner-2.0-NetworkManager09.patch +Patch12: mozilla-696393.patch # Build patches -Patch100: xulrunner-install.patch + +# Linux specific +Patch200: thunderbird-8.0-enable-addons.patch # Enigmail patch @@ -79,8 +87,10 @@ Patch100: xulrunner-install.patch %endif BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -%if 0%{?fedora} >= 14 +%if 0%{?fedora} >= 14 || 0%{?rhel} >= 6 BuildRequires: nspr-devel >= %{nspr_version} +%endif +%if 0%{?fedora} >= 17 BuildRequires: nss-devel >= %{nss_version} %endif %if 0%{?fedora} >= 15 @@ -104,8 +114,7 @@ BuildRequires: freetype-devel >= %{freetype_version} BuildRequires: libXt-devel BuildRequires: libXrender-devel BuildRequires: hunspell-devel -%if 0%{?fedora} >= 15 -# Need SQLITE_SECURE_DELETE option +%if %{?system_sqlite} BuildRequires: sqlite-devel >= %{sqlite_version} %endif BuildRequires: startup-notification-devel @@ -148,12 +157,13 @@ cd %{tarballdir} cd mozilla %patch7 -p2 -b .static %patch8 -p2 -b .secondary-ipc -%patch9 -p1 -b .moz670719 %patch10 -p1 -b .link-service %patch11 -p1 -b .NetworkManager09 -%patch100 -p2 -b .install +%patch12 -p2 -b .696393 cd .. +%patch200 -p1 -b .addons + %if %{official_branding} # Required by Mozilla Corporation @@ -165,11 +175,10 @@ cd .. %{__rm} -f .mozconfig cat %{SOURCE10} \ -%if 0%{?fedora} < 15 && 0%{?rhel} <= 6 - | grep -v system-sqlite \ -%endif -%if 0%{?fedora} < 14 && 0%{?rhel} <= 6 +%if 0%{?fedora} < 17 | grep -v system-nss \ +%endif +%if 0%{?fedora} < 14 && 0%{?rhel} < 6 | grep -v system-nspr \ %endif %if 0%{?fedora} < 15 && 0%{?rhel} <= 6 @@ -177,22 +186,20 @@ cat %{SOURCE10} \ %endif | tee .mozconfig -cat <= 15 -#ac_add_options --enable-system-sqlite -%endif %if 0%{?fedora} < 14 && 0%{?rhel} <= 6 -ac_add_options --disable-libjpeg-turbo +echo "ac_add_options --disable-libjpeg-turbo" >> .mozconfig %endif -EOF %if %{official_branding} %{__cat} %{SOURCE11} >> .mozconfig %endif +%if %{?system_sqlite} +echo "ac_add_options --enable-system-sqlite" >> .mozconfig +%else +echo "ac_add_options --disable-system-sqlite" >> .mozconfig +%endif + # ===== Enigmail work ===== %if 0%{?CVS} mkdir mailnews/extensions/enigmail @@ -288,6 +295,9 @@ cd %{tarballdir} #=============================================================================== %changelog +* Wed Dec 21 2011 Remi Collet 1.3.4-1 +- Enigmail 1.3.4 for Thunderbird 9.0 + * Sat Nov 12 2011 Remi Collet 1.3.3-1 - Enigmail 1.3.3 for Thunderbird 8.0 -- cgit