ea29f4
# Set for local builds only
83ba88
%global disable_toolsets  0
83ba88
f96689
%ifarch %{ix86}
f96689
  # no debug package for the i686 because oom on i686 with debuginfos
f96689
  #FIXME revise if still necessary
f96689
  %global debug_package %{nil}
83ba88
%endif
83ba88
29285d
%{lua:
29285d
function dist_to_rhel_minor(str, start)
29285d
  match = string.match(str, ".module%+el8.%d+")
29285d
  if match then
29285d
     return string.sub(match, 13)
29285d
  end
29285d
  match = string.match(str, ".el8_%d+")
29285d
  if match then
29285d
     return string.sub(match, 6)
29285d
  end
29285d
  match = string.match(str, ".el8")
29285d
  if match then
29285d
     return 5
29285d
  end
29285d
  return -1
29285d
end}
29285d
29285d
%global rhel_minor_version %{lua:print(dist_to_rhel_minor(rpm.expand("%dist")))}
f96689
%global build_with_clang  0
83ba88
83ba88
%global system_nss        1
83ba88
%global bundle_nss        0
83ba88
83ba88
%if 0%{?rhel} == 8
f96689
  %if %{rhel_minor_version} < 3
f96689
    %global bundle_nss        1
f96689
    %global system_nss        1
83ba88
  %endif
83ba88
%endif
83ba88
83ba88
%define use_bundled_ffi   0
83ba88
83ba88
# Don't use system hunspell for now
83ba88
%global system_hunspell   0
ea29f4
%global use_llvmts        0
f96689
%global use_nodejsts      0
f96689
%if 0%{?rhel} < 8
ea29f4
%global use_llvmts        1
f96689
%global use_nodejsts      1
ea29f4
%endif
ae11a9
f96689
%global nodejs_rb         nodejs
f96689
%global llvm_version      7.0
f96689
f96689
%if 0%{?rhel} == 8
f96689
%global llvm_version      6.0
83ba88
%endif
f96689
f96689
%if 0%{?rhel} == 7
f96689
  %global use_dts         1
f96689
  %global nodejs_rb       rh-nodejs10-nodejs
f96689
  %global llvm_version    11.0
a8a561
%endif
a8a561
ae11a9
%global use_rustts        1
f96689
%if 0%{?rhel} >= 9
f96689
  %global use_rustts      0
0fe52e
%endif
ea29f4
f96689
%global dts_version       10
f96689
%global rust_version      1.52
f96689
ea29f4
%if 0%{?disable_toolsets}
ea29f4
%global use_rustts        0
ea29f4
%global use_dts           0
ea29f4
%global use_llvmts        0
ea29f4
%endif
ea29f4
5b75f5
# Big endian platforms
ae11a9
%ifarch ppc64 s390x
5b75f5
# Javascript Intl API is not supported on big endian platforms right now:
5b75f5
# https://bugzilla.mozilla.org/show_bug.cgi?id=1322212
83ba88
%global big_endian        1
5b75f5
%endif
a8a561
83ba88
# Hardened build?
83ba88
%global hardened_build    1
83ba88
83ba88
%ifarch %{ix86} x86_64
83ba88
%global run_tests         0
83ba88
%else
83ba88
%global run_tests         0
83ba88
%endif
83ba88
83ba88
# Build as a debug package?
83ba88
%global debug_build       0
e75128
432c6c
%define thunderbird_app_id      \{3550f703-e582-4d05-9a08-453d09bdfdc6\}
83ba88
# Minimal required versions
e75128
83ba88
%if 0%{?system_nss}
f96689
%global nspr_version 4.32
83ba88
# NSS/NSPR quite often ends in build override, so as requirement the version
83ba88
# we're building against could bring us some broken dependencies from time to time.
f96689
#%global nspr_build_version %(pkg-config --silence-errors --modversion nspr 2>/dev/null || echo 65536)
83ba88
%global nspr_build_version %{nspr_version}
83ba88
%global nss_version 3.53.1
f96689
#%global nss_build_version %(pkg-config --silence-errors --modversion nss 2>/dev/null || echo 65536)
83ba88
%global nss_build_version %{nss_version}
e75128
%endif
e75128
83ba88
# GTK3 bundling
83ba88
%define avoid_bundled_rebuild   0
83ba88
f96689
%define bundled_install_path %{mozappdir}/bundled
ae11a9
ae11a9
# We could use %%include, but in %%files, %%post and other sections, but in these
ae11a9
# sections it could lead to syntax errors about unclosed %%if. Work around it by
ae11a9
# using the following macro
ae11a9
%define include_file() %{expand:%(cat '%1')}
ae11a9
83ba88
%global mozappdir     %{_libdir}/%{name}
83ba88
%global mozappdirdev  %{_libdir}/%{name}-devel-%{version}
f96689
%global langpackdir   %{mozappdir}/extensions
83ba88
%global tarballdir    %{name}-%{version}
83ba88
#global pre_tag       alpha
e75128
83ba88
%global official_branding       1
83ba88
%global build_langpacks         1
e75128
Summary:        Mozilla Thunderbird mail/newsgroup client
e75128
Name:           thunderbird
f96689
Version:        91.2.0
081acc
Release:        1%{?dist}
e75128
URL:            http://www.mozilla.org/projects/thunderbird/
e75128
License:        MPLv1.1 or GPLv2+ or LGPLv2+
e75128
Group:          Applications/Internet
a8a561
f96689
%if 0%{?rhel} == 9
f96689
ExcludeArch:    %{ix86}
f96689
%endif
f96689
%if 0%{?rhel} == 8
f96689
ExcludeArch:    %{ix86}
f96689
%endif
ae11a9
%if 0%{?rhel} == 7
ae11a9
ExcludeArch:    s390 ppc
ae11a9
%endif
a8a561
f96689
# We can't use the official tarball as it contains some test files that use
f96689
# licenses that are rejected by Red Hat Legal.
f96689
# The official tarball has to be always processed by the process-official-tarball
f96689
# script.
f96689
# Link to official tarball: https://hg.mozilla.org/releases/mozilla-release/archive/firefox-%%{version}%%{?pre_version}.source.tar.xz
f96689
Source0:        thunderbird-%{version}%{?pre_version}.processed-source.tar.xz
e75128
%if %{build_langpacks}
f96689
Source1:        thunderbird-langpacks-%{version}%{?ext_version}-20211004.tar.xz
eae897
%endif
f96689
Source2:        cbindgen-vendor.tar.xz
eae897
Source3:        get-calendar-langpacks.sh
f96689
Source4:        process-official-tarball
e02199
e75128
Source10:       thunderbird-mozconfig
e75128
Source20:       thunderbird.desktop
e75128
Source21:       thunderbird.sh.in
ae11a9
Source24:       mozilla-api-key
ae11a9
Source27:       google-api-key
ea29f4
Source28:       node-stdout-nonblocking-wrapper
e873b9
Source701:      thunderbird-centos-default-prefs.js.el7
e75128
f96689
Source403:      nss-3.67.0-6.el8_1.src.rpm
83ba88
Source401:      nss-setup-flags-env.inc
f96689
Source402:      nspr-4.32.0-1.el8_1.src.rpm
f96689
e75128
# Build patches
ea29f4
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1699374
ea29f4
Patch1001:      build-ppc64le-inline.patch
ea29f4
Patch1003:      python-missing-utimensat.patch
f96689
Patch1008:        build-rhel7-nasm-dwarf.patch
f96689
Patch1009:        build-debuginfo-fix.patch
ea29f4
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1699374
ae11a9
Patch4:         build-mozconfig-fix.patch
ae11a9
Patch6:         build-nss-version.patch
ae11a9
ae11a9
# Fedora/RHEL specific patches
ae11a9
Patch215:        firefox-enable-addons.patch
ae11a9
Patch219:        rhbz-1173156.patch
ae11a9
Patch224:        mozilla-1170092.patch
f3e046
Patch237:        disable-openpgp-in-thunderbird.patch
a8a561
a8a561
# Upstream patches
a8a561
83ba88
Patch503:        mozilla-s390-context.patch
83ba88
Patch505:        mozilla-bmo1005535.patch
83ba88
Patch506:        mozilla-bmo1504834-part1.patch
83ba88
Patch507:        mozilla-bmo1504834-part2.patch
83ba88
Patch508:        mozilla-bmo1504834-part3.patch
83ba88
Patch509:        mozilla-bmo1504834-part4.patch
83ba88
Patch510:        mozilla-bmo1554971.patch
83ba88
Patch511:        mozilla-bmo1602730.patch
83ba88
Patch512:        mozilla-bmo849632.patch
83ba88
Patch513:        mozilla-bmo998749.patch
83ba88
Patch514:        mozilla-s390x-skia-gradient.patch
83ba88
Patch515:        mozilla-bmo1626236.patch
83ba88
f96689
Patch10000:       Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch
f96689
Patch10001:       Bug-1526653---fix_user_vfp_armv7.patch
e75128
83ba88
%if %{?system_nss}
83ba88
%if !0%{?bundle_nss}
83ba88
BuildRequires:  pkgconfig(nspr) >= %{nspr_version}
83ba88
BuildRequires:  pkgconfig(nss) >= %{nss_version}
83ba88
BuildRequires:  nss-static >= %{nss_version}
83ba88
%endif
83ba88
%endif
ae11a9
BuildRequires:  pkgconfig(libpng)
a8a561
BuildRequires:  xz
83ba88
BuildRequires:  libXt-devel
83ba88
BuildRequires:  mesa-libGL-devel
ae11a9
Requires:       liberation-fonts-common
ae11a9
Requires:       liberation-sans-fonts
ae11a9
BuildRequires:  libjpeg-devel
83ba88
BuildRequires:  zip
83ba88
BuildRequires:  bzip2-devel
83ba88
BuildRequires:  pkgconfig(zlib)
83ba88
BuildRequires:  pkgconfig(gtk+-2.0)
83ba88
BuildRequires:  krb5-devel
83ba88
BuildRequires:  pkgconfig(pango)
f96689
BuildRequires:  pkgconfig(freetype2) >= 2.1.9
83ba88
BuildRequires:  pkgconfig(xt)
83ba88
BuildRequires:  pkgconfig(xrender)
83ba88
%if %{?system_hunspell}
83ba88
BuildRequires:  hunspell-devel
ae11a9
%endif
83ba88
BuildRequires:  pkgconfig(libstartup-notification-1.0)
83ba88
BuildRequires:  pkgconfig(libnotify)
83ba88
BuildRequires:  pkgconfig(dri)
83ba88
BuildRequires:  pkgconfig(libcurl)
83ba88
BuildRequires:  dbus-glib-devel
f96689
BuildRequires:  m4
f96689
83ba88
BuildRequires:  pkgconfig(libpulse)
ae11a9
ae11a9
%if 0%{?use_dts}
ae11a9
BuildRequires:  devtoolset-%{dts_version}-gcc-c++
ae11a9
BuildRequires:  devtoolset-%{dts_version}-gcc
ae11a9
BuildRequires:  devtoolset-%{dts_version}-libatomic-devel
ae11a9
%endif
f96689
%if 0%{?rhel} == 9
f96689
BuildRequires:  gcc
f96689
BuildRequires:  gcc-c++
f96689
BuildRequires:  cargo
f96689
BuildRequires:  rust
f96689
BuildRequires:  clang clang-libs llvm
a8a561
%endif
83ba88
ea29f4
BuildRequires:  scl-utils
83ba88
BuildRequires:  findutils
83ba88
f96689
BuildRequires:  %{nodejs_rb} >= 10.21
f96689
BuildRequires:  python3
83ba88
ae11a9
%if 0%{?rhel} == 8
432c6c
BuildRequires:  cargo
ea29f4
BuildRequires:  rust >= %{rust_version}
0fe52e
BuildRequires:  llvm >= %{llvm_version}
0fe52e
BuildRequires:  llvm-devel >= %{llvm_version}
0fe52e
BuildRequires:  clang >= %{llvm_version}
82b545
BuildRequires:  clang-devel >= %{llvm_version}
83ba88
BuildRequires:  rustfmt >= %{rust_version}
ea29f4
%else
ea29f4
%if 0%{?use_rustts}
f96689
BuildRequires:  rust-toolset-%{rust_version}
83ba88
%endif
ea29f4
%if 0%{?use_llvmts}
ea29f4
BuildRequires:  llvm-toolset-%{llvm_version}
ea29f4
BuildRequires:  llvm-toolset-%{llvm_version}-llvm-devel
f96689
BuildRequires:  llvm-toolset-%{llvm_version}-clang
f96689
BuildRequires:  llvm-toolset-%{llvm_version}-clang-devel
ea29f4
%endif
a8a561
%endif
ea29f4
f96689
BuildRequires:  nasm
f96689
%if %{build_with_clang}
f96689
BuildRequires:  lld
83ba88
%endif
83ba88
83ba88
%if 0%{?rhel} == 8
29285d
  %if %{rhel_minor_version} >= 3
83ba88
BuildRequires:  pkgconfig(libpipewire-0.3)
83ba88
  %else
