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