7cc1fe
# Set for local builds only
7cc1fe
%global disable_toolsets  0
7cc1fe
7cc1fe
%ifarch i686
7cc1fe
# no debug package for the i686 because oom on i686 with debuginfos
7cc1fe
%global debug_package %{nil}
7cc1fe
%endif
7cc1fe
7cc1fe
%global rhel_minor_version -1
7cc1fe
%if "%{?dist}" == ".el8"
7cc1fe
%global rhel_minor_version 3
b06239
%endif
7cc1fe
%if "%{?dist}" == ".el8_3"
7cc1fe
%global rhel_minor_version 3
7cc1fe
%endif
7cc1fe
%if "%{?dist}" == ".el8_2"
7cc1fe
%global rhel_minor_version 2
7cc1fe
%endif
7cc1fe
%if "%{?dist}" == ".el8_1"
7cc1fe
%global rhel_minor_version 1
7cc1fe
%endif
7cc1fe
%if "%{?dist}" == ".el8_0"
7cc1fe
%global rhel_minor_version 0
b06239
%endif
b06239
50bed7
%global system_nss        1
7cc1fe
%global bundle_nss        0
50bed7
7cc1fe
%if 0%{?rhel} == 8
7cc1fe
  %if 0%{?rhel_minor_version} < 2
7cc1fe
%global bundle_nss        1
7cc1fe
  %endif
7cc1fe
%endif
50bed7
7cc1fe
%if 0%{?rhel} == 6
50bed7
%global system_nss        0
7cc1fe
%endif
7cc1fe
7cc1fe
%define use_bundled_ffi   0
7cc1fe
7cc1fe
%define use_bundled_python_2 1
7cc1fe
%define use_bundled_python_3 1
7cc1fe
f9adc4
%if 0%{?rhel} == 8
f9adc4
%define use_bundled_python_2 1
f9adc4
%define use_bundled_python_3 0
7cc1fe
%endif
7cc1fe
7cc1fe
%if 0%{?rhel} == 7
7cc1fe
%define use_bundled_python_2 0
7cc1fe
%define use_bundled_python_3 0
7cc1fe
%endif
7cc1fe
7cc1fe
%if 0%{?flatpak:1}
f9adc4
%define use_bundled_python_2 1
f9adc4
%endif
7cc1fe
7cc1fe
# we need python2 because of icu data gen
7cc1fe
%define use_bundled_python_2 1
7cc1fe
# Don't use system hunspell for now
7cc1fe
%global system_hunspell   0
f9adc4
%if 0%{?rhel} == 8
f9adc4
%global use_llvmts        0
f9adc4
%else
f9adc4
%global use_llvmts        1
f9adc4
%endif
f9adc4
7cc1fe
%if 0%{?rhel} > 6
7cc1fe
%global system_ffi        1
7cc1fe
%else
7cc1fe
%global system_ffi        0
7cc1fe
%endif
7cc1fe
%if 0%{?rhel} < 8
7cc1fe
%global use_dts           1
f9adc4
%endif
f9adc4
f9adc4
%global use_rustts        1
f9adc4
%global dts_version       8
7cc1fe
%if 0%{?rhel} == 6
7cc1fe
%global dts_version       8
7cc1fe
%endif
7cc1fe
%global rust_version         1.41
7cc1fe
%global rust_toolset_version 1.41
f9adc4
%global llvm_version      7.0
f9adc4
%if 0%{?rhel} == 8
f9adc4
%global llvm_version      6.0
f9adc4
%endif
f9adc4
f9adc4
%if 0%{?disable_toolsets}
f9adc4
%global use_rustts        0
f9adc4
%global use_dts           0
f9adc4
%global use_llvmts        0
f9adc4
%endif
f9adc4
7cc1fe
# Use system cairo?
7cc1fe
%global system_cairo      0
f9adc4
7cc1fe
# Use system libvpx?
7cc1fe
%global system_libvpx     0
f9adc4
7cc1fe
# Use system libicu?
7cc1fe
%global system_libicu     0
f9adc4
f9adc4
# Big endian platforms
f9adc4
%ifarch ppc64 s390x
f9adc4
# Javascript Intl API is not supported on big endian platforms right now:
f9adc4
# https://bugzilla.mozilla.org/show_bug.cgi?id=1322212
7cc1fe
%global big_endian        1
f9adc4
%endif
f9adc4
7cc1fe
# Hardened build?
7cc1fe
%global hardened_build    1
f9adc4
7cc1fe
%global system_jpeg       1
7cc1fe
7cc1fe
%ifarch %{ix86} x86_64
7cc1fe
%global run_tests         0
7cc1fe
%else
7cc1fe
%global run_tests         0
7cc1fe
%endif
7cc1fe
7cc1fe
# Build as a debug package?
7cc1fe
%global debug_build       0
f9adc4
f9adc4
%define thunderbird_app_id      \{3550f703-e582-4d05-9a08-453d09bdfdc6\}
7cc1fe
# Minimal required versions
7cc1fe
%global cairo_version 1.13.1
7cc1fe
%global freetype_version 2.1.9
7cc1fe
%if %{?system_libvpx}
7cc1fe
%global libvpx_version 1.4.0
7cc1fe
%endif
f9adc4
7cc1fe
%if 0%{?system_nss}
50bed7
%global nspr_version 4.25
7cc1fe
# NSS/NSPR quite often ends in build override, so as requirement the version
7cc1fe
# we're building against could bring us some broken dependencies from time to time.
7cc1fe
#%global nspr_build_version %(pkg-config --silence-errors --modversion nspr 2>/dev/null || echo 65536)
7cc1fe
%global nspr_build_version %{nspr_version}
50bed7
%global nss_version 3.53.1
7cc1fe
#%global nss_build_version %(pkg-config --silence-errors --modversion nss 2>/dev/null || echo 65536)
7cc1fe
%global nss_build_version %{nss_version}
f9adc4
%endif
f9adc4
7cc1fe
f9adc4
%define bundled_python_version_2 2.7.13
f9adc4
%define bundled_python_version_3 3.6.8
f9adc4
%define use_bundled_openssl     0
f9adc4
%define use_bundled_nodejs      0
50bed7
%define use_bundled_yasm        0
7cc1fe
7cc1fe
%if 0%{?rhel} == 8
7cc1fe
  %if 0%{?rhel_minor_version} <= 2
7cc1fe
%define use_bundled_nodejs      1
7cc1fe
  %endif
7cc1fe
%endif
7cc1fe
7cc1fe
%if 0%{?rhel} == 7
7cc1fe
%define use_bundled_nodejs      1
7cc1fe
%define use_bundled_yasm        1
7cc1fe
%endif
50bed7
f9adc4
%if 0%{?rhel} == 6
50bed7
%define use_bundled_nodejs      1
f9adc4
%define use_bundled_openssl     1
7cc1fe
%define use_bundled_yasm        1
f9adc4
%define bundle_gtk3             1
f9adc4
# In-tree libffi is able to build on following platforms, we have to bundle it for the rest
f9adc4
%ifnarch x86_64 i686 aarch64
f9adc4
%define use_bundled_ffi         1
f9adc4
%endif
f9adc4
%endif
f9adc4
50bed7
# GTK3 bundling
50bed7
%define avoid_bundled_rebuild   0
50bed7
7cc1fe
%define gtk3_nvr 3.22.26-1
7cc1fe
%define gtk3_install_path %{mozappdir}/bundled
f9adc4
f9adc4
# We could use %%include, but in %%files, %%post and other sections, but in these
f9adc4
# sections it could lead to syntax errors about unclosed %%if. Work around it by
f9adc4
# using the following macro
f9adc4
%define include_file() %{expand:%(cat '%1')}
f9adc4
7cc1fe
%global mozappdir     %{_libdir}/%{name}
7cc1fe
%global mozappdirdev  %{_libdir}/%{name}-devel-%{version}
7cc1fe
%global langpackdir   %{mozappdir}/distribution/extensions
7cc1fe
%global tarballdir    %{name}-%{version}
7cc1fe
#global pre_tag       alpha
f9adc4
7cc1fe
%global official_branding       1
7cc1fe
%global build_langpacks         1
f9adc4
Summary:        Mozilla Thunderbird mail/newsgroup client
f9adc4
Name:           thunderbird
e2e09b
Version:        78.3.0
50bed7
Release:        3%{?dist}
f9adc4
URL:            http://www.mozilla.org/projects/thunderbird/
f9adc4
License:        MPLv1.1 or GPLv2+ or LGPLv2+
f9adc4
Group:          Applications/Internet
f9adc4
f9adc4
%if 0%{?rhel} == 7
f9adc4
ExcludeArch:    s390 ppc
f9adc4
%endif
f9adc4
%if 0%{?rhel} == 6
f9adc4
ExclusiveArch:  i686 x86_64 ppc64 s390x
f9adc4
%endif
f9adc4
f9adc4
# From ftp://archive.mozilla.org/pub/thunderbird/releases/%{version}%{?ext_version}/source
f9adc4
Source0:        https://archive.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.source.tar.xz
f9adc4
%if %{build_langpacks}
e2e09b
Source1:        thunderbird-langpacks-%{version}%{?ext_version}-20200919.tar.xz
f9adc4
# Locales for lightning
f9adc4
%endif
7cc1fe
Source2:        cbindgen-vendor-0.14.3.tar.xz
f9adc4
Source3:        get-calendar-langpacks.sh
f9adc4
f9adc4
Source10:       thunderbird-mozconfig
f9adc4
Source20:       thunderbird.desktop
f9adc4
Source21:       thunderbird.sh.in
f9adc4
Source24:       mozilla-api-key
f9adc4
Source27:       google-api-key
f9adc4
Source28:       node-stdout-nonblocking-wrapper
f9adc4
Source102:      find-external-requires
f9adc4
Source200:      gtk3-private-%{gtk3_nvr}.el6.src.rpm
f9adc4
Source201:      gtk3-private-%{gtk3_nvr}-post.inc
f9adc4
Source202:      gtk3-private-%{gtk3_nvr}-postun.inc
f9adc4
Source203:      gtk3-private-%{gtk3_nvr}-posttrans.inc
f9adc4
Source204:      gtk3-private-%{gtk3_nvr}-files.inc
f9adc4
Source205:      gtk3-private-%{gtk3_nvr}-setup-flags-env.inc
f9adc4
Source206:      gtk3-private-%{gtk3_nvr}-requires-provides-filter.inc
f9adc4
Source301:      yasm-1.2.0-3.el5.src.rpm
f9adc4
Source303:      libffi-3.0.13-18.el7_3.src.rpm
7cc1fe
Source304:      nodejs-10.21.0-4.fc32.src.rpm
f9adc4
Source305:      openssl-1.0.2k-19.6.bundle.el7_7.src.rpm
730cc2
Source601:      thunderbird-redhat-default-prefs.js.rhel6
730cc2
Source701:      thunderbird-redhat-default-prefs.js.rhel7
f9adc4
f9adc4
## Firefox patches
f9adc4
7cc1fe
Source403:      nss-3.53.1-3.fc32.src.rpm
7cc1fe
Source401:      nss-setup-flags-env.inc
7cc1fe
Source402:      nspr-4.25.0-1.el8_0.src.rpm 
7cc1fe
#Python
7cc1fe
%if 0%{?use_bundled_python_2}
7cc1fe
Source100:      https://www.python.org/ftp/python/%{bundled_python_version_2}/Python-%{bundled_python_version_2}.tar.xz
7cc1fe
%endif
7cc1fe
%if 0%{?use_bundled_python_3}
7cc1fe
Source101:      https://www.python.org/ftp/python/%{bundled_python_version_3}/Python-%{bundled_python_version_3}.tar.xz
7cc1fe
%endif
f9adc4
# Build patches
7cc1fe
Patch1000:      python-2.7.patch
f9adc4
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1699374
f9adc4
Patch1001:      build-ppc64le-inline.patch
f9adc4
Patch1002:      python-2.7-gcc8-fix.patch
f9adc4
Patch1003:      python-missing-utimensat.patch
7cc1fe
Patch1004:      build-icu-make.patch
f9adc4
# workaround for https://bugzilla.redhat.com/show_bug.cgi?id=1699374
f9adc4
Patch4:         build-mozconfig-fix.patch
f9adc4
Patch6:         build-nss-version.patch
f9adc4
Patch7:         firefox-debugedits-error.patch
f9adc4
f9adc4
# Fedora/RHEL specific patches
f9adc4
Patch215:        firefox-enable-addons.patch
f9adc4
Patch219:        rhbz-1173156.patch
f9adc4
Patch224:        mozilla-1170092.patch
f9adc4
#ARM run-time patch
7cc1fe
Patch231:        firefox-pipewire.patch
f9adc4
Patch232:        firefox-rhel6-hugepage.patch
7cc1fe
Patch233:        firefox-rhel6-nss-tls1.3.patch
7cc1fe
Patch234:        rhbz-1821418.patch
7cc1fe
Patch235:        firefox-pipewire-0-3.patch
7cc1fe
Patch236:        fedora-shebang-build.patch
f9adc4
f9adc4
# Upstream patches
f9adc4
Patch402:        mozilla-1196777.patch
f9adc4
f9adc4
Patch501:        python-encode.patch
7cc1fe
Patch503:        mozilla-s390-context.patch
7cc1fe
Patch505:        mozilla-bmo1005535.patch
7cc1fe
Patch506:        mozilla-bmo1504834-part1.patch
7cc1fe
Patch507:        mozilla-bmo1504834-part2.patch
7cc1fe
Patch508:        mozilla-bmo1504834-part3.patch
7cc1fe
Patch509:        mozilla-bmo1504834-part4.patch
7cc1fe
Patch510:        mozilla-bmo1554971.patch
7cc1fe
Patch511:        mozilla-bmo1602730.patch
7cc1fe
Patch512:        mozilla-bmo849632.patch
7cc1fe
Patch513:        mozilla-bmo998749.patch
7cc1fe
Patch514:        mozilla-s390x-skia-gradient.patch
7cc1fe
Patch515:        mozilla-bmo1626236.patch
7cc1fe
Patch516:        D87019-thin-vec-big-endian.diff
7cc1fe
50bed7
7cc1fe
# CentOS patches
7cc1fe
%if 0%{?centos}
b06239
Patch10000:      Bug-1238661---fix-mozillaSignalTrampoline-to-work-.patch
b06239
Patch10001:      Bug-1526653---fix_user_vfp_armv7.patch
7cc1fe
%endif
f9adc4
e2e09b
# RHEL6 patches
e2e09b
Patch600:        rhel6-dbusver.patch
e2e09b
Patch601:        rhel6-kernel.patch
e2e09b
Patch602:        rhel6-mach-fail.patch
e2e09b
Patch603:        rhel6-zconst.patch
e2e09b
Patch604:        rhel6-auxvh.patch
e2e09b
Patch605:        rhel6-abiv2-mozbz1642174.patch
e2e09b
7cc1fe
%if %{?system_nss}
7cc1fe
%if !0%{?bundle_nss}
7cc1fe
BuildRequires:  pkgconfig(nspr) >= %{nspr_version}
7cc1fe
BuildRequires:  pkgconfig(nss) >= %{nss_version}
7cc1fe
BuildRequires:  nss-static >= %{nss_version}
7cc1fe
%endif
7cc1fe
%endif
7cc1fe
%if %{?system_cairo}
7cc1fe
BuildRequires:  pkgconfig(cairo) >= %{cairo_version}
7cc1fe
%endif
f9adc4
BuildRequires:  pkgconfig(libpng)
f9adc4
BuildRequires:  xz
7cc1fe
BuildRequires:  libXt-devel
7cc1fe
BuildRequires:  mesa-libGL-devel
f9adc4
Requires:       liberation-fonts-common
f9adc4
Requires:       liberation-sans-fonts
f9adc4
%if %{?system_jpeg}
f9adc4
BuildRequires:  libjpeg-devel
f9adc4
%endif
7cc1fe
BuildRequires:  zip
7cc1fe
BuildRequires:  bzip2-devel
7cc1fe
BuildRequires:  pkgconfig(zlib)
7cc1fe
BuildRequires:  pkgconfig(libIDL-2.0)
7cc1fe
BuildRequires:  pkgconfig(gtk+-2.0)
7cc1fe
BuildRequires:  krb5-devel
7cc1fe
BuildRequires:  pkgconfig(pango)
7cc1fe
BuildRequires:  pkgconfig(freetype2) >= %{freetype_version}
7cc1fe
BuildRequires:  pkgconfig(xt)
7cc1fe
BuildRequires:  pkgconfig(xrender)
7cc1fe
%if %{?system_hunspell}
7cc1fe
BuildRequires:  hunspell-devel
f9adc4
%endif
7cc1fe
BuildRequires:  pkgconfig(libstartup-notification-1.0)
7cc1fe
BuildRequires:  pkgconfig(libnotify)
7cc1fe
BuildRequires:  pkgconfig(dri)
7cc1fe
BuildRequires:  pkgconfig(libcurl)
7cc1fe
BuildRequires:  dbus-glib-devel
f9adc4
%if %{?system_libvpx}
f9adc4
BuildRequires:  libvpx-devel >= %{libvpx_version}
f9adc4
%endif
7cc1fe
BuildRequires:  autoconf213
7cc1fe
BuildRequires:  pkgconfig(libpulse)
7cc1fe
BuildRequires:  pkgconfig(gconf-2.0)
f9adc4
f9adc4
%if 0%{?use_dts}
f9adc4
BuildRequires:  devtoolset-%{dts_version}-gcc-c++
f9adc4
BuildRequires:  devtoolset-%{dts_version}-gcc
f9adc4
BuildRequires:  devtoolset-%{dts_version}-binutils
f9adc4
BuildRequires:  devtoolset-%{dts_version}-libatomic-devel
f9adc4
%if 0%{?use_llvmts}
f9adc4
BuildRequires:  llvm-toolset-%{llvm_version}
f9adc4
BuildRequires:  llvm-toolset-%{llvm_version}-llvm-devel
f9adc4
%endif
f9adc4
%endif
7cc1fe
f9adc4
BuildRequires:  scl-utils
7cc1fe
BuildRequires:  findutils
7cc1fe
7cc1fe
f9adc4
%if 0%{?rhel} == 8
f9adc4
BuildRequires:  cargo
f9adc4
BuildRequires:  rust >= %{rust_version}
f9adc4
BuildRequires:  llvm >= %{llvm_version}
f9adc4
BuildRequires:  llvm-devel >= %{llvm_version}
f9adc4
BuildRequires:  clang >= %{llvm_version}
f9adc4
BuildRequires:  clang-devel >= %{llvm_version}
7cc1fe
BuildRequires:  rustfmt >= %{rust_version}
f9adc4
BuildRequires:  python3
7cc1fe
BuildRequires:  nodejs >= 10.21
f9adc4
%else
f9adc4
%if 0%{?use_rustts}
f9adc4
BuildRequires:  rust-toolset-%{rust_toolset_version}
f9adc4
%endif
7cc1fe
%if 0%{?rhel} == 7
7cc1fe
#BuildRequires:  rh-nodejs12
7cc1fe
%endif
f9adc4
%if 0%{?use_llvmts}
f9adc4
BuildRequires:  llvm-toolset-%{llvm_version}
f9adc4
BuildRequires:  llvm-toolset-%{llvm_version}-llvm-devel
f9adc4
%endif
f9adc4
%endif
f9adc4
7cc1fe
%if ! 0%{?use_bundled_yasm}
7cc1fe
BuildRequires:  yasm
7cc1fe
%endif
7cc1fe
7cc1fe
f9adc4
%if 0%{?use_bundled_python_2}
f9adc4
# Needed for Python in RHEL6
f9adc4
BuildRequires:  openssl-devel
7cc1fe
%endif
7cc1fe
7cc1fe
%if 0%{?rhel} == 8
7cc1fe
  %if 0%{?rhel_minor_version} >= 3