83ba88
BuildRequires:  pipewire-devel
83ba88
  %endif
a8a561
%endif
a8a561
ae11a9
BuildRequires:        gtk3-devel
ae11a9
BuildRequires:        glib2-devel
f96689
BuildRequires:        perl-interpreter
83ba88
83ba88
# Bundled nss/nspr requirement
83ba88
%if 0%{?bundle_nss}
83ba88
BuildRequires:    nss-softokn
83ba88
BuildRequires:    sqlite-devel
83ba88
BuildRequires:    zlib-devel
83ba88
BuildRequires:    pkgconfig
83ba88
BuildRequires:    gawk
83ba88
BuildRequires:    psmisc
83ba88
BuildRequires:    gcc-c++
83ba88
BuildRequires:    xmlto
83ba88
%endif
83ba88
f96689
83ba88
Requires:       mozilla-filesystem
83ba88
Requires:       p11-kit-trust
ae11a9
%if %{?system_nss}
83ba88
%if !0%{?bundle_nss}
83ba88
Requires:       nspr >= %{nspr_build_version}
83ba88
Requires:       nss >= %{nss_build_version}
83ba88
%endif
a8a561
%endif
a8a561
83ba88
BuildRequires:  desktop-file-utils
83ba88
BuildRequires:  system-bookmarks
83ba88
Requires:       redhat-indexhtml
83ba88
83ba88
%if %{?run_tests}
83ba88
BuildRequires:  xorg-x11-server-Xvfb
a8a561
%endif
83ba88
ae11a9
BuildRequires:  pkgconfig(libffi)
114730
114730
%if 0%{?big_endian}
114730
  %if 0%{?flatpak}
114730
BuildRequires:  icu
114730
  %endif
114730
%endif
114730
ae11a9
Obsoletes:      thunderbird-lightning
a8a561
# ==================================================================================
e75128
f96689
# Bundled libraries
f96689
Provides: bundled(angle)
f96689
Provides: bundled(cairo)
f96689
Provides: bundled(graphite2)
f96689
Provides: bundled(harfbuzz)
f96689
Provides: bundled(ots)
f96689
Provides: bundled(sfntly)
f96689
Provides: bundled(skia)
f96689
Provides: bundled(thebes)
f96689
Provides: bundled(WebRender)
f96689
Provides: bundled(audioipc-2)
f96689
Provides: bundled(ffvpx)
f96689
Provides: bundled(kissfft)
f96689
Provides: bundled(libaom)
f96689
Provides: bundled(libcubeb)
f96689
Provides: bundled(libdav1d)
f96689
Provides: bundled(libjpeg)
f96689
Provides: bundled(libmkv)
f96689
Provides: bundled(libnestegg)
f96689
Provides: bundled(libogg)
f96689
Provides: bundled(libopus)
f96689
Provides: bundled(libpng)
f96689
Provides: bundled(libsoundtouch)
f96689
Provides: bundled(libspeex_resampler)
f96689
Provides: bundled(libtheora)
f96689
Provides: bundled(libtremor)
f96689
Provides: bundled(libvorbis)
f96689
Provides: bundled(libvpx)
f96689
Provides: bundled(libwebp)
f96689
Provides: bundled(libyuv)
f96689
Provides: bundled(mp4parse-rust)
f96689
Provides: bundled(mtransport)
f96689
Provides: bundled(openmax_dl)
f96689
Provides: bundled(double-conversion)
f96689
Provides: bundled(brotli)
f96689
Provides: bundled(fdlibm)
f96689
Provides: bundled(freetype2)
f96689
Provides: bundled(libmar)
f96689
Provides: bundled(woff2)
f96689
Provides: bundled(xz-embedded)
f96689
Provides: bundled(zlib)
f96689
Provides: bundled(expat)
f96689
Provides: bundled(msgpack-c)
f96689
Provides: bundled(libprio)
f96689
Provides: bundled(rlbox_sandboxing_api)
f96689
Provides: bundled(sqlite3)
f96689
f96689
%if 0%{?bundle_nss}
f96689
Provides: bundled(nss) = 3.67.0
f96689
Provides: bundled(nspr) = 4.32.0
f96689
%endif
e75128
%description
e75128
Mozilla Thunderbird is a standalone mail and newsgroup client.
e75128
e75128
e75128
%prep
83ba88
echo "Build environment"
83ba88
echo "dist                  %{?dist}"
29285d
echo "RHEL 8 minor version: %{rhel_minor_version}"
83ba88
echo "use_bundled_ffi       %{?use_bundled_ffi}"
83ba88
echo "bundle_nss            %{?bundle_nss}"
83ba88
echo "system_nss            %{?system_nss}"
83ba88
echo "use_rustts            %{?use_rustts}"
83ba88
83ba88
ae11a9
%setup -q -n %{tarballdir}
ae11a9
# Firefox patches
a8a561
ae11a9
%patch4  -p1 -b .build-mozconfig-fix
f96689
%patch6  -p1 -b .nss-version
ae11a9
ae11a9
# Fedora patches
ae11a9
%patch215 -p1 -b .addons
0fe52e
%patch219 -p1 -b .rhbz-1173156
4f0c3e
%patch224 -p1 -b .1170092
29285d
ae11a9
# Patch for big endian platforms only
ae11a9
%if 0%{?big_endian}
ae11a9
%endif
e75128
ae11a9
# Thunderbird patches
83ba88
%patch503 -p1 -b .mozilla-s390-context
83ba88
%patch505 -p1 -b .mozilla-bmo1005535
83ba88
%patch506 -p1 -b .mozilla-bmo1504834-part1
83ba88
%patch507 -p1 -b .mozilla-bmo1504834-part2
83ba88
%patch508 -p1 -b .mozilla-bmo1504834-part3
83ba88
%patch509 -p1 -b .mozilla-bmo1504834-part4
83ba88
%patch510 -p1 -b .mozilla-bmo1554971
83ba88
%patch511 -p1 -b .mozilla-bmo1602730
83ba88
%patch512 -p1 -b .mozilla-bmo849632
83ba88
%patch513 -p1 -b .mozilla-bmo998749
83ba88
%patch514 -p1 -b .mozilla-s390x-skia-gradient
83ba88
%patch515 -p1 -b .mozilla-bmo1626236
f96689
%patch237 -p1 -b .disable-openpgp-in-thunderbird
83ba88
83ba88
ea29f4
%patch1001 -p1 -b .ppc64le-inline
f96689
%if 0%{?rhel} == 7
f96689
# fix the /usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character
f96689
%patch1009 -p1 -b .build-debuginfo-fix
f96689
  %ifarch %{ix86}
f96689
# -F dwarf not available in RHEL7's nasm
f96689
%patch1008 -p1 -b .build-rhel7-nasm-dwarf
f96689
  %endif
f96689
%endif
f96689
f96689
%ifarch %{arm}
83ba88
%patch10000 -p1 -b .mozilla-1238661
f96689
%patch10001 -p1 -b .mozilla-152665
83ba88
%endif
e75128
e75128
%{__rm} -f .mozconfig
e75128
%{__cp} %{SOURCE10} .mozconfig
a8a561
# Modify mozconfig file
e75128
%if %{official_branding}
f96689
echo "ac_add_options --enable-official-branding" >> .mozconfig
e75128
%endif
ae11a9
%{__cp} %{SOURCE24} mozilla-api-key
ae11a9
%{__cp} %{SOURCE27} google-api-key
e02199
a8a561
%if %{?system_nss}
f96689
echo "ac_add_options --with-system-nspr" >> .mozconfig
f96689
echo "ac_add_options --with-system-nss" >> .mozconfig
e75128
%else
f96689
echo "ac_add_options --without-system-nspr" >> .mozconfig
f96689
echo "ac_add_options --without-system-nss" >> .mozconfig
e02199
%endif
e02199
f96689
%ifarch %{ix86} x86_64
f96689
echo "ac_add_options --disable-elf-hack" >> .mozconfig
e75128
%endif
e02199
83ba88
%if %{?system_hunspell}
83ba88
echo "ac_add_options --enable-system-hunspell" >> .mozconfig
83ba88
%endif
83ba88
a8a561
%if %{?debug_build}
f96689
echo "ac_add_options --enable-debug" >> .mozconfig
f96689
echo "ac_add_options --disable-optimize" >> .mozconfig
e75128
%else
ae11a9
%global optimize_flags "-g -O2"
f96689
%ifarch s390x
83ba88
%global optimize_flags "-g -O1"
ae11a9
%endif
ae11a9
%ifarch ppc64le aarch64
ae11a9
%global optimize_flags "-g -O2"
ae11a9
%endif
ae11a9
%if %{optimize_flags} != "none"
ae11a9
echo 'ac_add_options --enable-optimize=%{?optimize_flags}' >> .mozconfig
ae11a9
%else
ae11a9
echo 'ac_add_options --enable-optimize' >> .mozconfig
ae11a9
%endif
ae11a9
echo "ac_add_options --disable-debug" >> .mozconfig
ae11a9
%endif
ae11a9
ae11a9
# Second arches fail to start with jemalloc enabled
ae11a9
%ifnarch %{ix86} x86_64
ae11a9
echo "ac_add_options --disable-jemalloc" >> .mozconfig
a8a561
%endif
a8a561
ae11a9
%ifnarch %{ix86} x86_64
ae11a9
echo "ac_add_options --disable-webrtc" >> .mozconfig
ae11a9
%endif
ae11a9
f96689
%ifarch s390x
83ba88
echo "ac_add_options --disable-jit" >> .mozconfig
83ba88
%endif
83ba88
83ba88
%ifnarch %{ix86}
83ba88
%if !0%{?debug_build}
83ba88
echo "ac_add_options --disable-debug-symbols" >> .mozconfig
83ba88
%endif
ae11a9
%endif
a8a561
f96689
# AV1 requires newer nasm that was rebased in 8.4
f96689
%if 0%{?rhel} == 7 || (0%{?rhel} == 8 && %{rhel_minor_version} < 4)
f96689
echo "ac_add_options --disable-av1" >> .mozconfig
f96689
%endif
f96689
ea29f4
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
e75128
f96689
cat .mozconfig
f96689
ae11a9
# Remove executable bit to make brp-mangle-shebangs happy.
ae11a9
chmod -x third_party/rust/itertools/src/lib.rs
83ba88
chmod a-x third_party/rust/gfx-backend-vulkan/src/*.rs
83ba88
chmod a-x third_party/rust/gfx-hal/src/*.rs
83ba88
chmod a-x third_party/rust/ash/src/extensions/ext/*.rs
83ba88
chmod a-x third_party/rust/ash/src/extensions/khr/*.rs
83ba88
chmod a-x third_party/rust/ash/src/extensions/mvk/*.rs
83ba88
chmod a-x third_party/rust/ash/src/extensions/nv/*.rs
ae11a9
f96689
#---------------------------------------------------------------------
e75128
e75128
%build
f96689
# Disable LTO to work around rhbz#1883904
f96689
%define _lto_cflags %{nil}
83ba88
ulimit -a
83ba88
free
83ba88
#set -e
ea29f4
# Hack for missing shell when building in brew on RHEL6
a8a561
ae11a9
%if ! 0%{?avoid_bundled_rebuild}
ae11a9
    rm -rf %{_buildrootdir}/*
ae11a9
%endif
ae11a9
export PATH="%{_buildrootdir}/bin:$PATH"
ae11a9
ae11a9
function install_rpms_to_current_dir() {
ae11a9
    PACKAGE_RPM=$(eval echo $1)
ae11a9
    PACKAGE_DIR=%{_rpmdir}
ae11a9
ae11a9
    if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
ae11a9
        # Hack for tps tests
ae11a9
        ARCH_STR=%{_arch}
f96689
        %ifarch %{ix86}
ae11a9
            ARCH_STR="i?86"
ae11a9
        %endif
f96689
        PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
ae11a9
     fi
ae11a9
ae11a9
     for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
ae11a9
     do
ae11a9
         echo "$package"
ae11a9
         rpm2cpio "$package" | cpio -idu
ae11a9
     done
ae11a9
}
ae11a9
a8a561
function build_bundled_package() {
a8a561
  PACKAGE_RPM=$1
a8a561
  PACKAGE_FILES=$2
a8a561
  PACKAGE_SOURCE=$3
83ba88
  PACKAGE_BUILD_OPTIONS=$4
ea29f4
  export PACKAGE_DIR="%{_topdir}/RPMS"
a8a561
a8a561
  PACKAGE_ALREADY_BUILD=0
ae11a9
  %if %{?avoid_bundled_rebuild}
a8a561
    if ls $PACKAGE_DIR/$PACKAGE_RPM; then
a8a561
      PACKAGE_ALREADY_BUILD=1
a8a561
    fi
a8a561
    if ls $PACKAGE_DIR/%{_arch}/$PACKAGE_RPM; then
a8a561
      PACKAGE_ALREADY_BUILD=1
a8a561
    fi
a8a561
  %endif
a8a561
  if [ $PACKAGE_ALREADY_BUILD == 0 ]; then
a8a561
    echo "Rebuilding $PACKAGE_RPM from $PACKAGE_SOURCE"; echo "==============================="
83ba88
    rpmbuild --nodeps $PACKAGE_BUILD_OPTIONS --rebuild $PACKAGE_SOURCE
83ba88
    cat /var/tmp/rpm-tmp*
a8a561
  fi
a8a561
83ba88
  find $PACKAGE_DIR
a8a561
  if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
a8a561
    # Hack for tps tests
a8a561
    ARCH_STR=%{_arch}
f96689
    %ifarch %{ix86}
a8a561
    ARCH_STR="i?86"
a8a561
    %endif
f96689
    export PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
a8a561
  fi
a8a561
  pushd $PACKAGE_DIR
ea29f4
a8a561
  echo "Installing $PACKAGE_DIR/$PACKAGE_RPM"; echo "==============================="
83ba88
  pwd
ea29f4
  PACKAGE_LIST=$(echo $PACKAGE_DIR/$PACKAGE_RPM | tr " " "\n")
ea29f4
  for PACKAGE in $PACKAGE_LIST
ea29f4
  do
ea29f4
      rpm2cpio $PACKAGE | cpio -iduv
ea29f4
  done
ea29f4
ea29f4
  PATH=$PACKAGE_DIR/usr/bin:$PATH
ea29f4
  export PATH
ea29f4
  LD_LIBRARY_PATH=$PACKAGE_DIR/usr/%{_lib}:$LD_LIBRARY_PATH
ea29f4
  export LD_LIBRARY_PATH
ea29f4
a8a561
  # Clean rpms to avoid including them to package
ae11a9
  %if ! 0%{?avoid_bundled_rebuild}
a8a561
    rm -f $PACKAGE_FILES
a8a561
  %endif
a8a561
a8a561
  popd
a8a561
}
a8a561
83ba88
%if 0%{?bundle_nss}
f96689
  rpm -ivh %{SOURCE402}
f96689
  #rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nspr.spec
f96689
  rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nspr.spec
f96689
  pushd %{_buildrootdir}
f96689
  install_rpms_to_current_dir nspr-4*.rpm
f96689
  install_rpms_to_current_dir nspr-devel*.rpm
f96689
  popd
f96689
  echo "Setting nspr flags"
f96689
  # nss-setup-flags-env.inc
f96689
  sed -i 's@%{bundled_install_path}@%{_buildrootdir}%{bundled_install_path}@g' %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/nspr*.pc
f96689
f96689
  export LDFLAGS="-L%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
f96689
  export LDFLAGS="-Wl,-rpath,%{bundled_install_path}/%{_lib} $LDFLAGS"
f96689
  export LDFLAGS="-Wl,-rpath-link,%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
f96689
  export PKG_CONFIG_PATH=%{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig
f96689
  export PATH="{_buildrootdir}%{bundled_install_path}/bin:$PATH"
83ba88
f96689
  export PATH=%{_buildrootdir}/%{bundled_install_path}/bin:$PATH
f96689
  echo $PKG_CONFIG_PATH
f96689
f96689
  rpm -ivh %{SOURCE403}
f96689
  rpmbuild --nodeps --define '_prefix %{bundled_install_path}' -ba %{_specdir}/nss.spec
f96689
  pushd %{_buildrootdir}
f96689
  #cleanup
f96689
  #rm -rf {_buildrootdir}/usr/lib/debug/*
f96689
  #rm -rf {_buildrootdir}/usr/lib/.build-id
f96689
  install_rpms_to_current_dir nss-3*.rpm
f96689
  install_rpms_to_current_dir nss-devel*.rpm
f96689
  install_rpms_to_current_dir nss-pkcs11-devel*.rpm
f96689
  install_rpms_to_current_dir nss-softokn-3*.rpm
f96689
  install_rpms_to_current_dir nss-softokn-devel*.rpm
f96689
  install_rpms_to_current_dir nss-softokn-freebl-3*.rpm
f96689
  install_rpms_to_current_dir nss-softokn-freebl-devel*.rpm
f96689
  install_rpms_to_current_dir nss-util-3*.rpm
f96689
  install_rpms_to_current_dir nss-util-devel*.rpm
f96689
  popd
f96689
  %filter_provides_in %{bundled_install_path}/%{_lib}
f96689
  %filter_requires_in %{bundled_install_path}/%{_lib}
ddd8a0
  %filter_from_requires /libnss3.so.*/d
