summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2010-05-30 19:23:18 +0200
committerRemi Collet <fedora@famillecollet.com>2010-05-30 19:23:18 +0200
commitc5886e4c1519a2105b4ddd1882664c5dc47f6cc0 (patch)
treece7d021a004d8b16e65c42fae2ab1c04a4848746
Import thunderbird 3.0.4
-rw-r--r--Makefile4
-rwxr-xr-xfind-external-requires23
-rw-r--r--mozilla-jemalloc.patch24
-rw-r--r--thunderbird-3.0-ppc64.patch42
-rw-r--r--thunderbird-mozconfig35
-rwxr-xr-xthunderbird-mozconfig-branded1
-rw-r--r--thunderbird-mozconfig-debuginfo5
-rw-r--r--thunderbird-open-browser.sh76
-rw-r--r--thunderbird-redhat-default-prefs.js20
-rw-r--r--thunderbird-shared-error.patch15
-rw-r--r--thunderbird-version.patch11
-rw-r--r--thunderbird.desktop13
-rw-r--r--thunderbird.sh.in54
-rw-r--r--thunderbird.spec801
14 files changed, 1124 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..1e65467
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+SRCDIR := $(shell pwd)
+NAME := $(shell basename $(SRCDIR))
+include ../common/Makefile
+
diff --git a/find-external-requires b/find-external-requires
new file mode 100755
index 0000000..d79db1d
--- /dev/null
+++ b/find-external-requires
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# Finds requirements provided outside of the current file set
+
+filelist=`sed "s/[]['\"*?{}]/\\\\\&/g"`
+
+provides=`echo $filelist | /usr/lib/rpm/find-provides`
+
+{
+for f in $filelist ; do
+ echo $f | /usr/lib/rpm/find-requires | while read req ; do
+ found=0
+ for p in $provides ; do
+ if [ "$req" = "$p" ]; then
+ found=1
+ fi
+ done
+ if [ "$found" = "0" ]; then
+ echo $req
+ fi
+ done
+done
+} | sort -u \ No newline at end of file
diff --git a/mozilla-jemalloc.patch b/mozilla-jemalloc.patch
new file mode 100644
index 0000000..2ef0b97
--- /dev/null
+++ b/mozilla-jemalloc.patch
@@ -0,0 +1,24 @@
+diff -r f1af606531f5 memory/jemalloc/jemalloc.h
+--- mozilla/memory/jemalloc/jemalloc.h Sat Nov 22 20:22:22 2008 +0100
++++ mozilla/memory/jemalloc/jemalloc.h Mon Dec 01 16:53:06 2008 -0500
+@@ -45,14 +45,14 @@
+ } jemalloc_stats_t;
+
+ #ifndef MOZ_MEMORY_DARWIN
+-void *malloc(size_t size);
+-void *valloc(size_t size);
+-void *calloc(size_t num, size_t size);
+-void *realloc(void *ptr, size_t size);
+-void free(void *ptr);
++void *malloc(size_t size) __THROW __attribute_malloc__ __wur;
++void *valloc(size_t size) __THROW __attribute_malloc__ __wur;
++void *calloc(size_t num, size_t size) __THROW __attribute_malloc__ __wur;
++void *realloc(void *ptr, size_t size) __THROW __attribute_malloc__ __wur;
++void free(void *ptr) __THROW __attribute_malloc__ __wur;
+ #endif
+
+-int posix_memalign(void **memptr, size_t alignment, size_t size);
++int posix_memalign(void **memptr, size_t alignment, size_t size) __THROW __attribute_malloc__ __wur;
+ void *memalign(size_t alignment, size_t size);
+ size_t malloc_usable_size(const void *ptr);
+ void jemalloc_stats(jemalloc_stats_t *stats);
diff --git a/thunderbird-3.0-ppc64.patch b/thunderbird-3.0-ppc64.patch
new file mode 100644
index 0000000..394524d
--- /dev/null
+++ b/thunderbird-3.0-ppc64.patch
@@ -0,0 +1,42 @@
+--- configure.in.ppc64 2009-07-21 14:01:25.000000000 +0200
++++ configure.in 2009-07-21 14:01:51.000000000 +0200
+@@ -1451,7 +1451,7 @@
+ CPU_ARCH=sparc
+ ;;
+
+-x86_64 | ia64)
++x86_64 | ia64 | ppc64)
+ CPU_ARCH="$OS_TEST"
+ ;;
+ esac
+@@ -4148,6 +4148,9 @@
+ if test -n "${CPU_ARCH}" -a -n "${TARGET_COMPILER_ABI}"; then
+ TARGET_XPCOM_ABI="${CPU_ARCH}-${TARGET_COMPILER_ABI}"
+ fi
++echo CPU_ARCH=${CPU_ARCH}
++echo TARGET_COMPILER_ABI=${TARGET_COMPILER_ABI}
++echo TARGET_XPCOM_ABI=$TARGET_XPCOM_ABI
+
+ dnl Mozilla specific options
+ dnl ========================================================
+--- mozilla/configure.in.ppc64 2009-07-15 22:36:48.000000000 +0200
++++ mozilla/configure.in 2009-07-21 13:57:46.000000000 +0200
+@@ -1317,7 +1317,7 @@
+ CPU_ARCH=sparc
+ ;;
+
+-x86_64 | ia64)
++x86_64 | ia64 | ppc64)
+ CPU_ARCH="$OS_TEST"
+ ;;
+ esac
+@@ -4033,6 +4033,9 @@
+ if test -n "${CPU_ARCH}" -a -n "${TARGET_COMPILER_ABI}"; then
+ TARGET_XPCOM_ABI="${CPU_ARCH}-${TARGET_COMPILER_ABI}"
+ fi
++echo CPU_ARCH=${CPU_ARCH}
++echo TARGET_COMPILER_ABI=${TARGET_COMPILER_ABI}
++echo TARGET_XPCOM_ABI=$TARGET_XPCOM_ABI
+
+ dnl Mozilla specific options
+ dnl ========================================================
diff --git a/thunderbird-mozconfig b/thunderbird-mozconfig
new file mode 100644
index 0000000..3df47c0
--- /dev/null
+++ b/thunderbird-mozconfig
@@ -0,0 +1,35 @@
+mk_add_options MOZ_CO_PROJECT=mail
+ac_add_options --enable-application=mail
+mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb/
+mk_add_options AUTOCONF=autoconf-2.13
+
+#ac_add_options --with-system-png
+
+ac_add_options --prefix="$PREFIX"
+ac_add_options --libdir="$LIBDIR"
+ac_add_options --with-system-nspr
+ac_add_options --with-system-nss
+ac_add_options --with-system-jpeg
+ac_add_options --with-system-zlib
+ac_add_options --with-pthreads
+ac_add_options --disable-tests
+ac_add_options --disable-debug
+ac_add_options --disable-installer
+ac_add_options --enable-optimize="$RPM_OPT_FLAGS"
+ac_add_options --enable-xinerama
+ac_add_options --enable-default-toolkit=cairo-gtk2
+ac_add_options --disable-xprint
+ac_add_options --disable-strip
+ac_add_options --disable-install-strip
+ac_add_options --enable-pango
+ac_add_options --enable-system-cairo
+ac_add_options --enable-svg
+ac_add_options --enable-canvas
+ac_add_options --enable-system-hunspell
+ac_add_options --disable-crashreporter
+
+export BUILD_OFFICIAL=1
+export MOZILLA_OFFICIAL=1
+mk_add_options BUILD_OFFICIAL=1
+mk_add_options MOZILLA_OFFICIAL=1
+
diff --git a/thunderbird-mozconfig-branded b/thunderbird-mozconfig-branded
new file mode 100755
index 0000000..53b376d
--- /dev/null
+++ b/thunderbird-mozconfig-branded
@@ -0,0 +1 @@
+ac_add_options --enable-official-branding
diff --git a/thunderbird-mozconfig-debuginfo b/thunderbird-mozconfig-debuginfo
new file mode 100644
index 0000000..a0ef07a
--- /dev/null
+++ b/thunderbird-mozconfig-debuginfo
@@ -0,0 +1,5 @@
+# For mozilla's debuginfo:
+export CFLAGS="-gstabs+"
+export CXXFLAGS="-gstabs+"
+export MOZ_DEBUG_SYMBOLS=1
+ac_add_options --enable-crashreporter
diff --git a/thunderbird-open-browser.sh b/thunderbird-open-browser.sh
new file mode 100644
index 0000000..c9cefb4
--- /dev/null
+++ b/thunderbird-open-browser.sh
@@ -0,0 +1,76 @@
+#!/bin/bash
+## Copyright (C) 2004 Warren Togami <wtogami@redhat.com>
+## Contributors: David Hill <djh[at]ii.net>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; version 2 of the License.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+#
+# open-browser.sh for MozillaThunderbird
+# Release 5
+#
+# This script is called by MozillaThunderbird in order to launch the web
+# browser specified in gconf key /desktop/gnome/url-handlers/http/command
+#
+
+# Exit with Error Message
+function error_exit() {
+ echo "$1"
+ if [ -a /usr/bin/zenity ]; then
+ /usr/bin/zenity --error --text="$1"
+ else
+ xmessage "$1" &
+ fi
+ exit 1
+}
+
+# No URL specified so set to blank
+url=$1
+if [ -z $url ]; then
+ url=about:blank
+fi
+
+# Use xdg-open if it exists (Gnome 2.6+ only)
+if [ -f /usr/bin/xdg-open ]; then
+ OUTPUT="$(/usr/bin/xdg-open "$url" 2>&1)"
+ if [ $? -ne 0 ]; then
+ error_exit "$OUTPUT"
+ fi
+ exit 0
+fi
+
+# Pull key from gconf, remove %s or "%s", trim leading & trailing spaces
+GCONF=$(gconftool-2 -g /desktop/gnome/url-handlers/http/command 2>/dev/null | sed -e 's/%s//; s/\"\"//; s/^\ *//; s/\ *$//')
+NEEDTERM=$(gconftool-2 -g /desktop/gnome/url-handlers/http/need-terminal 2>/dev/null | sed -e 's/^\ *//; s/\ *$//')
+
+# Check if browser really exists
+which $GCONF 2> /dev/null > /dev/null
+if [ $? -ne 0 ]; then
+ error_exit "ERROR: The browser $GCONF specified in Preferences -> Preferred Applications does not exist."
+fi
+
+# Check if text-mode browser
+if [ "$NEEDTERM" == "true" ]; then
+ PREFTERM=$(gconftool-2 -g /desktop/gnome/applications/terminal/exec 2>/dev/null | sed -e 's/^\ *//; s/\ *$//')
+ TERMARGS=$(gconftool-2 -g /desktop/gnome/applications/terminal/exec_arg 2>/dev/null | sed -e 's/^\ *//; s/\ *$//')
+ # Check if terminal exists
+ which $PREFTERM 2> /dev/null > /dev/null
+ if [ $? -ne 0 ]; then
+ error_exit "ERROR: The terminal $GCONF specified in Preferences -> Preferred Applications does not exist."
+ fi
+ # Execute
+ exec $PREFTERM $TERMARGS $GCONF "$url"
+fi
+
+exec $GCONF "$url"
+
diff --git a/thunderbird-redhat-default-prefs.js b/thunderbird-redhat-default-prefs.js
new file mode 100644
index 0000000..a4bd7a9
--- /dev/null
+++ b/thunderbird-redhat-default-prefs.js
@@ -0,0 +1,20 @@
+pref("app.update.enabled", false);
+pref("app.update.autoInstallEnabled", false);
+# Allow users to set custom colors
+# pref("browser.display.use_system_colors", true);
+pref("general.useragent.vendor", "Fedora");
+pref("general.useragent.vendorSub", "THUNDERBIRD_RPM_VR");
+pref("intl.locale.matchOS", true);
+pref("mail.shell.checkDefaultClient", false);
+pref("toolkit.networkmanager.disable", false);
+
+# Make hyperlinks work
+pref("network.protocol-handler.app.http", "COMMAND");
+pref("network.protocol-handler.app.https", "COMMAND");
+pref("network.protocol-handler.app.ftp", "COMMAND");
+
+# Disable global indexing by default
+pref("mailnews.database.global.indexer.enabled", false);
+
+# Do not switch to Smart Folders after upgrade to 3.0b4
+pref("mail.folder.views.version", "1")
diff --git a/thunderbird-shared-error.patch b/thunderbird-shared-error.patch
new file mode 100644
index 0000000..ae41bbc
--- /dev/null
+++ b/thunderbird-shared-error.patch
@@ -0,0 +1,15 @@
+diff -up comm-central/mail/installer/Makefile.in.shared-error comm-central/mail/installer/Makefile.in
+--- comm-central/mail/installer/Makefile.in.shared-error 2009-09-16 13:47:43.000000000 +0200
++++ comm-central/mail/installer/Makefile.in 2009-09-16 13:48:25.000000000 +0200
+@@ -95,9 +95,11 @@ endif
+ # mozconfig instead.
+ ifndef MAIL_PKG_SHARED
+ ifndef BUILD_STATIC_LIBS
++ifeq (BUILD_STATIC_LIBS, 1)
+ $(error you need an "--enable-static" build to package a build)
+ endif
+ endif
++endif
+
+ # On mozilla-central, packager.mk uses core_abspath to redefine DIST
+ # As the comm-central config.mk doesn't set it, do it ourselves instead
diff --git a/thunderbird-version.patch b/thunderbird-version.patch
new file mode 100644
index 0000000..07979cb
--- /dev/null
+++ b/thunderbird-version.patch
@@ -0,0 +1,11 @@
+--- comm-1.9.1/mail/installer/Makefile.in.old 2010-01-20 14:27:43.000000000 +0100
++++ comm-1.9.1/mail/installer/Makefile.in 2010-01-20 14:29:21.000000000 +0100
+@@ -42,6 +42,8 @@ VPATH = @srcdir@
+
+ include $(DEPTH)/config/autoconf.mk
+
++MOZ_APP_VERSION="__RPM_VERSION_INTERNAL__"
++
+ NO_PKG_FILES = \
+ thunderbird-bin.elf \
+ thunderbird-config \
diff --git a/thunderbird.desktop b/thunderbird.desktop
new file mode 100644
index 0000000..2cf3ab5
--- /dev/null
+++ b/thunderbird.desktop
@@ -0,0 +1,13 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=Thunderbird Email
+GenericName=Email
+Comment=Send and Receive Email
+Exec=thunderbird
+Icon=thunderbird
+Terminal=false
+Type=Application
+StartupWMClass=Thunderbird-bin
+MimeType=message/rfc822;
+StartupNotify=true
diff --git a/thunderbird.sh.in b/thunderbird.sh.in
new file mode 100644
index 0000000..9012fa3
--- /dev/null
+++ b/thunderbird.sh.in
@@ -0,0 +1,54 @@
+#!/bin/sh
+#
+# Startup script for the fedora.us Thunderbird RPM
+# (based on the Mozilla RPM launch script)
+#
+
+##
+## Variables
+##
+MOZ_ARCH=$(uname -m)
+case $MOZ_ARCH in
+ x86_64 | ia64 | s390 )
+ MOZ_LIB_DIR="/usr/lib64"
+ SECONDARY_LIB_DIR="/usr/lib"
+ ;;
+ * )
+ MOZ_LIB_DIR="/usr/lib"
+ SECONDARY_LIB_DIR="/usr/lib64"
+ ;;
+esac
+
+if [ ! -x $MOZ_LIB_DIR/thunderbird-TBIRD_VERSION/thunderbird ]; then
+ if [ ! -x $SECONDARY_LIB_DIR/thunderbird-TBIRD_VERSION/thunderbird ]; then
+ echo "Error: $MOZ_LIB_DIR/thunderbird-TBIRD_VERSION/thunderbird not found"
+ if [ -d $SECONDARY_LIB_DIR ]; then
+ echo " $SECONDARY_LIB_DIR/thunderbird-TBIRD_VERSION/thunderbird not found"
+ fi
+ exit 1
+ fi
+ MOZ_LIB_DIR="$SECONDARY_LIB_DIR"
+fi
+
+MOZ_DIST_BIN="$MOZ_LIB_DIR/thunderbird-TBIRD_VERSION"
+MOZ_PROGRAM="$MOZ_DIST_BIN/thunderbird"
+
+##
+## Set MOZ_ENABLE_PANGO is no longer used because Pango is enabled by default
+## you may use MOZ_DISABLE_PANGO=1 to force disabling of pango
+##
+#MOZ_DISABLE_PANGO=1
+#export MOZ_DISABLE_PANGO
+
+##
+## Set MOZ_APP_LAUNCHER for gnome-session
+##
+export MOZ_APP_LAUNCHER="/usr/bin/thunderbird"
+
+##
+## Disable the GNOME crash dialog, Moz has it's own
+##
+GNOME_DISABLE_CRASH_DIALOG=1
+export GNOME_DISABLE_CRASH_DIALOG
+
+exec $MOZ_PROGRAM "$@"
diff --git a/thunderbird.spec b/thunderbird.spec
new file mode 100644
index 0000000..65e5aa9
--- /dev/null
+++ b/thunderbird.spec
@@ -0,0 +1,801 @@
+%define nspr_version 4.8
+%define nss_version 3.12.3.99
+%define cairo_version 1.8.8
+%define freetype_version 2.1.9
+%define sqlite_version 3.6.14
+%define build_langpacks 1
+%define moz_objdir objdir-tb
+%define thunderbird_app_id \{3550f703-e582-4d05-9a08-453d09bdfdc6\}
+
+# The tarball is pretty inconsistent with directory structure.
+# Sometimes there is a top level directory. That goes here.
+#
+# IMPORTANT: If there is no top level directory, this should be
+# set to the cwd, ie: '.'
+#%define tarballdir .
+%define tarballdir comm-1.9.1
+
+%define official_branding 1
+%define include_debuginfo 0
+
+%define version_internal 3.0
+%define mozappdir %{_libdir}/%{name}-%{version_internal}
+
+Summary: Mozilla Thunderbird mail/newsgroup client
+Name: thunderbird
+Version: 3.0.4
+Release: 1%{?dist}
+URL: http://www.mozilla.org/projects/thunderbird/
+License: MPLv1.1 or GPLv2+ or LGPLv2+
+Group: Applications/Internet
+%if %{official_branding}
+%define tarball thunderbird-%{version}.source.tar.bz2
+%else
+%define tarball thunderbird-3.0b2-source.tar.bz2
+%endif
+Source0: %{tarball}
+#NoSource: 0
+%if %{build_langpacks}
+# Language package archive is build by RH
+Source1: thunderbird-langpacks-%{version}-20100330.tar.bz2
+%endif
+# Config file for compilation
+Source10: thunderbird-mozconfig
+# Config file for branded compilation
+Source11: thunderbird-mozconfig-branded
+# Default preferences for Thunderbird
+Source12: thunderbird-redhat-default-prefs.js
+# Config file for debug builds
+Source13: thunderbird-mozconfig-debuginfo
+# Desktop file
+Source20: thunderbird.desktop
+# TB execute script
+Source21: thunderbird.sh.in
+# Script called when user click on link in message
+Source30: thunderbird-open-browser.sh
+# Finds requirements provided outside of the current file set
+Source100: find-external-requires
+
+# Fix for version issues
+Patch0: thunderbird-version.patch
+# Fix for jemalloc
+Patch1: mozilla-jemalloc.patch
+# Fix for installation fail when building with dynamic linked libraries
+Patch2: thunderbird-shared-error.patch
+
+
+Patch9: thunderbird-3.0-ppc64.patch
+
+%if %{official_branding}
+# Required by Mozilla Corporation
+
+%else
+# Not yet approved by Mozillla Corporation
+
+%endif
+
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%if 0%{?fedora} >= 11
+BuildRequires: nspr-devel >= %{nspr_version}
+BuildRequires: nss-devel >= %{nss_version}
+%endif
+%if %{fedora} >= 11
+BuildRequires: cairo-devel >= %{cairo_version}
+%endif
+BuildRequires: libpng-devel
+BuildRequires: libjpeg-devel
+BuildRequires: zip
+BuildRequires: bzip2-devel
+BuildRequires: zlib-devel, gzip, zip, unzip
+BuildRequires: libIDL-devel
+BuildRequires: gtk2-devel
+BuildRequires: gnome-vfs2-devel
+BuildRequires: libgnome-devel
+BuildRequires: libgnomeui-devel
+BuildRequires: krb5-devel
+BuildRequires: pango-devel
+BuildRequires: freetype-devel >= %{freetype_version}
+BuildRequires: libXt-devel
+BuildRequires: libXrender-devel
+%if 0%{?fedora} >= 10
+BuildRequires: hunspell-devel
+%endif
+%if 0%{?fedora} >= 11
+BuildRequires: sqlite-devel >= %{sqlite_version}
+%endif
+BuildRequires: startup-notification-devel
+BuildRequires: alsa-lib-devel
+BuildRequires: autoconf213
+BuildRequires: desktop-file-utils
+BuildRequires: GConf2-devel
+
+%if 0%{?fedora} >= 9
+Requires: mozilla-filesystem
+%endif
+%if 0%{?fedora} >= 11
+Requires: nspr >= %{nspr_version}
+Requires: nss >= %{nss_version}
+%endif
+%if 0%{?fedora} >= 11
+Requires: sqlite >= %{sqlite_version}
+%endif
+
+Obsoletes: thunderbird3
+
+AutoProv: 0
+%define _use_internal_dependency_generator 0
+%define __find_requires %{SOURCE100}
+
+%description
+Mozilla Thunderbird is a standalone mail and newsgroup client.
+
+#===============================================================================
+
+%prep
+echo CIBLE = %{name}-%{version}-%{release}
+[ -f %{SOURCE1} ] || exit 1
+%setup -q -c
+cd %{tarballdir}
+
+sed -e 's/__RPM_VERSION_INTERNAL__/%{version_internal}/' %{P:%%PATCH0} \
+ > version.patch
+%{__patch} -p1 -b --suffix .version --fuzz=0 < version.patch
+
+%patch1 -p0 -b .jemalloc
+%patch2 -p1 -b .shared-error
+
+
+%patch9 -p0 -b .ppc64
+
+
+%if %{official_branding}
+# Required by Mozilla Corporation
+
+%else
+# Not yet approved by Mozillla Corporation
+
+%endif
+
+
+%{__rm} -f .mozconfig
+cat %{SOURCE10} \
+%if %{fedora} < 11
+ | grep -v system-sqlite \
+%endif
+%if %{fedora} < 11
+ | grep -v system-nss \
+ | grep -v system-nspr \
+ | grep -v system-hunspell \
+%endif
+%if %{fedora} < 11
+ | grep -v system-cairo \
+%endif
+ | tee .mozconfig
+
+%if %{official_branding}
+%{__cat} %{SOURCE11} >> .mozconfig
+%endif
+%if %{include_debuginfo}
+%{__cat} %{SOURCE13} >> .mozconfig
+%endif
+
+sed -e "s/^Name=.*/Name=Thunderbird %{version}/" \
+ -e "s/thunderbird/%{name}/" \
+ %{SOURCE20} | tee %{name}.desktop
+
+#===============================================================================
+
+%build
+cd %{tarballdir}
+
+INTERNAL_GECKO=%{version_internal}
+MOZ_APP_DIR=%{mozappdir}
+
+# Build with -Os as it helps the browser; also, don't override mozilla's warning
+# level; they use -Wall but disable a few warnings that show up _everywhere_
+MOZ_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | %{__sed} -e 's/-O2/-Os/' -e 's/-Wall//')
+
+export RPM_OPT_FLAGS=$MOZ_OPT_FLAGS
+export PREFIX='%{_prefix}'
+export LIBDIR='%{_libdir}'
+
+%define moz_make_flags -j1
+%ifarch ppc ppc64 s390 s390x
+%define moz_make_flags -j1
+%else
+%define moz_make_flags %{?_smp_mflags}
+%endif
+
+export LDFLAGS="-Wl,-rpath,%{mozappdir}"
+export MAKE="gmake %{moz_make_flags}"
+make -f client.mk build
+
+# create debuginfo for crash-stats.mozilla.com
+%if %{include_debuginfo}
+cd %{moz_objdir}
+make buildsymbols
+%endif
+
+#===============================================================================
+
+%install
+%{__rm} -rf $RPM_BUILD_ROOT
+cd %{tarballdir}
+
+INTERNAL_GECKO=%{version_internal}
+
+INTERNAL_APP_NAME=%{name}-${INTERNAL_GECKO}
+MOZ_APP_DIR=%{_libdir}/${INTERNAL_APP_NAME}
+
+cd %{moz_objdir}
+DESTDIR=$RPM_BUILD_ROOT make install
+
+# install icons
+cd -
+%{__cp} other-licenses/branding/%{name}/mailicon16.png \
+ $RPM_BUILD_ROOT/%{mozappdir}/icons/
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
+%{__cp} other-licenses/branding/%{name}/mailicon16.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/thunderbird.png
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps
+%{__cp} other-licenses/branding/%{name}/mailicon22.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps/thunderbird.png
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
+%{__cp} other-licenses/branding/%{name}/mailicon24.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps/thunderbird.png
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
+%{__cp} other-licenses/branding/%{name}/mailicon32.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/thunderbird.png
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
+%{__cp} other-licenses/branding/%{name}/mailicon48.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/thunderbird.png
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps
+%{__cp} other-licenses/branding/%{name}/mailicon256.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps/thunderbird.png
+
+desktop-file-install --vendor mozilla \
+ --dir $RPM_BUILD_ROOT%{_datadir}/applications \
+ --add-category Network \
+ --add-category Email \
+ %{name}.desktop
+
+# set up the thunderbird start script
+rm -f $RPM_BUILD_ROOT/%{_bindir}/thunderbird
+%{__cat} %{SOURCE21} | %{__sed} -e 's,TBIRD_VERSION,%{version_internal},g' > \
+ $RPM_BUILD_ROOT%{_bindir}/thunderbird
+%{__chmod} 755 $RPM_BUILD_ROOT/%{_bindir}/thunderbird
+
+install -Dm755 %{SOURCE30} $RPM_BUILD_ROOT/%{mozappdir}/open-browser.sh
+%{__sed} -i -e 's|LIBDIR|%{_libdir}|g' $RPM_BUILD_ROOT/%{mozappdir}/open-browser.sh
+
+# set up our default preferences
+%{__cat} %{SOURCE12} | %{__sed} -e 's,THUNDERBIRD_RPM_VR,fc%{fedora},g' \
+ -e 's,Fedora,Remi,g' \
+ -e 's,COMMAND,%{mozappdir}/open-browser.sh,g' > \
+ $RPM_BUILD_ROOT/rh-default-prefs
+%{__install} -D $RPM_BUILD_ROOT/rh-default-prefs $RPM_BUILD_ROOT/%{mozappdir}/greprefs/all-remi.js
+%{__install} -D $RPM_BUILD_ROOT/rh-default-prefs $RPM_BUILD_ROOT/%{mozappdir}/defaults/pref/all-remi.js
+%{__rm} $RPM_BUILD_ROOT/rh-default-prefs
+
+%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/thunderbird-config
+
+# own mozilla plugin dir (#135050)
+%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
+
+# own extension directories
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{thunderbird_app_id}
+%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{thunderbird_app_id}
+
+# Install langpacks
+%{__rm} -f %{name}.lang # Delete for --short-circuit option
+touch %{name}.lang
+%if %{build_langpacks}
+%if 0%{?fedora} >= 13
+%{__mkdir_p} $RPM_BUILD_ROOT%{mozappdir}/langpacks
+%else
+%{__mkdir_p} $RPM_BUILD_ROOT%{mozappdir}/extensions
+%endif
+%{__tar} xjf %{SOURCE1}
+for langpack in `ls thunderbird-langpacks/*.xpi`; do
+ language=`basename $langpack .xpi`
+%if 0%{?fedora} >= 13
+ extensiondir=$RPM_BUILD_ROOT%{mozappdir}/langpacks/langpack-$language@thunderbird.mozilla.org
+%else
+ extensiondir=$RPM_BUILD_ROOT%{mozappdir}/extensions/langpack-$language@thunderbird.mozilla.org
+%endif
+ %{__mkdir_p} $extensiondir
+ unzip $langpack -d $extensiondir
+ find $extensiondir -type f | xargs chmod 644
+
+ tmpdir=`mktemp -d %{name}.XXXXXXXX`
+ langtmp=$tmpdir/%{name}/langpack-$language
+ %{__mkdir_p} $langtmp
+ jarfile=$extensiondir/chrome/$language.jar
+ unzip $jarfile -d $langtmp
+
+ find $langtmp -type f | xargs chmod 644
+ %{__rm} -rf $jarfile
+ cd $langtmp
+ zip -r -D $jarfile locale
+ %{__rm} -rf locale
+ cd -
+ %{__rm} -rf $tmpdir
+
+ language=`echo $language | sed -e 's/-/_/g'`
+ extensiondir=`echo $extensiondir | sed -e "s,^$RPM_BUILD_ROOT,,"`
+ echo "%%lang($language) $extensiondir" >> %{name}.lang
+done
+%{__rm} -rf thunderbird-langpacks
+%endif # build_langpacks
+
+
+# Copy over the LICENSE
+cd mozilla
+install -c -m 644 LICENSE $RPM_BUILD_ROOT%{mozappdir}
+cd -
+
+%if 0%{?fedora} >= 7
+# Use the system hunspell dictionaries
+%{__rm} -rf $RPM_BUILD_ROOT/%{mozappdir}/dictionaries
+ln -s %{_datadir}/myspell $RPM_BUILD_ROOT%{mozappdir}/dictionaries
+%endif
+
+# ghost files
+%{__mkdir_p} $RPM_BUILD_ROOT%{mozappdir}/components
+touch $RPM_BUILD_ROOT%{mozappdir}/components/compreg.dat
+touch $RPM_BUILD_ROOT%{mozappdir}/components/xpti.dat
+
+# Add debuginfo for crash-stats.mozilla.com
+%if %{include_debuginfo}
+cp mozilla/dist/thunderbird-%{version}.en-US.linux-%{_target_cpu}-crashreporter-symbols.zip $RPM_BUILD_ROOT/%{_libdir}/debug%{mozappdir}
+mkdir -p $RPM_BUILD_ROOT%{_libdir}/debug%{mozappdir}
+cp %{moz_objdir}/mozilla/dist/thunderbird-%{version}.en-US.linux-i686.crashreporter-symbols.zip $RPM_BUILD_ROOT%{_libdir}/debug%{mozappdir}
+%endif
+
+# RC - provide account type
+[ -f $RPM_BUILD_ROOT%{mozappdir}/isp/gmail.rdf ] || \
+ install -m 644 mailnews/base/ispdata/gmail.rdf $RPM_BUILD_ROOT%{mozappdir}/isp/
+
+[ -f $RPM_BUILD_ROOT%{mozappdir}/isp/movemail.rdf ] || \
+ install -m 644 mailnews/base/ispdata/movemail.rdf $RPM_BUILD_ROOT%{mozappdir}/isp/
+
+[ -f $RPM_BUILD_ROOT%{mozappdir}/isp/rss.rdf ] || \
+ install -m 644 mail/extensions/newsblog/rss.rdf $RPM_BUILD_ROOT%{mozappdir}/isp/
+
+rm -rf $RPM_BUILD_ROOT%{mozappdir}/isp/en-US
+
+
+#===============================================================================
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+#===============================================================================
+
+%pre
+echo -e "\nWARNING : This %{name} RPM is not an official Fedora build and it"
+echo -e "overrides the official one. Don't file bugs on Fedora Project."
+echo -e "Use dedicated forums http://forums.famillecollet.com/\n"
+
+%if %{?fedora}%{!?fedora:99} <= 10
+echo -e "WARNING : Fedora %{fedora} is now EOL :"
+echo -e "You should consider upgrading to a supported release.\n"
+%endif
+
+#===============================================================================
+
+%post
+update-desktop-database &> /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+#===============================================================================
+
+%postun
+update-desktop-database &> /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+#===============================================================================
+
+%files -f %{tarballdir}/%{name}.lang
+%defattr(-,root,root,-)
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(644,root,root) %{_datadir}/applications/mozilla-%{name}.desktop
+%dir %{_datadir}/mozilla/extensions/%{thunderbird_app_id}
+%dir %{_libdir}/mozilla/extensions/%{thunderbird_app_id}
+%dir %{mozappdir}
+%doc %{mozappdir}/LICENSE
+%{mozappdir}/chrome
+%dir %{mozappdir}/components
+%ghost %{mozappdir}/components/compreg.dat
+%ghost %{mozappdir}/components/xpti.dat
+%{mozappdir}/components/*.so
+%{mozappdir}/components/*.xpt
+%attr(644,root,root) %{mozappdir}/components/*.js
+%{mozappdir}/defaults
+%{mozappdir}/dictionaries
+%dir %{mozappdir}/extensions
+%{mozappdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
+%if 0%{?fedora} >= 13
+%dir %{mozappdir}/langpacks
+%endif
+%{mozappdir}/greprefs
+%{mozappdir}/icons
+%{mozappdir}/isp
+%{mozappdir}/mozilla-xremote-client
+%{mozappdir}/open-browser.sh
+%{mozappdir}/res
+%{mozappdir}/run-mozilla.sh
+%{mozappdir}/thunderbird-bin
+%{mozappdir}/thunderbird
+%{mozappdir}/updater
+%{mozappdir}/*.so
+%dir %{mozappdir}/modules
+%{mozappdir}/modules/*.jsm
+%{mozappdir}/modules/*.js
+%dir %{mozappdir}/modules/gloda
+%{mozappdir}/modules/gloda/*.js
+%dir %{mozappdir}/modules/activity
+%{mozappdir}/modules/activity/*.js
+%{mozappdir}/README.txt
+%{mozappdir}/platform.ini
+%{mozappdir}/updater.ini
+%{mozappdir}/application.ini
+%exclude %{mozappdir}/dependentlibs.list
+%exclude %{mozappdir}/removed-files
+%{mozappdir}/update.locale
+%{_datadir}/icons/hicolor/16x16/apps/thunderbird.png
+%{_datadir}/icons/hicolor/22x22/apps/thunderbird.png
+%{_datadir}/icons/hicolor/24x24/apps/thunderbird.png
+%{_datadir}/icons/hicolor/256x256/apps/thunderbird.png
+%{_datadir}/icons/hicolor/32x32/apps/thunderbird.png
+%{_datadir}/icons/hicolor/48x48/apps/thunderbird.png
+%if %{include_debuginfo}
+%{mozappdir}/crashreporter
+%{mozappdir}/crashreporter.ini
+%{mozappdir}/Throbber-small.gif
+%endif
+%if %{fedora} <= 10
+%exclude %{mozappdir}/*.chk
+%endif
+
+#===============================================================================
+
+%changelog
+* Tue Mar 30 2010 Remi Collet <rpms@famillecollet.com> 3.0.4-1.fc#.remi
+- update to 3.0.4
+- sync with F12 and backport to old fedora
+
+* Tue Mar 30 2010 Jan Horak <jhorak@redhat.com> - 3.0.4-1
+- Update to 3.0.4
+
+* Sat Mar 06 2010 Kalev Lember <kalev@smartlink.ee> - 3.0.3-2
+- Own extension directories (#532132)
+
+* Mon Mar 1 2010 Remi Collet <rpms@famillecollet.com> 3.0.3-1.fc#.remi
+- update to 3.0.3
+- sync with F12 and backport to old fedora
+
+* Mon Mar 1 2010 Jan Horak <jhorak@redhat.com> - 3.0.3-1
+- Update to 3.0.3
+
+* Thu Feb 25 2010 Remi Collet <rpms@famillecollet.com> 3.0.2-1.fc#.remi
+- update to 3.0.2
+- sync with F12 and backport to old fedora
+
+* Thu Feb 25 2010 Jan Horak <jhorak@redhat.com> - 3.0.2-1
+- Update to 3.0.2
+
+* Thu Jan 21 2010 Remi Collet <rpms@famillecollet.com> 3.0.1-1.fc#.remi
+- update to 3.0.1
+- sync with F12 and backport to old fedora
+
+* Wed Jan 20 2010 Martin Stransky <stransky@redhat.com> - 3.0.1-1
+- Update to 3.0.1
+
+* Wed Dec 09 2009 Remi Collet <rpms@famillecollet.com> 3.0-4.fc#.remi
+- update to 3.0 - backport to old fedora
+
+* Wed Dec 9 2009 Jan Horak <jhorak@redhat.com> - 3.0-4
+- Update to 3.0
+
+* Wed Dec 02 2009 Remi Collet <rpms@famillecollet.com> 3.0-3.12.rc2.fc#.remi
+- update to 3.0 RC2
+
+* Wed Nov 25 2009 Remi Collet <rpms@famillecollet.com> 3.0-3.12.rc1.fc#.remi
+- update to 3.0 RC1 (sync with F12)
+
+* Wed Nov 25 2009 Jan Horak <jhorak@redhat.com> - 3.0-3.12.rc1
+- Sync with Mozilla latest RC1 build
+
+* Sat Nov 21 2009 Remi Collet <rpms@famillecollet.com> 3.0-3.11.rc1.fc#.remi
+- update to 3.0 RC1 (sync with F12)
+
+* Thu Nov 19 2009 Jan Horak <jhorak@redhat.com> - 3.0-3.11.rc1
+- Update to 3.0 RC1
+
+* Thu Sep 24 2009 Remi Collet <rpms@famillecollet.com> 3.0-2.7.b4.fc#.remi
+- update to 3.0 beta4 (sync with F11)
+
+* Thu Sep 17 2009 Jan Horak <jhorak@redhat.com> - 3.0-2.7
+- Update to 3.0 beta4
+
+* Tue Jul 21 2009 Remi Collet <rpms@famillecollet.com> 3.0-2.5.b3.fc#.remi
+- update to 3.0 beta3 (sync with F11)
+
+* Sat Jul 18 2009 Remi Collet <rpms@famillecollet.com> 3.0-0.3.b3.build1.fc#.remi
+- update to 3.0 beta3 build1
+
+* Thu Jul 16 2009 Jan Horak <jhorak@redhat.com> - 3.0-2.5
+- Update to 3.0 beta3
+
+* Sun May 17 2009 Remi Collet <rpms@famillecollet.com> 3.0-0.2.b2.fc#.remi
+- rebuild with thunderbird-imap-startup-crash.patch
+
+* Sun Mar 15 2009 Remi Collet <rpms@famillecollet.com> 3.0-0.b2.fc#.remi
+- Update to 3.0 beta2 (named thunderbird3)
+
+* Mon Mar 2 2009 Jan Horak <jhorak@redhat.com> - 3.0-1.beta2
+- Update to 3.0 beta2
+- Added Patch2 to build correctly when building with --enable-shared option
+
+* Thu Jan 01 2009 Remi Collet <rpms@famillecollet.com> 2.0.0.19-1.fc#.remi
+- Update to 2.0.0.19
+
+* Sat Dec 20 2008 Remi Collet <rpms@famillecollet.com> 2.0.0.19-0.build1.fc10.remi
+- Update to 2.0.0.19 build1
+
+* Thu Nov 20 2008 Remi Collet <rpms@famillecollet.com> 2.0.0.18-1.fc#.remi
+- Update to 2.0.0.18
+
+* Mon Nov 10 2008 Remi Collet <rpms@famillecollet.com> 2.0.0.18-0.build1.fc10.remi
+- Update to 2.0.0.18 build1
+
+* Thu Sep 25 2008 Remi Collet <rpms@famillecollet.com> 2.0.0.17-1.fc#.remi
+- Update to 2.0.0.17
+
+* Mon Sep 15 2008 Remi Collet <rpms@famillecollet.com> 2.0.0.17-0.build1.fc9.remi
+- Update to 2.0.0.17 (build1)
+
+* Wed Jul 16 2008 Remi Collet <rpms@famillecollet.com> 2.0.0.16-1.fc#.remi
+- Update to 2.0.0.16
+
+* Sun May 04 2008 Remi Collet <rpms@famillecollet.com> 2.0.0.14-1.fc9.remi
+- rebuild
+- obsoletes thunderbird-langpack-fr
+
+* Thu May 1 2008 Christopher Aillon <caillon@redhat.com> - 2.0.0.14-1
+- Update to 2.0.0.14
+- Use the system dictionaries
+
+* Mon Apr 7 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.12-4
+- Add %%lang attributes to langpacks
+
+* Sat Mar 15 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.12-3
+- Avoid conflict between gecko debuginfos
+
+* Mon Mar 03 2008 Martin Stransky <stransky@redhat.com> 2.0.0.12-2
+- Updated starting script (#426331)
+
+* Thu Feb 28 2008 Remi Collet <rpms@famillecollet.com> 2.0.0.12-1.fc8.remi.1
+- SECAlgorithmID.patch
+- add EOL warning for older Fedora version
+
+* Tue Feb 26 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.12-1
+- Update to 2.0.0.12
+- Fix up icon location and some scriptlets
+
+* Tue Feb 26 2008 Remi Collet <rpms@famillecollet.com> 2.0.0.12-1.fc8.remi
+- 2.0.0.12 final + sync with rawhide
+
+* Tue Feb 26 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.12-1
+- Update to 2.0.0.12
+- Fix up icon location and some scriptlets
+
+* Sun Dec 9 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.9-2
+- Fix some rpmlint warnings
+- Drop some old patches and obsoletes
+
+* Thu Nov 15 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.9-1
+- Update to 2.0.0.9
+
+* Wed Nov 14 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.9-1.fc8.remi
+- 2.0.0.9 final
+
+* Sun Nov 04 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.9-0.1.rc1.fc8.remi
+- 2.0.0.9 RC1
+
+* Thu Nov 02 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.6-6.fc8.remi
+- F8 rebuild
+
+* Wed Sep 26 2007 Martin Stransky <stransky@redhat.com> 2.0.0.6-6
+- Fixed #242657 - firefox -g doesn't work
+
+* Tue Sep 25 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.6-5
+- Removed hardcoded MAX_PATH, PATH_MAX and MAXPATHLEN macros
+
+* Tue Sep 11 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.6-4
+- Fix crashes when using GTK+ themes containing a gtkrc which specify
+ GtkOptionMenu::indicator_size and GtkOptionMenu::indicator_spacing
+
+* Mon Sep 10 2007 Martin Stransky <stransky@redhat.com> 2.0.0.6-3
+- added fix for #246248 - firefox crashes when searching for word "do"
+
+* Mon Aug 13 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.6-2
+- Update the license tag
+
+* Sat Aug 11 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.6-1.fc#.remi
+- rebuild
+
+* Wed Aug 8 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.6-1
+- Update to 2.0.0.6
+- Own the application directory (#244901)
+
+* Fri Jul 20 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.5-1.fc#.remi
+- 2.0.0.5 final
+
+* Fri Jun 15 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.4-1.fc#.remi
+- 2.0.0.4 final
+
+* Wed Jun 06 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.4-0.rc1.fc7.remi
+- F7 build, rewind release, out enigmail
+
+* Sat May 05 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.0-1.fc7.remi
+- F7 build, rewind release, out enigmail
+- use %%lang for langpacks
+
+* Sat May 05 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.0-3.fc#.remi
+- ppc build
+- bug : enigmail still in thunderbird package
+
+* Sun Apr 22 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.0-2.fc#.remi
+- add gmail, movemail and rss account wizard
+
+* Thu Apr 19 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-1
+- Update to 2.0.0.0 Final
+
+* Thu Apr 19 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.0-1.fc#.remi
+- changes from rawhide SRPM
+- update to 2.0.0.0 final
+- split enigmail and update to 0.95.0
+
+* Fri Apr 13 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-0.5.rc1
+- Fix the desktop file
+- Clean up the files list
+- Remove the default client stuff from the pref window
+
+* Thu Apr 12 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-0.4.rc1
+- Rebuild into Fedora
+
+* Wed Apr 11 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-0.3.rc1
+- Update langpacks
+
+* Fri Apr 06 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.0-0.4.rc1.fc6.remi
+- change desktop entry name
+
+* Fri Apr 06 2007 Remi Collet <rpms@famillecollet.com> 2.0.0.0-0.3.rc1.fc6.remi
+- update to 2.0.0.0rc1
+
+* Thu Apr 5 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-0.2.rc1
+- Build option tweaks
+- Bring the install section to parity with Firefox's
+
+* Thu Apr 5 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-0.1.rc1
+- Update to 2.0.0.0 RC1
+
+* Thu Mar 08 2007 Remi Collet <rpms@famillecollet.com> 2.0-0.2.b2.fc6.remi
+- update to enigmail 0.94.3 (security update)
+
+* Sun Jan 28 2007 Remi Collet <rpms@famillecollet.com> 2.0-0.1.b2.fc6.remi
+- First 2.0b2 build
+
+* Sun Jan 28 2007 Remi Collet <rpms@famillecollet.com> 1.5.0.9-3.fc6.remi.1
+- add upstream dnd-nograb.patch
+
+* Sat Jan 27 2007 Remi Collet <rpms@famillecollet.com> 1.5.0.9-3.fc6.remi
+- update enigmail-0.94.2
+
+* Sun Dec 24 2006 Remi Collet <rpms@famillecollet.com> 1.5.0.9-2.fc6.remi
+- add enigmail, thanks Suse.
+
+* Thu Dec 21 2006 Behdad Esfahbod <besfahbo@redhat.com> 1.5.0.9-5
+- Added firefox-1.5-pango-underline.patch
+
+* Thu Dec 21 2006 Remi Collet <rpms@famillecollet.com> 1.5.0.9-1.fc4.remi
+- rebuild for FC4 from official FC6 SRPM.
+
+* Wed Dec 20 2006 Behdad Esfahbod <besfahbo@redhat.com> 1.5.0.9-4
+- Added firefox-1.5-pango-justified-range.patch
+
+* Tue Dec 19 2006 Behdad Esfahbod <besfahbo@redhat.com> 1.5.0.9-3
+- Added firefox-1.5-pango-cursor-position-more.patch
+
+* Tue Dec 19 2006 Christopher Aillon <caillon@redhat.com> 1.5.0.9-1
+- Update to 1.5.0.9
+- Take firefox's pango fixes
+- Don't offer to import...nothing.
+
+* Wed Nov 8 2006 Remi Collet <rpms@famillecollet.com> 1.5.0.8-1.fc4.remi
+- rebuild for FC4 from official FC5 SRPM.
+
+* Tue Nov 7 2006 Christopher Aillon <caillon@redhat.com> 1.5.0.8-1
+- Update to 1.5.0.8
+- Allow choosing of download directory
+- Take the user to the correct directory from the Download Manager.
+- Patch to add support for printing via pango from Behdad.
+- Sync up default invisible character with GTK+
+
+* Sat Sep 16 2006 Remi Collet <rpms@famillecollet.com> 1.5.0.7-1.fc4.remi
+- rebuild for FC4 from official FC5 SRPM.
+
+* Wed Sep 13 2006 Christopher Aillon <caillon@redhat.com> - 1.5.0.7-1
+- Update to 1.5.0.7
+
+* Tue Aug 08 2006 Kai Engert <kengert@redhat.com> - 1.5.0.5-1.1
+- Update to 1.5.0.5
+- Use dist tag
+
+* Fri Jun 27 2006 Remi Collet <RPMS@FamilleCollet.com> - 1.5.0.5-1.fc{4,5}.remi
+- Update to 1.5.0.5 (32 langpacks, new : ga-IE)
+
+* Mon Jun 12 2006 Kai Engert <kengert@redhat.com> - 1.5.0.4-1.1.fc5
+- Update to 1.5.0.4
+- Fix desktop-file-utils requires
+
+* Fri Jun 02 2006 Remi Collet <RPMS@FamilleCollet.com> - 1.5.0.4-1.fc{4,5}.remi
+- Update to 1.5.0.4
+
+* Thu Apr 20 2006 Remi Collet <RPMS@FamilleCollet.com> - 1.5.0.2-1.fc5.remi
+- rebuild for FC5 and for FUN
+
+* Thu Apr 20 2006 Remi Collet <RPMS@FamilleCollet.com> - 1.5.0.2-1.fc4.remi
+- Update to 1.5.0.2
+
+* Wed Apr 19 2006 Christopher Aillon <caillon@redhat.com> - 1.5.0.2-1.1.fc5
+- Update to 1.5.0.2
+
+* Sat Mar 04 2006 Remi Collet <RPMS@FamilleCollet.com> - 1.5-3.fc4.remi
+- rebuild for FC4
+- provide a default icon, see #177823
+
+* Fri Feb 10 2006 Christopher Aillon <caillon@redhat.com> - 1.5-3
+- Add dumpstack.patch
+- Improve the langpack install stuff
+
+* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.5-2.1
+- rebuilt for new gcc4.1 snapshot and glibc changes
+
+* Fri Jan 27 2006 Christopher Aillon <caillon@redhat.com> - 1.5-2
+- Add some langpacks back in
+- Stop providing MozillaThunderbird
+
+* Thu Jan 12 2006 Christopher Aillon <caillon@redhat.com> - 1.5-1
+- Official 1.5 release is out
+
+* Thu Jan 12 2006 Remi Collet <remi.collet@univ-reims.fr> - 1.5-1.fc4.remi
+- Update to 1.5 (finale)
+
+* Fri Dec 23 2005 Remi Collet <remi.collet@univ-reims.fr> - 1.5-0.2.fc4.remi
+- Update to 1.5 rc2
+
+* Sun Dec 18 2005 Remi Collet <remi.collet@univ-reims.fr> - 1.5-0.1.fc4.remi
+- rebuild for FC4
+- disable system nspr
+
+* Mon Nov 28 2005 Christopher Aillon <caillon@redhat.com> - 1.5-0.5.1.rc1
+- Fix issue with popup dialogs and other actions causing lockups
+
+* Sat Nov 5 2005 Christopher Aillon <caillon@redhat.com> 1.5-0.5.0.rc1
+- Update to 1.5 rc1
+
+* Sat Oct 8 2005 Christopher Aillon <caillon@redhat.com> 1.5-0.5.0.beta2
+- Update to 1.5 beta2
+
+* Wed Sep 28 2005 Christopher Aillon <caillon@redhat.com> 1.5-0.5.0.beta1
+- Update to 1.5 beta1
+- Bring the install phase of the spec file up to speed