7cc1fe
BuildRequires:  pkgconfig(libpipewire-0.3)
7cc1fe
  %else
7cc1fe
BuildRequires:  pipewire-devel
7cc1fe
  %endif
f9adc4
%endif
f9adc4
f9adc4
%if 0%{?bundle_gtk3}
f9adc4
BuildRequires:        automake
f9adc4
BuildRequires:        autoconf
f9adc4
BuildRequires:        cups-devel
f9adc4
BuildRequires:        dbus-devel
f9adc4
BuildRequires:        desktop-file-utils
f9adc4
BuildRequires:        expat-devel
f9adc4
BuildRequires:        fontpackages-devel
f9adc4
BuildRequires:        gamin-devel
f9adc4
BuildRequires:        gettext-devel
f9adc4
BuildRequires:        git
f9adc4
BuildRequires:        intltool
f9adc4
BuildRequires:        jasper-devel
f9adc4
BuildRequires:        libepoxy-devel
f9adc4
BuildRequires:        libcroco-devel
f9adc4
BuildRequires:        libffi-devel
f9adc4
BuildRequires:        libpng-devel
f9adc4
BuildRequires:        libtiff-devel
f9adc4
BuildRequires:        libtool
f9adc4
BuildRequires:        libxml2-devel
f9adc4
BuildRequires:        libX11-devel
f9adc4
BuildRequires:        libXcomposite-devel
f9adc4
BuildRequires:        libXcursor-devel
f9adc4
BuildRequires:        libXinerama-devel
f9adc4
BuildRequires:        libXevie-devel
f9adc4
BuildRequires:        libXrandr-devel
f9adc4
BuildRequires:        libXrender-devel
f9adc4
BuildRequires:        libXtst-devel
f9adc4
BuildRequires:        mesa-libGL-devel
f9adc4
BuildRequires:        mesa-libEGL-devel
f9adc4
BuildRequires:        pixman-devel
f9adc4
BuildRequires:        rest-devel
f9adc4
BuildRequires:        readline-devel
f9adc4
# TODO: We miss that dependency in our bundled gtk3 package.
f9adc4
# As a hotfix we put it here and fix gtk3 in next release.
f9adc4
Requires:             mesa-libEGL%{?_isa}
f9adc4
Requires:             libcroco%{?_isa}
f9adc4
Requires:             mesa-libGL%{?_isa}
f9adc4
Requires:             bzip2-libs%{?_isa}
f9adc4
Requires:             libXtst%{?_isa}
f9adc4
%else
f9adc4
BuildRequires:        gtk3-devel
f9adc4
BuildRequires:        glib2-devel
f9adc4
%endif
7cc1fe
7cc1fe
# Bundled nss/nspr requirement
7cc1fe
%if 0%{?bundle_nss}
7cc1fe
BuildRequires:    nss-softokn
7cc1fe
BuildRequires:    sqlite-devel
7cc1fe
BuildRequires:    zlib-devel
7cc1fe
BuildRequires:    pkgconfig
7cc1fe
BuildRequires:    gawk
7cc1fe
BuildRequires:    psmisc
7cc1fe
%if 0%{?rhel} == 6
7cc1fe
BuildRequires:    perl
7cc1fe
%else
7cc1fe
BuildRequires:    perl-interpreter
7cc1fe
%endif
7cc1fe
BuildRequires:    gcc-c++
7cc1fe
BuildRequires:    xmlto
7cc1fe
%endif
7cc1fe
7cc1fe
Requires:       mozilla-filesystem
7cc1fe
Requires:       p11-kit-trust
f9adc4
%if %{?system_nss}
7cc1fe
%if !0%{?bundle_nss}
7cc1fe
Requires:       nspr >= %{nspr_build_version}
7cc1fe
Requires:       nss >= %{nss_build_version}
7cc1fe
%endif
f9adc4
%endif
f9adc4
7cc1fe
BuildRequires:  desktop-file-utils
7cc1fe
BuildRequires:  system-bookmarks
7cc1fe
Requires:       redhat-indexhtml
7cc1fe
#for the python2
7cc1fe
BuildRequires:  pkgconfig(sqlite3)
7cc1fe
7cc1fe
7cc1fe
%if %{?run_tests}
7cc1fe
BuildRequires:  xorg-x11-server-Xvfb
f9adc4
%endif
7cc1fe
f9adc4
%if %{?system_ffi}
f9adc4
  %if !%{use_bundled_ffi}0
f9adc4
BuildRequires:  pkgconfig(libffi)
f9adc4
  %endif
f9adc4
%endif
f9adc4
7cc1fe
%if %{?use_bundled_nodejs}
50bed7
%if !0%{?use_bundled_python_3}
50bed7
BuildRequires: python3-devel
50bed7
%endif
7cc1fe
BuildRequires: zlib-devel
7cc1fe
#BuildRequires: brotli-devel
7cc1fe
#BuildRequires: gcc >= 4.9.4
7cc1fe
#BuildRequires: gcc-c++ >= 4.9.4
7cc1fe
BuildRequires: chrpath
7cc1fe
BuildRequires: libatomic
7cc1fe
BuildRequires: openssl-devel
7cc1fe
%endif
f9adc4
Obsoletes:      thunderbird-lightning
f9adc4
# ==================================================================================
f9adc4
# Override internal dependency generator to avoid showing libraries provided by this package
f9adc4
# in dependencies:
f9adc4
#AutoProv: 0
f9adc4
#%define _use_internal_dependency_generator 0
f9adc4
#%define __find_requires %{SOURCE101}
f9adc4
f9adc4
%description
f9adc4
Mozilla Thunderbird is a standalone mail and newsgroup client.
f9adc4
f9adc4
f9adc4
%prep
7cc1fe
echo "Build environment"
7cc1fe
echo "dist                  %{?dist}"
7cc1fe
echo "RHEL 8 minor version: %{?rhel_minor_version}"
7cc1fe
echo "use_bundled_ffi       %{?use_bundled_ffi}"
7cc1fe
echo "use_bundled_python_2  %{?use_bundled_python_2}"
7cc1fe
echo "use_bundled_python_3  %{?use_bundled_python_3}"
7cc1fe
echo "bundle_nss            %{?bundle_nss}"
7cc1fe
echo "system_nss            %{?system_nss}"
7cc1fe
echo "use_rustts            %{?use_rustts}"
7cc1fe
echo "use_bundled_nodejs    %{?use_bundled_nodejs}"
7cc1fe
echo "use_bundled_openssl   %{?use_bundled_openssl}"
7cc1fe
echo "use_bundled_yasm      %{?use_bundled_yasm}"
7cc1fe
7cc1fe
f9adc4
%if 0%{?use_bundled_python_2}
f9adc4
%setup -q -T -c -n python2 -a 100
f9adc4
%patch1000 -p0 -b .build
f9adc4
%patch1002 -p0 -b .gcc8
f9adc4
%endif
f9adc4
%if 0%{?use_bundled_python_3}
f9adc4
%setup -q -T -c -n python3 -a 101
f9adc4
%if 0%{?rhel} == 6
f9adc4
%patch1003 -p0 -b .missing-utimensat.patch
f9adc4
%endif
f9adc4
%endif
f9adc4
%setup -q -n %{tarballdir}
f9adc4
f9adc4
# Firefox patches
f9adc4
%patch7 -p1 -b .debugedits-error
f9adc4
%ifarch %{ix86} %{arm} ppc
f9adc4
# binary check fails OOM on 32bit arches
f9adc4
%endif
f9adc4
f9adc4
%patch4  -p1 -b .build-mozconfig-fix
7cc1fe
#%patch6  -p1 -b .nss-version
f9adc4
f9adc4
# Fedora patches
f9adc4
%patch215 -p1 -b .addons
f9adc4
%patch219 -p1 -b .rhbz-1173156
f9adc4
%patch224 -p1 -b .1170092
7cc1fe
%if 0%{?rhel} == 8
7cc1fe
  %if 0%{?rhel_minor_version} >= 3