ddd8a0
  %filter_from_requires /libsmime3.so.*/d
ddd8a0
  %filter_from_requires /libssl3.so.*/d
ddd8a0
  %filter_from_requires /libnssutil3.so.*/d
ddd8a0
  %filter_from_requires /libnspr4.so.*/d
f96689
  find %{_buildrootdir}
83ba88
%endif
83ba88
ae11a9
%if 0%{use_bundled_ffi}
ae11a9
  # Install libraries to the predefined location to later add them to the Firefox libraries
ae11a9
  rpm -ivh %{SOURCE303}
f96689
  rpmbuild --nodeps --define '_prefix %{bundled_install_path}' -ba %{_specdir}/libffi.spec
ae11a9
  pushd %{_buildrootdir}
ae11a9
  install_rpms_to_current_dir 'libffi*.rpm'
ae11a9
  popd
ae11a9
  %filter_from_requires /libffi.so.6/d
a8a561
%endif
ae11a9
%filter_setup
a8a561
ea29f4
function replace_prefix() {
ea29f4
  FILE_NAME=$1
ea29f4
  PKG_CONFIG_PREFIX=$2
ea29f4
ea29f4
  cat $FILE_NAME | tail -n +2 > tmp.txt
ea29f4
  echo "$PKG_CONFIG_PREFIX" > $FILE_NAME
ea29f4
  cat tmp.txt >> $FILE_NAME
ea29f4
  rm -rf tmp.txt
ea29f4
}
ea29f4
ae11a9
# We need to disable exit on error temporarily for the following scripts:
ae11a9
set +e
ae11a9
%if 0%{?use_dts}
ae11a9
source scl_source enable devtoolset-%{dts_version}
ae11a9
%endif
ae11a9
%if 0%{?use_rustts}
f96689
source scl_source enable rust-toolset-%{rust_version}
f96689
%endif
f96689
%if 0%{?use_nodejsts}
f96689
source scl_source enable rh-nodejs10
ae11a9
%endif
e75128
83ba88
env
83ba88
which gcc
83ba88
which c++
83ba88
which g++
83ba88
which ld
f96689
which nasm
ea29f4
# Build and install local node if needed
ea29f4
# ======================================
f96689
export MOZ_NODEJS=`which node`
ea29f4
ea29f4
mkdir -p my_rust_vendor
ea29f4
cd my_rust_vendor
83ba88
%{__tar} xf %{SOURCE2}
ea29f4
cd -
ea29f4
mkdir -p .cargo
ea29f4
cat > .cargo/config <
ea29f4
[source.crates-io]
ea29f4
replace-with = "vendored-sources"
ea29f4
ea29f4
[source.vendored-sources]
ea29f4
directory = "`pwd`/my_rust_vendor"
ea29f4
EOL
ea29f4
ea29f4
export CARGO_HOME=.cargo
ea29f4
cargo install cbindgen
ea29f4
export PATH=`pwd`/.cargo/bin:$PATH
ea29f4
export CBINDGEN=`pwd`/.cargo/bin/cbindgen
ea29f4
83ba88
# debug missing sqlite3 python module
f96689
export MACH_USE_SYSTEM_PYTHON=1
83ba88
./mach python -c "import sys;print(sys.path)"
5b75f5
ea29f4
mkdir %{_buildrootdir}/bin || :
ea29f4
cp %{SOURCE28} %{_buildrootdir}/bin || :
83ba88
chmod +x %{_buildrootdir}/bin/node-stdout-nonblocking-wrapper
ea29f4
e02199
# Update the various config.guess to upstream release for aarch64 support
ae11a9
find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
ae11a9
ae11a9
# -fpermissive is needed to build with gcc 4.6+ which has become stricter
ae11a9
#
ae11a9
# Mozilla builds with -Wall with exception of a few warnings which show up
ae11a9
# everywhere in the code; so, don't override that.
ae11a9
#
ae11a9
# Disable C++ exceptions since Mozilla code is not exception-safe
ae11a9
#
ae11a9
MOZ_OPT_FLAGS=$(echo "%{optflags}" | %{__sed} -e 's/-Wall//')
ae11a9
#rhbz#1037063
ae11a9
# -Werror=format-security causes build failures when -Wno-format is explicitly given
ae11a9
# for some sources
ae11a9
# Explicitly force the hardening flags for Firefox so it passes the checksec test;
ae11a9
# See also https://fedoraproject.org/wiki/Changes/Harden_All_Packages
ae11a9
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
f96689
ae11a9
%if %{?hardened_build}
f96689
  MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
f96689
  %endif
ae11a9
%if %{?debug_build}
f96689
  MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
e75128
%endif
83ba88
83ba88
# We don't wantfirefox to use CK_GCM_PARAMS_V3 in nss
83ba88
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT"
83ba88
f96689
%if !%{build_with_clang}
f96689
  %ifarch aarch64 %{ix86} x86_64 s390x
f96689
    MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
f96689
  %endif
f96689
  %ifarch %{ix86}
f96689
    MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--strip-debug"
f96689
    echo "ac_add_options --enable-linker=gold" >> .mozconfig
f96689
  %endif
a8a561
%endif
f96689
f96689
%if 0%{?bundle_nss}
f96689
  mkdir -p %{_buildrootdir}%{bundled_install_path}/%{_lib}
f96689
  MOZ_LINK_FLAGS="-L%{_buildrootdir}%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
f96689
  MOZ_LINK_FLAGS="-Wl,-rpath,%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
f96689
  MOZ_LINK_FLAGS="-Wl,-rpath-link,%{_buildrootdir}%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
1023e2
%endif
1023e2
f96689
%ifarch %{ix86}
f96689
  export RUSTFLAGS="-Cdebuginfo=0"
f96689
  echo 'export RUSTFLAGS="-Cdebuginfo=0"' >> .mozconfig
83ba88
%endif
e75128
e75128
export PREFIX='%{_prefix}'
e75128
export LIBDIR='%{_libdir}'
ea29f4
export CC=gcc
ea29f4
export CXX=g++
f96689
echo "export CFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
f96689
echo "export CXXFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
f96689
echo "export LDFLAGS=\"$MOZ_LINK_FLAGS\"" >> .mozconfig
f96689
f96689
%if %{build_with_clang}
f96689
  echo "export LLVM_PROFDATA=\"llvm-profdata\"" >> .mozconfig
f96689
  echo "export AR=\"llvm-ar\"" >> .mozconfig
f96689
  echo "export NM=\"llvm-nm\"" >> .mozconfig
f96689
  echo "export RANLIB=\"llvm-ranlib\"" >> .mozconfig
f96689
  echo "ac_add_options --enable-linker=lld" >> .mozconfig
f96689
%else
f96689
  echo "export CC=gcc" >> .mozconfig
f96689
  echo "export CXX=g++" >> .mozconfig
f96689
  echo "export AR=\"gcc-ar\"" >> .mozconfig
f96689
  echo "export NM=\"gcc-nm\"" >> .mozconfig
f96689
  echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig
f96689
%endif
a8a561
e75128
MOZ_SMP_FLAGS=-j1
ea29f4
# More than two build tasks can lead to OOM gcc crash.
ea29f4
%if 0%{?rhel} < 8
f96689
  [ -z "$RPM_BUILD_NCPUS" ] && \
f96689
       RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
