|
|
155c30 |
# Set for local builds only
|
|
|
155c30 |
%global disable_toolsets 0
|
|
|
155c30 |
|
|
|
d2e479 |
%if 0%{?fedora} > 35 || 0%{?rhel} > 9
|
|
|
d2e479 |
%global dictionarydir hunspell
|
|
|
d2e479 |
%else
|
|
|
d2e479 |
%global dictionarydir myspell
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
%{lua:
|
|
|
155c30 |
function dist_to_rhel_minor(str, start)
|
|
|
155c30 |
match = string.match(str, ".module%+el8.%d+")
|
|
|
155c30 |
if match then
|
|
|
155c30 |
return string.sub(match, 13)
|
|
|
155c30 |
end
|
|
|
155c30 |
match = string.match(str, ".el8_%d+")
|
|
|
155c30 |
if match then
|
|
|
155c30 |
return string.sub(match, 6)
|
|
|
155c30 |
end
|
|
|
155c30 |
match = string.match(str, ".el8")
|
|
|
155c30 |
if match then
|
|
|
146333 |
return 9
|
|
|
155c30 |
end
|
|
|
d2e479 |
return -1
|
|
|
155c30 |
end}
|
|
|
155c30 |
|
|
|
155c30 |
%global rhel_minor_version %{lua:print(dist_to_rhel_minor(rpm.expand("%dist")))}
|
|
|
d2e479 |
|
|
|
d2e479 |
# Produce debug (non-optimized) package build. Suitable for debugging only
|
|
|
d2e479 |
# as the build is *very* slow.
|
|
|
d2e479 |
%global debug_build 0
|
|
|
155c30 |
|
|
|
155c30 |
%global system_nss 1
|
|
|
155c30 |
%global bundle_nss 0
|
|
|
d2e479 |
%global build_langpacks 1
|
|
|
155c30 |
|
|
|
c8359d |
# librnp with openssl support, not available in RHEL7 because it requires openssl >= 1.1.1e,
|
|
|
c8359d |
# nor in rhel-8.1.0 or rhel-8.2.0
|
|
|
c8359d |
%global use_openssl_for_librnp 1
|
|
|
c8359d |
%if 0%{?rhel} == 7 || (0%{?rhel} == 8 && %{rhel_minor_version} < 4)
|
|
|
c8359d |
%global use_openssl_for_librnp 0
|
|
|
c8359d |
%endif
|
|
|
c8359d |
|
|
|
155c30 |
%if 0%{?rhel} == 8
|
|
|
d2e479 |
%if %{rhel_minor_version} <= 4
|
|
|
155c30 |
%global bundle_nss 1
|
|
|
155c30 |
%global system_nss 1
|
|
|
155c30 |
%endif
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%global build_with_asan 0
|
|
|
155c30 |
|
|
|
155c30 |
%global use_llvmts 0
|
|
|
155c30 |
%global use_nodejsts 0
|
|
|
155c30 |
%if 0%{?rhel} < 8
|
|
|
155c30 |
%global use_llvmts 1
|
|
|
155c30 |
%global use_nodejsts 1
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
|
|
|
155c30 |
%global nodejs_rb nodejs
|
|
|
155c30 |
%global llvm_version 7.0
|
|
|
d2e479 |
%if "%{toolchain}" == "clang"
|
|
|
d2e479 |
%global build_with_clang 1
|
|
|
d2e479 |
%else
|
|
|
d2e479 |
%global build_with_clang 0
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%ifarch armv7hl
|
|
|
d2e479 |
%global create_debuginfo 0
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%if 0%{?rhel} == 7
|
|
|
155c30 |
%global use_dts 1
|
|
|
155c30 |
%global nodejs_rb rh-nodejs10-nodejs
|
|
|
155c30 |
%global llvm_version 11.0
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
# Temporary disabled due to
|
|
|
d2e479 |
# https://bugzilla.redhat.com/show_bug.cgi?id=1951606
|
|
|
d2e479 |
%global enable_mozilla_crashreporter 0
|
|
|
d2e479 |
|
|
|
d2e479 |
%global system_ffi 1
|
|
|
d2e479 |
%ifarch armv7hl
|
|
|
d2e479 |
%global system_libvpx 1
|
|
|
d2e479 |
%else
|
|
|
d2e479 |
%global system_libvpx 0
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%global hardened_build 1
|
|
|
d2e479 |
%global system_jpeg 1
|
|
|
d2e479 |
%global disable_elfhack 1
|
|
|
d2e479 |
%global use_bundled_cbindgen 1
|
|
|
d2e479 |
%if %{debug_build}
|
|
|
d2e479 |
%global release_build 0
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
# Build PGO+LTO on x86_64 only due to build issues
|
|
|
d2e479 |
# on other arches.
|
|
|
d2e479 |
%global build_with_pgo 0
|
|
|
d2e479 |
%ifarch x86_64
|
|
|
d2e479 |
%if 0%{?release_build}
|
|
|
d2e479 |
%global build_with_pgo 0
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%global use_rustts 1
|
|
|
d2e479 |
%global dts_version 10
|
|
|
d2e479 |
%global rust_version 1.62
|
|
|
d2e479 |
%if 0%{?rhel} >= 8
|
|
|
155c30 |
%global use_rustts 0
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
%if 0%{?flatpak}
|
|
|
d2e479 |
%global build_with_pgo 0
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
%if 0%{?disable_toolsets}
|
|
|
155c30 |
%global use_rustts 0
|
|
|
155c30 |
%global use_dts 0
|
|
|
155c30 |
%global use_llvmts 0
|
|
|
d2e479 |
%global use_nodejsts 0
|
|
|
d2e479 |
%global nodejs_rb nodejs
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
# Big endian platforms
|
|
|
155c30 |
%ifarch ppc64 s390x
|
|
|
155c30 |
%global big_endian 1
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%if 0%{?build_with_pgo}
|
|
|
d2e479 |
%global use_xvfb 1
|
|
|
d2e479 |
%global build_tests 1
|
|
|
155c30 |
%endif
|
|
|
155c30 |
# Minimal required versions
|
|
|
d2e479 |
%global cairo_version 1.13.1
|
|
|
d2e479 |
%global freetype_version 2.1.9
|
|
|
d2e479 |
%global libnotify_version 0.7.0
|
|
|
d2e479 |
%if %{?system_libvpx}
|
|
|
d2e479 |
%global libvpx_version 1.8.2
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%if %{?system_nss}
|
|
|
d2e479 |
%global nspr_version 4.34
|
|
|
155c30 |
%global nspr_build_version %{nspr_version}
|
|
|
d2e479 |
%global nss_version 3.79
|
|
|
155c30 |
%global nss_build_version %{nss_version}
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
%define thunderbird_app_id \{3550f703-e582-4d05-9a08-453d09bdfdc6\}
|
|
|
d2e479 |
%global langpackdir %{mozappdir}/extensions
|
|
|
155c30 |
|
|
|
d2e479 |
# The tarball is pretty inconsistent with directory structure.
|
|
|
d2e479 |
# Sometimes there is a top level directory. That goes here.
|
|
|
d2e479 |
#
|
|
|
d2e479 |
# IMPORTANT: If there is no top level directory, this should be
|
|
|
d2e479 |
# set to the cwd, ie: '.'
|
|
|
d2e479 |
%define objdir objdir
|
|
|
d2e479 |
%define mozappdir %{_libdir}/thunderbird
|
|
|
155c30 |
|
|
|
155c30 |
%define bundled_install_path %{mozappdir}/bundled
|
|
|
d2e479 |
%define official_branding 1
|
|
|
155c30 |
# We could use %%include, but in %%files, %%post and other sections, but in these
|
|
|
155c30 |
# sections it could lead to syntax errors about unclosed %%if. Work around it by
|
|
|
155c30 |
# using the following macro
|
|
|
155c30 |
%define include_file() %{expand:%(cat '%1')}
|
|
|
155c30 |
|
|
|
d2e479 |
# Exclude private libraries from autogenerated provides and requires
|
|
|
d2e479 |
%global __provides_exclude_from ^%{mozappdir}
|
|
|
d2e479 |
%global __requires_exclude ^(%%(find %{buildroot}%{mozappdir} -name '*.so' | xargs -n1 basename | sort -u | paste -s -d '|' -))
|
|
|
7a058b |
|
|
|
155c30 |
Summary: Mozilla Thunderbird mail/newsgroup client
|
|
|
155c30 |
Name: thunderbird
|
|
|
146333 |
Version: 102.11.0
|
|
|
146333 |
Release: 1%{?dist}
|
|
|
155c30 |
URL: http://www.mozilla.org/projects/thunderbird/
|
|
|
155c30 |
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
|
|
155c30 |
|
|
|
146333 |
# Workaround the dreaded "upstream source file changed content" rpminspect failure.
|
|
|
146333 |
# If set to .b2 or .b3 ... the processed source file needs to be renamed before upload, e.g.
|
|
|
146333 |
# thunderbird-102.8.0.b2.processed-source.tar.xz
|
|
|
146333 |
# When unset use processed source file name as is.
|
|
|
146333 |
#%%global buildnum .b2
|
|
|
146333 |
|
|
|
155c30 |
%if 0%{?rhel} == 9
|
|
|
155c30 |
ExcludeArch: %{ix86}
|
|
|
155c30 |
%endif
|
|
|
155c30 |
%if 0%{?rhel} == 8
|
|
|
d2e479 |
%if %{rhel_minor_version} == 1
|
|
|
d2e479 |
ExcludeArch: %{ix86} aarch64 s390x
|
|
|
d2e479 |
%else
|
|
|
155c30 |
ExcludeArch: %{ix86}
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%endif
|
|
|
155c30 |
%if 0%{?rhel} == 7
|
|
|
d2e479 |
ExcludeArch: aarch64 s390 ppc
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
#Source0: https://archive.mozilla.org/pub/thunderbird/releases/%{version}%{?pre_version}/source/thunderbird-%{version}%{?pre_version}.processed-source.tar.xz
|
|
|
146333 |
Source0: thunderbird-%{version}%{?pre_version}%{?buildnum}.processed-source.tar.xz
|
|
|
155c30 |
%if %{build_langpacks}
|
|
|
146333 |
Source1: thunderbird-langpacks-%{version}-20230504.tar.xz
|
|
|
155c30 |
%endif
|
|
|
155c30 |
Source2: cbindgen-vendor.tar.xz
|
|
|
d2e479 |
Source3: process-official-tarball
|
|
|
155c30 |
Source10: thunderbird-mozconfig
|
|
|
d2e479 |
Source12: thunderbird-redhat-default-prefs.js
|
|
|
155c30 |
Source20: thunderbird.desktop
|
|
|
155c30 |
Source21: thunderbird.sh.in
|
|
|
155c30 |
Source24: mozilla-api-key
|
|
|
d2e479 |
Source25: thunderbird-symbolic.svg
|
|
|
155c30 |
Source27: google-api-key
|
|
|
d2e479 |
Source32: node-stdout-nonblocking-wrapper
|
|
|
d2e479 |
Source35: google-loc-api-key
|
|
|
146333 |
Source403: nss-3.79.0-11.el8_1.src.rpm
|
|
|
155c30 |
Source401: nss-setup-flags-env.inc
|
|
|
d2e479 |
Source402: nspr-4.34.0-3.el8_1.src.rpm
|
|
|
155c30 |
|
|
|
155c30 |
# Build patches
|
|
|
d2e479 |
Patch3: mozilla-build-arm.patch
|
|
|
d2e479 |
Patch25: rhbz-1219542-s390-build.patch
|
|
|
d2e479 |
# Fixing missing cacheFlush when JS_CODEGEN_NONE is used (s390x)
|
|
|
d2e479 |
Patch40: build-aarch64-skia.patch
|
|
|
d2e479 |
Patch41: build-disable-elfhack.patch
|
|
|
d2e479 |
Patch44: build-arm-libopus.patch
|
|
|
d2e479 |
Patch47: fedora-shebang-build.patch
|
|
|
d2e479 |
Patch49: build-arm-libaom.patch
|
|
|
d2e479 |
Patch53: firefox-gcc-build.patch
|
|
|
d2e479 |
Patch54: mozilla-1669639.patch
|
|
|
d2e479 |
Patch71: 0001-GLIBCXX-fix-for-GCC-12.patch
|
|
|
d2e479 |
Patch72: build-remove-dav1d-from-wayland-dep.patch
|
|
|
d2e479 |
Patch73: build-ascii-decode-fail-rhel7.patch
|
|
|
d2e479 |
Patch75: build-big-endian-errors.patch
|
|
|
d2e479 |
Patch76: firefox-nss-version.patch
|
|
|
d2e479 |
Patch77: mozilla-1775202.patch
|
|
|
d2e479 |
Patch78: build-rhel7-lower-node-min-version.patch
|
|
|
d2e479 |
|
|
|
d2e479 |
# Fedora specific patches
|
|
|
155c30 |
Patch215: firefox-enable-addons.patch
|
|
|
155c30 |
Patch219: rhbz-1173156.patch
|
|
|
155c30 |
Patch224: mozilla-1170092.patch
|
|
|
d2e479 |
#ARM run-time patch
|
|
|
d2e479 |
Patch226: rhbz-1354671.patch
|
|
|
d2e479 |
Patch228: disable-openh264-download.patch
|
|
|
d2e479 |
Patch229: firefox-nss-addon-hack.patch
|
|
|
d2e479 |
Patch230: disable-openpgp-in-thunderbird.patch
|
|
|
155c30 |
|
|
|
155c30 |
# Upstream patches
|
|
|
d2e479 |
Patch415: mozilla-1670333.patch
|
|
|
d2e479 |
Patch416: mozilla-bmo1005535.patch
|
|
|
d2e479 |
Patch417: mozilla-bmo1504834-part1.patch
|
|
|
d2e479 |
Patch418: mozilla-bmo1504834-part3.patch
|
|
|
d2e479 |
Patch419: mozilla-bmo849632.patch
|
|
|
d2e479 |
Patch420: mozilla-bmo998749.patch
|
|
|
d2e479 |
Patch421: mozilla-s390-context.patch
|
|
|
d2e479 |
Patch422: mozilla-s390x-skia-gradient.patch
|
|
|
d2e479 |
Patch423: one_swizzle_to_rule_them_all.patch
|
|
|
d2e479 |
Patch424: svg-rendering.patch
|
|
|
d2e479 |
Patch425: D158770.diff
|
|
|
d2e479 |
|
|
|
d2e479 |
# PGO/LTO patches
|
|
|
d2e479 |
Patch600: pgo.patch
|
|
|
d2e479 |
Patch602: mozilla-1516803.patch
|
|
|
d2e479 |
|
|
|
d2e479 |
# Backported WebRTC changes for PipeWire/Wayland screen sharing support
|
|
|
d2e479 |
Patch1008: build-rhel7-nasm-dwarf.patch
|
|
|
155c30 |
|
|
|
155c30 |
%if %{?system_nss}
|
|
|
155c30 |
%if !0%{?bundle_nss}
|
|
|
155c30 |
BuildRequires: pkgconfig(nspr) >= %{nspr_version}
|
|
|
155c30 |
BuildRequires: pkgconfig(nss) >= %{nss_version}
|
|
|
155c30 |
BuildRequires: nss-static >= %{nss_version}
|
|
|
155c30 |
%endif
|
|
|
155c30 |
%endif
|
|
|
155c30 |
BuildRequires: pkgconfig(libpng)
|
|
|
d2e479 |
%if %{?system_jpeg}
|
|
|
155c30 |
BuildRequires: libjpeg-devel
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
BuildRequires: zip
|
|
|
155c30 |
BuildRequires: bzip2-devel
|
|
|
155c30 |
BuildRequires: pkgconfig(zlib)
|
|
|
d2e479 |
BuildRequires: pkgconfig(gtk+-3.0)
|
|
|
155c30 |
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
d2e479 |
BuildRequires: pkgconfig(krb5)
|
|
|
155c30 |
BuildRequires: pkgconfig(pango)
|
|
|
d2e479 |
BuildRequires: pkgconfig(freetype2) >= %{freetype_version}
|
|
|
155c30 |
BuildRequires: pkgconfig(xt)
|
|
|
d2e479 |
BuildRequires: pkgconfig(xtst)
|
|
|
155c30 |
BuildRequires: pkgconfig(xrender)
|
|
|
155c30 |
BuildRequires: pkgconfig(libstartup-notification-1.0)
|
|
|
d2e479 |
BuildRequires: pkgconfig(libnotify) >= %{libnotify_version}
|
|
|
155c30 |
BuildRequires: pkgconfig(dri)
|
|
|
155c30 |
BuildRequires: pkgconfig(libcurl)
|
|
|
d2e479 |
BuildRequires: pkgconfig(alsa)
|
|
|
c8359d |
%if %{?use_openssl_for_librnp}
|
|
|
c8359d |
BuildRequires: pkgconfig(openssl)
|
|
|
c8359d |
%endif
|
|
|
d2e479 |
BuildRequires: libstdc++-devel
|
|
|
d2e479 |
BuildRequires: libstdc++-static
|
|
|
155c30 |
BuildRequires: dbus-glib-devel
|
|
|
d2e479 |
%if %{?system_libvpx}
|
|
|
d2e479 |
BuildRequires: libvpx-devel >= %{libvpx_version}
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%if %{?system_ffi}
|
|
|
d2e479 |
BuildRequires: libffi-devel
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
BuildRequires: startup-notification-devel
|
|
|
d2e479 |
BuildRequires: alsa-lib-devel
|
|
|
155c30 |
BuildRequires: m4
|
|
|
155c30 |
BuildRequires: pkgconfig(libpulse)
|
|
|
155c30 |
|
|
|
155c30 |
%if 0%{?use_dts}
|
|
|
155c30 |
BuildRequires: devtoolset-%{dts_version}-gcc-c++
|
|
|
155c30 |
BuildRequires: devtoolset-%{dts_version}-gcc
|
|
|
155c30 |
BuildRequires: devtoolset-%{dts_version}-libatomic-devel
|
|
|
155c30 |
%endif
|
|
|
155c30 |
%if 0%{?rhel} == 9
|
|
|
155c30 |
BuildRequires: gcc
|
|
|
155c30 |
BuildRequires: gcc-c++
|
|
|
155c30 |
BuildRequires: cargo
|
|
|
155c30 |
BuildRequires: rust
|
|
|
155c30 |
BuildRequires: clang clang-libs llvm
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
BuildRequires: %{nodejs_rb} >= 10.21
|
|
|
d2e479 |
%if 0%{?rhel} == 7
|
|
|
155c30 |
BuildRequires: scl-utils
|
|
|
155c30 |
BuildRequires: findutils
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%if 0%{?rhel} == 8
|
|
|
155c30 |
BuildRequires: cargo
|
|
|
155c30 |
BuildRequires: rust >= %{rust_version}
|
|
|
155c30 |
BuildRequires: llvm >= %{llvm_version}
|
|
|
155c30 |
BuildRequires: llvm-devel >= %{llvm_version}
|
|
|
155c30 |
BuildRequires: clang >= %{llvm_version}
|
|
|
155c30 |
BuildRequires: clang-devel >= %{llvm_version}
|
|
|
155c30 |
BuildRequires: rustfmt >= %{rust_version}
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
|
|
|
155c30 |
%if 0%{?use_rustts}
|
|
|
155c30 |
BuildRequires: rust-toolset-%{rust_version}
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
|
|
|
155c30 |
%if 0%{?use_llvmts}
|
|
|
155c30 |
BuildRequires: llvm-toolset-%{llvm_version}
|
|
|
155c30 |
BuildRequires: llvm-toolset-%{llvm_version}-llvm-devel
|
|
|
155c30 |
BuildRequires: llvm-toolset-%{llvm_version}-clang
|
|
|
155c30 |
BuildRequires: llvm-toolset-%{llvm_version}-clang-devel
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
|
|
|
d2e479 |
%if 0%{?rhel} > 7
|
|
|
155c30 |
BuildRequires: pipewire-devel
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%if !0%{?use_bundled_cbindgen}
|
|
|
d2e479 |
BuildRequires: cbindgen
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
BuildRequires: nasm >= 1.13
|
|
|
d2e479 |
BuildRequires: libappstream-glib
|
|
|
155c30 |
|
|
|
d2e479 |
%if 0%{?big_endian}
|
|
|
d2e479 |
BuildRequires: icu
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
# Bundled nss/nspr requirement
|
|
|
155c30 |
%if 0%{?bundle_nss}
|
|
|
155c30 |
BuildRequires: nss-softokn
|
|
|
155c30 |
BuildRequires: sqlite-devel
|
|
|
155c30 |
BuildRequires: zlib-devel
|
|
|
155c30 |
BuildRequires: pkgconfig
|
|
|
155c30 |
BuildRequires: gawk
|
|
|
155c30 |
BuildRequires: psmisc
|
|
|
d2e479 |
BuildRequires: perl-interpreter
|
|
|
155c30 |
BuildRequires: gcc-c++
|
|
|
155c30 |
BuildRequires: xmlto
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
# Don't require any OpenPGP backend with the librnp interface, because RHEL does not have it
|
|
|
d2e479 |
#Requires: thunderbird-librnp%{?_isa}
|
|
|
d2e479 |
# prefer the librnp implementation bundled with thunderbird
|
|
|
d2e479 |
#Not in RHEL7 Suggests: thunderbird-librnp-rnp%{?_isa}
|
|
|
155c30 |
Requires: p11-kit-trust
|
|
|
d2e479 |
Requires: pciutils-libs
|
|
|
155c30 |
%if %{?system_nss}
|
|
|
155c30 |
%if !0%{?bundle_nss}
|
|
|
155c30 |
Requires: nspr >= %{nspr_build_version}
|
|
|
155c30 |
Requires: nss >= %{nss_build_version}
|
|
|
155c30 |
%endif
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
BuildRequires: python3-devel
|
|
|
d2e479 |
BuildRequires: python3-setuptools
|
|
|
155c30 |
|
|
|
155c30 |
BuildRequires: desktop-file-utils
|
|
|
d2e479 |
%if %{?system_ffi}
|
|
|
d2e479 |
BuildRequires: pkgconfig(libffi)
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%if 0%{?use_xvfb}
|
|
|
155c30 |
BuildRequires: xorg-x11-server-Xvfb
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
%if %{build_with_asan}
|
|
|
d2e479 |
BuildRequires: libasan
|
|
|
d2e479 |
BuildRequires: libasan-static
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
BuildRequires: perl-interpreter
|
|
|
d2e479 |
#BuildRequires: fdk-aac-free-devel not on rhel8
|
|
|
d2e479 |
%if 0%{?test_on_wayland}
|
|
|
d2e479 |
BuildRequires: mutter
|
|
|
d2e479 |
BuildRequires: gsettings-desktop-schemas
|
|
|
d2e479 |
BuildRequires: gnome-settings-daemon
|
|
|
d2e479 |
BuildRequires: mesa-dri-drivers
|
|
|
d2e479 |
BuildRequires: xorg-x11-server-Xwayland
|
|
|
d2e479 |
BuildRequires: dbus-x11
|
|
|
d2e479 |
BuildRequires: gnome-keyring
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%if 0%{?run_firefox_tests}
|
|
|
d2e479 |
BuildRequires: procps-ng
|
|
|
d2e479 |
BuildRequires: nss-tools
|
|
|
d2e479 |
BuildRequires: dejavu-sans-mono-fonts
|
|
|
d2e479 |
BuildRequires: dejavu-sans-fonts
|
|
|
d2e479 |
BuildRequires: dejavu-serif-fonts
|
|
|
d2e479 |
BuildRequires: dbus-x11
|
|
|
d2e479 |
BuildRequires: gnome-keyring
|
|
|
d2e479 |
BuildRequires: mesa-dri-drivers
|
|
|
d2e479 |
# ----------------------------------------
|
|
|
d2e479 |
BuildRequires: liberation-fonts-common
|
|
|
d2e479 |
BuildRequires: liberation-mono-fonts
|
|
|
d2e479 |
BuildRequires: liberation-sans-fonts
|
|
|
d2e479 |
BuildRequires: liberation-serif-fonts
|
|
|
d2e479 |
# ----------------------------------
|
|
|
d2e479 |
# Missing on f32
|
|
|
d2e479 |
%if 0%{?fedora} > 33
|
|
|
d2e479 |
BuildRequires: google-carlito-fonts
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
BuildRequires: google-droid-sans-fonts
|
|
|
d2e479 |
BuildRequires: google-noto-fonts-common
|
|
|
d2e479 |
BuildRequires: google-noto-cjk-fonts-common
|
|
|
d2e479 |
BuildRequires: google-noto-sans-cjk-ttc-fonts
|
|
|
d2e479 |
BuildRequires: google-noto-sans-gurmukhi-fonts
|
|
|
d2e479 |
BuildRequires: google-noto-sans-fonts
|
|
|
d2e479 |
BuildRequires: google-noto-emoji-color-fonts
|
|
|
d2e479 |
BuildRequires: google-noto-sans-sinhala-vf-fonts
|
|
|
d2e479 |
# -----------------------------------
|
|
|
d2e479 |
BuildRequires: thai-scalable-fonts-common
|
|
|
d2e479 |
BuildRequires: thai-scalable-waree-fonts
|
|
|
d2e479 |
BuildRequires: khmeros-base-fonts
|
|
|
d2e479 |
BuildRequires: jomolhari-fonts
|
|
|
d2e479 |
# ----------------------------------
|
|
|
d2e479 |
BuildRequires: lohit-tamil-fonts
|
|
|
d2e479 |
BuildRequires: lohit-telugu-fonts
|
|
|
d2e479 |
# ----------------------------------
|
|
|
d2e479 |
BuildRequires: paktype-naskh-basic-fonts
|
|
|
d2e479 |
# faild to build in Koji / f32
|
|
|
d2e479 |
%if 0%{?fedora} > 33
|
|
|
d2e479 |
BuildRequires: pt-sans-fonts
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
BuildRequires: smc-meera-fonts
|
|
|
d2e479 |
BuildRequires: stix-fonts
|
|
|
d2e479 |
BuildRequires: abattis-cantarell-fonts
|
|
|
d2e479 |
BuildRequires: xorg-x11-fonts-ISO8859-1-100dpi
|
|
|
d2e479 |
BuildRequires: xorg-x11-fonts-misc
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
BuildRequires: make
|
|
|
d2e479 |
BuildRequires: pciutils-libs
|
|
|
d2e479 |
|
|
|
d2e479 |
Obsoletes: mozilla <= 37:1.7.13
|
|
|
d2e479 |
Provides: webclient
|
|
|
d2e479 |
%if 0%{?rhel} == 8 && %{rhel_minor_version} < 6
|
|
|
d2e479 |
%ifarch aarch64
|
|
|
d2e479 |
BuildRequires: gcc-toolset-12-annobin-plugin-gcc
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
|
|
|
155c30 |
# Bundled libraries
|
|
|
155c30 |
Provides: bundled(angle)
|
|
|
d2e479 |
Provides: bundled(audioipc-2)
|
|
|
d2e479 |
Provides: bundled(brotli)
|
|
|
d2e479 |
Provides: bundled(bzip2)
|
|
|
155c30 |
Provides: bundled(cairo)
|
|
|
d2e479 |
Provides: bundled(cfworker)
|
|
|
d2e479 |
Provides: bundled(d3.js)
|
|
|
d2e479 |
Provides: bundled(double-conversion)
|
|
|
d2e479 |
Provides: bundled(expat)
|
|
|
d2e479 |
Provides: bundled(fdlibm)
|
|
|
d2e479 |
Provides: bundled(ffvpx)
|
|
|
d2e479 |
Provides: bundled(freetype2)
|
|
|
155c30 |
Provides: bundled(graphite2)
|
|
|
155c30 |
Provides: bundled(harfbuzz)
|
|
|
d2e479 |
Provides: bundled(highway)
|
|
|
d2e479 |
Provides: bundled(intgemm)
|
|
|
d2e479 |
Provides: bundled(json-c)
|
|
|
155c30 |
Provides: bundled(kissfft)
|
|
|
155c30 |
Provides: bundled(libaom)
|
|
|
155c30 |
Provides: bundled(libcubeb)
|
|
|
155c30 |
Provides: bundled(libdav1d)
|
|
|
d2e479 |
Provides: bundled(libgcrypt)
|
|
|
d2e479 |
Provides: bundled(libgpg-error)
|
|
|
155c30 |
Provides: bundled(libjpeg)
|
|
|
d2e479 |
Provides: bundled(libjxl)
|
|
|
d2e479 |
Provides: bundled(libjxl)
|
|
|
d2e479 |
Provides: bundled(libmar)
|
|
|
155c30 |
Provides: bundled(libmkv)
|
|
|
155c30 |
Provides: bundled(libnestegg)
|
|
|
155c30 |
Provides: bundled(libogg)
|
|
|
155c30 |
Provides: bundled(libopus)
|
|
|
d2e479 |
Provides: bundled(libotr)
|
|
|
155c30 |
Provides: bundled(libpng)
|
|
|
d2e479 |
Provides: bundled(libprio)
|
|
|
155c30 |
Provides: bundled(libsoundtouch)
|
|
|
155c30 |
Provides: bundled(libspeex_resampler)
|
|
|
d2e479 |
Provides: bundled(libsrtp)
|
|
|
155c30 |
Provides: bundled(libtheora)
|
|
|
155c30 |
Provides: bundled(libtremor)
|
|
|
155c30 |
Provides: bundled(libvorbis)
|
|
|
155c30 |
Provides: bundled(libvpx)
|
|
|
155c30 |
Provides: bundled(libwebp)
|
|
|
d2e479 |
Provides: bundled(libwebrtc)
|
|
|
155c30 |
Provides: bundled(libyuv)
|
|
|
155c30 |
Provides: bundled(mp4parse-rust)
|
|
|
d2e479 |
Provides: bundled(mp4parse-rust)
|
|
|
d2e479 |
Provides: bundled(msgpack-c)
|
|
|
d2e479 |
Provides: bundled(msgpack-c)
|
|
|
155c30 |
Provides: bundled(mtransport)
|
|
|
d2e479 |
Provides: bundled(niwcompat)
|
|
|
155c30 |
Provides: bundled(openmax_dl)
|
|
|
d2e479 |
Provides: bundled(openmax_il)
|
|
|
d2e479 |
Provides: bundled(openmax_il)
|
|
|
d2e479 |
Provides: bundled(ots)
|
|
|
d2e479 |
Provides: bundled(qcms)
|
|
|
d2e479 |
Provides: bundled(rlbox_sandboxing_api)
|
|
|
d2e479 |
Provides: bundled(rnp)
|
|
|
d2e479 |
Provides: bundled(sfntly)
|
|
|
d2e479 |
Provides: bundled(sipcc)
|
|
|
d2e479 |
Provides: bundled(skia)
|
|
|
d2e479 |
Provides: bundled(sqlite3)
|
|
|
d2e479 |
Provides: bundled(thebes)
|
|
|
d2e479 |
Provides: bundled(wasm2c)
|
|
|
d2e479 |
Provides: bundled(WebRender)
|
|
|
155c30 |
Provides: bundled(woff2)
|
|
|
155c30 |
Provides: bundled(xz-embedded)
|
|
|
d2e479 |
Provides: bundled(ycbcr)
|
|
|
155c30 |
Provides: bundled(zlib)
|
|
|
155c30 |
|
|
|
155c30 |
%if 0%{?bundle_nss}
|
|
|
d2e479 |
Provides: bundled(nss) = 3.79.0
|
|
|
d2e479 |
Provides: bundled(nspr) = 4.34.0
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
|
|
|
155c30 |
%description
|
|
|
155c30 |
Mozilla Thunderbird is a standalone mail and newsgroup client.
|
|
|
155c30 |
|
|
|
d2e479 |
#%package librnp-rnp
|
|
|
d2e479 |
#Summary: OpenPGP implementation for Thunderbird based on RNP
|
|
|
d2e479 |
#Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
|
|
|
d2e479 |
#Provides: thunderbird-librnp
|
|
|
d2e479 |
#Provides: thunderbird-librnp%{?_isa}
|
|
|
d2e479 |
#Conflicts: thunderbird-librnp%{?_isa}
|
|
|
d2e479 |
#%description librnp-rnp
|
|
|
d2e479 |
#The thunderbird-librnp-rnp package contains an OpenPGP implementation
|
|
|
d2e479 |
#based on RNP.
|
|
|
d2e479 |
#%files librnp-rnp
|
|
|
d2e479 |
#%{mozappdir}/librnp.so
|
|
|
d2e479 |
#%{mozappdir}/rnp-cli
|
|
|
d2e479 |
#%{mozappdir}/rnpkeys
|
|
|
155c30 |
|
|
|
155c30 |
%prep
|
|
|
155c30 |
echo "Build environment"
|
|
|
155c30 |
echo "dist %{?dist}"
|
|
|
d2e479 |
echo "RHEL 8 minor version: %{?rhel_minor_version}"
|
|
|
155c30 |
echo "use_bundled_ffi %{?use_bundled_ffi}"
|
|
|
155c30 |
echo "bundle_nss %{?bundle_nss}"
|
|
|
155c30 |
echo "system_nss %{?system_nss}"
|
|
|
155c30 |
echo "use_rustts %{?use_rustts}"
|
|
|
155c30 |
|
|
|
d2e479 |
%setup -q
|
|
|
155c30 |
|
|
|
d2e479 |
# Build patches
|
|
|
d2e479 |
%ifarch s390
|
|
|
d2e479 |
%patch25 -p1 -b .rhbz-1219542-s390
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%patch40 -p1 -b .aarch64-skia
|
|
|
d2e479 |
%if 0%{?disable_elfhack}
|
|
|
d2e479 |
%patch41 -p1 -b .disable-elfhack
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%patch3 -p1 -b .arm
|
|
|
d2e479 |
%patch44 -p1 -b .build-arm-libopus
|
|
|
d2e479 |
%patch47 -p1 -b .fedora-shebang
|
|
|
d2e479 |
%patch49 -p1 -b .build-arm-libaom
|
|
|
d2e479 |
%patch53 -p1 -b .firefox-gcc-build
|
|
|
d2e479 |
%patch54 -p1 -b .1669639
|
|
|
d2e479 |
%patch71 -p1 -b .0001-GLIBCXX-fix-for-GCC-12
|
|
|
d2e479 |
%patch72 -p1 -b .build-remove-dav1d-from-wayland-dep
|
|
|
d2e479 |
|
|
|
d2e479 |
%patch75 -p1 -b .build-big-endian-errors
|
|
|
d2e479 |
%patch76 -p1 -b .firefox-nss-version
|
|
|
d2e479 |
#ppc64le build failure because of webrtc
|
|
|
d2e479 |
%patch77 -p1 -b .mozilla-1775202
|
|
|
d2e479 |
|
|
|
d2e479 |
%patch73 -p1 -b .build-ascii-decode-fail-rhel7
|
|
|
d2e479 |
%if 0%{?rhel} == 7
|
|
|
d2e479 |
%patch78 -p1 -b .build-rhel7-lower-node-min-version
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
# Test patches
|
|
|
155c30 |
|
|
|
155c30 |
# Fedora patches
|
|
|
155c30 |
%patch215 -p1 -b .addons
|
|
|
155c30 |
%patch219 -p1 -b .rhbz-1173156
|
|
|
155c30 |
%patch224 -p1 -b .1170092
|
|
|
d2e479 |
#ARM run-time patch
|
|
|
d2e479 |
%ifarch aarch64
|
|
|
d2e479 |
%patch226 -p1 -b .1354671
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%patch228 -p1 -b .disable-openh264-download
|
|
|
d2e479 |
%patch229 -p1 -b .firefox-nss-addon-hack
|
|
|
d2e479 |
|
|
|
d2e479 |
%patch415 -p1 -b .1670333
|
|
|
d2e479 |
%patch416 -p1 -b .mozilla-bmo1005535
|
|
|
d2e479 |
%patch417 -p1 -b .mozilla-bmo1504834-part1
|
|
|
d2e479 |
%patch418 -p1 -b .mozilla-bmo1504834-part3
|
|
|
d2e479 |
%patch419 -p1 -b .mozilla-bmo849632
|
|
|
d2e479 |
%patch420 -p1 -b .mozilla-bmo998749
|
|
|
d2e479 |
%patch421 -p1 -b .mozilla-s390-context
|
|
|
d2e479 |
%patch422 -p1 -b .mozilla-s390x-skia-gradient
|
|
|
d2e479 |
%patch423 -p1 -b .one_swizzle_to_rule_them_all
|
|
|
d2e479 |
%patch424 -p1 -b .svg-rendering
|
|
|
d2e479 |
%patch425 -p1 -b .D158770.diff
|
|
|
d2e479 |
|
|
|
146333 |
%if !%{?use_openssl_for_librnp}
|
|
|
c8359d |
%patch230 -p1 -b .disable-openpgp-in-thunderbird
|
|
|
c8359d |
%endif
|
|
|
c8359d |
|
|
|
d2e479 |
# PGO patches
|
|
|
d2e479 |
%if %{build_with_pgo}
|
|
|
d2e479 |
%if !%{build_with_clang}
|
|
|
d2e479 |
%patch600 -p1 -b .pgo
|
|
|
d2e479 |
%patch602 -p1 -b .1516803
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
%if 0%{?rhel} == 7
|
|
|
155c30 |
%ifarch %{ix86}
|
|
|
155c30 |
# -F dwarf not available in RHEL7's nasm
|
|
|
155c30 |
%patch1008 -p1 -b .build-rhel7-nasm-dwarf
|
|
|
155c30 |
%endif
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
|
|
|
d2e479 |
|
|
|
155c30 |
%{__rm} -f .mozconfig
|
|
|
155c30 |
%{__cp} %{SOURCE10} .mozconfig
|
|
|
d2e479 |
echo "ac_add_options --enable-default-toolkit=cairo-gtk3-wayland" >> .mozconfig
|
|
|
155c30 |
%if %{official_branding}
|
|
|
155c30 |
echo "ac_add_options --enable-official-branding" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
155c30 |
%{__cp} %{SOURCE24} mozilla-api-key
|
|
|
155c30 |
%{__cp} %{SOURCE27} google-api-key
|
|
|
d2e479 |
%{__cp} %{SOURCE35} google-loc-api-key
|
|
|
d2e479 |
|
|
|
d2e479 |
echo "ac_add_options --prefix=\"%{_prefix}\"" >> .mozconfig
|
|
|
d2e479 |
echo "ac_add_options --libdir=\"%{_libdir}\"" >> .mozconfig
|
|
|
155c30 |
|
|
|
155c30 |
%if %{?system_nss}
|
|
|
155c30 |
echo "ac_add_options --with-system-nspr" >> .mozconfig
|
|
|
155c30 |
echo "ac_add_options --with-system-nss" >> .mozconfig
|
|
|
155c30 |
%else
|
|
|
155c30 |
echo "ac_add_options --without-system-nspr" >> .mozconfig
|
|
|
155c30 |
echo "ac_add_options --without-system-nss" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%if %{?system_ffi}
|
|
|
d2e479 |
echo "ac_add_options --enable-system-ffi" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%ifarch %{arm}
|
|
|
d2e479 |
echo "ac_add_options --disable-elf-hack" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
%if %{?debug_build}
|
|
|
155c30 |
echo "ac_add_options --enable-debug" >> .mozconfig
|
|
|
155c30 |
echo "ac_add_options --disable-optimize" >> .mozconfig
|
|
|
155c30 |
%else
|
|
|
d2e479 |
%global optimize_flags "none"
|
|
|
d2e479 |
%ifarch s390x
|
|
|
d2e479 |
%global optimize_flags "-g -O1"
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%ifarch ppc64le aarch64
|
|
|
155c30 |
%global optimize_flags "-g -O2"
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%if %{optimize_flags} != "none"
|
|
|
155c30 |
echo 'ac_add_options --enable-optimize=%{?optimize_flags}' >> .mozconfig
|
|
|
155c30 |
%else
|
|
|
155c30 |
echo 'ac_add_options --enable-optimize' >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
155c30 |
echo "ac_add_options --disable-debug" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
# Second arches fail to start with jemalloc enabled
|
|
|
155c30 |
%ifnarch %{ix86} x86_64
|
|
|
155c30 |
echo "ac_add_options --disable-jemalloc" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%if 0%{?build_tests}
|
|
|
d2e479 |
echo "ac_add_options --enable-tests" >> .mozconfig
|
|
|
d2e479 |
%else
|
|
|
d2e479 |
echo "ac_add_options --disable-tests" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%if !%{?system_jpeg}
|
|
|
d2e479 |
echo "ac_add_options --without-system-jpeg" >> .mozconfig
|
|
|
d2e479 |
%else
|
|
|
d2e479 |
echo "ac_add_options --with-system-jpeg" >> .mozconfig
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
|
|
|
d2e479 |
%if %{?system_libvpx}
|
|
|
d2e479 |
echo "ac_add_options --with-system-libvpx" >> .mozconfig
|
|
|
d2e479 |
%else
|
|
|
d2e479 |
echo "ac_add_options --without-system-libvpx" >> .mozconfig
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
|
|
|
d2e479 |
%ifarch s390 s390x
|
|
|
155c30 |
echo "ac_add_options --disable-jit" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%if %{build_with_asan}
|
|
|
d2e479 |
echo "ac_add_options --enable-address-sanitizer" >> .mozconfig
|
|
|
d2e479 |
echo "ac_add_options --disable-jemalloc" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
|
|
|
d2e479 |
%if !%{enable_mozilla_crashreporter}
|
|
|
d2e479 |
echo "ac_add_options --disable-crashreporter" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
c8359d |
%if %{?use_openssl_for_librnp}
|
|
|
c8359d |
echo "ac_add_options --with-librnp-backend=openssl" >> .mozconfig
|
|
|
c8359d |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
# AV1 requires newer nasm that was rebased in 8.4
|
|
|
d2e479 |
%if 0%{?rhel} == 7 || (0%{?rhel} == 8 && %{rhel_minor_version} < 4)
|
|
|
155c30 |
echo "ac_add_options --disable-av1" >> .mozconfig
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
# api keys full path
|
|
|
d2e479 |
echo "ac_add_options --with-mozilla-api-keyfile=`pwd`/mozilla-api-key" >> .mozconfig
|
|
|
d2e479 |
# It seems that the api key we have is for the safe browsing only
|
|
|
d2e479 |
echo "ac_add_options --with-google-location-service-api-keyfile=`pwd`/google-loc-api-key" >> .mozconfig
|
|
|
d2e479 |
echo "ac_add_options --with-google-safebrowsing-api-keyfile=`pwd`/google-api-key" >> .mozconfig
|
|
|
155c30 |
|
|
|
d2e479 |
echo 'export NODEJS="%{_buildrootdir}/bin/node-stdout-nonblocking-wrapper"' >> .mozconfig
|
|
|
155c30 |
|
|
|
155c30 |
# Remove executable bit to make brp-mangle-shebangs happy.
|
|
|
d2e479 |
find third_party -type f -iname "*.rs"|xargs chmod a-x
|
|
|
155c30 |
|
|
|
d2e479 |
#===============================================================================
|
|
|
155c30 |
|
|
|
155c30 |
%build
|
|
|
155c30 |
# Disable LTO to work around rhbz#1883904
|
|
|
155c30 |
%define _lto_cflags %{nil}
|
|
|
155c30 |
export PATH="%{_buildrootdir}/bin:$PATH"
|
|
|
d2e479 |
# Cleanup buildroot for existing rpms from bundled nss/nspr and other packages
|
|
|
d2e479 |
rm -rf %{_buildrootdir}/*
|
|
|
155c30 |
|
|
|
155c30 |
function install_rpms_to_current_dir() {
|
|
|
155c30 |
PACKAGE_RPM=$(eval echo $1)
|
|
|
155c30 |
PACKAGE_DIR=%{_rpmdir}
|
|
|
155c30 |
|
|
|
155c30 |
if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
|
|
|
155c30 |
# Hack for tps tests
|
|
|
155c30 |
ARCH_STR=%{_arch}
|
|
|
155c30 |
%ifarch %{ix86}
|
|
|
155c30 |
ARCH_STR="i?86"
|
|
|
155c30 |
%endif
|
|
|
155c30 |
PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
|
|
|
155c30 |
fi
|
|
|
155c30 |
|
|
|
155c30 |
for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
|
|
|
155c30 |
do
|
|
|
155c30 |
echo "$package"
|
|
|
155c30 |
rpm2cpio "$package" | cpio -idu
|
|
|
155c30 |
done
|
|
|
155c30 |
}
|
|
|
155c30 |
%if 0%{?bundle_nss}
|
|
|
155c30 |
rpm -ivh %{SOURCE402}
|
|
|
155c30 |
#rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nspr.spec
|
|
|
155c30 |
rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nspr.spec
|
|
|
155c30 |
pushd %{_buildrootdir}
|
|
|
155c30 |
install_rpms_to_current_dir nspr-4*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nspr-devel*.rpm
|
|
|
155c30 |
popd
|
|
|
155c30 |
echo "Setting nspr flags"
|
|
|
155c30 |
# nss-setup-flags-env.inc
|
|
|
155c30 |
sed -i 's@%{bundled_install_path}@%{_buildrootdir}%{bundled_install_path}@g' %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/nspr*.pc
|
|
|
d2e479 |
cat %{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig/nspr*.pc
|
|
|
155c30 |
|
|
|
155c30 |
export LDFLAGS="-L%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
|
|
|
155c30 |
export LDFLAGS="-Wl,-rpath,%{bundled_install_path}/%{_lib} $LDFLAGS"
|
|
|
155c30 |
export LDFLAGS="-Wl,-rpath-link,%{_buildrootdir}%{bundled_install_path}/%{_lib} $LDFLAGS"
|
|
|
155c30 |
export PKG_CONFIG_PATH=%{_buildrootdir}%{bundled_install_path}/%{_lib}/pkgconfig
|
|
|
d2e479 |
pkg-config --libs-only-L nspr
|
|
|
d2e479 |
pkg-config --libs nspr
|
|
|
d2e479 |
export PATH="%{_buildrootdir}%{bundled_install_path}/bin:$PATH"
|
|
|
155c30 |
|
|
|
155c30 |
export PATH=%{_buildrootdir}/%{bundled_install_path}/bin:$PATH
|
|
|
155c30 |
echo $PKG_CONFIG_PATH
|
|
|
155c30 |
|
|
|
155c30 |
rpm -ivh %{SOURCE403}
|
|
|
d2e479 |
rpmbuild --nodeps --define '_prefix %{bundled_install_path}' --without=tests -ba %{_specdir}/nss.spec
|
|
|
155c30 |
pushd %{_buildrootdir}
|
|
|
155c30 |
#cleanup
|
|
|
155c30 |
install_rpms_to_current_dir nss-3*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-devel*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-pkcs11-devel*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-softokn-3*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-softokn-devel*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-softokn-freebl-3*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-softokn-freebl-devel*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-util-3*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-util-devel*.rpm
|
|
|
155c30 |
popd
|
|
|
155c30 |
%filter_provides_in %{bundled_install_path}/%{_lib}
|
|
|
155c30 |
%filter_requires_in %{bundled_install_path}/%{_lib}
|
|
|
155c30 |
%filter_from_requires /libnss3.so.*/d
|
|
|
155c30 |
%filter_from_requires /libsmime3.so.*/d
|
|
|
155c30 |
%filter_from_requires /libssl3.so.*/d
|
|
|
155c30 |
%filter_from_requires /libnssutil3.so.*/d
|
|
|
155c30 |
%filter_from_requires /libnspr4.so.*/d
|
|
|
155c30 |
find %{_buildrootdir}
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
set +e
|
|
|
d2e479 |
%if 0%{?rhel} == 8 && %{rhel_minor_version} < 6
|
|
|
d2e479 |
%ifarch aarch64
|
|
|
d2e479 |
source scl_source enable gcc-toolset-12
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%if 0%{?use_dts}
|
|
|
155c30 |
source scl_source enable devtoolset-%{dts_version}
|
|
|
155c30 |
%endif
|
|
|
155c30 |
%if 0%{?use_rustts}
|
|
|
155c30 |
source scl_source enable rust-toolset-%{rust_version}
|
|
|
155c30 |
%endif
|
|
|
155c30 |
%if 0%{?use_nodejsts}
|
|
|
155c30 |
source scl_source enable rh-nodejs10
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
%if 0%{?use_llvmts}
|
|
|
d2e479 |
source scl_source enable llvm-toolset-%{llvm_version}
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
set -e
|
|
|
155c30 |
env
|
|
|
155c30 |
which gcc
|
|
|
155c30 |
which c++
|
|
|
155c30 |
which g++
|
|
|
155c30 |
which ld
|
|
|
155c30 |
which nasm
|
|
|
d2e479 |
which node
|
|
|
d2e479 |
%if 0%{?use_bundled_cbindgen}
|
|
|
155c30 |
mkdir -p my_rust_vendor
|
|
|
155c30 |
cd my_rust_vendor
|
|
|
155c30 |
%{__tar} xf %{SOURCE2}
|
|
|
155c30 |
mkdir -p .cargo
|
|
|
155c30 |
cat > .cargo/config <
|
|
|
155c30 |
[source.crates-io]
|
|
|
155c30 |
replace-with = "vendored-sources"
|
|
|
155c30 |
|
|
|
155c30 |
[source.vendored-sources]
|
|
|
d2e479 |
directory = "`pwd`"
|
|
|
155c30 |
EOL
|
|
|
155c30 |
|
|
|
d2e479 |
%ifarch aarch64
|
|
|
d2e479 |
#export RUSTFLAGS="-Cdebuginfo=0 -Clinker=/opt/rh/gcc-toolset-12/root/usr/bin/gcc"
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
env CARGO_HOME=.cargo cargo install cbindgen
|
|
|
d2e479 |
export PATH=`pwd`/.cargo/bin:$PATH
|
|
|
d2e479 |
cd -
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
mkdir %{_buildrootdir}/bin || :
|
|
|
d2e479 |
cp %{SOURCE32} %{_buildrootdir}/bin || :
|
|
|
155c30 |
|
|
|
155c30 |
# Update the various config.guess to upstream release for aarch64 support
|
|
|
d2e479 |
# Do not update config.guess in the ./third_party/rust because that would break checksums
|
|
|
d2e479 |
find ./ -path ./third_party/rust -prune -o -name config.guess -exec cp /usr/lib/rpm/config.guess {} ';'
|
|
|
155c30 |
|
|
|
155c30 |
MOZ_OPT_FLAGS=$(echo "%{optflags}" | %{__sed} -e 's/-Wall//')
|
|
|
155c30 |
#rhbz#1037063
|
|
|
155c30 |
# -Werror=format-security causes build failures when -Wno-format is explicitly given
|
|
|
155c30 |
# for some sources
|
|
|
155c30 |
# Explicitly force the hardening flags for Firefox so it passes the checksec test;
|
|
|
155c30 |
# See also https://fedoraproject.org/wiki/Changes/Harden_All_Packages
|
|
|
d2e479 |
%if 0%{?fedora} < 30
|
|
|
155c30 |
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
|
|
|
d2e479 |
%else
|
|
|
d2e479 |
# Workaround for mozbz#1531309
|
|
|
d2e479 |
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-Werror=format-security//')
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%if 0%{?fedora} > 30
|
|
|
d2e479 |
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fpermissive"
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%if %{?hardened_build}
|
|
|
d2e479 |
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fPIC -Wl,-z,relro -Wl,-z,now"
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%if %{?debug_build}
|
|
|
d2e479 |
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%ifarch s390
|
|
|
d2e479 |
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
|
|
|
d2e479 |
# If MOZ_DEBUG_FLAGS is empty, firefox's build will default it to "-g" which
|
|
|
d2e479 |
# overrides the -g1 from line above and breaks building on s390/arm
|
|
|
d2e479 |
# (OOM when linking, rhbz#1238225)
|
|
|
d2e479 |
export MOZ_DEBUG_FLAGS=" "
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
%ifarch %{arm} %{ix86}
|
|
|
d2e479 |
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g0/')
|
|
|
d2e479 |
export MOZ_DEBUG_FLAGS=" "
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
%if !%{build_with_clang}
|
|
|
d2e479 |
%ifarch s390x ppc aarch64 %{ix86}
|
|
|
d2e479 |
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%ifarch %{arm}
|
|
|
d2e479 |
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--strip-debug"
|
|
|
d2e479 |
echo "ac_add_options --enable-linker=gold" >> .mozconfig
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%if 0%{?flatpak}
|
|
|
d2e479 |
# Make sure the linker can find libraries in /app/lib64 as we don't use
|
|
|
d2e479 |
# __global_ldflags that normally sets this.
|
|
|
d2e479 |
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -L%{_libdir}"
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%ifarch %{arm} %{ix86} %{s390x}
|
|
|
d2e479 |
export RUSTFLAGS="-Cdebuginfo=0"
|
|
|
d2e479 |
echo 'export RUSTFLAGS="-Cdebuginfo=0"' >> .mozconfig
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
#%ifarch aarch64
|
|
|
d2e479 |
#export RUSTFLAGS="-Cdebuginfo=0 -Clinker=/opt/rh/gcc-toolset-12/root/usr/bin/gcc"
|
|
|
d2e479 |
#echo 'export RUSTFLAGS="-Cdebuginfo=0 -Clinker=/opt/rh/gcc-toolset-12/root/usr/bin/gcc"' >> .mozconfig
|
|
|
d2e479 |
#%endif
|
|
|
d2e479 |
%if %{build_with_asan}
|
|
|
d2e479 |
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -fsanitize=address -Dxmalloc=myxmalloc"
|
|
|
d2e479 |
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -fsanitize=address -ldl"
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
%if 0%{?bundle_nss}
|
|
|
155c30 |
mkdir -p %{_buildrootdir}%{bundled_install_path}/%{_lib}
|
|
|
155c30 |
MOZ_LINK_FLAGS="-L%{_buildrootdir}%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
|
|
|
155c30 |
MOZ_LINK_FLAGS="-Wl,-rpath,%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
|
|
|
155c30 |
MOZ_LINK_FLAGS="-Wl,-rpath-link,%{_buildrootdir}%{bundled_install_path}/%{_lib} $MOZ_LINK_FLAGS"
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
# We don't want thunderbird to use CK_GCM_PARAMS_V3 in nss
|
|
|
d2e479 |
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -DNSS_PKCS11_3_0_STRICT"
|
|
|
155c30 |
|
|
|
155c30 |
echo "export CFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
|
|
|
155c30 |
echo "export CXXFLAGS=\"$MOZ_OPT_FLAGS\"" >> .mozconfig
|
|
|
155c30 |
echo "export LDFLAGS=\"$MOZ_LINK_FLAGS\"" >> .mozconfig
|
|
|
155c30 |
|
|
|
155c30 |
%if %{build_with_clang}
|
|
|
d2e479 |
echo "export LLVM_PROFDATA=\"llvm-profdata\"" >> .mozconfig
|
|
|
d2e479 |
echo "export AR=\"llvm-ar\"" >> .mozconfig
|
|
|
d2e479 |
echo "export NM=\"llvm-nm\"" >> .mozconfig
|
|
|
d2e479 |
echo "export RANLIB=\"llvm-ranlib\"" >> .mozconfig
|
|
|
d2e479 |
echo "ac_add_options --enable-linker=lld" >> .mozconfig
|
|
|
155c30 |
%else
|
|
|
d2e479 |
echo "export CC=gcc" >> .mozconfig
|
|
|
d2e479 |
echo "export CXX=g++" >> .mozconfig
|
|
|
d2e479 |
echo "export AR=\"gcc-ar\"" >> .mozconfig
|
|
|
d2e479 |
echo "export NM=\"gcc-nm\"" >> .mozconfig
|
|
|
d2e479 |
echo "export RANLIB=\"gcc-ranlib\"" >> .mozconfig
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%if 0%{?build_with_pgo}
|
|
|
d2e479 |
echo "ac_add_options MOZ_PGO=1" >> .mozconfig
|
|
|
d2e479 |
# PGO build doesn't work with ccache
|
|
|
d2e479 |
export CCACHE_DISABLE=1
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
MOZ_SMP_FLAGS=-j1
|
|
|
d2e479 |
# On x86_64 architectures, Mozilla can build up to 4 jobs at once in parallel,
|
|
|
d2e479 |
# however builds tend to fail on other arches when building in parallel.
|
|
|
d2e479 |
#%ifarch %{ix86} s390x %{arm} aarch64 ppc64le
|
|
|
d2e479 |
#[ -z "$RPM_BUILD_NCPUS" ] && \
|
|
|
d2e479 |
# RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
|
|
d2e479 |
#[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
|
|
|
d2e479 |
#%endif
|
|
|
d2e479 |
#%ifarch x86_64 ppc ppc64 ppc64le
|
|
|
d2e479 |
[ -z "$RPM_BUILD_NCPUS" ] && \
|
|
|
155c30 |
RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
|
|
|
d2e479 |
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
|
|
|
d2e479 |
[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4
|
|
|
d2e479 |
[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j8
|
|
|
d2e479 |
[ "$RPM_BUILD_NCPUS" -ge 16 ] && MOZ_SMP_FLAGS=-j16
|
|
|
d2e479 |
#%endif
|
|
|
155c30 |
|
|
|
d2e479 |
echo "mk_add_options MOZ_MAKE_FLAGS=\"$MOZ_SMP_FLAGS\"" >> .mozconfig
|
|
|
d2e479 |
echo "mk_add_options MOZ_SERVICES_SYNC=1" >> .mozconfig
|
|
|
d2e479 |
echo "export STRIP=/bin/true" >> .mozconfig
|
|
|
d2e479 |
#export MACH_USE_SYSTEM_PYTHON=1
|
|
|
155c30 |
|
|
|
155c30 |
%if 0%{?bundle_nss}
|
|
|
155c30 |
echo "Setting nss flags"
|
|
|
155c30 |
# nss-setup-flags-env.inc
|
|
|
155c30 |
%include_file %{SOURCE401}
|
|
|
155c30 |
export PATH=%{_buildrootdir}/%{bundled_install_path}/bin:$PATH
|
|
|
155c30 |
echo $PKG_CONFIG_PATH
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
|
|
|
155c30 |
export MACH_USE_SYSTEM_PYTHON=1
|
|
|
d2e479 |
./mach build -v || exit 1
|
|
|
155c30 |
|
|
|
155c30 |
|
|
|
d2e479 |
#---------------------------------------------------------------------
|
|
|
155c30 |
%install
|
|
|
155c30 |
export MACH_USE_SYSTEM_PYTHON=1
|
|
|
155c30 |
function install_rpms_to_current_dir() {
|
|
|
155c30 |
PACKAGE_RPM=$(eval echo $1)
|
|
|
155c30 |
PACKAGE_DIR=%{_rpmdir}
|
|
|
155c30 |
|
|
|
155c30 |
if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
|
|
|
155c30 |
# Hack for tps tests
|
|
|
155c30 |
ARCH_STR=%{_arch}
|
|
|
155c30 |
%ifarch %{ix86}
|
|
|
155c30 |
ARCH_STR="i?86"
|
|
|
155c30 |
%endif
|
|
|
155c30 |
PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
|
|
|
155c30 |
fi
|
|
|
155c30 |
|
|
|
155c30 |
for package in $(ls $PACKAGE_DIR/$PACKAGE_RPM)
|
|
|
155c30 |
do
|
|
|
155c30 |
echo "$package"
|
|
|
155c30 |
rpm2cpio "$package" | cpio -idu
|
|
|
155c30 |
done
|
|
|
155c30 |
}
|
|
|
155c30 |
|
|
|
155c30 |
%if 0%{?bundle_nss}
|
|
|
155c30 |
pushd %{buildroot}
|
|
|
155c30 |
#install_rpms_to_current_dir nss-*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nspr-4*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-3*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-softokn-3*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-softokn-freebl-3*.rpm
|
|
|
155c30 |
install_rpms_to_current_dir nss-util-3*.rpm
|
|
|
155c30 |
|
|
|
155c30 |
# cleanup unecessary nss files
|
|
|
155c30 |
#rm -rf %{_buildrootdir}/%{bundled_install_path}/bin
|
|
|
155c30 |
#rm -rf %{_buildrootdir}/%{bundled_install_path}/include
|
|
|
155c30 |
rm -rf %{buildroot}/%{bundled_install_path}/lib/dracut
|
|
|
155c30 |
rm -rf %{buildroot}/%{bundled_install_path}/%{_lib}/nss
|
|
|
155c30 |
#rm -rf %{_buildrootdir}/%{bundled_install_path}/%{_lib}/pkgconfig
|
|
|
155c30 |
rm -rf %{buildroot}/%{bundled_install_path}/%{_lib}/share
|
|
|
155c30 |
rm -rf %{buildroot}/%{bundled_install_path}/share
|
|
|
155c30 |
rm -rf %{buildroot}/etc/pki
|
|
|
155c30 |
rm -rf %{buildroot}/usr/lib/.build-id
|
|
|
155c30 |
rm -rf %{buildroot}/etc/crypto-policies
|
|
|
155c30 |
popd
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
DESTDIR=%{buildroot} make -C objdir install
|
|
|
155c30 |
|
|
|
d2e479 |
|
|
|
d2e479 |
# install icons
|
|
|
d2e479 |
for s in 16 22 24 32 48 64 128 256; do
|
|
|
d2e479 |
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps
|
|
|
d2e479 |
%{__cp} -p comm/mail/branding/%{name}/default${s}.png \
|
|
|
d2e479 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/thunderbird.png
|
|
|
d2e479 |
done
|
|
|
d2e479 |
|
|
|
d2e479 |
# Install high contrast icon
|
|
|
d2e479 |
%{__mkdir_p} %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
|
d2e479 |
%{__cp} -p %{SOURCE25} \
|
|
|
d2e479 |
%{buildroot}%{_datadir}/icons/hicolor/symbolic/apps
|
|
|
155c30 |
|
|
|
155c30 |
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE20}
|
|
|
155c30 |
|
|
|
155c30 |
# set up the thunderbird start script
|
|
|
d2e479 |
rm -f $RPM_BUILD_ROOT/%{_bindir}/thunderbird
|
|
|
d2e479 |
%{__cat} %{SOURCE21} | %{__sed} -e 's,%PREFIX%,%{_prefix},g' > \
|
|
|
d2e479 |
$RPM_BUILD_ROOT/%{_bindir}/thunderbird
|
|
|
d2e479 |
%{__chmod} 755 $RPM_BUILD_ROOT/%{_bindir}/thunderbird
|
|
|
d2e479 |
# Run firefox under wayland only on RHEL9 and newer
|
|
|
d2e479 |
%if 0%{?rhel} < 9
|
|
|
d2e479 |
sed -i -e 's|%DISABLE_WAYLAND_PLACEHOLDER%|export MOZ_DISABLE_WAYLAND=1|' %{buildroot}%{_bindir}/thunderbird
|
|
|
d2e479 |
%else
|
|
|
d2e479 |
sed -i -e 's|%DISABLE_WAYLAND_PLACEHOLDER%||' %{buildroot}%{_bindir}/thunderbird
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
# set up our default preferences
|
|
|
d2e479 |
%{__cat} %{SOURCE12} | %{__sed} -e 's,THUNDERBIRD_RPM_VR,%{version}-%{release},g' \
|
|
|
d2e479 |
-e 's,myspell,%{dictionarydir},g' \
|
|
|
d2e479 |
> $RPM_BUILD_ROOT/rh-default-prefs
|
|
|
d2e479 |
%{__install} -D $RPM_BUILD_ROOT/rh-default-prefs $RPM_BUILD_ROOT/%{mozappdir}/greprefs/all-redhat.js
|
|
|
d2e479 |
%{__install} -D $RPM_BUILD_ROOT/rh-default-prefs $RPM_BUILD_ROOT/%{mozappdir}/defaults/pref/all-redhat.js
|
|
|
d2e479 |
%{__rm} $RPM_BUILD_ROOT/rh-default-prefs
|
|
|
155c30 |
|
|
|
d2e479 |
%{__rm} -f $RPM_BUILD_ROOT%{_bindir}/thunderbird-config
|
|
|
155c30 |
|
|
|
155c30 |
# own mozilla plugin dir (#135050)
|
|
|
d2e479 |
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
|
|
|
155c30 |
|
|
|
155c30 |
# own extension directories
|
|
|
d2e479 |
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{thunderbird_app_id}
|
|
|
d2e479 |
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{thunderbird_app_id}
|
|
|
d2e479 |
|
|
|
d2e479 |
# System config dir (#1525709)
|
|
|
d2e479 |
%{__mkdir_p} %{buildroot}%{_sysconfdir}/%{name}/pref
|
|
|
155c30 |
|
|
|
155c30 |
# Install langpacks
|
|
|
d2e479 |
%{__rm} -f %{name}.lang # Delete for --short-circuit option
|
|
|
d2e479 |
touch %{name}.lang
|
|
|
d2e479 |
|
|
|
d2e479 |
%if 0%{?build_langpacks}
|
|
|
155c30 |
%{__mkdir_p} %{buildroot}%{langpackdir}
|
|
|
155c30 |
%{__tar} xf %{SOURCE1}
|
|
|
155c30 |
for langpack in `ls thunderbird-langpacks/*.xpi`; do
|
|
|
155c30 |
language=`basename $langpack .xpi`
|
|
|
155c30 |
extensionID=langpack-$language@thunderbird.mozilla.org
|
|
|
155c30 |
%{__mkdir_p} $extensionID
|
|
|
155c30 |
unzip -qq $langpack -d $extensionID
|
|
|
155c30 |
find $extensionID -type f | xargs chmod 644
|
|
|
155c30 |
|
|
|
155c30 |
cd $extensionID
|
|
|
155c30 |
zip -qq -r9mX ../${extensionID}.xpi *
|
|
|
155c30 |
cd -
|
|
|
155c30 |
|
|
|
155c30 |
%{__install} -m 644 ${extensionID}.xpi %{buildroot}%{langpackdir}
|
|
|
155c30 |
language=`echo $language | sed -e 's/-/_/g'`
|
|
|
155c30 |
echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> %{name}.lang
|
|
|
155c30 |
done
|
|
|
155c30 |
%{__rm} -rf thunderbird-langpacks
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
d2e479 |
|
|
|
155c30 |
# Get rid of devel package and its debugsymbols
|
|
|
d2e479 |
%{__rm} -rf $RPM_BUILD_ROOT%{_libdir}/%{name}-devel-%{version}
|
|
|
155c30 |
|
|
|
155c30 |
# Copy over the LICENSE
|
|
|
d2e479 |
install -c -m 644 LICENSE $RPM_BUILD_ROOT%{mozappdir}
|
|
|
155c30 |
|
|
|
155c30 |
# Use the system hunspell dictionaries
|
|
|
d2e479 |
%{__rm} -rf $RPM_BUILD_ROOT/%{mozappdir}/dictionaries
|
|
|
d2e479 |
ln -s $(pkg-config --variable prefix hunspell)/share/%{dictionarydir} $RPM_BUILD_ROOT%{mozappdir}/dictionaries
|
|
|
155c30 |
|
|
|
155c30 |
# ghost files
|
|
|
d2e479 |
%{__mkdir_p} $RPM_BUILD_ROOT%{mozappdir}/components
|
|
|
d2e479 |
touch $RPM_BUILD_ROOT%{mozappdir}/components/compreg.dat
|
|
|
d2e479 |
touch $RPM_BUILD_ROOT%{mozappdir}/components/xpti.dat
|
|
|
155c30 |
|
|
|
d2e479 |
# Add debuginfo for crash-stats.mozilla.com
|
|
|
d2e479 |
%if %{enable_mozilla_crashreporter}
|
|
|
d2e479 |
%{__mkdir_p} $RPM_BUILD_ROOT/%{moz_debug_dir}
|
|
|
d2e479 |
%{__cp} %{objdir}/dist/%{symbols_file_name} $RPM_BUILD_ROOT/%{moz_debug_dir}
|
|
|
d2e479 |
%endif
|
|
|
155c30 |
|
|
|
c8359d |
# Removing librnp.so - we cannot deliver librnp with botan crypto backend RHELs
|
|
|
c8359d |
%if !%{?use_openssl_for_librnp}
|
|
|
d2e479 |
%{__rm} -rf %{buildroot}%{mozappdir}/librnp.so %{buildroot}%{mozappdir}/rnp-cli %{buildroot}%{mozappdir}/rnpkeys
|
|
|
c8359d |
%endif
|
|
|
c8359d |
|
|
|
155c30 |
# Register as an application to be visible in the software center
|
|
|
155c30 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/metainfo
|
|
|
155c30 |
%{__cp} -p comm/mail/branding/%{name}/net.thunderbird.Thunderbird.appdata.xml $RPM_BUILD_ROOT%{_datadir}/metainfo/thunderbird.appdata.xml
|
|
|
155c30 |
sed -i -e 's|<icon .*|<icon type="stock">thunderbird</icon>|' "$RPM_BUILD_ROOT%{_datadir}/metainfo/thunderbird.appdata.xml"
|
|
|
155c30 |
|
|
|
155c30 |
#===============================================================================
|
|
|
155c30 |
|
|
|
d2e479 |
%clean
|
|
|
d2e479 |
rm -rf %{_srcrpmdir}/libffi*.src.rpm
|
|
|
d2e479 |
find %{_rpmdir} -name "libffi*.rpm" -delete
|
|
|
d2e479 |
rm -rf %{_srcrpmdir}/openssl*.src.rpm
|
|
|
d2e479 |
find %{_rpmdir} -name "openssl*.rpm" -delete
|
|
|
d2e479 |
rm -rf %{_srcrpmdir}/nss*.src.rpm
|
|
|
d2e479 |
find %{_rpmdir} -name "nss*.rpm" -delete
|
|
|
d2e479 |
rm -rf %{_srcrpmdir}/nspr*.src.rpm
|
|
|
d2e479 |
find %{_rpmdir} -name "nspr*.rpm" -delete
|
|
|
d2e479 |
|
|
|
155c30 |
%post
|
|
|
155c30 |
update-desktop-database &> /dev/null || :
|
|
|
155c30 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
155c30 |
|
|
|
155c30 |
%postun
|
|
|
155c30 |
update-desktop-database &> /dev/null || :
|
|
|
155c30 |
if [ $1 -eq 0 ] ; then
|
|
|
155c30 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
155c30 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
155c30 |
fi
|
|
|
155c30 |
|
|
|
155c30 |
%posttrans
|
|
|
155c30 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
155c30 |
|
|
|
155c30 |
#===============================================================================
|
|
|
155c30 |
%files -f %{name}.lang
|
|
|
155c30 |
%defattr(-,root,root,-)
|
|
|
155c30 |
%attr(755,root,root) %{_bindir}/thunderbird
|
|
|
155c30 |
%{_datadir}/metainfo/*.appdata.xml
|
|
|
155c30 |
%attr(644,root,root) %{_datadir}/applications/thunderbird.desktop
|
|
|
d2e479 |
%dir %{_sysconfdir}/%{name}
|
|
|
d2e479 |
%dir %{_sysconfdir}/%{name}/*
|
|
|
155c30 |
%dir %{_datadir}/mozilla/extensions/%{thunderbird_app_id}
|
|
|
155c30 |
%dir %{_libdir}/mozilla/extensions/%{thunderbird_app_id}
|
|
|
155c30 |
%dir %{mozappdir}
|
|
|
155c30 |
%doc %{mozappdir}/LICENSE
|
|
|
155c30 |
%{mozappdir}/chrome
|
|
|
155c30 |
%dir %{mozappdir}/components
|
|
|
155c30 |
%ghost %{mozappdir}/components/compreg.dat
|
|
|
155c30 |
%ghost %{mozappdir}/components/xpti.dat
|
|
|
155c30 |
%{mozappdir}/omni.ja
|
|
|
155c30 |
%{mozappdir}/plugin-container
|
|
|
155c30 |
%{mozappdir}/defaults
|
|
|
155c30 |
%{mozappdir}/dictionaries
|
|
|
d2e479 |
%if %{build_langpacks}
|
|
|
d2e479 |
%dir %{langpackdir}
|
|
|
d2e479 |
%endif
|
|
|
d2e479 |
%{mozappdir}/greprefs
|
|
|
155c30 |
%{mozappdir}/isp
|
|
|
155c30 |
%{mozappdir}/thunderbird-bin
|
|
|
155c30 |
%{mozappdir}/thunderbird
|
|
|
155c30 |
%{mozappdir}/*.so
|
|
|
155c30 |
%{mozappdir}/platform.ini
|
|
|
155c30 |
%{mozappdir}/application.ini
|
|
|
155c30 |
%exclude %{mozappdir}/removed-files
|
|
|
155c30 |
%{_datadir}/icons/hicolor/16x16/apps/thunderbird.png
|
|
|
155c30 |
%{_datadir}/icons/hicolor/22x22/apps/thunderbird.png
|
|
|
155c30 |
%{_datadir}/icons/hicolor/24x24/apps/thunderbird.png
|
|
|
155c30 |
%{_datadir}/icons/hicolor/256x256/apps/thunderbird.png
|
|
|
155c30 |
%{_datadir}/icons/hicolor/32x32/apps/thunderbird.png
|
|
|
155c30 |
%{_datadir}/icons/hicolor/48x48/apps/thunderbird.png
|
|
|
d2e479 |
%{_datadir}/icons/hicolor/64x64/apps/thunderbird.png
|
|
|
d2e479 |
%{_datadir}/icons/hicolor/128x128/apps/thunderbird.png
|
|
|
d2e479 |
%{_datadir}/icons/hicolor/symbolic/apps/thunderbird-symbolic.svg
|
|
|
d2e479 |
%if %{enable_mozilla_crashreporter}
|
|
|
d2e479 |
%{mozappdir}/crashreporter
|
|
|
d2e479 |
%{mozappdir}/crashreporter.ini
|
|
|
d2e479 |
%{mozappdir}/Throbber-small.gif
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
%if !%{?system_nss}
|
|
|
d2e479 |
%{mozappdir}/*.chk
|
|
|
155c30 |
%endif
|
|
|
d2e479 |
%{mozappdir}/dependentlibs.list
|
|
|
d2e479 |
%{mozappdir}/fonts
|
|
|
d2e479 |
%{mozappdir}/pingsender
|
|
|
c8359d |
%if %{?use_openssl_for_librnp}
|
|
|
c8359d |
%{mozappdir}/librnp.so
|
|
|
c8359d |
%{mozappdir}/rnp-cli
|
|
|
c8359d |
%{mozappdir}/rnpkeys
|
|
|
c8359d |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
%if 0%{?bundle_nss}
|
|
|
155c30 |
%{mozappdir}/bundled/%{_lib}/libfreebl*
|
|
|
155c30 |
%{mozappdir}/bundled/%{_lib}/libnss3*
|
|
|
155c30 |
%{mozappdir}/bundled/%{_lib}/libnssdbm3*
|
|
|
155c30 |
%{mozappdir}/bundled/%{_lib}/libnssutil3*
|
|
|
155c30 |
%{mozappdir}/bundled/%{_lib}/libsmime3*
|
|
|
155c30 |
%{mozappdir}/bundled/%{_lib}/libsoftokn*
|
|
|
155c30 |
%{mozappdir}/bundled/%{_lib}/libssl3*
|
|
|
155c30 |
%{mozappdir}/bundled/%{_lib}/libnspr4.so
|
|
|
155c30 |
%{mozappdir}/bundled/%{_lib}/libplc4.so
|
|
|
155c30 |
%{mozappdir}/bundled/%{_lib}/libplds4.so
|
|
|
155c30 |
%endif
|
|
|
155c30 |
|
|
|
155c30 |
#===============================================================================
|
|
|
155c30 |
|
|
|
155c30 |
%changelog
|
|
|
db9002 |
* Tue Jun 06 2023 CentOS Sources <bugs@centos.org> - 102.11.0-1.el9.centos
|
|
|
db9002 |
- Apply debranding changes
|
|
|
db9002 |
|
|
|
146333 |
* Thu May 04 2023 Eike Rathke <erack@redhat.com> - 102.11.0-1
|
|
|
146333 |
- Update to 102.11.0 build1
|
|
|
146333 |
|
|
|
146333 |
* Tue Apr 11 2023 Eike Rathke <erack@redhat.com> - 102.10.0-2
|
|
|
146333 |
- Update to 102.10.0 build2
|
|
|
146333 |
|
|
|
146333 |
* Thu Apr 06 2023 Eike Rathke <erack@redhat.com> - 102.10.0-1
|
|
|
146333 |
- Update to 102.10.0 build1
|
|
|
146333 |
|
|
|
146333 |
* Mon Mar 13 2023 Eike Rathke <erack@redhat.com> - 102.9.0-2
|
|
|
146333 |
- Update to 102.9.0 build1
|
|
|
146333 |
|
|
|
146333 |
* Wed Feb 15 2023 Eike Rathke <erack@redhat.com> - 102.8.0-2
|
|
|
146333 |
- Update to 102.8.0 build2
|
|
|
146333 |
|
|
|
146333 |
* Fri Feb 10 2023 Eike Rathke <erack@redhat.com> - 102.8.0-1
|
|
|
146333 |
- Update to 102.8.0 build1
|
|
|
1ffb8f |
|
|
|
0cb3fb |
* Tue Jan 31 2023 Eike Rathke <erack@redhat.com> - 102.7.1-2
|
|
|
0cb3fb |
- Update to 102.7.1 build2
|
|
|
0cb3fb |
|
|
|
0cb3fb |
* Tue Jan 24 2023 Eike Rathke <erack@redhat.com> - 102.7.1-1
|
|
|
0cb3fb |
- Update to 102.7.1 build1
|
|
|
0cb3fb |
|
|
|
0cb3fb |
* Mon Jan 16 2023 Eike Rathke <erack@redhat.com> - 102.7.0-1
|
|
|
0cb3fb |
- Update to 102.7.0 build1
|
|
|
d89fd8 |
|
|
|
c8359d |
* Tue Dec 13 2022 Eike Rathke <erack@redhat.com> - 102.6.0-2
|
|
|
c8359d |
- Update to 102.6.0 build2
|
|
|
c8359d |
|
|
|
c8359d |
* Fri Dec 09 2022 Eike Rathke <erack@redhat.com> - 102.6.0-1
|
|
|
c8359d |
- Update to 102.6.0 build1
|
|
|
c8359d |
|
|
|
c8359d |
* Tue Nov 29 2022 Jan Horak <jhorak@redhat.com> - 102.5.0-3
|
|
|
c8359d |
- Use openssl for the librnp crypto backend to enable the openpgp encryption
|
|
|
fd307f |
|
|
|
5fb163 |
* Tue Nov 15 2022 Eike Rathke <erack@redhat.com> - 102.5.0-2
|
|
|
5fb163 |
- Update to 102.5.0 build2
|
|
|
5fb163 |
|
|
|
5fb163 |
* Fri Nov 11 2022 Eike Rathke <erack@redhat.com> - 102.5.0-1
|
|
|
5fb163 |
- Update to 102.5.0 build1
|
|
|
2a6078 |
|
|
|
d2e479 |
* Mon Oct 17 2022 Eike Rathke <erack@redhat.com> - 102.4.0-1
|
|
|
d2e479 |
- Update to 102.4.0 build1
|
|
|
d2e479 |
|
|
|
d2e479 |
* Wed Oct 12 2022 Jan Horak <jhorak@redhat.com> - 102.3.0-4
|
|
|
d2e479 |
- Fix for expat CVE-2022-40674
|
|
|
d2e479 |
|
|
|
d2e479 |
* Fri Sep 16 2022 Jan Horak <jhorak@redhat.com> - 102.3.0-3
|
|
|
d2e479 |
- Update to 102.3.0 build1
|
|
|
2ce082 |
|
|
|
64878b |
* Fri Aug 19 2022 Eike Rathke <erack@redhat.com> - 91.13.0-1
|
|
|
64878b |
- Update to 91.13.0 build1
|
|
|
477486 |
|
|
|
7a058b |
* Mon Jul 25 2022 Eike Rathke <erack@redhat.com> - 91.12.0-1
|
|
|
7a058b |
- Update to 91.12.0 build1
|
|
|
7a058b |
|
|
|
7a058b |
* Tue Jun 28 2022 Eike Rathke <erack@redhat.com> - 91.11.0-2
|
|
|
7a058b |
- Update to 91.11.0 build2
|
|
|
7a058b |
|
|
|
7a058b |
* Thu Jun 23 2022 Eike Rathke <erack@redhat.com> - 91.11.0-1
|
|
|
7a058b |
- Update to 91.11.0 build1
|
|
|
7a058b |
|
|
|
7a058b |
* Mon May 30 2022 Eike Rathke <erack@redhat.com> - 91.10.0-1
|
|
|
7a058b |
- Update to 91.10.0 build1
|
|
|
7a058b |
|
|
|
7a058b |
* Mon May 23 2022 Jan Horak <jhorak@redhat.com> - 91.9.1-1
|
|
|
7a058b |
- Update to 91.9.1 build1
|
|
|
7a058b |
|
|
|
7a058b |
* Tue May 03 2022 Eike Rathke <erack@redhat.com> - 91.9.0-3
|
|
|
7a058b |
- Update to 91.9.0 build3
|
|
|
7a058b |
|
|
|
7a058b |
* Mon May 02 2022 Eike Rathke <erack@redhat.com> - 91.9.0-2
|
|
|
7a058b |
- Update to 91.9.0 build2
|
|
|
7a058b |
|
|
|
7a058b |
* Thu Apr 28 2022 Eike Rathke <erack@redhat.com> - 91.9.0-1
|
|
|
7a058b |
- Update to 91.9.0
|
|
|
feb7f2 |
|
|
|
155c30 |
* Tue Apr 05 2022 Eike Rathke <erack@redhat.com> - 91.8.0-1
|
|
|
155c30 |
- Update to 91.8.0
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Mar 08 2022 Eike Rathke <erack@redhat.com> - 91.7.0-2
|
|
|
155c30 |
- Update to 91.7.0 build2
|
|
|
155c30 |
|
|
|
155c30 |
* Thu Mar 03 2022 Eike Rathke <erack@redhat.com> - 91.7.0-1
|
|
|
155c30 |
- Update to 91.7.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Fri Feb 11 2022 Jan Horak <jhorak@redhat.com> - 91.6.0-2
|
|
|
155c30 |
- Move appdata to metainfo and use stock icon instead of remote
|
|
|
155c30 |
|
|
|
155c30 |
* Mon Feb 07 2022 Eike Rathke <erack@redhat.com> - 91.6.0-1
|
|
|
155c30 |
- Update to 91.6.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Jan 18 2022 Jan Horak <jhorak@redhat.com> - 91.5.0-3
|
|
|
155c30 |
- Using upstream appdata file
|
|
|
155c30 |
|
|
|
155c30 |
* Fri Jan 14 2022 Jan Horak <jhorak@redhat.com> - 91.5.0-2
|
|
|
155c30 |
- Enabled optimalization for s390x
|
|
|
155c30 |
|
|
|
155c30 |
* Fri Jan 07 2022 Eike Rathke <erack@redhat.com> - 91.5.0-1
|
|
|
155c30 |
- Update to 91.5.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Mon Dec 06 2021 Eike Rathke <erack@redhat.com> - 91.4.0-2
|
|
|
155c30 |
- Update to 91.4.0 build2
|
|
|
155c30 |
|
|
|
155c30 |
* Wed Dec 01 2021 Eike Rathke <erack@redhat.com> - 91.4.0-1
|
|
|
155c30 |
- Update to 91.4.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Nov 02 2021 Eike Rathke <erack@redhat.com> - 91.3.0-2
|
|
|
155c30 |
- Update to 91.3.0 build2
|
|
|
155c30 |
|
|
|
155c30 |
* Mon Nov 01 2021 Eike Rathke <erack@redhat.com> - 91.3.0-1
|
|
|
155c30 |
- Update to 91.3.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Fri Oct 08 2021 Eike Rathke <erack@redhat.com> - 91.2.0-1
|
|
|
155c30 |
- Update to 91.2.0
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Sep 07 2021 Eike Rathke <erack@redhat.com> - 78.14.0-1
|
|
|
155c30 |
- Update to 78.14.0
|
|
|
155c30 |
|
|
|
155c30 |
* Thu Aug 19 2021 Carlos O'Donell <codonell@redhat.com> - 78.13.0-2
|
|
|
155c30 |
- Rebuilt for libffi 3.4.2 SONAME transition.
|
|
|
155c30 |
Related: rhbz#1891914
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Aug 10 2021 Eike Rathke <erack@redhat.com> - 78.13.0-1
|
|
|
155c30 |
- Update to 78.13.0
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 78.12.0-4
|
|
|
155c30 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
155c30 |
Related: rhbz#1991688
|
|
|
155c30 |
|
|
|
155c30 |
* Fri Jul 30 2021 Tomas Popela <tpopela@redhat.com> - 78.12.0-3
|
|
|
155c30 |
- Add script to process the official tarball to comply with PELC review
|
|
|
155c30 |
- Fix the build with newer glibc
|
|
|
155c30 |
|
|
|
155c30 |
* Mon Jul 12 2021 Eike Rathke <erack@redhat.com> - 78.12.0-2
|
|
|
155c30 |
- Update to 78.12.0 build2
|
|
|
155c30 |
|
|
|
155c30 |
* Thu Jul 08 2021 Eike Rathke <erack@redhat.com> - 78.12.0-1
|
|
|
155c30 |
- Update to 78.12.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Wed Jun 30 2021 Jan Horak <jhorak@redhat.com> - 78.11.0-2
|
|
|
155c30 |
- Added bundled libraries, update to 78.11
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 78.8.0-5
|
|
|
155c30 |
- Rebuilt for RHEL 9 BETA for openssl 3.0
|
|
|
155c30 |
Related: rhbz#1971065
|
|
|
155c30 |
|
|
|
155c30 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 78.8.0-4
|
|
|
155c30 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
155c30 |
- Fixing MOZ_SMP_FLAGS
|
|
|
155c30 |
|
|
|
155c30 |
* Mon Mar 01 2021 Jan Horak <jhorak@redhat.com> - 78.8.0-2
|
|
|
155c30 |
- Removed autoconf213 dependency
|
|
|
155c30 |
|
|
|
155c30 |
* Mon Feb 22 2021 Jan Horak <jhorak@redhat.com> - 78.8.0-1
|
|
|
155c30 |
- Update to 78.8.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Jan 12 2021 Eike Rathke <erack@redhat.com> - 78.6.1-1
|
|
|
155c30 |
- Update to 78.6.1
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Dec 15 2020 Eike Rathke <erack@redhat.com> - 78.6.0-1
|
|
|
155c30 |
- Update to 78.6.0
|
|
|
155c30 |
|
|
|
155c30 |
* Fri Dec 04 2020 Jan Horak <jhorak@redhat.com> - 78.5.1-1
|
|
|
155c30 |
- Update to 78.5.1 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Wed Nov 18 2020 Eike Rathke <erack@redhat.com> - 78.5.0-1
|
|
|
155c30 |
- Update to 78.5.0 build3
|
|
|
155c30 |
|
|
|
155c30 |
* Thu Nov 12 2020 Eike Rathke <erack@redhat.com> - 78.4.3-1
|
|
|
155c30 |
- Update to 78.4.3
|
|
|
155c30 |
|
|
|
155c30 |
* Wed Oct 21 2020 Eike Rathke <erack@redhat.com> - 78.4.0-1
|
|
|
155c30 |
- Update to 78.4.0 build1
|
|
|
155c30 |
- Disabled telemetry
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Sep 29 2020 Jan Horak <jhorak@redhat.com> - 78.3.1-1
|
|
|
155c30 |
- Update to 78.3.1 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Sat Sep 19 2020 Jan Horak <jhorak@redhat.com> - 78.3.0-3
|
|
|
155c30 |
- Update to 78.3.0 build1
|
|
|
155c30 |
- Remove librdp.so as long as we cannot ship it in RHEL
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Sep 08 2020 Jan Horak <jhorak@redhat.com> - 78.2.1-1
|
|
|
155c30 |
- Update to 78.2.1 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Wed Sep 02 2020 Jan Horak <jhorak@redhat.com> - 68.12.0-1
|
|
|
155c30 |
- Update to 68.12.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Aug 04 2020 Jan Horak <jhorak@redhat.com> - 68.11.0-1
|
|
|
155c30 |
- Update to 68.11.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Wed Jul 08 2020 Jan Horak <jhorak@redhat.com> - 68.10.0-1
|
|
|
155c30 |
- Update to 68.10.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Fri Jun 05 2020 Jan Horak <jhorak@redhat.com> - 68.9.0-1
|
|
|
155c30 |
- Update to 68.9.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Tue May 05 2020 Jan Horak <jhorak@redhat.com> - 68.8.0-1
|
|
|
155c30 |
- Update to 68.8.0 build2
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Apr 14 2020 Jan Horak <jhorak@redhat.com> - 68.7.0-1
|
|
|
155c30 |
- Update to 68.7.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Fri Mar 13 2020 Jan Horak <jhorak@redhat.com> - 68.6.0-1
|
|
|
155c30 |
- Update to 68.6.0 build2
|
|
|
155c30 |
|
|
|
155c30 |
* Thu Feb 13 2020 Jan Horak <jhorak@redhat.com> - 68.5.0-1
|
|
|
155c30 |
- Update to 68.5.0 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Mon Jan 13 2020 Jan Horak <jhorak@redhat.com> - 68.4.1-2
|
|
|
155c30 |
- Update to 68.4.1 build1
|
|
|
155c30 |
|
|
|
155c30 |
* Mon Dec 02 2019 Jan Horak <jhorak@redhat.com> - 68.3.0-2
|
|
|
155c30 |
- Update to 68.3.0 build2
|
|
|
155c30 |
|
|
|
155c30 |
* Fri Oct 25 2019 Jan Horak <jhorak@redhat.com> - 68.2.0-2
|
|
|
155c30 |
- Added patch for TLS 1.3 support.
|
|
|
155c30 |
|
|
|
155c30 |
* Tue Oct 22 2019 Jan Horak <jhorak@redhat.com> - 68.2.0-1
|
|
|
155c30 |
- Update to 68.2.0
|
|
|
155c30 |
|
|
|
155c30 |
* Thu Oct 3 2019 Jan Horak <jhorak@redhat.com> - 68.1.1-2
|
|
|
155c30 |
- Update to 68.1.1
|
|
|
155c30 |
|
|
|
155c30 |
* Wed Sep 4 2019 Jan Horak <jhorak@redhat.com> - 60.9.0-2
|
|
|
155c30 |
- Update to 60.9.0
|
|
|
155c30 |
|
|
|
155c30 |
* Thu Jul 4 2019 Martin Stransky <stransky@redhat.com> - 60.8.0-1
|
|
|
155c30 |
- Updated to 60.8.0
|
|
|
155c30 |
|
|
|
155c30 |
* Wed Jul 3 2019 Martin Stransky <stransky@redhat.com> - 60.7.2-3
|
|
|
155c30 |
- Rebuild to fix rhbz#1725919 - Thunderbird fails to authenticate
|
|
|
155c30 |
with gmail with ssl/tls and OAuth2.
|
|
|
155c30 |
|