7cc1fe
%patch235 -p1 -b .pipewire-0-3
7cc1fe
  %else
7cc1fe
%patch231 -p1 -b .pipewire
7cc1fe
  %endif
f9adc4
%endif
f9adc4
7cc1fe
%patch236 -p1 -b .fedora-shebang-build
f9adc4
7cc1fe
%if 0%{?rhel} == 6
7cc1fe
%patch232 -p1 -b .hugepage
7cc1fe
%patch233 -p1 -b .rhel6-nss-tls1.3
f9adc4
%endif
7cc1fe
%patch234 -p1 -b .rhbz-1821418
f9adc4
f9adc4
%patch402 -p1 -b .1196777
f9adc4
f9adc4
# Patch for big endian platforms only
f9adc4
%if 0%{?big_endian}
f9adc4
%endif
f9adc4
f9adc4
# Thunderbird patches
f9adc4
%patch501 -p1 -b .python-encode
7cc1fe
%patch503 -p1 -b .mozilla-s390-context
7cc1fe
%patch505 -p1 -b .mozilla-bmo1005535
7cc1fe
%patch506 -p1 -b .mozilla-bmo1504834-part1
7cc1fe
%patch507 -p1 -b .mozilla-bmo1504834-part2
7cc1fe
%patch508 -p1 -b .mozilla-bmo1504834-part3
7cc1fe
%patch509 -p1 -b .mozilla-bmo1504834-part4
7cc1fe
%patch510 -p1 -b .mozilla-bmo1554971
7cc1fe
%patch511 -p1 -b .mozilla-bmo1602730
7cc1fe
%patch512 -p1 -b .mozilla-bmo849632
7cc1fe
%patch513 -p1 -b .mozilla-bmo998749
7cc1fe
%patch514 -p1 -b .mozilla-s390x-skia-gradient
7cc1fe
%patch515 -p1 -b .mozilla-bmo1626236
7cc1fe
%patch516 -p1 -b .D87019-thin-vec-big-endian.diff
50bed7
50bed7
f9adc4
%patch1001 -p1 -b .ppc64le-inline
7cc1fe
%patch1004 -p1 -b .icu-make
f9adc4
e2e09b
%if 0%{?rhel} == 6
e2e09b
%patch600 -p1 -b .rhel6-dbusver
e2e09b
%patch601 -p1 -b .rhel6-kernel
e2e09b
%patch602 -p1 -b .rhel6-mach-fail
e2e09b
%patch603 -p1 -b .rhel6-zconst
e2e09b
%patch604 -p1 -b .rhel6-auxvh
e2e09b
%patch605 -p1 -b .rhel6-abiv2-mozbz1642174
e2e09b
%endif
e2e09b
7cc1fe
# CentOS patches
7cc1fe
%if 0%{?centos}
b06239
%patch10000 -p1 -b .mozilla-1238661
b06239
%patch10001 -p1 -b .mozilla-1526653
b06239
%endif
b06239
f9adc4
%{__rm} -f .mozconfig
f9adc4
%{__cp} %{SOURCE10} .mozconfig
f9adc4
function add_to_mozconfig() {
f9adc4
  mozconfig_entry=$1
f9adc4
  echo "ac_add_options --$1" >> .mozconfig
f9adc4
}
f9adc4
f9adc4
# Modify mozconfig file
f9adc4
%if %{official_branding}
f9adc4
 add_to_mozconfig "enable-official-branding"
f9adc4
%endif
f9adc4
%{__cp} %{SOURCE24} mozilla-api-key
f9adc4
%{__cp} %{SOURCE27} google-api-key
f9adc4
f9adc4
%if %{?system_nss}
f9adc4
 add_to_mozconfig "with-system-nspr"
f9adc4
 add_to_mozconfig "with-system-nss"
f9adc4
%else
f9adc4
 add_to_mozconfig "without-system-nspr"
f9adc4
 add_to_mozconfig "without-system-nss"
f9adc4
%endif
f9adc4
f9adc4
%if 0%{?use_bundled_ffi}
f9adc4
 add_to_mozconfig "with-system-ffi"
f9adc4
%endif
f9adc4
f9adc4
%if 0%{?system_ffi}
f9adc4
 add_to_mozconfig "with-system-ffi"
f9adc4
%endif
f9adc4
%ifarch %{arm} %{ix86} x86_64
f9adc4
 add_to_mozconfig "disable-elf-hack"
f9adc4
%endif
f9adc4
7cc1fe
%if %{?system_hunspell}
7cc1fe
echo "ac_add_options --enable-system-hunspell" >> .mozconfig
7cc1fe
%else
7cc1fe
# not available?
7cc1fe
#echo "ac_add_options --disable-system-hunspell" >> .mozconfig
7cc1fe
%endif
7cc1fe
f9adc4
%if %{?debug_build}
f9adc4
 add_to_mozconfig "enable-debug"
f9adc4
 add_to_mozconfig "disable-optimize"
f9adc4
%else
f9adc4
%global optimize_flags "-g -O2"
7cc1fe
%ifarch s390 s390x
7cc1fe
%global optimize_flags "-g -O1"
f9adc4
%endif
f9adc4
%ifarch armv7hl
f9adc4
# ARMv7 need that (rhbz#1426850)
730cc2
%global optimize_flags "-g -O2 -fno-schedule-insns"
f9adc4
%endif
f9adc4
%ifarch ppc64le aarch64
f9adc4
%global optimize_flags "-g -O2"
f9adc4
%endif
f9adc4
%if %{optimize_flags} != "none"
f9adc4
echo 'ac_add_options --enable-optimize=%{?optimize_flags}' >> .mozconfig
f9adc4
%else
f9adc4
echo 'ac_add_options --enable-optimize' >> .mozconfig
f9adc4
%endif
f9adc4
echo "ac_add_options --disable-debug" >> .mozconfig
f9adc4
%endif
f9adc4
f9adc4
# Second arches fail to start with jemalloc enabled
f9adc4
%ifnarch %{ix86} x86_64
f9adc4
echo "ac_add_options --disable-jemalloc" >> .mozconfig
f9adc4
%endif
f9adc4
f9adc4
%ifnarch %{ix86} x86_64
f9adc4
echo "ac_add_options --disable-webrtc" >> .mozconfig
f9adc4
%endif
f9adc4
7cc1fe
%if !%{?system_jpeg}
7cc1fe
echo "ac_add_options --without-system-jpeg" >> .mozconfig
7cc1fe
%else
7cc1fe
echo "ac_add_options --with-system-jpeg" >> .mozconfig
7cc1fe
%endif
7cc1fe
f9adc4
%if %{?system_libvpx}
f9adc4
echo "ac_add_options --with-system-libvpx" >> .mozconfig
f9adc4
%else
f9adc4
echo "ac_add_options --without-system-libvpx" >> .mozconfig
f9adc4
%endif
f9adc4
f9adc4
%if %{?system_libicu}
f9adc4
echo "ac_add_options --with-system-icu" >> .mozconfig
f9adc4
%else
f9adc4
echo "ac_add_options --without-system-icu" >> .mozconfig
f9adc4
%endif
f9adc4
%ifarch s390 s390x
7cc1fe
echo "ac_add_options --disable-jit" >> .mozconfig
7cc1fe
%endif
7cc1fe
7cc1fe
%ifnarch %{ix86}
7cc1fe
%if !0%{?debug_build}
7cc1fe
echo "ac_add_options --disable-debug-symbols" >> .mozconfig
7cc1fe
%endif
f9adc4
%endif
f9adc4
f9adc4
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
f9adc4
f9adc4
# Remove executable bit to make brp-mangle-shebangs happy.
f9adc4
chmod -x third_party/rust/itertools/src/lib.rs
7cc1fe
chmod a-x third_party/rust/gfx-backend-vulkan/src/*.rs
7cc1fe
chmod a-x third_party/rust/gfx-hal/src/*.rs
7cc1fe
chmod a-x third_party/rust/ash/src/extensions/ext/*.rs
7cc1fe
chmod a-x third_party/rust/ash/src/extensions/khr/*.rs
7cc1fe
chmod a-x third_party/rust/ash/src/extensions/mvk/*.rs
7cc1fe
chmod a-x third_party/rust/ash/src/extensions/nv/*.rs
f9adc4
f9adc4
# install lightning langpacks
f9adc4
f9adc4
%build
7cc1fe
ulimit -a
7cc1fe
free
7cc1fe
#set -e
f9adc4
# Hack for missing shell when building in brew on RHEL6
f9adc4
%if 0%{?rhel} == 6
f9adc4
export SHELL=/bin/sh
f9adc4
%endif
f9adc4
f9adc4
#GTK3 >>
f9adc4
%if ! 0%{?avoid_bundled_rebuild}
f9adc4
    rm -rf %{_buildrootdir}/*
f9adc4
%endif
f9adc4
export PATH="%{_buildrootdir}/bin:$PATH"
f9adc4
f9adc4
function install_rpms_to_current_dir() {
f9adc4
    PACKAGE_RPM=$(eval echo $1)
f9adc4
    PACKAGE_DIR=%{_rpmdir}
f9adc4
f9adc4
    if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
f9adc4
        # Hack for tps tests
f9adc4
        ARCH_STR=%{_arch}
f9adc4
        %ifarch i386 i686
f9adc4
            ARCH_STR="i?86"
f9adc4
        %endif
7cc1fe
        %if 0%{?rhel} > 6
7cc1fe
          PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
7cc1fe
        %endif
f9adc4
     fi
f9adc4
f9adc4
     for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
f9adc4
     do
f9adc4
         echo "$package"
f9adc4
         rpm2cpio "$package" | cpio -idu
f9adc4
     done
f9adc4
}
f9adc4
f9adc4
function build_bundled_package() {
f9adc4
  PACKAGE_RPM=$1
f9adc4
  PACKAGE_FILES=$2
f9adc4
  PACKAGE_SOURCE=$3
7cc1fe
  PACKAGE_BUILD_OPTIONS=$4
f9adc4
  export PACKAGE_DIR="%{_topdir}/RPMS"
f9adc4
f9adc4
  PACKAGE_ALREADY_BUILD=0
f9adc4
  %if %{?avoid_bundled_rebuild}
f9adc4
    if ls $PACKAGE_DIR/$PACKAGE_RPM; then
f9adc4
      PACKAGE_ALREADY_BUILD=1
f9adc4
    fi
f9adc4
    if ls $PACKAGE_DIR/%{_arch}/$PACKAGE_RPM; then
f9adc4
      PACKAGE_ALREADY_BUILD=1
f9adc4
    fi
f9adc4
  %endif
f9adc4
  if [ $PACKAGE_ALREADY_BUILD == 0 ]; then
f9adc4
    echo "Rebuilding $PACKAGE_RPM from $PACKAGE_SOURCE"; echo "==============================="
7cc1fe
    rpmbuild --nodeps $PACKAGE_BUILD_OPTIONS --rebuild $PACKAGE_SOURCE
7cc1fe
    cat /var/tmp/rpm-tmp*
f9adc4
  fi
f9adc4
7cc1fe
  find $PACKAGE_DIR
f9adc4
  if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
f9adc4
    # Hack for tps tests
f9adc4
    ARCH_STR=%{_arch}
f9adc4
    %ifarch i386 i686
f9adc4
    ARCH_STR="i?86"
f9adc4
    %endif
7cc1fe
    %if 0%{?rhel} > 6
7cc1fe
      export PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
50bed7
    %endif
f9adc4
  fi
f9adc4
  pushd $PACKAGE_DIR
f9adc4
f9adc4
  echo "Installing $PACKAGE_DIR/$PACKAGE_RPM"; echo "==============================="
7cc1fe
  pwd
f9adc4
  PACKAGE_LIST=$(echo $PACKAGE_DIR/$PACKAGE_RPM | tr " " "\n")
f9adc4
  for PACKAGE in $PACKAGE_LIST
f9adc4
  do
f9adc4
      rpm2cpio $PACKAGE | cpio -iduv
f9adc4
  done
f9adc4
f9adc4
  PATH=$PACKAGE_DIR/usr/bin:$PATH
f9adc4
  export PATH
f9adc4
  LD_LIBRARY_PATH=$PACKAGE_DIR/usr/%{_lib}:$LD_LIBRARY_PATH
f9adc4
  export LD_LIBRARY_PATH
f9adc4
f9adc4
  # Clean rpms to avoid including them to package
f9adc4
  %if ! 0%{?avoid_bundled_rebuild}
f9adc4
    rm -f $PACKAGE_FILES
f9adc4
  %endif
f9adc4
f9adc4
  popd
f9adc4
}
f9adc4
f9adc4
# Build and install local yasm if needed
f9adc4
# ======================================
7cc1fe
%if 0%{?use_bundled_yasm}
f9adc4
  build_bundled_package 'yasm-1*.rpm' 'yasm-*.rpm' '%{SOURCE301}'
f9adc4
%endif
f9adc4
7cc1fe
%if 0%{?bundle_nss}
7cc1fe
   rpm -ivh %{SOURCE402}
7cc1fe
   #rpmbuild --nodeps --define '_prefix %{gtk3_install_path}' --without=tests -ba %{_specdir}/nspr.spec
7cc1fe
   rpmbuild --nodeps --define '_prefix %{gtk3_install_path}' -ba %{_specdir}/nspr.spec
7cc1fe
   pushd %{_buildrootdir}
7cc1fe
   install_rpms_to_current_dir nspr-4*.rpm
7cc1fe
   install_rpms_to_current_dir nspr-devel*.rpm
7cc1fe
   popd
7cc1fe
   echo "Setting nspr flags"
7cc1fe
   # nss-setup-flags-env.inc
7cc1fe
   sed -i 's@%{gtk3_install_path}@%{_buildrootdir}%{gtk3_install_path}@g' %{_buildrootdir}%{gtk3_install_path}/%{_lib}/pkgconfig/nspr*.pc
7cc1fe
7cc1fe
   export LDFLAGS="-L%{_buildrootdir}%{gtk3_install_path}/%{_lib} $LDFLAGS"
7cc1fe
   export LDFLAGS="-Wl,-rpath,%{gtk3_install_path}/%{_lib} $LDFLAGS"
7cc1fe
   export LDFLAGS="-Wl,-rpath-link,%{_buildrootdir}%{gtk3_install_path}/%{_lib} $LDFLAGS"
7cc1fe
   export PKG_CONFIG_PATH=%{_buildrootdir}%{gtk3_install_path}/%{_lib}/pkgconfig
7cc1fe
   export PATH="{_buildrootdir}%{gtk3_install_path}/bin:$PATH"
7cc1fe
7cc1fe
   export PATH=%{_buildrootdir}/%{gtk3_install_path}/bin:$PATH
7cc1fe
   echo $PKG_CONFIG_PATH
7cc1fe
7cc1fe
   rpm -ivh %{SOURCE403}
7cc1fe
   rpmbuild --nodeps --define '_prefix %{gtk3_install_path}' -ba %{_specdir}/nss.spec
7cc1fe
   pushd %{_buildrootdir}
7cc1fe
   #cleanup
7cc1fe
   #rm -rf {_buildrootdir}/usr/lib/debug/*
7cc1fe
   #rm -rf {_buildrootdir}/usr/lib/.build-id
7cc1fe
   #install_rpms_to_current_dir nss-%{gtk3_nvr}*.rpm
7cc1fe
   #install_rpms_to_current_dir nss-devel-%{gtk3_nvr}*.rpm
7cc1fe
   install_rpms_to_current_dir nss-3*.rpm
7cc1fe
   install_rpms_to_current_dir nss-devel*.rpm
7cc1fe
   install_rpms_to_current_dir nss-pkcs11-devel*.rpm
7cc1fe
   install_rpms_to_current_dir nss-softokn-3*.rpm
7cc1fe
   install_rpms_to_current_dir nss-softokn-devel*.rpm
7cc1fe
   install_rpms_to_current_dir nss-softokn-freebl-3*.rpm
7cc1fe
   install_rpms_to_current_dir nss-softokn-freebl-devel*.rpm
7cc1fe
   install_rpms_to_current_dir nss-util-3*.rpm
7cc1fe
   install_rpms_to_current_dir nss-util-devel*.rpm
7cc1fe
   popd
7cc1fe
  %filter_provides_in %{gtk3_install_path}/%{_lib}
7cc1fe
  %filter_requires_in %{gtk3_install_path}/%{_lib}
7cc1fe
  %filter_from_requires /libnss3.so.*/d