f96689
  [ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
ea29f4
%else
f96689
  %ifarch %{ix86} x86_64 ppc64 ppc64le aarch64
f96689
  [ -z "$RPM_BUILD_NCPUS" ] && \
f96689
       RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
f96689
    [ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
f96689
    [ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j3
f96689
    [ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j3
f96689
  %endif
ea29f4
%endif
e02199
83ba88
cat /proc/meminfo
83ba88
# Free memory in kB
83ba88
f96689
# Free memory in kB
f96689
if grep -q MemAvailable /proc/meminfo; then
f96689
    MEM_AVAILABLE=$(grep MemAvailable /proc/meminfo | awk '{ print $2 }')
f96689
else
f96689
    MEM_AVAILABLE=$(grep MemFree /proc/meminfo | awk '{ print $2 }')
f96689
fi
83ba88
83ba88
# Usually the compiler processes can take 2 GB of memory at peaks
83ba88
TASK_SIZE=4000000
83ba88
MEM_CONSTRAINED_JOBS=$(( MEM_AVAILABLE / TASK_SIZE ))
f96689
f96689
if [ $MEM_CONSTRAINED_JOBS -le 0 ]; then
f96689
  MEM_CONSTRAINED_JOBS=1
f96689
fi
f96689
83ba88
CPU_AVAILABLE=$(/usr/bin/getconf _NPROCESSORS_ONLN)
83ba88
# Pick the minimum from available CPUs or memory constrained number of jobs
f96689
MOZ_SMP_FLAGS=-j$([ "$CPU_AVAILABLE" -le "$MEM_CONSTRAINED_JOBS" ] && echo "$CPU_AVAILABLE" || echo "$MEM_CONSTRAINED_JOBS")
83ba88
f96689
# override smp flags to the rpmbuild defaults ATM
f96689
%ifnarch ppc64le
f96689
MOZ_SMP_FLAGS=%{_smp_mflags}
ae11a9
%endif
8a9d71
f96689
%ifarch s390x
f96689
MOZ_SMP_FLAGS=-j2
f96689
%endif
83ba88
83ba88
%if 0%{?bundle_nss}
f96689
  echo "Setting nss flags"
f96689
  # nss-setup-flags-env.inc
f96689
  %include_file %{SOURCE401}
f96689
  export PATH=%{_buildrootdir}/%{bundled_install_path}/bin:$PATH
f96689
  echo $PKG_CONFIG_PATH
83ba88
%endif
ae11a9
ae11a9
export MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
ae11a9
#export MOZ_SERVICES_SYNC="1"
83ba88
# we need to strip the sources on i686 because to we don't use rpm to generate debugsymbols because of oom
f96689
%ifnarch %{ix86}
f96689
  export STRIP=/bin/true
83ba88
%endif
83ba88
which node
83ba88
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"'
83ba88
env
83ba88
ls %{_buildrootdir}
83ba88
f96689
export MACH_USE_SYSTEM_PYTHON=1
83ba88
%if 0%{?use_llvmts}
f96689
  #scl enable llvm-toolset-%{llvm_version} './mach build -v'
f96689
  ./mach build -v
83ba88
%else
f96689
  ./mach build -v
83ba88
%endif
f96689
# Look for the reason we get: /usr/lib/rpm/debugedit: canonicalization unexpectedly shrank by one character
f96689
readelf -wl objdir/dist/bin/libxul.so | grep "/"
ae11a9
ae11a9
#---------------------------------------------------------------------
e75128
e75128
%install
f96689
export MACH_USE_SYSTEM_PYTHON=1
ae11a9
function install_rpms_to_current_dir() {
ae11a9
    PACKAGE_RPM=$(eval echo $1)
ae11a9
    PACKAGE_DIR=%{_rpmdir}
ae11a9
ae11a9
    if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
ae11a9
        # Hack for tps tests
ae11a9
        ARCH_STR=%{_arch}
f96689
        %ifarch %{ix86}
ae11a9
            ARCH_STR="i?86"
ae11a9
        %endif
f96689
        PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
ae11a9
     fi
ae11a9
ae11a9
     for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
ae11a9
     do
ae11a9
         echo "$package"
ae11a9
         rpm2cpio "$package" | cpio -idu
ae11a9
     done
ae11a9
}
ae11a9
83ba88
%if 0%{?bundle_nss}
83ba88
  pushd %{buildroot}
83ba88
  #install_rpms_to_current_dir nss-*.rpm
83ba88
  install_rpms_to_current_dir nspr-4*.rpm
83ba88
  install_rpms_to_current_dir nss-3*.rpm
83ba88
  install_rpms_to_current_dir nss-softokn-3*.rpm
83ba88
  install_rpms_to_current_dir nss-softokn-freebl-3*.rpm
83ba88
  install_rpms_to_current_dir nss-util-3*.rpm
f96689
83ba88
  # cleanup unecessary nss files
f96689
  #rm -rf %{_buildrootdir}/%{bundled_install_path}/bin
f96689
  #rm -rf %{_buildrootdir}/%{bundled_install_path}/include
f96689
  rm -rf %{buildroot}/%{bundled_install_path}/lib/dracut
f96689
  rm -rf %{buildroot}/%{bundled_install_path}/%{_lib}/nss
f96689
  #rm -rf %{_buildrootdir}/%{bundled_install_path}/%{_lib}/pkgconfig
f96689
  rm -rf %{buildroot}/%{bundled_install_path}/%{_lib}/share
f96689
  rm -rf %{buildroot}/%{bundled_install_path}/share
83ba88
  rm -rf %{buildroot}/etc/pki
83ba88
  rm -rf %{buildroot}/usr/lib/.build-id
83ba88
  rm -rf %{buildroot}/etc/crypto-policies
83ba88
  popd
83ba88
%endif
83ba88
ae11a9
# Install bundled libffi
ae11a9
%if %{use_bundled_ffi}
ae11a9
  pushd %{buildroot}
ae11a9
  install_rpms_to_current_dir libffi-3*.rpm
ae11a9
  popd
ae11a9
%endif
ae11a9
ae11a9
DESTDIR=%{buildroot} make -C objdir install
e75128
ae11a9
%{__mkdir_p} %{buildroot}{%{_libdir},%{_bindir},%{_datadir}/applications}
e75128
ae11a9
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE20}
ae11a9
ae11a9
# set up the thunderbird start script
ae11a9
rm -rf %{buildroot}%{_bindir}/thunderbird
ae11a9
%{__rm} -rf %{buildroot}%{_bindir}/thunderbird
ae11a9
%{__cat} %{SOURCE21} > %{buildroot}%{_bindir}/thunderbird
29285d
sed -i -e 's|%PREFIX%|%{_prefix}|' %{buildroot}%{_bindir}/thunderbird
ae11a9
sed -i -e 's|%RHEL_ENV_VARS%||' %{buildroot}%{_bindir}/thunderbird
ae11a9
%{__chmod} 755 %{buildroot}%{_bindir}/thunderbird
e75128
f96689
%{__cat} %{SOURCE701} | %{__sed} -e 's,THUNDERBIRD_RPM_VR,%{version}-%{release},g' > \
ae11a9
        %{buildroot}/rh-default-prefs
ae11a9
%{__install} -D %{buildroot}/rh-default-prefs %{buildroot}/%{mozappdir}/greprefs/all-redhat.js
ae11a9
%{__install} -D %{buildroot}/rh-default-prefs %{buildroot}/%{mozappdir}/defaults/pref/all-redhat.js
ae11a9
%{__rm} %{buildroot}/rh-default-prefs
e75128
a8a561
# install icons
a8a561
for s in 16 22 24 32 48 256; do
ae11a9
    %{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps
ae11a9
    %{__cp} -p comm/mail/branding/%{name}/default${s}.png \
ae11a9
               %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/thunderbird.png
a8a561
done
a8a561
ae11a9
%{__rm} -f %{buildroot}%{_bindir}/thunderbird-config
e75128
e75128
# own mozilla plugin dir (#135050)
ae11a9
%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/plugins
e75128
e75128
# own extension directories
ae11a9
%{__mkdir_p} %{buildroot}%{_datadir}/mozilla/extensions/%{thunderbird_app_id}
ae11a9
%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/extensions/%{thunderbird_app_id}
e75128
e75128
# Install langpacks
ae11a9
echo > %{name}.lang
e75128
%if %{build_langpacks}
a8a561
# Extract langpacks, make any mods needed, repack the langpack, and install it.
ae11a9
%{__mkdir_p} %{buildroot}%{langpackdir}
ae11a9
%{__tar} xf %{SOURCE1}
e75128
for langpack in `ls thunderbird-langpacks/*.xpi`; do
e75128
  language=`basename $langpack .xpi`
e75128
  extensionID=langpack-$language@thunderbird.mozilla.org
a8a561
  %{__mkdir_p} $extensionID
f96689
  unzip -qq $langpack -d $extensionID
a8a561
  find $extensionID -type f | xargs chmod 644
e75128
a8a561
  cd $extensionID
f96689
  zip -qq -r9mX ../${extensionID}.xpi *
a8a561
  cd -
a8a561
ae11a9
  %{__install} -m 644 ${extensionID}.xpi %{buildroot}%{langpackdir}
e75128
  language=`echo $language | sed -e 's/-/_/g'`
ae11a9
  echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> %{name}.lang
e75128
done
e75128
%{__rm} -rf thunderbird-langpacks
a8a561
83ba88
echo "Adding following langpacks:"
83ba88
cat %{name}.lang
83ba88
%endif
e75128
e75128
# Get rid of devel package and its debugsymbols
ae11a9
%{__rm} -rf %{buildroot}%{_libdir}/%{name}-devel-%{version}
e75128
e75128
# Copy over the LICENSE
ae11a9
%{__install} -p -c -m 644 LICENSE %{buildroot}/%{mozappdir}
e75128
ae11a9
# Use the system hunspell dictionaries
ae11a9
%{__rm} -rf %{buildroot}%{mozappdir}/dictionaries
ae11a9
ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
e75128
e75128
# ghost files
ae11a9
%{__mkdir_p} %{buildroot}%{mozappdir}/components
ae11a9
touch %{buildroot}%{mozappdir}/components/compreg.dat
ae11a9
touch %{buildroot}%{mozappdir}/components/xpti.dat
e75128
a8a561
# Clean thunderbird-devel debuginfo
a8a561
rm -rf %{_prefix}/lib/debug/lib/%{name}-devel-*
a8a561
rm -rf %{_prefix}/lib/debug/lib64/%{name}-devel-*
e02199
83ba88
83ba88
# Removing librnp.so - we cannot deliver that in RHELs
f96689
%{__rm} -rf %{buildroot}%{mozappdir}/librnp.so
29285d
29285d
# Register as an application to be visible in the software center
29285d
#
29285d
# NOTE: It would be *awesome* if this file was maintained by the upstream
29285d
# project, translated and installed into the right place during `make install`.
29285d
#
29285d
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
29285d
#
4037d0
%{__mkdir_p} %{buildroot}%{_datadir}/appdata
4037d0
cat > %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml <
29285d
29285d
29285d
29285d
BugReportURL: https://bugzilla.mozilla.org/show_bug.cgi?id=1071065
29285d
SentUpstream: 2014-09-22
29285d
-->
29285d
<application>
29285d
  <id type="desktop">mozilla-thunderbird.desktop</id>
29285d
  <metadata_license>CC0-1.0</metadata_license>
29285d
  <project_license>MPLv1.1 or GPLv2+ or LGPLv2+</project_license>
29285d
  <description>
29285d
    

29285d
      Thunderbird is an email client that allows you to read, write and organise all
29285d
      of your email messages. It is compatible with most email accounts, including the
29285d
      most popular webmail services.
29285d
    

29285d
    

29285d
      Thunderbird is designed by Mozilla, a global community working together to make
29285d
      the Internet better. Mozilla believe that the Internet should be open, public,
29285d
      and accessible to everyone without any restrictions.
29285d
    

29285d
    
    29285d
          
  • Easier than ever to set up a new e-mail account
  • 29285d
          
  • Awesome search allows you to find your messages fast
  • 29285d
          
  • Thousands of add-ons give you the freedom to make Thunderbird your own
  • 29285d
        
    29285d
      </description>
    29285d
      <url type="homepage">http://www.mozilla.org/thunderbird/</url>
    29285d
      <screenshots>
    29285d
        <screenshot type="default">https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/mozilla-thunderbird/a.png</screenshot>
    29285d
      </screenshots>
    29285d
      <releases>
    29285d
        <release version="%{version}" date="$(date '+%F')"/>
    29285d
      </releases>
    29285d
      
    29285d
      <updatecontact>someone_who_cares@upstream_project.org</updatecontact>
    29285d
       -->
    29285d
    </application>
    29285d
    EOF
    83ba88
    a8a561
    #---------------------------------------------------------------------
    e02199
    a8a561
    %clean
    ae11a9
    rm -rf %{_srcrpmdir}/libffi*.src.rpm
    ae11a9
    find %{_rpmdir} -name "libffi*.rpm" -delete
    ea29f4
    rm -rf %{_srcrpmdir}/openssl*.src.rpm
    ea29f4
    find %{_rpmdir} -name "openssl*.rpm" -delete
    83ba88
    rm -rf %{_srcrpmdir}/nss*.src.rpm
    83ba88
    find %{_rpmdir} -name "nss*.rpm" -delete
    83ba88
    rm -rf %{_srcrpmdir}/nspr*.src.rpm
    83ba88
    find %{_rpmdir} -name "nspr*.rpm" -delete
    e75128
    e75128
    %post
    e75128
    update-desktop-database &> /dev/null || :
    e75128
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
    e75128
    e75128
    %postun
    f96689
    update-desktop-database &> /dev/null || :
    e75128
    if [ $1 -eq 0 ] ; then
    e75128
        touch --no-create %{_datadir}/icons/hicolor &>/dev/null
    e75128
        gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
    e75128
    fi
    e75128
    e75128
    %posttrans
    e75128
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
    e75128
    e75128
    #===============================================================================
    f96689
    %files -f %{name}.lang
    e75128
    %defattr(-,root,root,-)
    e75128
    %attr(755,root,root) %{_bindir}/thunderbird
    29285d
    %{_datadir}/appdata/*.appdata.xml
    a8a561
    %attr(644,root,root) %{_datadir}/applications/thunderbird.desktop
    e75128
    %dir %{_datadir}/mozilla/extensions/%{thunderbird_app_id}
    e75128
    %dir %{_libdir}/mozilla/extensions/%{thunderbird_app_id}
    e75128
    %dir %{mozappdir}
    e75128
    %doc %{mozappdir}/LICENSE
    e75128
    %{mozappdir}/chrome
    e75128
    %dir %{mozappdir}/components
    e75128
    %ghost %{mozappdir}/components/compreg.dat
    e75128
    %ghost %{mozappdir}/components/xpti.dat
    f96689
    %if %{build_langpacks}
    f96689
    %dir %{langpackdir}
    f96689
    %endif
    f96689
    e75128
    %{mozappdir}/omni.ja
    e75128
    %{mozappdir}/plugin-container
    e75128
    %{mozappdir}/defaults
    e75128
    %{mozappdir}/dictionaries
    e75128
    %{mozappdir}/greprefs
    e75128
    %{mozappdir}/isp
    e75128
    %{mozappdir}/thunderbird-bin
    e75128
    %{mozappdir}/thunderbird
    e75128
    %{mozappdir}/*.so
    e75128
    %{mozappdir}/platform.ini
    e75128
    %{mozappdir}/application.ini
    e75128
    %exclude %{mozappdir}/removed-files
    e75128
    %{_datadir}/icons/hicolor/16x16/apps/thunderbird.png
    e75128
    %{_datadir}/icons/hicolor/22x22/apps/thunderbird.png
    e75128
    %{_datadir}/icons/hicolor/24x24/apps/thunderbird.png
    e75128
    %{_datadir}/icons/hicolor/256x256/apps/thunderbird.png
    e75128
    %{_datadir}/icons/hicolor/32x32/apps/thunderbird.png
    e75128
    %{_datadir}/icons/hicolor/48x48/apps/thunderbird.png
    ae11a9
    %{mozappdir}/pingsender
    e75128
    %{mozappdir}/dependentlibs.list
    ea29f4
    %{mozappdir}/fonts/TwemojiMozilla.ttf
    ea29f4
    ae11a9
    %if !%{?system_nss}
    ae11a9
    %exclude %{mozappdir}/libnssckbi.so
    ae11a9
    %endif
    ae11a9
    %if 0%{use_bundled_ffi}
    ae11a9
    %{mozappdir}/bundled/%{_lib}/libffi.so*
    ae11a9
    %exclude %{_datadir}/doc/libffi*
    ae11a9
    %endif
    ae11a9
    83ba88
    %if 0%{?bundle_nss}
    83ba88
    %{mozappdir}/bundled/%{_lib}/libfreebl*
    83ba88
    %{mozappdir}/bundled/%{_lib}/libnss3*
    83ba88
    %{mozappdir}/bundled/%{_lib}/libnssdbm3*
    83ba88
    %{mozappdir}/bundled/%{_lib}/libnssutil3*
    83ba88
    %{mozappdir}/bundled/%{_lib}/libsmime3*
    83ba88
    %{mozappdir}/bundled/%{_lib}/libsoftokn*
    83ba88
    %{mozappdir}/bundled/%{_lib}/libssl3*
    83ba88
    %{mozappdir}/bundled/%{_lib}/libnspr4.so
    83ba88
    %{mozappdir}/bundled/%{_lib}/libplc4.so
    83ba88
    %{mozappdir}/bundled/%{_lib}/libplds4.so
    83ba88
    %endif
    e75128
    e75128
    #===============================================================================
    e75128
    e75128
    %changelog
    f96689
    * Mon Oct 04 2021 Eike Rathke <erack@redhat.com> - 91.2.0-1
    f96689
    - Update to 91.2.0 build1
    f96689
    f96689
    * Wed Sep 29 2021 Jan Horak <jhorak@redhat.com> - 91.1.2-1
    f96689
    - Update to 91.1.2 build1
    f96689
    f96689
    * Tue Sep 07 2021 Jan Horak <jhorak@redhat.com> - 91.1.0-1
    f96689
    - Update to 91.1.0 build2
    f96689
    4037d0
    * Thu Sep 02 2021 Eike Rathke <erack@redhat.com> - 78.14.0-1
    4037d0
    - Update to 78.14.0 build1
    4037d0
    4037d0
    * Mon Aug 16 2021 Jan Horak <jhorak@redhat.com> - 78.13.0-2
    4037d0
    - Use the right name for the appstream file
    4037d0
    081acc
    * Wed Aug 04 2021 Eike Rathke <erack@redhat.com> - 78.13.0-1
    081acc
    - Update to 78.13.0 build1
    081acc
    081acc
    * Fri Jul 16 2021 Jan Horak <jhorak@redhat.com> - 78.12.0-3
    081acc
    - Rebuild to pickup older nss
    081acc
    29285d
    * Mon Jul 12 2021 Eike Rathke <erack@redhat.com> - 78.12.0-2
    29285d
    - Update to 78.12.0 build2
    29285d
    29285d
    * Thu Jul 08 2021 Eike Rathke <erack@redhat.com> - 78.12.0-1
    29285d
    - Update to 78.12.0 build1
    29285d
    0caf61
    * Mon May 31 2021 Eike Rathke <erack@redhat.com> - 78.11.0-1
    0caf61
    - Update to 78.11.0 build1
    0caf61
    2018bd
    * Wed Apr 21 2021 Eike Rathke <erack@redhat.com> - 78.10.0-1
    2018bd
    - Update to 78.10.0
    2018bd
    e44714
    * Mon Apr 12 2021 Eike Rathke <erack@redhat.com> - 78.9.1-1
    e44714
    - Update to 78.9.1
    e44714
    26a093
    * Tue Mar 23 2021 Eike Rathke <erack@redhat.com> - 78.9.0-3
    26a093
    - Update to 78.9.0 build2, updated langpacks
    26a093
    26a093
    * Mon Mar 22 2021 Eike Rathke <erack@redhat.com> - 78.9.0-2
    26a093
    - Update to 78.9.0 build2
    26a093
    26a093
    * Mon Mar 22 2021 Eike Rathke <erack@redhat.com> - 78.9.0-1
    26a093
    - Update to 78.9.0 build1
    26a093
    773aef
    * Fri Feb 19 2021 Eike Rathke <erack@redhat.com> - 78.8.0-1
    773aef
    - Update to 78.8.0 build1
    773aef
    73d131
    * Tue Jan 26 2021 Eike Rathke <erack@redhat.com> - 78.7.0-1
    73d131
    - Update to 78.7.0
    73d131
    114730
    * Tue Jan 12 2021 Eike Rathke <erack@redhat.com> - 78.6.1-1
    114730
    - Update to 78.6.1
    114730
    f5dec3
    * Tue Dec 15 2020 Eike Rathke <erack@redhat.com> - 78.6.0-1
    f5dec3
    - Update to 78.6.0
    f5dec3
    f3e046
    * Fri Dec 04 2020 Jan Horak <jhorak@redhat.com> - 78.5.1-1
    f3e046
    - Update to 78.5.1 build1
    f3e046
    61b76d
    * Wed Nov 18 2020 Eike Rathke <erack@redhat.com> - 78.5.0-1
    61b76d
    - Update to 78.5.0 build3
    61b76d
    ddd8a0
    * Thu Nov 12 2020 Eike Rathke <erack@redhat.com> - 78.4.3-1
    ddd8a0
    - Update to 78.4.3
    ddd8a0
    8a9d71
    * Wed Oct 21 2020 Eike Rathke <erack@redhat.com> - 78.4.0-1
    8a9d71
    - Update to 78.4.0 build1
    8a9d71
    - Disabled telemetry
    8a9d71
    83ba88
    * Tue Sep 29 2020 Jan Horak <jhorak@redhat.com> - 78.3.1-1
    83ba88
    - Update to 78.3.1 build1
    83ba88
    83ba88
    * Sat Sep 19 2020 Jan Horak <jhorak@redhat.com> - 78.3.0-3
    83ba88
    - Update to 78.3.0 build1
    83ba88
    - Remove librdp.so as long as we cannot ship it in RHEL
    83ba88
    83ba88
    * Tue Sep 08 2020 Jan Horak <jhorak@redhat.com> - 78.2.1-1
    83ba88
    - Update to 78.2.1 build1
    83ba88
    4bc6cd
    * Wed Sep 02 2020 Jan Horak <jhorak@redhat.com> - 68.12.0-1
    4bc6cd
    - Update to 68.12.0 build1
    4bc6cd
    7020d1
    * Tue Aug 04 2020 Jan Horak <jhorak@redhat.com> - 68.11.0-1
    7020d1
    - Update to 68.11.0 build1
    7020d1
    d69745
    * Wed Jul 08 2020 Jan Horak <jhorak@redhat.com> - 68.10.0-1
    d69745
    - Update to 68.10.0 build1
    d69745
    307cc4
    * Fri Jun 05 2020 Jan Horak <jhorak@redhat.com> - 68.9.0-1
    307cc4
    - Update to 68.9.0 build1
    307cc4
    69ffed
    * Tue May 05 2020 Jan Horak <jhorak@redhat.com> - 68.8.0-1
    69ffed
    - Update to 68.8.0 build2
    69ffed
    0b466a
    * Tue Apr 14 2020 Jan Horak <jhorak@redhat.com> - 68.7.0-1
    0b466a
    - Update to 68.7.0 build1
    0b466a
    4f0c3e
    * Fri Mar 13 2020 Jan Horak <jhorak@redhat.com> - 68.6.0-1
    4f0c3e
    - Update to 68.6.0 build2
    4f0c3e
    ac8db7
    * Thu Feb 13 2020 Jan Horak <jhorak@redhat.com> - 68.5.0-1
    ac8db7
    - Update to 68.5.0 build1
    ac8db7
    1023e2
    * Mon Jan 13 2020 Jan Horak <jhorak@redhat.com> - 68.4.1-2
    1023e2
    - Update to 68.4.1 build1
    1023e2
    1023e2
    * Mon Dec 02 2019 Jan Horak <jhorak@redhat.com> - 68.3.0-2
    82b545
    - Update to 68.3.0 build2
    82b545
    82b545
    * Fri Oct 25 2019 Jan Horak <jhorak@redhat.com> - 68.2.0-2
    82b545
    - Added patch for TLS 1.3 support.
    82b545
    ea29f4
    * Tue Oct 22 2019 Jan Horak <jhorak@redhat.com> - 68.2.0-1
    ea29f4
    - Update to 68.2.0
    ea29f4
    ea29f4
    * Thu Oct  3 2019 Jan Horak <jhorak@redhat.com> - 68.1.1-2
    ea29f4
    - Update to 68.1.1
    ea29f4
    ea29f4
    * Wed Sep  4 2019 Jan Horak <jhorak@redhat.com> - 60.9.0-2
    b371f0
    - Update to 60.9.0
    b371f0
    851caf
    * Thu Jul 4 2019 Martin Stransky <stransky@redhat.com> - 60.8.0-1
    851caf
    - Updated to 60.8.0
    851caf
    851caf
    * Wed Jul 3 2019 Martin Stransky <stransky@redhat.com> - 60.7.2-3
    851caf
    - Rebuild to fix rhbz#1725919 - Thunderbird fails to authenticate
    851caf
      with gmail with ssl/tls and OAuth2.
    851caf
    4d690a
    * Fri Jun 21 2019 Jan Horak <jhorak@redhat.com> - 60.7.2-2
    4d690a
    - Update to 60.7.2 build2
    4d690a
    4d690a
    * Thu Jun 20 2019 Jan Horak <jhorak@redhat.com> - 60.7.2-1
    4d690a
    - Update to 60.7.2
    4d690a
    4d690a
    * Tue Jun 18 2019 Jan Horak <jhorak@redhat.com> - 60.7.1-1
    4d690a
    - Update to 60.7.1
    db955c
    f6aa7b
    * Mon May 27 2019 Martin Stransky <stransky@redhat.com> - 60.7.0-1
    f6aa7b
    - Update to 60.7.0
    734126
    432c6c
    * Mon Mar 25 2019 Martin Stransky <stransky@redhat.com> - 60.6.1-1
    432c6c
    - Update to 60.6.1
    432c6c
    432c6c
    * Tue Mar 19 2019 Martin Stransky <stransky@redhat.com> - 60.6.0-1
    432c6c
    - Update to 60.6.0
    d1779b
    0fe52e
    * Tue Jan 29 2019 Martin Stransky <stransky@redhat.com> - 60.5.0-1
    0fe52e
    - Update to 60.5.0
    53022d
    eae897
    * Thu Jan  3 2019 Jan Horak <jhorak@redhat.com> - 60.4.0-1
    eae897
    - Update to 60.4.0
    eae897
    eae897
    * Wed Oct 31 2018 Jan Horak <jhorak@redhat.com> - 60.3.0-1
    eae897
    - Update to 60.3.0
    eae897
    eae897
    * Wed Oct 31 2018 Jan Horak <jhorak@redhat.com> - 60.2.1-6
    eae897
    - Fixed missing calendar langpacks
    eae897
    eae897
    * Tue Oct 16 2018 Jan Horak <jhorak@redhat.com> - 60.2.1-5
    ae11a9
    - Fixing minor issues
    ae11a9
    ae11a9
    * Wed Oct 10 2018 Jan Horak <jhorak@redhat.com> - 60.2.1-3
    ae11a9
    - Reverting deleting of key3db
    ae11a9
    ae11a9
    * Wed Oct  3 2018 Jan Horak <jhorak@redhat.com> - 60.2.1-2
    ae11a9
    - Update to 60.2.1
    ae11a9
    - Added fix for rhbz#1546988
    ae11a9
    ae11a9
    * Fri Sep 14 2018 Jan Horak <jhorak@redhat.com> - 60.0-1
    ae11a9
    - Rebase to version 60
    17e211
    e7e3f7
    * Tue Jul 10 2018 Jan Horak <jhorak@redhat.com> - 52.9.1-1
    e7e3f7
    - Update to 52.9.1
    7aac3c
    e7e3f7
    * Thu May 17 2018 Jan Horak <jhorak@redhat.com> - 52.8.0-2
    6090f6
    - Update to 52.8.0
    a63fca
    5f4018
    * Mon Mar 26 2018 Jan Horak <jhorak@redhat.com> - 52.7.0-1
    5f4018
    - Update to 52.7.0
    5f4018
    41825a
    * Fri Jan 26 2018 Jan Horak <jhorak@redhat.com> - 52.6.0-1
    41825a
    - Update to 52.6.0
    a9127c
    a6c8ac
    * Tue Jan  2 2018 Jan Horak <jhorak@redhat.com> - 52.5.2-1
    a6c8ac
    - Update to 52.5.2
    ce5521
    18a291
    * Mon Nov 27 2017 Jan Horak <jhorak@redhat.com> - 52.5.0-1
    18a291
    - Update to 52.5.0
    18a291
    fdde67
    * Wed Oct  4 2017 Jan Horak <jhorak@redhat.com> - 52.4.0-2
    fdde67
    - Update to 52.4.0 (b2)
    fdde67
    1630b8
    * Mon Aug 21 2017 Jan Horak <jhorak@redhat.com> - 52.3.0-1
    1630b8
    - Update to 52.3.0
    1630b8
    1630b8
    * Thu Jun 29 2017 Jan Horak <jhorak@redhat.com> - 52.2.1-1
    1630b8
    - Update to 52.2.1
    f52169
    63838d
    * Thu Jun 15 2017 Jan Horak <jhorak@redhat.com> - 52.2.0-1
    63838d
    - Update to 52.2.0
    63838d
    5b75f5
    * Tue May  2 2017 Jan Horak <jhorak@redhat.com> - 52.1.0-1
    5b75f5
    - Update to 52.1.0
    5b75f5
    5b75f5
    * Thu Apr 13 2017 Jan Horak <jhorak@redhat.com> - 52.0.1-1
    5b75f5
    - Update to 52.0.1
    0564c5
    fbfc07
    * Tue Mar  7 2017 Jan Horak <jhorak@redhat.com> - 45.8.0-1
    fbfc07
    - Update to 45.8.0
    fdd83e
    c938a3
    * Thu Jan 26 2017 Jan Horak <jhorak@redhat.com> - 45.7.0-1
    c938a3
    - Update to 45.7.0
    c938a3
    f4faf8
    * Fri Dec 16 2016 Martin Stransky <stransky@redhat.com> - 45.6.0-1
    f4faf8
    - Update to the latest upstream (45.6.0)
    6befbe
    f664e2
    * Thu Dec  1 2016 Jan Horak <jhorak@redhat.com> - 45.5.1-1
    f664e2
    - Update to 45.5.1
    bb57ca
    b7930c
    * Fri Nov 18 2016 Jan Horak <jhorak@redhat.com> - 45.5.0-1
    b7930c
    - Update to 45.5.0
    6370c6
    697b68
    * Thu Sep 29 2016 Jan Horak <jhorak@redhat.com> - 45.4.0-1
    697b68
    - Update to 45.4.0
    697b68
    3f5e25
    * Fri Aug 26 2016 Jan Horak <jhorak@redhat.com> - 45.3.0-1
    3f5e25
    - Update to 45.3.0
    6cd4fb
    a8a561
    * Wed Jun 29 2016 Jan Horak <jhorak@redhat.com> - 45.2-1
    a8a561
    - Update to 45.2
    184f6e
    a8a561
    * Mon Jun  6 2016 Jan Horak <jhorak@redhat.com> - 45.1.1-1
    a8a561
    - Update to 45.1.1
    2d1469
    a8a561
    * Mon Jun 06 2016 Jan Horak <jhorak@redhat.com> - 45.1.0-5
    a8a561
    - Do not add symlinks to some langpacks
    c05f3d
    a8a561
    * Tue May 17 2016 Jan Horak <jhorak@redhat.com> - 45.1.0-4
    a8a561
    - Update to 45.1.0
    a16323
    a8a561
    * Tue Apr 26 2016 Jan Horak <jhorak@redhat.com> - 45.0-5
    a8a561
    - Update to 45.0
    c5335e
    cc0f22
    * Tue Sep 29 2015 Jan Horak <jhorak@redhat.com> - 38.3.0-1
    cc0f22
    - Update to 38.3.0
    36a0b2
    e02199
    * Fri Aug 14 2015 Jan Horak <jhorak@redhat.com> - 38.2.0-1
    e02199
    - Update to 38.2.0
    e02199
    e02199
    * Wed Jul 15 2015 Jan Horak <jhorak@redhat.com> - 38.1.0-2
    e02199
    - Rebase to 38.1.0
    0abb01
    ae10af
    * Wed Jul 15 2015 Jan Horak <jhorak@redhat.com> - 31.8.0-1
    ae10af
    - Update to 31.8.0
    9fcffe
    eca1b0
    * Sun May 10 2015 Jan Horak <jhorak@redhat.com> - 31.7.0-1
    eca1b0
    - Update to 31.7.0
    89b507
    c900b4
    * Tue Mar 31 2015 Jan Horak <jhorak@redhat.com> - 31.6.0-1
    c900b4
    - Update to 31.6.0
    3d3c2e
    316c76
    * Mon Feb 23 2015 Jan Horak <jhorak@redhat.com> - 31.5.0-2
    316c76
    - Update to 31.5.0
    316c76
    e75128
    * Sat Jan 10 2015 Jan Horak <jhorak@redhat.com> - 31.4.0-1
    e75128
    - Update to 31.4.0
    e75128
    e75128
    * Mon Dec 22 2014 Jan Horak <jhorak@redhat.com> - 31.3.0-2
    e75128
    - Fixed problems with dictionaries (mozbz#1097550)
    e75128
    e75128
    * Fri Nov 28 2014 Jan Horak <jhorak@redhat.com> - 31.3.0-1
    e75128
    - Update to 31.3.0
    e75128
    e75128
    * Thu Oct 30 2014 Jan Horak <jhorak@redhat.com> - 31.2.0-2
    e75128
    - Update to 31.2.0
    e75128
    e75128
    * Wed Oct 1 2014 Martin Stransky <stransky@redhat.com> - 31.1.1-5
    e75128
    - Sync preferences with Firefox
    e75128
    e75128
    * Thu Sep 18 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 31.1.1-4
    e75128
    - Fix dependency generation for internal libraries (#1140471)
    e75128
    e75128
    * Fri Sep 12 2014 Jan Horak <jhorak@redhat.com> - 31.1.1-3
    e75128
    - Update to 31.1.1
    e75128
    e75128
    * Tue Sep  9 2014 Jan Horak <jhorak@redhat.com> - 31.1.0-4
    e75128
    - Use  system libffi
    e75128
    e75128
    * Wed Sep  3 2014 Jan Horak <jhorak@redhat.com> - 31.1.0-2
    e75128
    - Added fix for ppc64le
    e75128
    e75128
    * Mon Sep  1 2014 Jan Horak <jhorak@redhat.com> - 31.1.0-1
    e75128
    - Update to 31.1.0
    e75128
    e75128
    * Wed Jul 30 2014 Martin Stransky <stransky@redhat.com> - 31.0-2
    e75128
    - Added patch for mozbz#858919
    e75128
    e75128
    * Tue Jul 29 2014 Martin Stransky <stransky@redhat.com> - 31.0-1
    e75128
    - Update to 31.0
    e75128
    e75128
    * Tue Jul 22 2014 Jan Horak <jhorak@redhat.com> - 24.7.0-1
    e75128
    - Update to 24.7.0
    e75128
    e75128
    * Mon Jun  9 2014 Jan Horak <jhorak@redhat.com> - 24.6.0-1
    e75128
    - Update to 24.6.0
    e75128
    e75128
    * Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 24.5.0-6
    e75128
    - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
    e75128
    e75128
    * Fri May 23 2014 Brent Baude <baude@us.ibm.com> - 24.5.0-5
    e75128
    - Moving the ppc64 conditional up before the cd so it will
    e75128
    - apply cleanly
    e75128
    e75128
    * Fri May 23 2014 Martin Stransky <stransky@redhat.com> - 24.5.0-4
    e75128
    - Added a build fix for ppc64 - rhbz#1100495
    e75128
    e75128
    * Mon May  5 2014 Jan Horak <jhorak@redhat.com> - 24.5.0-3
    e75128
    - Fixed find requires
    e75128
    e75128
    * Mon Apr 28 2014 Jan Horak <jhorak@redhat.com> - 24.5.0-1
    e75128
    - Update to 24.5.0
    e75128
    e75128
    * Tue Apr 22 2014 Jan Horak <jhorak@redhat.com> - 24.4.0-2
    e75128
    - Added support for ppc64le
    e75128
    e75128
    * Tue Mar 18 2014 Jan Horak <jhorak@redhat.com> - 24.4.0-1
    e75128
    - Update to 24.4.0
    e75128
    e75128
    * Mon Feb  3 2014 Jan Horak <jhorak@redhat.com> - 24.3.0-1
    e75128
    - Update to 24.3.0
    e75128
    e75128
    * Mon Dec 16 2013 Martin Stransky <stransky@redhat.com> - 24.2.0-4
    432c6c
    - Fixed rhbz#1024232 - thunderbird: squiggly lines used
    e75128
      for spelling correction disappear randomly
    e75128
    e75128
    * Fri Dec 13 2013 Martin Stransky <stransky@redhat.com> - 24.2.0-3
    e75128
    - Build with -Werror=format-security (rhbz#1037353)
    e75128
    e75128
    * Wed Dec 11 2013 Martin Stransky <stransky@redhat.com> - 24.2.0-2
    e75128
    - rhbz#1001998 - added a workaround for system notifications
    e75128
    e75128
    * Mon Dec  9 2013 Jan Horak <jhorak@redhat.com> - 24.2.0-1
    e75128
    - Update to 24.2.0
    e75128
    e75128
    * Sat Nov 02 2013 Dennis Gilmore <dennis@ausil.us> - 24.1.0-2
    e75128
    - remove ExcludeArch: armv7hl
    e75128
    e75128
    * Wed Oct 30 2013 Jan Horak <jhorak@redhat.com> - 24.1.0-1
    e75128
    - Update to 24.1.0
    e75128
    e75128
    * Thu Oct 17 2013 Martin Stransky <stransky@redhat.com> - 24.0-4
    e75128
    - Fixed rhbz#1005611 - BEAST workaround not enabled in Firefox
    e75128
    e75128
    * Wed Sep 25 2013 Jan Horak <jhorak@redhat.com> - 24.0-3
    e75128
    - Update to 24.0
    e75128
    e75128
    * Mon Sep 23 2013 Jan Horak <jhorak@redhat.com> - 17.0.9-1
    e75128
    - Update to 17.0.9 ESR
    e75128
    e75128
    * Mon Aug  5 2013 Jan Horak <jhorak@redhat.com> - 17.0.8-1
    e75128
    - Update to 17.0.8
    e75128
    e75128
    * Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 17.0.7-2
    e75128
    - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
    e75128
    e75128
    * Tue Jun 25 2013 Jan Horak <jhorak@redhat.com> - 17.0.7-1
    e75128
    - Update to 17.0.7
    e75128
    e75128
    * Wed Jun 12 2013 Jan Horak <jhorak@redhat.com> - 17.0.6-2
    e75128
    - Fixed rhbz#973371 - unable to install addons
    e75128
    e75128
    * Tue May 14 2013 Jan Horak <jhorak@redhat.com> - 17.0.6-1
    e75128
    - Update to 17.0.6
    e75128
    e75128
    * Tue Apr  2 2013 Jan Horak <jhorak@redhat.com> - 17.0.5-1
    e75128
    - Update to 17.0.5
    e75128
    e75128
    * Mon Mar 11 2013 Jan Horak <jhorak@redhat.com> - 17.0.4-1
    e75128
    - Update to 17.0.4
    e75128
    e75128
    * Tue Feb 19 2013 Jan Horak <jhorak@redhat.com> - 17.0.3-1
    e75128
    - Update to 17.0.3
    e75128
    e75128
    * Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 17.0.2-4
    e75128
    - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
    e75128
    e75128
    * Tue Jan 15 2013 Martin Stransky <stransky@redhat.com> - 17.0.2-3
    e75128
    - Added fix for NM regression (mozbz#791626)
    e75128
    e75128
    * Tue Jan 15 2013 Jan Horak <jhorak@redhat.com> - 17.0.2-2
    e75128
    - Added mozilla-746112 patch to fix crash on ppc(64)
    e75128
    e75128
    * Thu Jan 10 2013 Jan Horak <jhorak@redhat.com> - 17.0.2-1
    e75128
    - Update to 17.0.2
    e75128
    e75128
    * Mon Nov 19 2012 Jan Horak <jhorak@redhat.com> - 17.0-1
    e75128
    - Update to 17.0
    e75128
    e75128
    * Mon Oct 29 2012 Jan Horak <jhorak@redhat.com> - 16.0.2-1
    e75128
    - Update to 16.0.2
    e75128
    e75128
    * Tue Oct 16 2012 Jan Horak <jhorak@redhat.com> - 16.0.1-2
    e75128
    - Fixed nss and nspr versions
    e75128
    e75128
    * Thu Oct 11 2012 Jan Horak <jhorak@redhat.com> - 16.0.1-1
    e75128
    - Update to 16.0.1
    e75128
    e75128
    * Tue Oct  9 2012 Jan Horak <jhorak@redhat.com> - 16.0-1
    e75128
    - Update to 16.0
    e75128
    e75128
    * Tue Sep 18 2012 Dan Horák <dan[at]danny.cz> - 15.0.1-3
    e75128
    - Added fix for rhbz#855923 - TB freezes on Fedora 18 for PPC64
    e75128
    e75128
    * Fri Sep 14 2012 Martin Stransky <stransky@redhat.com> - 15.0.1-2
    e75128
    - Added build flags for second arches
    e75128
    e75128
    * Tue Sep 11 2012 Jan Horak <jhorak@redhat.com> - 15.0.1-1
    e75128
    - Update to 15.0.1
    e75128
    e75128
    * Fri Sep  7 2012 Jan Horak <jhorak@redhat.com> - 15.0-2
    e75128
    - Added workaround fix for PPC (rbhz#852698)
    e75128
    e75128
    * Mon Aug 27 2012 Jan Horak <jhorak@redhat.com> - 15.0-1
    e75128
    - Update to 15.0
    e75128
    e75128
    * Wed Aug 1 2012 Martin Stransky <stransky@redhat.com> - 14.0-4
    e75128
    - Removed StartupWMClass (rhbz#844863)
    e75128
    - Fixed -g parameter
    e75128
    - Removed thunderbird-devel before packing to avoid debugsymbols duplicities (rhbz#823940)
    e75128
    e75128
    * Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.0-2
    e75128
    - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
    e75128
    e75128
    * Tue Jul 17 2012 Jan Horak <jhorak@redhat.com> - 14.0-1
    e75128
    - Update to 14.0
    e75128
    e75128
    * Fri Jun 15 2012 Jan Horak <jhorak@redhat.com> - 13.0.1-1
    e75128
    - Update to 13.0.1
    e75128
    e75128
    * Tue Jun  5 2012 Jan Horak <jhorak@redhat.com> - 13.0-1
    e75128
    - Update to 13.0
    e75128
    e75128
    * Mon May 7 2012 Martin Stransky <stransky@redhat.com> - 12.0.1-2
    e75128
    - Fixed #717245 - adhere Static Library Packaging Guidelines
    e75128
    e75128
    * Mon Apr 30 2012 Jan Horak <jhorak@redhat.com> - 12.0.1-1
    e75128
    - Update to 12.0.1
    e75128
    e75128
    * Tue Apr 24 2012 Jan Horak <jhorak@redhat.com> - 12.0-1
    e75128
    - Update to 12.0
    e75128
    e75128
    * Mon Apr 16 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 11.0.1-2
    e75128
    - Add upstream patch to fix FTBFS on ARM
    e75128
    e75128
    * Thu Mar 29 2012 Jan Horak <jhorak@redhat.com> - 11.0.1-1
    e75128
    - Update to 11.0.1
    e75128
    e75128
    * Thu Mar 22 2012 Jan Horak <jhorak@redhat.com> - 11.0-6
    e75128
    - Added translations to thunderbird.desktop file
    e75128
    e75128
    * Fri Mar 16 2012 Martin Stransky <stransky@redhat.com> - 11.0-5
    e75128
    - gcc 4.7 build fixes
    e75128
    e75128
    * Wed Mar 14 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 11.0-4
    e75128
    - Add ARM configuration options
    e75128
    e75128
    * Wed Mar 14 2012 Martin Stransky <stransky@redhat.com> - 11.0-3
    e75128
    - Build with system libvpx
    e75128
    e75128
    * Tue Mar 13 2012 Martin Stransky <stransky@redhat.com> - 11.0-1
    e75128
    - Update to 11.0
    e75128
    e75128
    * Thu Feb 23 2012 Jan Horak <jhorak@redhat.com> - 10.0.1-3
    e75128
    - Added fix for proxy settings mozbz#682832
    e75128
    e75128
    * Thu Feb 16 2012 Martin Stransky <stransky@redhat.com> - 10.0.1-2
    e75128
    - Added fix for mozbz#727401
    e75128
    e75128
    * Thu Feb  9 2012 Jan Horak <jhorak@redhat.com> - 10.0.1-1
    e75128
    - Update to 10.0.1
    e75128
    e75128
    * Mon Feb 6 2012 Martin Stransky <stransky@redhat.com> - 10.0-2
    e75128
    - gcc 4.7 build fixes
    e75128
    e75128
    * Tue Jan 31 2012 Jan Horak <jhorak@redhat.com> - 10.0-1
    e75128
    - Update to 10.0
    e75128
    e75128
    * Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0-7
    e75128
    - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
    e75128
    e75128
    * Thu Jan 05 2012 Dan Horák <dan[at]danny.cz> - 9.0-6
    e75128
    - disable jemalloc on s390(x) (taken from xulrunner)
    e75128
    e75128
    * Wed Jan 04 2012 Dan Horák <dan[at]danny.cz> - 9.0-5
    e75128
    - fix build on secondary arches (cherry-picked from 13afcd4c097c)
    e75128
    e75128
    * Thu Dec 22 2011 Jan Horak <jhorak@redhat.com> - 9.0-4
    e75128
    - Update to 9.0
    e75128
    e75128
    * Fri Dec 9 2011 Martin Stransky <stransky@redhat.com> - 8.0-4
    e75128
    - enabled gio support (#760644)
    e75128
    e75128
    * Tue Nov 29 2011 Jan Horak <jhorak@redhat.com> - 8.0-3
    e75128
    - Fixed s390x issues
    e75128
    e75128
    * Thu Nov 10 2011 Jan Horak <jhorak@redhat.com> - 8.0-2
    e75128
    - Enable Mozilla's crash reporter again for all archs
    e75128
    - Temporary workaround for langpacks
    e75128
    - Disabled addon check UI (#753551)
    e75128
    e75128
    * Tue Nov  8 2011 Jan Horak <jhorak@redhat.com> - 8.0-1
    e75128
    - Update to 8.0
    e75128
    e75128
    * Tue Oct 18 2011 Martin Stransky <stransky@redhat.com> - 7.0.1-3
    e75128
    - Added NM patches (mozbz#627672, mozbz#639959)
    e75128
    e75128
    * Wed Oct 12 2011 Dan Horák <dan[at]danny.cz> - 7.0.1-2
    e75128
    - fix build on secondary arches (copied from xulrunner)
    e75128
    e75128
    * Fri Sep 30 2011 Jan Horak <jhorak@redhat.com> - 7.0.1-1
    e75128
    - Update to 7.0.1
    e75128
    e75128
    * Tue Sep 27 2011 Jan Horak <jhorak@redhat.com> - 7.0-1
    e75128
    - Update to 7.0
    e75128
    e75128
    * Tue Sep  6 2011 Jan Horak <jhorak@redhat.com> - 6.0.2-1
    e75128
    - Update to 6.0.2
    e75128
    e75128
    * Wed Aug 31 2011 Jan Horak <jhorak@redhat.com> - 6.0-3
    e75128
    - Distrust a specific Certificate Authority
    e75128
    e75128
    * Wed Aug 31 2011 Dan Horák <dan[at]danny.cz> - 6.0-2
    e75128
    - add secondary-ipc patch from xulrunner
    e75128
    e75128
    * Tue Aug 16 2011 Jan Horak <jhorak@redhat.com> - 6.0-1
    e75128
    - Update to 6.0
    e75128
    e75128
    * Tue Aug 16 2011 Remi Collet <remi@fedoraproject.org> 5.0-4
    e75128
    - Don't unzip the langpacks
    e75128
    e75128
    * Mon Aug 15 2011 Jan Horak <jhorak@redhat.com> - 5.0-3
    e75128
    - Rebuild due to rhbz#728707
    e75128
    e75128
    * Wed Jul 20 2011 Dan Horák <dan[at]danny.cz> - 5.0-2
    e75128
    - add xulrunner patches for secondary arches
    e75128
    e75128
    * Tue Jun 28 2011 Jan Horak <jhorak@redhat.com> - 5.0-1
    e75128
    - Update to 5.0
    e75128
    e75128
    * Tue Jun 21 2011 Jan Horak <jhorak@redhat.com> - 3.1.11-1
    e75128
    - Update to 3.1.11
    e75128
    e75128
    * Wed May 25 2011 Caolán McNamara <caolanm@redhat.com> - 3.1.10-2
    e75128
    - rebuild for new hunspell
    e75128
    e75128
    * Thu Apr 28 2011 Jan Horak <jhorak@redhat.com> - 3.1.10-1
    e75128
    - Update to 3.1.10
    e75128
    e75128
    * Thu Apr 21 2011 Christopher Aillon <caillon@redhat.com> - 3.1.9-7
    e75128
    - Make gvfs-open launch a compose window (salimma)
    e75128
    - Spec file cleanups (salimma, caillon)
    e75128
    - Split out mozilla crashreporter symbols to its own debuginfo package (caillon)
    e75128
    e75128
    * Sat Apr  2 2011 Christopher Aillon <caillon@redhat.com> - 3.1.9-6
    e75128
    - Drop gio support: the code hooks don't exist yet for TB 3.1.x
    e75128
    e75128
    * Fri Apr  1 2011 Orion Poplawski <orion@cora.nwra.com> - 3.1.9-5
    e75128
    - Enable startup notification
    e75128
    e75128
    * Sun Mar 20 2011 Dan Horák <dan[at]danny.cz> - 3.1.9-4
    e75128
    - updated the s390 build patch
    e75128
    e75128
    * Fri Mar 18 2011 Jan Horak <jhorak@redhat.com> - 3.1.9-3
    e75128
    - Removed gnome-vfs2, libgnomeui and libgnome from build requires
    e75128
    e75128
    * Wed Mar  9 2011 Jan Horak <jhorak@redhat.com> - 3.1.9-2
    e75128
    - Disabled gnomevfs, enabled gio
    e75128
    e75128
    * Mon Mar  7 2011 Jan Horak <jhorak@redhat.com> - 3.1.9-1
    e75128
    - Update to 3.1.9
    e75128
    e75128
    * Tue Mar  1 2011 Jan Horak <jhorak@redhat.com> - 3.1.8-3
    e75128
    - Update to 3.1.8
    e75128
    e75128
    * Wed Feb  9 2011 Christopher Aillon <caillon@redhat.com> - 3.1.7-6
    e75128
    - Drop the -lightning subpackage, it needs to be in its own SRPM
    e75128
    e75128
    * Mon Feb  7 2011 Christopher Aillon <caillon@redhat.com> - 3.1.7-5
    e75128
    - Bring back the default mailer check but fix up the directory
    e75128
    e75128
    * Wed Dec 15 2010 Jan Horak <jhorak@redhat.com> - 3.1.7-4
    e75128
    - Mozilla crash reporter enabled
    e75128
    e75128
    * Thu Dec  9 2010 Jan Horak <jhorak@redhat.com> - 3.1.7-2
    e75128
    - Fixed useragent
    e75128
    e75128
    * Thu Dec  9 2010 Jan Horak <jhorak@redhat.com> - 3.1.7-1
    e75128
    - Update to 3.1.7
    e75128
    e75128
    * Sat Nov 27 2010 Remi Collet <fedora@famillecollet.com> - 3.1.6-8
    e75128
    - fix cairo + nspr required version
    e75128
    - lightning: fix thunderbird version required
    e75128
    - lightning: fix release (b3pre)
    e75128
    - lightning: clean install
    e75128
    e75128
    * Mon Nov 22 2010 Jan Horak <jhorak@redhat.com> - 3.1.6-7
    e75128
    - Added x-scheme-handler/mailto to thunderbird.desktop file
    e75128
    e75128
    * Mon Nov  8 2010 Jan Horak <jhorak@redhat.com> - 3.1.6-4
    e75128
    - Added libnotify patch
    e75128
    - Removed dependency on static libraries
    e75128
    e75128
    * Fri Oct 29 2010 Jan Horak <jhorak@redhat.com> - 3.1.6-2
    e75128
    - Move thunderbird-lightning extension from Sunbird package to Thunderbird
    e75128
    e75128
    * Wed Oct 27 2010 Jan Horak <jhorak@redhat.com> - 3.1.6-1
    e75128
    - Update to 3.1.6
    e75128
    e75128
    * Tue Oct 19 2010 Jan Horak <jhorak@redhat.com> - 3.1.5-1
    e75128
    - Update to 3.1.5
    e75128
    e75128
    * Thu Sep 16 2010 Dan Horák <dan[at]danny.cz> - 3.1.3-2
    e75128
    - fix build on s390
    e75128
    e75128
    * Tue Sep  7 2010 Jan Horak <jhorak@redhat.com> - 3.1.3-1
    e75128
    - Update to 3.1.3
    e75128
    e75128
    * Fri Aug  6 2010 Jan Horak <jhorak@redhat.com> - 3.1.2-1
    e75128
    - Update to 3.1.2
    e75128
    - Disable updater
    e75128
    e75128
    * Tue Jul 20 2010 Jan Horak <jhorak@redhat.com> - 3.1.1-1
    e75128
    - Update to 3.1.1
    e75128
    e75128
    * Thu Jun 24 2010 Jan Horak <jhorak@redhat.com> - 3.1-1
    e75128
    - Thunderbird 3.1
    e75128
    e75128
    * Fri Jun 11 2010 Jan Horak <jhorak@redhat.com> - 3.1-0.3.rc2
    e75128
    - TryExec added to desktop file
    e75128
    e75128
    * Wed Jun  9 2010 Christopher Aillon <caillon@redhat.com> 3.1-0.2.rc2
    e75128
    - Thunderbird 3.1 RC2
    e75128
    e75128
    * Tue May 25 2010 Christopher Aillon <caillon@redhat.com> 3.1-0.1.rc1
    e75128
    - Thunderbird 3.1 RC1
    e75128
    e75128
    * Fri Apr 30 2010 Jan Horak <jhorak@redhat.com> - 3.0.4-3
    e75128
    - Fix for mozbz#550455
    e75128
    e75128
    * Tue Apr 13 2010 Martin Stransky <stransky@redhat.com> - 3.0.4-2
    e75128
    - Fixed langpacks (#580444)
    e75128
    e75128
    * Tue Mar 30 2010 Jan Horak <jhorak@redhat.com> - 3.0.4-1
    e75128
    - Update to 3.0.4
    e75128
    e75128
    * Sat Mar 06 2010 Kalev Lember <kalev@smartlink.ee> - 3.0.3-2
    e75128
    - Own extension directories (#532132)
    e75128
    e75128
    * Mon Mar  1 2010 Jan Horak <jhorak@redhat.com> - 3.0.3-1
    e75128
    - Update to 3.0.3
    e75128
    e75128
    * Thu Feb 25 2010 Jan Horak <jhorak@redhat.com> - 3.0.2-1
    e75128
    - Update to 3.0.2
    e75128
    e75128
    * Wed Jan 20 2010 Martin Stransky <stransky@redhat.com> - 3.0.1-1
    e75128
    - Update to 3.0.1
    e75128
    e75128
    * Mon Jan 18 2010 Martin Stransky <stransky@redhat.com> - 3.0-5
    432c6c
    - Added fix for #480603 - thunderbird takes
    e75128
      unacceptably long time to start
    e75128
    e75128
    * Wed Dec  9 2009 Jan Horak <jhorak@redhat.com> - 3.0-4
    e75128
    - Update to 3.0
    e75128
    e75128
    * Thu Dec  3 2009 Jan Horak <jhorak@redhat.com> - 3.0-3.13.rc2
    e75128
    - Update to RC2
    e75128
    e75128
    * Wed Nov 25 2009 Jan Horak <jhorak@redhat.com> - 3.0-3.12.rc1
    e75128
    - Sync with Mozilla latest RC1 build
    e75128
    e75128
    * Thu Nov 19 2009 Jan Horak <jhorak@redhat.com> - 3.0-3.11.rc1
    e75128
    - Update to RC1
    e75128
    e75128
    * Thu Sep 17 2009 Christopher Aillon <caillon@redhat.com> - 3.0-3.9.b4
    e75128
    - Update to 3.0 b4
    e75128
    e75128
    * Thu Aug  6 2009 Martin Stransky <stransky@redhat.com> - 3.0-3.8.beta3
    e75128
    - Added fix for #437596
    e75128
    - Removed unused patches
    e75128
    e75128
    * Thu Aug  6 2009 Jan Horak <jhorak@redhat.com> - 3.0-3.7.beta3
    e75128
    - Removed unused build requirements
    e75128
    e75128
    * Mon Aug  3 2009 Jan Horak <jhorak@redhat.com> - 3.0-3.6.beta3
    e75128
    - Build with system hunspell
    e75128
    e75128
    * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-3.5.b3
    e75128
    - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
    e75128
    e75128
    * Fri Jul 24 2009 Jan Horak <jhorak@redhat.com> - 3.0-2.5.beta3
    e75128
    - Use system hunspell
    e75128
    e75128
    * Tue Jul 21 2009 Jan Horak <jhorak@redhat.com> - 3.0-2.4.beta3
    e75128
    - Update to 3.0 beta3
    e75128
    e75128
    * Mon Mar 30 2009 Jan Horak <jhorak@redhat.com> - 3.0-2.2.beta2
    e75128
    - Fixed open-browser.sh to use xdg-open instead of gnome-open
    e75128
    e75128
    * Mon Mar 23 2009 Christopher Aillon <caillon@redhat.com> - 3.0-2.1.beta2
    e75128
    - Disable the default app nag dialog
    e75128
    e75128
    * Tue Mar 17 2009 Jan Horak <jhorak@redhat.com> - 3.0-2.beta2
    e75128
    - Fixed clicked link does not open in browser (#489120)
    e75128
    - Fixed missing help in thunderbird (#488885)
    e75128
    e75128
    * Mon Mar  2 2009 Jan Horak <jhorak@redhat.com> - 3.0-1.beta2
    e75128
    - Update to 3.0 beta2
    432c6c
    - Added Patch2 to build correctly when building with --enable-shared option
    e75128
    e75128
    * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0.18-3
    e75128
    - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
    e75128
    e75128
    * Wed Jan 07 2009 Christopher Aillon <caillon@redhat.com> - 2.0.0.18-2
    e75128
    - Disable the crash dialog
    e75128
    e75128
    * Wed Nov 19 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.18-1
    e75128
    - Update to 2.0.0.18
    e75128
    e75128
    * Thu Oct  9 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.17-1
    e75128
    - Update to 2.0.0.17
    e75128
    e75128
    * Wed Jul 23 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.16-1
    e75128
    - Update to 2.0.0.16
    e75128
    e75128
    * Thu May  1 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.14-1
    e75128
    - Update to 2.0.0.14
    e75128
    - Use the system dictionaries
    e75128
    e75128
    * Fri Apr 18 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.12-6
    e75128
    - Icon belongs in _datadir/pixmaps
    e75128
    e75128
    * Fri Apr 18 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.12-5
    e75128
    - rebuilt
    e75128
    e75128
    * Mon Apr  7 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.12-4
    e75128
    - Add %%lang attributes to langpacks
    e75128
    e75128
    * Sat Mar 15 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.12-3
    e75128
    - Avoid conflict between gecko debuginfos
    e75128
    e75128
    * Mon Mar 03 2008 Martin Stransky <stransky@redhat.com> 2.0.0.12-2
    e75128
    - Updated starting script (#426331)
    e75128
    e75128
    * Tue Feb 26 2008 Christopher Aillon <caillon@redhat.com> 2.0.0.12-1
    e75128
    - Update to 2.0.0.12
    e75128
    - Fix up icon location and some scriptlets
    e75128
    e75128
    * Sun Dec  9 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.9-2
    e75128
    - Fix some rpmlint warnings
    e75128
    - Drop some old patches and obsoletes
    e75128
    e75128
    * Thu Nov 15 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.9-1
    e75128
    - Update to 2.0.0.9
    e75128
    e75128
    * Wed Sep 26 2007 Martin Stransky <stransky@redhat.com> 2.0.0.6-6
    e75128
    - Fixed #242657 - firefox -g doesn't work
    e75128
    e75128
    * Tue Sep 25 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.6-5
    e75128
    - Removed hardcoded MAX_PATH, PATH_MAX and MAXPATHLEN macros
    e75128
    e75128
    * Tue Sep 11 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.6-4
    432c6c
    - Fix crashes when using GTK+ themes containing a gtkrc which specify
    e75128
      GtkOptionMenu::indicator_size and GtkOptionMenu::indicator_spacing
    e75128
    e75128
    * Mon Sep 10 2007 Martin Stransky <stransky@redhat.com> 2.0.0.6-3
    e75128
    - added fix for #246248 - firefox crashes when searching for word "do"
    e75128
    e75128
    * Mon Aug 13 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.6-2
    e75128
    - Update the license tag
    e75128
    e75128
    * Wed Aug  8 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.6-1
    e75128
    - Update to 2.0.0.6
    e75128
    - Own the application directory (#244901)
    e75128
    e75128
    * Tue Jul 31 2007 Martin Stransky <stransky@redhat.com> 2.0.0.0-3
    e75128
    - added pango ligature fix
    e75128
    e75128
    * Thu Apr 19 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-1
    e75128
    - Update to 2.0.0.0 Final
    e75128
    e75128
    * Fri Apr 13 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-0.5.rc1
    e75128
    - Fix the desktop file
    e75128
    - Clean up the files list
    e75128
    - Remove the default client stuff from the pref window
    e75128
    e75128
    * Thu Apr 12 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-0.4.rc1
    e75128
    - Rebuild into Fedora
    e75128
    e75128
    * Wed Apr 11 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-0.3.rc1
    e75128
    - Update langpacks
    e75128
    e75128
    * Thu Apr  5 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-0.2.rc1
    e75128
    - Build option tweaks
    e75128
    - Bring the install section to parity with Firefox's
    e75128
    e75128
    * Thu Apr  5 2007 Christopher Aillon <caillon@redhat.com> 2.0.0.0-0.1.rc1
    e75128
    - Update to 2.0.0.0 RC1
    e75128
    e75128
    * Sun Mar 25 2007 Christopher Aillon <caillon@redhat.com> 1.5.0.11-1
    e75128
    - Update to 1.5.0.11
    e75128
    e75128
    * Fri Mar 2 2007 Martin Stransky <stransky@redhat.com> 1.5.0.10-1
    e75128
    - Update to 1.5.0.10
    e75128
    e75128
    * Mon Feb 12 2007 Martin Stransky <stransky@redhat.com> 1.5.0.9-8
    e75128
    - added fix for #227406: garbage characters on some websites
    e75128
      (when pango is disabled)
    432c6c
    e75128
    * Tue Jan 30 2007 Christopher Aillon <caillon@redhat.com> 1.5.0.9-7
    e75128
    - Updated cursor position patch from tagoh to fix issue with "jumping"
    e75128
      cursor when in a textfield with tabs.
    e75128
    e75128
    * Tue Jan 30 2007 Christopher Aillon <caillon@redhat.com> 1.5.0.9-6
    e75128
    - Fix the DND implementation to not grab, so it works with new GTK+.
    e75128
    e75128
    * Thu Dec 21 2006 Behdad Esfahbod <besfahbo@redhat.com> 1.5.0.9-5
    e75128
    - Added firefox-1.5-pango-underline.patch
    e75128
    e75128
    * Wed Dec 20 2006 Behdad Esfahbod <besfahbo@redhat.com> 1.5.0.9-4
    e75128
    - Added firefox-1.5-pango-justified-range.patch
    e75128
    e75128
    * Tue Dec 19 2006 Behdad Esfahbod <besfahbo@redhat.com> 1.5.0.9-3
    e75128
    - Added firefox-1.5-pango-cursor-position-more.patch
    e75128
    e75128
    * Tue Dec 19 2006 Matthias Clasen <mclasen@redhat.com> 1.5.0.9-2
    e75128
    - Add a Requires: launchmail  (#219884)
    e75128
    e75128
    * Tue Dec 19 2006 Christopher Aillon <caillon@redhat.com> 1.5.0.9-1
    e75128
    - Update to 1.5.0.9
    e75128
    - Take firefox's pango fixes
    e75128
    - Don't offer to import...nothing.
    e75128
    e75128
    * Tue Nov  7 2006 Christopher Aillon <caillon@redhat.com> 1.5.0.8-1
    e75128
    - Update to 1.5.0.8
    e75128
    - Allow choosing of download directory
    e75128
    - Take the user to the correct directory from the Download Manager.
    e75128
    - Patch to add support for printing via pango from Behdad.
    e75128
    e75128
    * Sun Oct  8 2006 Christopher Aillon <caillon@redhat.com> - 1.5.0.7-4
    e75128
    - Default to use of system colors
    e75128
    e75128
    * Wed Oct  4 2006 Christopher Aillon <caillon@redhat.com> - 1.5.0.7-3
    e75128
    - Bring the invisible character to parity with GTK+
    e75128
    e75128
    * Wed Sep 27 2006 Ch