7cc1fe
  %filter_from_requires /libsmime3.so.*/d
7cc1fe
  %filter_from_requires /libssl3.so.*/d
7cc1fe
  %filter_from_requires /libnssutil3.so.*/d
7cc1fe
  %filter_from_requires /libnspr4.so.*/d
7cc1fe
7cc1fe
%endif
7cc1fe
f9adc4
%if 0%{?bundle_gtk3}
f9adc4
   %if ! 0%{?avoid_bundled_rebuild}
f9adc4
    rpm -ivh %{SOURCE200}
f9adc4
    rpmbuild --nodeps --define '_prefix %{gtk3_install_path}' -ba %{_specdir}/gtk3-private.spec
f9adc4
   %endif
f9adc4
   pushd %{_buildrootdir}
f9adc4
   install_rpms_to_current_dir gtk3-private-%{gtk3_nvr}*.rpm
f9adc4
   install_rpms_to_current_dir gtk3-private-devel-%{gtk3_nvr}*.rpm
f9adc4
   install_rpms_to_current_dir gtk3-private-rpm-scripts-%{gtk3_nvr}*.rpm
f9adc4
   popd
f9adc4
%endif
f9adc4
f9adc4
%if 0%{?bundle_gtk3}
f9adc4
# gtk3-private-3.22.26.el6-1-requires-provides-filter.inc
f9adc4
%include_file %{SOURCE206}
f9adc4
%endif
f9adc4
%if 0%{use_bundled_ffi}
f9adc4
  # Install libraries to the predefined location to later add them to the Firefox libraries
f9adc4
  rpm -ivh %{SOURCE303}
f9adc4
  rpmbuild --nodeps --define '_prefix %{gtk3_install_path}' -ba %{_specdir}/libffi.spec
f9adc4
  pushd %{_buildrootdir}
f9adc4
  install_rpms_to_current_dir 'libffi*.rpm'
f9adc4
  popd
f9adc4
  %filter_from_requires /libffi.so.6/d
f9adc4
%endif
f9adc4
%filter_setup
f9adc4
f9adc4
# If needed build the bundled python 2.7 and 3.6 and put it in the PATH
f9adc4
%if 0%{?use_bundled_python_3}
f9adc4
    pushd %{_builddir}/python3/Python-%{bundled_python_version_3}
e2e09b
    ./configure --prefix="%{_buildrootdir}" --exec-prefix="%{_buildrootdir}" --libdir="%{_buildrootdir}/lib"
f9adc4
    make %{?_smp_mflags} install V=1 -j1
f9adc4
    cp Tools/scripts/pathfix.py %{_buildrootdir}/bin
f9adc4
    popd
f9adc4
%endif
f9adc4
%if 0%{?use_bundled_python_2}
f9adc4
    pushd %{_builddir}/python2/Python-%{bundled_python_version_2}
f9adc4
    ./configure --prefix="%{_buildrootdir}" --exec-prefix="%{_buildrootdir}" --libdir="%{_buildrootdir}/lib"
f9adc4
    make %{?_smp_mflags} install V=1
7cc1fe
    popd    
f9adc4
%endif
f9adc4
f9adc4
function replace_prefix() {
f9adc4
  FILE_NAME=$1
f9adc4
  PKG_CONFIG_PREFIX=$2
f9adc4
f9adc4
  cat $FILE_NAME | tail -n +2 > tmp.txt
f9adc4
  echo "$PKG_CONFIG_PREFIX" > $FILE_NAME
f9adc4
  cat tmp.txt >> $FILE_NAME
f9adc4
  rm -rf tmp.txt
f9adc4
}
f9adc4
f9adc4
# Build and install local openssl if needed
f9adc4
# =========================================
f9adc4
%if 0%{?use_bundled_openssl}
f9adc4
  rpm -ivh %{SOURCE305}
f9adc4
  rpmbuild --nodeps -ba %{_specdir}/openssl.spec
f9adc4
  pushd %{_buildrootdir}
f9adc4
  install_rpms_to_current_dir openssl-1.0.2k*.rpm
f9adc4
  install_rpms_to_current_dir openssl-libs-1.0.2k*.rpm
f9adc4
  install_rpms_to_current_dir openssl-devel-1.0.2k*.rpm
f9adc4
  install_rpms_to_current_dir openssl-static-1.0.2k*.rpm
f9adc4
  # openssl is installed to %{_buildrootdir}/usr/lib(64)/...
f9adc4
  export PKG_CONFIG_PATH=%{_buildrootdir}/%{_libdir}/pkgconfig/:$PKG_CONFIG_PATH
f9adc4
  replace_prefix %{_buildrootdir}/%{_libdir}/pkgconfig/libcrypto.pc prefix=%{_buildrootdir}/usr
f9adc4
  replace_prefix %{_buildrootdir}/%{_libdir}/pkgconfig/libssl.pc prefix=%{_buildrootdir}/usr
f9adc4
  replace_prefix %{_buildrootdir}/%{_libdir}/pkgconfig/openssl.pc prefix=%{_buildrootdir}/usr
f9adc4
  cat  %{_buildrootdir}/%{_libdir}/pkgconfig/libcrypto.pc
f9adc4
  cat  %{_buildrootdir}/%{_libdir}/pkgconfig/libssl.pc
f9adc4
  cat  %{_buildrootdir}/%{_libdir}/pkgconfig/openssl.pc
f9adc4
  pushd %{_rpmdir}
f9adc4
  rm -f openssl-*.rpm
f9adc4
  popd
f9adc4
  popd
f9adc4
%endif
f9adc4
f9adc4
# GTK3 <<
f9adc4
# We need to disable exit on error temporarily for the following scripts:
f9adc4
set +e
f9adc4
%if 0%{?use_dts}
f9adc4
source scl_source enable devtoolset-%{dts_version}
f9adc4
%endif
f9adc4
%if 0%{?use_rustts}
f9adc4
source scl_source enable rust-toolset-%{rust_toolset_version}
f9adc4
%endif
f9adc4
7cc1fe
env
7cc1fe
which gcc
7cc1fe
which c++
7cc1fe
which g++
7cc1fe
which ld
f9adc4
# Build and install local node if needed
f9adc4
# ======================================
f9adc4
%if %{use_bundled_nodejs}
7cc1fe
  build_bundled_package 'nodejs-10*.rpm' 'nodejs-*.rpm npm-*.rpm' %{SOURCE304} "--with bootstrap"
f9adc4
  export MOZ_NODEJS=$PACKAGE_DIR/usr/bin/node
f9adc4
%else
f9adc4
  export MOZ_NODEJS=/usr/bin/node
f9adc4
%endif
f9adc4
f9adc4
mkdir -p my_rust_vendor
f9adc4
cd my_rust_vendor
7cc1fe
%{__tar} xf %{SOURCE2}
f9adc4
cd -
f9adc4
mkdir -p .cargo
f9adc4
cat > .cargo/config <
f9adc4
[source.crates-io]
f9adc4
replace-with = "vendored-sources"
f9adc4
f9adc4
[source.vendored-sources]
f9adc4
directory = "`pwd`/my_rust_vendor"
f9adc4
EOL
f9adc4
f9adc4
export CARGO_HOME=.cargo
f9adc4
cargo install cbindgen
f9adc4
export PATH=`pwd`/.cargo/bin:$PATH
f9adc4
export CBINDGEN=`pwd`/.cargo/bin/cbindgen
f9adc4
f9adc4
7cc1fe
# debug missing sqlite3 python module
7cc1fe
./mach python -c "import sys;print(sys.path)"
f9adc4
f9adc4
%if 0%{?big_endian}
7cc1fe
echo "Generate big endian version of config/external/icu/data/icud64l.dat"
7cc1fe
 ./mach python intl/icu_sources_data.py .
7cc1fe
 rm -f config/external/icu/data/icudt*l.dat
7cc1fe
# mv config/external/icu/data/icudt64l.dat config/external/icu/data/icudt64b.dat
f9adc4
 ls -l config/external/icu/data
7cc1fe
 cat /tmp/icu-make*
f9adc4
%endif
f9adc4
f9adc4
mkdir %{_buildrootdir}/bin || :
f9adc4
cp %{SOURCE28} %{_buildrootdir}/bin || :
7cc1fe
chmod +x %{_buildrootdir}/bin/node-stdout-nonblocking-wrapper
f9adc4
f9adc4
# Update the various config.guess to upstream release for aarch64 support
f9adc4
find ./ -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
f9adc4
f9adc4
# -fpermissive is needed to build with gcc 4.6+ which has become stricter
f9adc4
#
f9adc4
# Mozilla builds with -Wall with exception of a few warnings which show up
f9adc4
# everywhere in the code; so, don't override that.
f9adc4
#
f9adc4
# Disable C++ exceptions since Mozilla code is not exception-safe
f9adc4
#
f9adc4
MOZ_OPT_FLAGS=$(echo "%{optflags}" | %{__sed} -e 's/-Wall//')
f9adc4
#rhbz#1037063
f9adc4
# -Werror=format-security causes build failures when -Wno-format is explicitly given
f9adc4
# for some sources
f9adc4
# Explicitly force the hardening flags for Firefox so it passes the checksec test;
f9adc4
# See also https://fedoraproject.org/wiki/Changes/Harden_All_Packages
f9adc4
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
f9adc4
%if 0%{?fedora} > 23
f9adc4
# Disable null pointer gcc6 optimization in gcc6 (rhbz#1328045)
f9adc4
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fno-delete-null-pointer-checks"
f9adc4
%endif
f9adc4
# Use hardened build?
f9adc4
%if %{?hardened_build}
f9adc4
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
f9adc4
%endif
f9adc4
%if %{?debug_build}
7cc1fe
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
f9adc4
%endif
f9adc4
%ifarch s390
f9adc4
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
f9adc4
# If MOZ_DEBUG_FLAGS is empty, firefox's build will default it to "-g" which
f9adc4
# overrides the -g1 from line above and breaks building on s390
f9adc4
# (OOM when linking, rhbz#1238225)
f9adc4
export MOZ_DEBUG_FLAGS=" "
f9adc4
%endif
7cc1fe
7cc1fe
# We don't wantfirefox to use CK_GCM_PARAMS_V3 in nss
7cc1fe
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT"
7cc1fe
50bed7
%ifarch s390 %{arm} ppc aarch64 i686 x86_64 s390x
f9adc4
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
f9adc4
%endif
7cc1fe
%ifarch %{arm} i686
7cc1fe
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--strip-debug"
b06239
echo "ac_add_options --enable-linker=gold" >> .mozconfig
b06239
%endif
f9adc4
7cc1fe
%ifarch %{arm} i686
7cc1fe
export RUSTFLAGS="-Cdebuginfo=0"
7cc1fe
%endif
f9adc4
export CFLAGS=$MOZ_OPT_FLAGS
f9adc4
export CXXFLAGS=$MOZ_OPT_FLAGS
f9adc4
export LDFLAGS=$MOZ_LINK_FLAGS
f9adc4
f9adc4
export PREFIX='%{_prefix}'
f9adc4
export LIBDIR='%{_libdir}'
f9adc4
export CC=gcc
f9adc4
export CXX=g++
f9adc4
f9adc4
MOZ_SMP_FLAGS=-j1
f9adc4
# More than two build tasks can lead to OOM gcc crash.
f9adc4
%if 0%{?rhel} < 8
f9adc4
[ -z "$RPM_BUILD_NCPUS" ] && \
f9adc4
     RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
f9adc4
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
f9adc4
%else
f9adc4
%ifarch %{ix86} x86_64 ppc ppc64 ppc64le aarch64
f9adc4
[ -z "$RPM_BUILD_NCPUS" ] && \
f9adc4
     RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
f9adc4
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
730cc2
[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j2
730cc2
[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j2
f9adc4
%endif
f9adc4
%endif
7cc1fe
#FIXME workaround for oom
7cc1fe
7cc1fe
cat /proc/meminfo
7cc1fe
# Free memory in kB
7cc1fe
7cc1fe
MEM_AVAILABLE=$(grep MemAvailable /proc/meminfo | awk '{ print $2 }')
7cc1fe
7cc1fe
# Usually the compiler processes can take 2 GB of memory at peaks
7cc1fe
TASK_SIZE=4000000
7cc1fe
MEM_CONSTRAINED_JOBS=$(( MEM_AVAILABLE / TASK_SIZE ))
7cc1fe
CPU_AVAILABLE=$(/usr/bin/getconf _NPROCESSORS_ONLN)
7cc1fe
# Pick the minimum from available CPUs or memory constrained number of jobs
7cc1fe
#MOZ_SMP_FLAGS=-j$([ "$CPU_AVAILABLE" -le "$MEM_CONSTRAINED_JOBS" ] && echo "$CPU_AVAILABLE" || echo "$MEM_CONSTRAINED_JOBS")
f9adc4
f9adc4
%if 0%{?bundle_gtk3}
f9adc4
# gtk3-private-setup-flags-env.inc
f9adc4
%include_file %{SOURCE205}
f9adc4
%endif
f9adc4
7cc1fe
%if 0%{?bundle_nss}
7cc1fe
echo "Setting nss flags"
7cc1fe
# nss-setup-flags-env.inc
7cc1fe
%include_file %{SOURCE401}
7cc1fe
export PATH=%{_buildrootdir}/%{gtk3_install_path}/bin:$PATH
7cc1fe
echo $PKG_CONFIG_PATH
7cc1fe
%endif
7cc1fe
f9adc4
export MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
f9adc4
#export MOZ_SERVICES_SYNC="1"
7cc1fe
# we need to strip the sources on i686 because to we don't use rpm to generate debugsymbols because of oom
7cc1fe
%ifnarch i686 i386
f9adc4
export STRIP=/bin/true
7cc1fe
%endif
7cc1fe
which node
7cc1fe
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"'
7cc1fe
env
7cc1fe
ls %{_buildrootdir}
7cc1fe
7cc1fe
e2e09b
%if 0%{?rhel} == 6
e2e09b
export POLICY_FILE="rhel6.config"
e2e09b
export POLICT_PATH="/etc/pki/nss-legacy"
e2e09b
%endif
e2e09b
7cc1fe
%if 0%{?use_llvmts}
7cc1fe
scl enable llvm-toolset-%{llvm_version} './mach build -v'
7cc1fe
%else
f9adc4
./mach build -v
7cc1fe
%endif
f9adc4
f9adc4
#---------------------------------------------------------------------
f9adc4
f9adc4
%install
f9adc4
%if 0%{?rhel} == 6
f9adc4
export SHELL=/bin/sh
f9adc4
%endif
f9adc4
f9adc4
function install_rpms_to_current_dir() {
f9adc4
    PACKAGE_RPM=$(eval echo $1)
f9adc4
    PACKAGE_DIR=%{_rpmdir}
f9adc4
f9adc4
    if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
f9adc4
        # Hack for tps tests
f9adc4
        ARCH_STR=%{_arch}
f9adc4
        %ifarch i386 i686
f9adc4
            ARCH_STR="i?86"
f9adc4
        %endif
7cc1fe
        %if 0%{?rhel} > 6
7cc1fe
          PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
7cc1fe
        %endif
f9adc4
     fi
f9adc4
f9adc4
     for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
f9adc4
     do
f9adc4
         echo "$package"
f9adc4
         rpm2cpio "$package" | cpio -idu
f9adc4
     done
f9adc4
}
f9adc4
7cc1fe
%if 0%{?bundle_gtk3}
f9adc4
pushd %{buildroot}
f9adc4
# Install gtk3-private again to the buildroot, but without devel subpackage
f9adc4
install_rpms_to_current_dir gtk3-private-%{gtk3_nvr}*.rpm
f9adc4
install_rpms_to_current_dir gtk3-private-rpm-scripts-%{gtk3_nvr}*.rpm
f9adc4
popd
f9adc4
%endif
f9adc4
7cc1fe
%if 0%{?bundle_nss}
7cc1fe
  pushd %{buildroot}
7cc1fe
  #install_rpms_to_current_dir nss-*.rpm
7cc1fe
  install_rpms_to_current_dir nspr-4*.rpm
7cc1fe
  install_rpms_to_current_dir nss-3*.rpm
7cc1fe
  install_rpms_to_current_dir nss-softokn-3*.rpm
7cc1fe
  install_rpms_to_current_dir nss-softokn-freebl-3*.rpm
7cc1fe
  install_rpms_to_current_dir nss-util-3*.rpm
7cc1fe
 
7cc1fe
  # cleanup unecessary nss files
7cc1fe
  #rm -rf %{_buildrootdir}/%{gtk3_install_path}/bin
7cc1fe
  #rm -rf %{_buildrootdir}/%{gtk3_install_path}/include
7cc1fe
  rm -rf %{buildroot}/%{gtk3_install_path}/lib/dracut
7cc1fe
  rm -rf %{buildroot}/%{gtk3_install_path}/%{_lib}/nss
7cc1fe
  #rm -rf %{_buildrootdir}/%{gtk3_install_path}/%{_lib}/pkgconfig
7cc1fe
  rm -rf %{buildroot}/%{gtk3_install_path}/%{_lib}/share
7cc1fe
  rm -rf %{buildroot}/%{gtk3_install_path}/share
7cc1fe
  rm -rf %{buildroot}/etc/pki
7cc1fe
  rm -rf %{buildroot}/usr/lib/.build-id
7cc1fe
  rm -rf %{buildroot}/etc/crypto-policies
7cc1fe
  popd
7cc1fe
%endif
7cc1fe
f9adc4
# Install bundled libffi
f9adc4
%if %{use_bundled_ffi}
f9adc4
  pushd %{buildroot}
f9adc4
  install_rpms_to_current_dir libffi-3*.rpm
f9adc4
  popd
f9adc4
%endif
f9adc4
f9adc4
DESTDIR=%{buildroot} make -C objdir install
f9adc4
f9adc4
%{__mkdir_p} %{buildroot}{%{_libdir},%{_bindir},%{_datadir}/applications}
f9adc4
f9adc4
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE20}
f9adc4
f9adc4
# set up the thunderbird start script
f9adc4
rm -rf %{buildroot}%{_bindir}/thunderbird
f9adc4
%{__rm} -rf %{buildroot}%{_bindir}/thunderbird
f9adc4
%{__cat} %{SOURCE21} > %{buildroot}%{_bindir}/thunderbird
f9adc4
%if 0%{?bundle_gtk3}
7cc1fe
sed -i -e 's|%RHEL_ENV_VARS%|export XDG_DATA_DIRS="$MOZ_LIB_DIR/thunderbird/bundled/share:/usr/share:$XDG_DATA_DIRS"\nexport FONTCONFIG_FILE="$MOZ_LIB_DIR/thunderbird/bundled/etc/fonts/fonts.conf"|' %{buildroot}%{_bindir}/thunderbird
f9adc4
%else
f9adc4
sed -i -e 's|%RHEL_ENV_VARS%||' %{buildroot}%{_bindir}/thunderbird
f9adc4
%endif
f9adc4
%{__chmod} 755 %{buildroot}%{_bindir}/thunderbird
f9adc4
f9adc4
# Setup preferences, depends on RHEL version
f9adc4
THUNDERBIRD_PREF_SOURCE=%{SOURCE701}
f9adc4
%if 0%{?rhel} == 6
f9adc4
  THUNDERBIRD_PREF_SOURCE=%{SOURCE601}
f9adc4
%endif
f9adc4
f9adc4
# Fill in THUNDERBIRD_RPM_VR into our rh-default-prefs
f9adc4
%{__cat} $THUNDERBIRD_PREF_SOURCE | %{__sed} -e 's,THUNDERBIRD_RPM_VR,%{version}-%{release},g' > \
f9adc4
        %{buildroot}/rh-default-prefs
f9adc4
%{__install} -D %{buildroot}/rh-default-prefs %{buildroot}/%{mozappdir}/greprefs/all-redhat.js
f9adc4
%{__install} -D %{buildroot}/rh-default-prefs %{buildroot}/%{mozappdir}/defaults/pref/all-redhat.js
f9adc4
%{__rm} %{buildroot}/rh-default-prefs
f9adc4
f9adc4
# install icons
f9adc4
for s in 16 22 24 32 48 256; do
f9adc4
    %{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps
f9adc4
    %{__cp} -p comm/mail/branding/%{name}/default${s}.png \
f9adc4
               %{buildroot}%{_datadir}/icons/hicolor/${s}x${s}/apps/thunderbird.png
f9adc4
done
f9adc4
f9adc4
%{__rm} -f %{buildroot}%{_bindir}/thunderbird-config
f9adc4
f9adc4
# own mozilla plugin dir (#135050)
f9adc4
%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/plugins
f9adc4
f9adc4
# own extension directories
f9adc4
%{__mkdir_p} %{buildroot}%{_datadir}/mozilla/extensions/%{thunderbird_app_id}
f9adc4
%{__mkdir_p} %{buildroot}%{_libdir}/mozilla/extensions/%{thunderbird_app_id}
f9adc4
f9adc4
# Install langpacks
f9adc4
echo > %{name}.lang
f9adc4
%if %{build_langpacks}
f9adc4
# Extract langpacks, make any mods needed, repack the langpack, and install it.
f9adc4
%{__mkdir_p} %{buildroot}%{langpackdir}
f9adc4
%{__tar} xf %{SOURCE1}
f9adc4
for langpack in `ls thunderbird-langpacks/*.xpi`; do
f9adc4
  language=`basename $langpack .xpi`
f9adc4
  extensionID=langpack-$language@thunderbird.mozilla.org
f9adc4
  %{__mkdir_p} $extensionID
f9adc4
  unzip $langpack -d $extensionID
f9adc4
  find $extensionID -type f | xargs chmod 644
f9adc4
f9adc4
  cd $extensionID
f9adc4
  zip -r9mX ../${extensionID}.xpi *
f9adc4
  cd -
f9adc4
f9adc4
  %{__install} -m 644 ${extensionID}.xpi %{buildroot}%{langpackdir}
f9adc4
  language=`echo $language | sed -e 's/-/_/g'`
f9adc4
  echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> %{name}.lang
f9adc4
done
f9adc4
%{__rm} -rf thunderbird-langpacks
f9adc4
7cc1fe
echo "Adding following langpacks:"
7cc1fe
cat %{name}.lang
7cc1fe
%endif
f9adc4
f9adc4
# Get rid of devel package and its debugsymbols
f9adc4
%{__rm} -rf %{buildroot}%{_libdir}/%{name}-devel-%{version}
f9adc4
f9adc4
# Copy over the LICENSE
f9adc4
%{__install} -p -c -m 644 LICENSE %{buildroot}/%{mozappdir}
f9adc4
f9adc4
# Use the system hunspell dictionaries
f9adc4
%{__rm} -rf %{buildroot}%{mozappdir}/dictionaries
f9adc4
ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries
f9adc4
f9adc4
# ghost files
f9adc4
%{__mkdir_p} %{buildroot}%{mozappdir}/components
f9adc4
touch %{buildroot}%{mozappdir}/components/compreg.dat
f9adc4
touch %{buildroot}%{mozappdir}/components/xpti.dat
f9adc4
f9adc4
# Clean thunderbird-devel debuginfo
f9adc4
rm -rf %{_prefix}/lib/debug/lib/%{name}-devel-*
f9adc4
rm -rf %{_prefix}/lib/debug/lib64/%{name}-devel-*
f9adc4
7cc1fe
# Fixing python version
7cc1fe
test -f "%{buildroot}%{mozappdir}/distribution/extensions/unicode-segmentation/scripts/unicode_gen_breaktests.py" && sed -i -e 's|/usr/bin/env python$|/usr/bin/env python2|' %{buildroot}%{mozappdir}/distribution/extensions/unicode-segmentation/scripts/unicode_gen_breaktests.py
7cc1fe
test -f "%{buildroot}%{mozappdir}/distribution/extensions/unicode-segmentation/scripts/unicode.py" && sed -i -e 's|/usr/bin/env python$|/usr/bin/env python2|' %{buildroot}%{mozappdir}/distribution/extensions/unicode-segmentation/scripts/unicode.py
7cc1fe
test -f "%{buildroot}%{mozappdir}/distribution/extensions/unicode-width/scripts/unicode.py" && sed -i -e 's|/usr/bin/env python$|/usr/bin/env python2|' %{buildroot}%{mozappdir}/distribution/extensions/unicode-width/scripts/unicode.py
7cc1fe
730cc2
# Removing librnp.so - we cannot deliver that in RHELs
730cc2
%{__rm} -rf %{buildroot}%{mozappdir}/librnp.so
7cc1fe
f9adc4
#---------------------------------------------------------------------
f9adc4
f9adc4
%clean
f9adc4
rm -rf %{_srcrpmdir}/gtk3-private-%{gtk3_nvr}*.src.rpm
f9adc4
find %{_rpmdir} -name "gtk3-private-*%{gtk3_nvr}*.rpm" -delete
f9adc4
rm -rf %{_srcrpmdir}/libffi*.src.rpm
f9adc4
find %{_rpmdir} -name "libffi*.rpm" -delete
f9adc4
rm -rf %{_srcrpmdir}/openssl*.src.rpm
f9adc4
find %{_rpmdir} -name "openssl*.rpm" -delete
7cc1fe
rm -rf %{_srcrpmdir}/nss*.src.rpm
7cc1fe
find %{_rpmdir} -name "nss*.rpm" -delete
7cc1fe
rm -rf %{_srcrpmdir}/nspr*.src.rpm
7cc1fe
find %{_rpmdir} -name "nspr*.rpm" -delete
f9adc4
f9adc4
%post
f9adc4
update-desktop-database &> /dev/null || :
f9adc4
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
f9adc4
%if 0%{?bundle_gtk3}
f9adc4
# gtk3-private-post.inc
f9adc4
%include_file %{SOURCE201}
f9adc4
%endif
f9adc4
f9adc4
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
f9adc4
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
f9adc4
fi
f9adc4
f9adc4
%postun
f9adc4
if [ $1 -eq 0 ] ; then
f9adc4
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
f9adc4
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
f9adc4
fi
f9adc4
update-desktop-database &> /dev/null || :
f9adc4
%if 0%{?bundle_gtk3}
f9adc4
# gtk3-private-postun.inc
f9adc4
%include_file %{SOURCE202}
f9adc4
%endif
f9adc4
f9adc4
%posttrans
f9adc4
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
f9adc4
%if 0%{?bundle_gtk3}
f9adc4
# gtk3-private-posttrans.inc
f9adc4
%include_file %{SOURCE203}
f9adc4
%endif
f9adc4
f9adc4
#===============================================================================
f9adc4
%files -f %{name}.lang
f9adc4
%defattr(-,root,root,-)
f9adc4
%attr(755,root,root) %{_bindir}/thunderbird
f9adc4
%attr(644,root,root) %{_datadir}/applications/thunderbird.desktop
f9adc4
%dir %{_datadir}/mozilla/extensions/%{thunderbird_app_id}
f9adc4
%dir %{_libdir}/mozilla/extensions/%{thunderbird_app_id}
f9adc4
%dir %{mozappdir}
f9adc4
%doc %{mozappdir}/LICENSE
f9adc4
%{mozappdir}/chrome
f9adc4
%dir %{mozappdir}/components
f9adc4
%ghost %{mozappdir}/components/compreg.dat
f9adc4
%ghost %{mozappdir}/components/xpti.dat
f9adc4
%{mozappdir}/omni.ja
f9adc4
%{mozappdir}/plugin-container
f9adc4
%{mozappdir}/defaults
f9adc4
%{mozappdir}/dictionaries
f9adc4
%{mozappdir}/greprefs
f9adc4
%{mozappdir}/isp
f9adc4
%{mozappdir}/thunderbird-bin
f9adc4
%{mozappdir}/thunderbird
f9adc4
%{mozappdir}/*.so
f9adc4
%{mozappdir}/platform.ini
f9adc4
%{mozappdir}/application.ini
f9adc4
%{mozappdir}/features/*.xpi
f9adc4
%exclude %{mozappdir}/removed-files
f9adc4
%{_datadir}/icons/hicolor/16x16/apps/thunderbird.png
f9adc4
%{_datadir}/icons/hicolor/22x22/apps/thunderbird.png
f9adc4
%{_datadir}/icons/hicolor/24x24/apps/thunderbird.png
f9adc4
%{_datadir}/icons/hicolor/256x256/apps/thunderbird.png
f9adc4
%{_datadir}/icons/hicolor/32x32/apps/thunderbird.png
f9adc4
%{_datadir}/icons/hicolor/48x48/apps/thunderbird.png
f9adc4
%{mozappdir}/pingsender
f9adc4
%{mozappdir}/gtk2/libmozgtk.so
f9adc4
%{mozappdir}/dependentlibs.list
7cc1fe
%dir %{mozappdir}/distribution
f9adc4
%{mozappdir}/fonts/TwemojiMozilla.ttf
f9adc4
f9adc4
%if !%{?system_libicu}
f9adc4
#%{mozappdir}/icudt*.dat
f9adc4
%endif
f9adc4
%if !%{?system_nss}
f9adc4
%exclude %{mozappdir}/libnssckbi.so
f9adc4
%endif
f9adc4
%if 0%{use_bundled_ffi}
f9adc4
%{mozappdir}/bundled/%{_lib}/libffi.so*
f9adc4
%exclude %{_datadir}/doc/libffi*
f9adc4
%endif
f9adc4
f9adc4
%if 0%{?bundle_gtk3}
f9adc4
# gtk3-private-files.inc
f9adc4
%include_file %{SOURCE204}
f9adc4
%endif
f9adc4
7cc1fe
%if 0%{?bundle_nss}
7cc1fe
%{mozappdir}/bundled/%{_lib}/libfreebl*
7cc1fe
%{mozappdir}/bundled/%{_lib}/libnss3*
7cc1fe
%{mozappdir}/bundled/%{_lib}/libnssdbm3*
7cc1fe
%{mozappdir}/bundled/%{_lib}/libnssutil3*
7cc1fe
%{mozappdir}/bundled/%{_lib}/libsmime3*
7cc1fe
%{mozappdir}/bundled/%{_lib}/libsoftokn*
7cc1fe
%{mozappdir}/bundled/%{_lib}/libssl3*
7cc1fe
%{mozappdir}/bundled/%{_lib}/libnspr4.so
7cc1fe
%{mozappdir}/bundled/%{_lib}/libplc4.so
7cc1fe
%{mozappdir}/bundled/%{_lib}/libplds4.so
7cc1fe
%endif
f9adc4
f9adc4
#===============================================================================
f9adc4
f9adc4
%changelog
50bed7
* Sat Sep 19 2020 Jan Horak <jhorak@redhat.com> - 78.3.0-3
e2e09b
- Update to 78.3.0 build1
730cc2
- Remove librdp.so as long as we cannot ship it in RHEL
e2e09b
7cc1fe
* Tue Sep 08 2020 Jan Horak <jhorak@redhat.com> - 78.2.1-1
7cc1fe
- Update to 78.2.1 build1
7cc1fe
7cc1fe
* Wed Sep 02 2020 Jan Horak <jhorak@redhat.com> - 68.12.0-1
7cc1fe
- Update to 68.12.0 build1
7cc1fe
ccc7a7
* Tue Aug 04 2020 Jan Horak <jhorak@redhat.com> - 68.11.0-1
ccc7a7
- Update to 68.11.0 build1
ccc7a7
a65057
* Wed Jul 08 2020 Jan Horak <jhorak@redhat.com> - 68.10.0-1
a65057
- Update to 68.10.0 build1
a65057
f9adc4
* Fri Jun 05 2020 Jan Horak <jhorak@redhat.com> - 68.9.0-1
f9adc4
- Update to 68.9.0 build1
f9adc4
f9adc4
* Tue May 05 2020 Jan Horak <jhorak@redhat.com> - 68.8.0-1
f9adc4
- Update to 68.8.0 build2
f9adc4
f9adc4
* Tue Apr 14 2020 Jan Horak <jhorak@redhat.com> - 68.7.0-1
f9adc4
- Update to 68.7.0 build1
f9adc4
f9adc4
* Fri Mar 13 2020 Jan Horak <jhorak@redhat.com> - 68.6.0-1
f9adc4
- Update to 68.6.0 build2
f9adc4
f9adc4
* Thu Feb 13 2020 Jan Horak <jhorak@redhat.com> - 68.5.0-1
f9adc4
- Update to 68.5.0 build1
f9adc4
f9adc4
* Mon Jan 13 2020 Jan Horak <jhorak@redhat.com> - 68.4.1-2
f9adc4
- Update to 68.4.1 build1
f9adc4
f9adc4
* Mon Dec 02 2019 Jan Horak <jhorak@redhat.com> - 68.3.0-2
f9adc4
- Update to 68.3.0 build2
f9adc4
f9adc4
* Fri Oct 25 2019 Jan Horak <jhorak@redhat.com> - 68.2.0-2
f9adc4
- Added patch for TLS 1.3 support.
f9adc4
f9adc4
* Tue Oct 22 2019 Jan Horak <jhorak@redhat.com> - 68.2.0-1
f9adc4
- Update to 68.2.0
f9adc4
f9adc4
* Thu Oct  3 2019 Jan Horak <jhorak@redhat.com> - 68.1.1-2
f9adc4
- Update to 68.1.1
f9adc4
f9adc4
* Wed Sep  4 2019 Jan Horak <jhorak@redhat.com> - 60.9.0-2
f9adc4
- Update to 60.9.0
f9adc4
f9adc4
* Thu Jul 4 2019 Martin Stransky <stransky@redhat.com> - 60.8.0-1
f9adc4
- Updated to 60.8.0
f9adc4
f9adc4
* Wed Jul 3 2019 Martin Stransky <stransky@redhat.com> - 60.7.2-3
f9adc4
- Rebuild to fix rhbz#1725919 - Thunderbird fails to authenticate
f9adc4
  with gmail with ssl/tls and OAuth2.
f9adc4
f9adc4
* Fri Jun 21 2019 Jan Horak <jhorak@redhat.com> - 60.7.2-2
f9adc4
- Update to 60.7.2 build2
f9adc4
f9adc4
* Thu Jun 20 2019 Jan Horak <jhorak@redhat.com> - 60.7.2-1
f9adc4
- Update to 60.7.2
f9adc4
f9adc4
* Tue Jun 18 2019 Jan Horak <jhorak@redhat.com> - 60.7.1-1
f9adc4
- Update to 60.7.1
f9adc4
f9adc4
* Mon May 27 2019 Martin Stransky <stransky@redhat.com> - 60.7.0-1
f9adc4
- Update to 60.7.0
f9adc4
f9adc4
* Mon Mar 25 2019 Martin Stransky <stransky@redhat.com> - 60.6.1-1
f9adc4
- Update to 60.6.1
f9adc4
f9adc4
* Tue Mar 19 2019 Martin Stransky <stransky@redhat.com> - 60.6.0-1
f9adc4
- Update to 60.6.0
f9adc4
f9adc4
* Tue Jan 29 2019 Martin Stransky <stransky@redhat.com> - 60.5.0-1
f9adc4
- Update to 60.5.0
f9adc4
f9adc4
* Thu Jan  3 2019 Jan Horak <jhorak@redhat.com> - 60.4.0-1
f9adc4
- Update to 60.4.0
f9adc4
f9adc4
* Wed Oct 31 2018 Jan Horak <jhorak@redhat.com> - 60.3.0-1
f9adc4
- Update to 60.3.0
f9adc4
f9adc4
* Wed Oct 31 2018 Jan Horak <jhorak@redhat.com> - 60.2.1-6
f9adc4
- Fixed missing calendar langpacks
f9adc4
f9adc4
* Tue Oct 16 2018 Jan Horak <jhorak@redhat.com> - 60.2.1-5
f9adc4
- Fixing minor issues
f9adc4
f9adc4
* Wed Oct 10 2018 Jan Horak <jhorak@redhat.com> - 60.2.1-3
f9adc4
- Reverting deleting of key3db
f9adc4
f9adc4
* Wed Oct  3 2018 Jan Horak <jhorak@redhat.com> - 60.2.1-2
f9adc4
- Update to 60.2.1
f9adc4
- Added fix for rhbz#1546988
f9adc4
f9adc4
* Fri Sep 14 2018 Jan Horak <jhorak@redhat.com> - 60.0-1
f9adc4
- Rebase to version 60
f9adc4
f9adc4
* Tue Jul 10 2018 Jan Horak <jhorak@redhat.com> - 52.9.1-1
f9adc4
- Update to 52.9.1
f9adc4
f9adc4
* Thu May 17 2018 Jan Horak <jhorak@redhat.com> - 52.8.0-2
f9adc4
- Update to 52.8.0
f9adc4
f9adc4
* Mon Mar 26 2018 Jan Horak <jhorak@redhat.com> - 52.7.0-1
f9adc4
- Update to 52.7.0
f9adc4
f9adc4
* Fri Jan 26 2018 Jan Horak <jhorak@redhat.com> - 52.6.0-1
f9adc4
- Update to 52.6.0
f9adc4
f9adc4
* Tue Jan  2 2018 Jan Horak <jhorak@redhat.com> - 52.5.2-1
f9adc4
- Update to 52.5.2
f9adc4
f9adc4
* Mon Nov 27 2017 Jan Horak <jhorak@redhat.com> - 52.5.0-1
f9adc4
- Update to 52.5.0
f9adc4
f9adc4
* Wed Oct  4 2017 Jan Horak <jhorak@redhat.com> - 52.4.0-2
f9adc4
- Update to 52.4.0 (b2)
f9adc4
f9adc4
* Mon Aug 21 2017 Jan Horak <jhorak@redhat.com> - 52.3.0-1
f9adc4
- Update to 52.3.0
f9adc4
f9adc4
* Thu Jun 29 2017 Jan Horak <jhorak@redhat.com> - 52.2.1-1
f9adc4
- Update to 52.2.1
f9adc4
f9adc4
* Thu Jun 15 2017 Jan Horak <jhorak@redhat.com> - 52.2.0-1
f9adc4
- Update to 52.2.0
f9adc4
f9adc4
* Tue May  2 2017 Jan Horak <jhorak@redhat.com> - 52.1.0-1
f9adc4
- Update to 52.1.0
f9adc4
f9adc4
* Thu Apr 13 2017 Jan Horak <jhorak@redhat.com> - 52.0.1-1
f9adc4
- Update to 52.0.1
f9adc4
f9adc4
* Tue Mar  7 2017 Jan Horak <jhorak@redhat.com> - 45.8.0-1
f9adc4
- Update to 45.8.0
f9adc4
f9adc4
* Thu Jan 26 2017 Jan Horak <jhorak@redhat.com> - 45.7.0-1
f9adc4
- Update to 45.7.0
f9adc4
f9adc4
* Fri Dec 16 2016 Martin Stransky <stransky@redhat.com> - 45.6.0-1
f9adc4
- Update to the latest upstream (45.6.0)
f9adc4
f9adc4
* Thu Dec  1 2016 Jan Horak <jhorak@redhat.com> - 45.5.1-1
f9adc4
- Update to 45.5.1
f9adc4
f9adc4
* Fri Nov 18 2016 Jan Horak <jhorak@redhat.com> - 45.5.0-1
f9adc4
- Update to 45.5.0
f9adc4
f9adc4
* Thu Sep 29 2016 Jan Horak <jhorak@redhat.com> - 45.4.0-1
f9adc4
- Update to 45.4.0
f9adc4
f9adc4
* Fri Aug 26 2016 Jan Horak <jhorak@redhat.com> - 45.3.0-1
f9adc4
- Update to 45.3.0
f9adc4
f9adc4
* Wed Jun 29 2016 Jan Horak <jhorak@redhat.com> - 45.2-1
f9adc4
- Update to 45.2
f9adc4
f9adc4
* Mon Jun  6 2016 Jan Horak <jhorak@redhat.com> - 45.1.1-1
f9adc4
- Update to 45.1.1
f9adc4
f9adc4
* Mon Jun 06 2016 Jan Horak <jhorak@redhat.com> - 45.1.0-5
f9adc4
- Do not add symlinks to some langpacks
f9adc4
f9adc4
* Tue May 17 2016 Jan Horak <jhorak@redhat.com> - 45.1.0-4
f9adc4
- Update to 45.1.0
f9adc4
f9adc4
* Tue Apr 26 2016 Jan Horak <jhorak@redhat.com> - 45.0-5
f9adc4
- Update to 45.0
f9adc4
f9adc4
* Tue Sep 29 2015 Jan Horak <jhorak@redhat.com> - 38.3.0-1
f9adc4
- Update to 38.3.0
f9adc4
f9adc4
* Fri Aug 14 2015 Jan Horak <jhorak@redhat.com> - 38.2.0-1
f9adc4
- Update to 38.2.0
f9adc4
f9adc4
* Wed Jul 15 2015 Jan Horak <jhorak@redhat.com> - 38.1.0-2
f9adc4
- Rebase to 38.1.0
f9adc4
f9adc4
* Wed Jul 15 2015 Jan Horak <jhorak@redhat.com> - 31.8.0-1
f9adc4
- Update to 31.8.0
f9adc4
f9adc4
* Sun May 10 2015 Jan Horak <jhorak@redhat.com> - 31.7.0-1
f9adc4
- Update to 31.7.0
f9adc4
f9adc4
* Tue Mar 31 2015 Jan Horak <jhorak@redhat.com> - 31.6.0-1
f9adc4
- Update to 31.6.0
f9adc4
f9adc4
* Mon Feb 23 2015 Jan Horak <jhorak@redhat.com> - 31.5.0-2
f9adc4
- Update to 31.5.0
f9adc4
f9adc4
* Sat Jan 10 2015 Jan Horak <jhorak@redhat.com> - 31.4.0-1
f9adc4
- Update to 31.4.0
f9adc4
f9adc4
* Mon Dec 22 2014 Jan Horak <jhorak@redhat.com> - 31.3.0-2
f9adc4
- Fixed problems with dictionaries (mozbz#1097550)
f9adc4
f9adc4
* Fri Nov 28 2014 Jan Horak <jhorak@redhat.com> - 31.3.0-1
f9adc4
- Update to 31.3.0
f9adc4
f9adc4
* Thu Oct 30 2014 Jan Horak <jhorak@redhat.com> - 31.2.0-2
f9adc4
- Update to 31.2.0
f9adc4
f9adc4
* Wed Oct 1 2014 Martin Stransky <stransky@redhat.com> - 31.1.1-5
f9adc4
- Sync preferences with Firefox
f9adc4
f9adc4
* Thu Sep 18 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 31.1.1-4
f9adc4
- Fix dependency generation for internal libraries (#1140471)
f9adc4
f9adc4
* Fri Sep 12 2014 Jan Horak <jhorak@redhat.com> - 31.1.1-3
f9adc4
- Update to 31.1.1
f9adc4
f9adc4
* Tue Sep  9 2014 Jan Horak <jhorak@redhat.com> - 31.1.0-4
f9adc4
- Use  system libffi
f9adc4
f9adc4
* Wed Sep  3 2014 Jan Horak <jhorak@redhat.com> - 31.1.0-2
f9adc4
- Added fix for ppc64le
f9adc4
f9adc4
* Mon Sep  1 2014 Jan Horak <jhorak@redhat.com> - 31.1.0-1
f9adc4
- Update to 31.1.0
f9adc4
f9adc4
* Wed Jul 30 2014 Martin Stransky <stransky@redhat.com> - 31.0-2
f9adc4
- Added patch for mozbz#858919
f9adc4
f9adc4
* Tue Jul 29 2014 Martin Stransky <stransky@redhat.com> - 31.0-1
f9adc4
- Update to 31.0
f9adc4
f9adc4
* Tue Jul 22 2014 Jan Horak <jhorak@redhat.com> - 24.7.0-1
f9adc4
- Update to 24.7.0
f9adc4
f9adc4
* Mon Jun  9 2014 Jan Horak <jhorak@redhat.com> - 24.6.0-1
f9adc4
- Update to 24.6.0
f9adc4
f9adc4
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 24.5.0-6
f9adc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f9adc4
f9adc4
* Fri May 23 2014 Brent Baude <baude@us.ibm.com> - 24.5.0-5
f9adc4
- Moving the ppc64 conditional up before the cd so it will
f9adc4
- apply cleanly
f9adc4
f9adc4
* Fri May 23 2014 Martin Stransky <stransky@redhat.com> - 24.5.0-4
f9adc4
- Added a build fix for ppc64 - rhbz#1100495
f9adc4
f9adc4
* Mon May  5 2014 Jan Horak <jhorak@redhat.com> - 24.5.0-3
f9adc4
- Fixed find requires
f9adc4
f9adc4
* Mon Apr 28 2014 Jan Horak <jhorak@redhat.com> - 24.5.0-1
f9adc4
- Update to 24.5.0
f9adc4
f9adc4
* Tue Apr 22 2014 Jan Horak <jhorak@redhat.com> - 24.4.0-2
f9adc4
- Added support for ppc64le
f9adc4
f9adc4
* Tue Mar 18 2014 Jan Horak <jhorak@redhat.com> - 24.4.0-1
f9adc4
- Update to 24.4.0
f9adc4
f9adc4
* Mon Feb  3 2014 Jan Horak <jhorak@redhat.com> - 24.3.0-1
f9adc4
- Update to 24.3.0
f9adc4
f9adc4
* Mon Dec 16 2013 Martin Stransky <stransky@redhat.com> - 24.2.0-4
f9adc4
- Fixed rhbz#1024232 - thunderbird: squiggly lines used
f9adc4
  for spelling correction disappear randomly
f9adc4
f9adc4
* Fri Dec 13 2013 Martin Stransky <stransky@redhat.com> - 24.2.0-3
f9adc4
- Build with -Werror=format-security (rhbz#1037353)
f9adc4
f9adc4
* Wed Dec 11 2013 Martin Stransky <stransky@redhat.com> - 24.2.0-2
f9adc4
- rhbz#1001998 - added a workaround for system notifications
f9adc4
f9adc4
* Mon Dec  9 2013 Jan Horak <jhorak@redhat.com> - 24.2.0-1
f9adc4
- Update to 24.2.0
f9adc4
f9adc4
* Sat Nov 02 2013 Dennis Gilmore <dennis@ausil.us> - 24.1.0-2
f9adc4
- remove ExcludeArch: armv7hl
f9adc4
f9adc4
* Wed Oct 30 2013 Jan Horak <jhorak@redhat.com> - 24.1.0-1
f9adc4
- Update to 24.1.0
f9adc4
f9adc4
* Thu Oct 17 2013 Martin Stransky <stransky@redhat.com> - 24.0-4
f9adc4
- Fixed rhbz#1005611 - BEAST workaround not enabled in Firefox
f9adc4
f9adc4
* Wed Sep 25 2013 Jan Horak <jhorak@redhat.com> - 24.0-3
f9adc4
- Update to 24.0
f9adc4
f9adc4
* Mon Sep 23 2013 Jan Horak <jhorak@redhat.com> - 17.0.9-1
f9adc4
- Update to 17.0.9 ESR
f9adc4
f9adc4
* Mon Aug  5 2013 Jan Horak <jhorak@redhat.com> - 17.0.8-1
f9adc4
- Update to 17.0.8
f9adc4
f9adc4
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 17.0.7-2
f9adc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f9adc4
f9adc4
* Tue Jun 25 2013 Jan Horak <jhorak@redhat.com> - 17.0.7-1
f9adc4
- Update to 17.0.7
f9adc4
f9adc4
* Wed Jun 12 2013 Jan Horak <jhorak@redhat.com> - 17.0.6-2
f9adc4
- Fixed rhbz#973371 - unable to install addons
f9adc4
f9adc4
* Tue May 14 2013 Jan Horak <jhorak@redhat.com> - 17.0.6-1
f9adc4
- Update to 17.0.6
f9adc4
f9adc4
* Tue Apr  2 2013 Jan Horak <jhorak@redhat.com> - 17.0.5-1
f9adc4
- Update to 17.0.5
f9adc4
f9adc4
* Mon Mar 11 2013 Jan Horak <jhorak@redhat.com> - 17.0.4-1
f9adc4
- Update to 17.0.4
f9adc4
f9adc4
* Tue Feb 19 2013 Jan Horak <jhorak@redhat.com> - 17.0.3-1
f9adc4
- Update to 17.0.3
f9adc4
f9adc4
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 17.0.2-4
f9adc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f9adc4
f9adc4
* Tue Jan 15 2013 Martin Stransky <stransky@redhat.com> - 17.0.2-3
f9adc4
- Added fix for NM regression (mozbz#791626)
f9adc4
f9adc4
* Tue Jan 15 2013 Jan Horak <jhorak@redhat.com> - 17.0.2-2
f9adc4
- Added mozilla-746112 patch to fix crash on ppc(64)
f9adc4
f9adc4
* Thu Jan 10 2013 Jan Horak <jhorak@redhat.com> - 17.0.2-1
f9adc4
- Update to 17.0.2
f9adc4
f9adc4
* Mon Nov 19 2012 Jan Horak <jhorak@redhat.com> - 17.0-1
f9adc4
- Update to 17.0
f9adc4
f9adc4
* Mon Oct 29 2012 Jan Horak <jhorak@redhat.com> - 16.0.2-1
f9adc4
- Update to 16.0.2
f9adc4
f9adc4
* Tue Oct 16 2012 Jan Horak <jhorak@redhat.com> - 16.0.1-2
f9adc4
- Fixed nss and nspr versions
f9adc4
f9adc4
* Thu Oct 11 2012 Jan Horak <jhorak@redhat.com> - 16.0.1-1
f9adc4
- Update to 16.0.1
f9adc4
f9adc4
* Tue Oct  9 2012 Jan Horak <jhorak@redhat.com> - 16.0-1
f9adc4
- Update to 16.0
f9adc4
f9adc4
* Tue Sep 18 2012 Dan Horák <dan[at]danny.cz> - 15.0.1-3
f9adc4
- Added fix for rhbz#855923 - TB freezes on Fedora 18 for PPC64
f9adc4
f9adc4
* Fri Sep 14 2012 Martin Stransky <stransky@redhat.com> - 15.0.1-2
f9adc4
- Added build flags for second arches
f9adc4
f9adc4
* Tue Sep 11 2012 Jan Horak <jhorak@redhat.com> - 15.0.1-1
f9adc4
- Update to 15.0.1
f9adc4
f9adc4
* Fri Sep  7 2012 Jan Horak <jhorak@redhat.com> - 15.0-2
f9adc4
- Added workaround fix for PPC (rbhz#852698)
f9adc4
f9adc4
* Mon Aug 27 2012 Jan Horak <jhorak@redhat.com> - 15.0-1
f9adc4
- Update to 15.0
f9adc4
f9adc4
* Wed Aug 1 2012 Martin Stransky <stransky@redhat.com> - 14.0-4
f9adc4
- Removed StartupWMClass (rhbz#844863)
f9adc4
- Fixed -g parameter
f9adc4
- Removed thunderbird-devel before packing to avoid debugsymbols duplicities (rhbz#823940)
f9adc4
f9adc4
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 14.0-2
f9adc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f9adc4
f9adc4
* Tue Jul 17 2012 Jan Horak <jhorak@redhat.com> - 14.0-1
f9adc4
- Update to 14.0
f9adc4
f9adc4
* Fri Jun 15 2012 Jan Horak <jhorak@redhat.com> - 13.0.1-1
f9adc4
- Update to 13.0.1
f9adc4
f9adc4
* Tue Jun  5 2012 Jan Horak <jhorak@redhat.com> - 13.0-1
f9adc4
- Update to 13.0
f9adc4
f9adc4
* Mon May 7 2012 Martin Stransky <stransky@redhat.com> - 12.0.1-2
f9adc4
- Fixed #717245 - adhere Static Library Packaging Guidelines
f9adc4
f9adc4
* Mon Apr 30 2012 Jan Horak <jhorak@redhat.com> - 12.0.1-1
f9adc4
- Update to 12.0.1
f9adc4
f9adc4
* Tue Apr 24 2012 Jan Horak <jhorak@redhat.com> - 12.0-1
f9adc4
- Update to 12.0
f9adc4
f9adc4
* Mon Apr 16 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 11.0.1-2
f9adc4
- Add upstream patch to fix FTBFS on ARM
f9adc4
f9adc4
* Thu Mar 29 2012 Jan Horak <jhorak@redhat.com> - 11.0.1-1
f9adc4
- Update to 11.0.1
f9adc4
f9adc4
* Thu Mar 22 2012 Jan Horak <jhorak@redhat.com> - 11.0-6
f9adc4
- Added translations to thunderbird.desktop file
f9adc4
f9adc4
* Fri Mar 16 2012 Martin Stransky <stransky@redhat.com> - 11.0-5
f9adc4
- gcc 4.7 build fixes
f9adc4
f9adc4
* Wed Mar 14 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 11.0-4
f9adc4
- Add ARM configuration options
f9adc4
f9adc4
* Wed Mar 14 2012 Martin Stransky <stransky@redhat.com> - 11.0-3
f9adc4
- Build with system libvpx
f9adc4
f9adc4
* Tue Mar 13 2012 Martin Stransky <stransky@redhat.com> - 11.0-1
f9adc4
- Update to 11.0
f9adc4
f9adc4
* Thu Feb 23 2012 Jan Horak <jhorak@redhat.com> - 10.0.1-3
f9adc4
- Added fix for proxy settings mozbz#682832
f9adc4
f9adc4
* Thu Feb 16 2012 Martin Stransky <stransky@redhat.com> - 10.0.1-2
f9adc4
- Added fix for mozbz#727401
f9adc4
f9adc4
* Thu Feb  9 2012 Jan Horak <jhorak@redhat.com> - 10.0.1-1
f9adc4
- Update to 10.0.1
f9adc4
f9adc4
* Mon Feb 6 2012 Martin Stransky <stransky@redhat.com> - 10.0-2
f9adc4
- gcc 4.7 build fixes
f9adc4
f9adc4
* Tue Jan 31 2012 Jan Horak <jhorak@redhat.com> - 10.0-1
f9adc4
- Update to 10.0
f9adc4
f9adc4
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 9.0-7
f9adc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f9adc4
f9adc4
* Thu Jan 05 2012 Dan Horák <dan[at]danny.cz> - 9.0-6
f9adc4
- disable jemalloc on s390(x) (taken from xulrunner)
f9adc4
f9adc4
* Wed Jan 04 2012 Dan Horák <dan[at]danny.cz> - 9.0-5
f9adc4
- fix build on secondary arches (cherry-picked from 13afcd4c097c)
f9adc4
f9adc4
* Thu Dec 22 2011 Jan Horak <jhorak@redhat.com> - 9.0-4
f9adc4
- Update to 9.0
f9adc4
f9adc4
* Fri Dec 9 2011 Martin Stransky <stransky@redhat.com> - 8.0-4
f9adc4
- enabled gio support (#760644)
f9adc4
f9adc4
* Tue Nov 29 2011 Jan Horak <jhorak@redhat.com> - 8.0-3
f9adc4
- Fixed s390x issues
f9adc4
f9adc4
* Thu Nov 10 2011 Jan Horak <jhorak@redhat.com> - 8.0-2
f9adc4
- Enable Mozilla's crash reporter again for all archs
f9adc4
- Temporary workaround for langpacks
f9adc4
- Disabled addon check UI (#753551)
f9adc4
f9adc4
* Tue Nov  8 2011 Jan Horak <jhorak@redhat.com> - 8.0-1
f9adc4
- Update to 8.0
f9adc4
f9adc4
* Tue Oct 18 2011 Martin Stransky <stransky@redhat.com> - 7.0.1-3
f9adc4
- Added NM patches (mozbz#627672, mozbz#639959)
f9adc4
f9adc4
* Wed Oct 12 2011 Dan Horák <dan[at]danny.cz> - 7.0.1-2
f9adc4
- fix build on secondary arches (copied from xulrunner)
f9adc4
f9adc4
* Fri Sep 30 2011 Jan Horak <jhorak@redhat.com> - 7.0.1-1
f9adc4
- Update to 7.0.1
f9adc4
f9adc4
* Tue Sep 27 2011 Jan Horak <jhorak@redhat.com> - 7.0-1
f9adc4
- Update to 7.0
f9adc4
f9adc4
* Tue Sep  6 2011 Jan Horak <jhorak@redhat.com> - 6.0.2-1
f9adc4
- Update to 6.0.2
f9adc4
f9adc4
* Wed Aug 31 2011 Jan Horak <jhorak@redhat.com> - 6.0-3
f9adc4
- Distrust a specific Certificate Authority
f9adc4
f9adc4
* Wed Aug 31 2011 Dan Horák <dan[at]danny.cz> - 6.0-2
f9adc4
- add secondary-ipc patch from xulrunner
f9adc4
f9adc4
* Tue Aug 16 2011 Jan Horak <jhorak@redhat.com> - 6.0-1
f9adc4
- Update to 6.0
f9adc4
f9adc4
* Tue Aug 16 2011 Remi Collet <remi@fedoraproject.org> 5.0-4
f9adc4
- Don't unzip the langpacks
f9adc4
f9adc4
* Mon Aug 15 2011 Jan Horak <jhorak@redhat.com> - 5.0-3
f9adc4
- Rebuild due to rhbz#728707
f9adc4
f9adc4
* Wed Jul 20 2011 Dan Horák <dan[at]danny.cz> - 5.0-2
f9adc4
- add xulrunner patches for secondary arches
f9adc4
f9adc4
* Tue Jun 28 2011 Jan Horak <jhorak@redhat.com> - 5.0-1
f9adc4
- Update to 5.0
f9adc4
f9adc4
* Tue Jun 21 2011 Jan Horak <jhorak@redhat.com> - 3.1.11-1
f9adc4
- Update to 3.1.11
f9adc4
f9adc4
* Wed May 25 2011 Caolán McNamara <caolanm@redhat.com> - 3.1.10-2
f9adc4
- rebuild for new hunspell
f9adc4
f9adc4
* Thu Apr 28 2011 Jan Horak <jhorak@redhat.com> - 3.1.10-1
f9adc4
- Update to 3.1.10
f9adc4
f9adc4
* Thu Apr 21 2011 Christopher Aillon <caillon@redhat.com> - 3.1.9-7
f9adc4
- Make gvfs-open launch a compose window (salimma)
f9adc4
- Spec file cleanups (salimma, caillon)
f9adc4
- Split out mozilla crashreporter symbols to its own debuginfo package (caillon)
f9adc4
f9adc4
* Sat Apr  2 2011 Christopher Aillon <caillon@redhat.com> - 3.1.9-6
f9adc4
- Drop gio support: the code hooks don't exist yet for TB 3.1.x
f9adc4
f9adc4
* Fri Apr  1 2011 Orion Poplawski <orion@cora.nwra.com> - 3.1.9-5
f9adc4
- Enable startup notification
f9adc4
f9adc4
* Sun Mar 20 2011 Dan Horák <dan[at]danny.cz> - 3.1.9-4
f9adc4
- updated the s390 build patch
f9adc4
f9adc4
* Fri Mar 18 2011 Jan Horak <jhorak@redhat.com> - 3.1.9-3
f9adc4
- Removed gnome-vfs2, libgnomeui and libgnome from build requires
f9adc4
f9adc4
* Wed Mar  9 2011 Jan Horak <jhorak@redhat.com> - 3.1.9-2
f9adc4
- Disabled gnomevfs, enabled gio
f9adc4
f9adc4
* Mon Mar  7 2011 Jan Horak <jhorak@redhat.com> - 3.1.9-1
f9adc4
- Update to 3.1.9
f9adc4
f9adc4
* Tue Mar  1 2011 Jan Horak <jhorak@redhat.com> - 3.1.8-3
f9adc4
- Update to 3.1.8
f9adc4
f9adc4
* Wed Feb  9 2011 Christopher Aillon <caillon@redhat.com> - 3.1.7-6
f9adc4
- Drop the -lightning subpackage, it needs to be in its own SRPM
f9adc4
f9adc4
* Mon Feb  7 2011 Christopher Aillon <caillon@redhat.com> - 3.1.7-5
f9adc4
- Bring back the default mailer check but fix up the directory
f9adc4
f9adc4
* Wed Dec 15 2010 Jan Horak <jhorak@redhat.com> - 3.1.7-4
f9adc4
- Mozilla crash reporter enabled
f9adc4
f9adc4
* Thu Dec  9 2010 Jan Horak <jhorak@redhat.com> - 3.1.7-2
f9adc4
- Fixed useragent
f9adc4
f9adc4
* Thu Dec  9 2010 Jan Horak <jhorak@redhat.com> - 3.1.7-1
f9adc4
- Update to 3.1.7
f9adc4
f9adc4
* Sat Nov 27 2010 Remi Collet <fedora@famillecollet.com> - 3.1.6-8
f9adc4
- fix cairo + nspr required version
f9adc4
- lightning: fix thunderbird version required
f9adc4
- lightning: fix release (b3pre)
f9adc4
- lightning: clean install
f9adc4
f9adc4
* Mon Nov 22 2010 Jan Horak <jhorak@redhat.com> - 3.1.6-7
f9adc4
- Added x-scheme-handler/mailto to thunderbird.desktop file
f9adc4
f9adc4
* Mon Nov  8 2010 Jan Horak <jhorak@redhat.com> - 3.1.6-4
f9adc4
- Added libnotify patch
f9adc4
- Removed dependency on static libraries
f9adc4
f9adc4
* Fri Oct 29 2010 Jan Horak <jhorak@redhat.com> - 3.1.6-2
f9adc4
- Move thunderbird-lightning extension from Sunbird package to Thunderbird
f9adc4
f9adc4
* Wed Oct 27 2010 Jan Horak <jhorak@redhat.com> - 3.1.6-1
f9adc4
- Update to 3.1.6
f9adc4
f9adc4
* Tue Oct 19 2010 Jan Horak <jhorak@redhat.com> - 3.1.5-1
f9adc4
- Update to 3.1.5
f9adc4
f9adc4
* Thu Sep 16 2010 Dan Horák <dan[at]danny.cz> - 3.1.3-2
f9adc4
- fix build on s390
f9adc4
f9adc4
* Tue Sep  7 2010 Jan Horak <jhorak@redhat.com> - 3.1.3-1
f9adc4
- Update to 3.1.3
f9adc4
f9adc4
* Fri Aug  6 2010 Jan Horak <jhorak@redhat.com> - 3.1.2-1
f9adc4
- Update to 3.1.2
f9adc4
- Disable updater
f9adc4
f9adc4
* Tue Jul 20 2010 Jan Horak <jhorak@redhat.com> - 3.1.1-1
f9adc4
- Update to 3.1.1
f9adc4
f9adc4
* Thu Jun 24 2010 Jan Horak <jhorak@redhat.com> - 3.1-1
f9adc4
- Thunderbird 3.1
f9adc4
f9adc4
* Fri Jun 11 2010 Jan Horak <jhorak@redhat.com> - 3.1-0.3.rc2
f9adc4
- TryExec added to desktop file
f9adc4
f9adc4
* Wed Jun  9 2010 Christopher Aillon <caillon@redhat.com> 3.1-0.2.rc2
f9adc4
- Thunderbird 3.1 RC2
f9adc4
f9adc4
* Tue May 25 2010 Christopher Aillon <caillon@redhat.com> 3.1-0.1.rc1
f9adc4
- Thunderbird 3.1 RC1
f9adc4
f9adc4
* Fri Apr 30 2010 Jan Horak <jhorak@redhat.com> - 3.0.4-3
f9adc4
- Fix for mozbz#550455
f9adc4
f9adc4
* Tue Apr 13 2010 Martin Stransky <stransky@redhat.com> - 3.0.4-2
f9adc4
- Fixed langpacks (#580444)
f9adc4
f9adc4
* Tue Mar 30 2010 Jan Horak <jhorak@redhat.com> - 3.0.4-1
f9adc4
- Update to 3.0.4
f9adc4
f9adc4
* Sat Mar 06 2010 Kalev Lember <kalev@smartlink.ee> - 3.0.3-2
f9adc4
- Own extension directories (#532132)
f9adc4
f9adc4
* Mon Mar  1 2010 Jan Horak <jhorak@redhat.com> - 3.0.3-1
f9adc4
- Update to 3.0.3
f9adc4
f9adc4
* Thu Feb 25 2010 Jan Horak <jhorak@redhat.com> - 3.0.2-1
f9adc4
- Update to 3.0.2
f9adc4
f9adc4
* Wed Jan 20 2010 Martin Stransky <stransky@redhat.com> - 3.0.1-1
f9adc4
- Update to 3.0.1
f9adc4
f9adc4
* Mon Jan 18 2010 Martin Stransky <stransky@redhat.com> - 3.0-5
f9adc4
- Added fix for #480603 - thunderbird takes
f9adc4
  unacceptably long time to start
f9adc4
f9adc4
* Wed Dec  9 2009 Jan Horak <jhorak@redhat.com> - 3.0-4
f9adc4
- Update to 3.0
f9adc4
f9adc4
* Thu Dec  3 2009 Jan Horak <jhorak@redhat.com> - 3.0-3.13.rc2