4cf60e
%define system_nss              1
4cf60e
%global nspr_version            4.11.0
4cf60e
%global nss_version             3.21.0
03d5fe
%define system_sqlite           0
4cf60e
%define sqlite_version          3.8.4.2
03d5fe
%define system_ffi              1
4cf60e
%define ffi_version             3.0.9
4cf60e
%define use_bundled_yasm        1
4cf60e
%define use_bundled_python      0
4cf60e
%define python_version          2.7.8
4cf60e
%define use_bundled_gcc         0
4cf60e
%define gcc_version             4.8.2-16
8c50df
%define enable_gstreamer        1
6ca8db
%define system_cairo            0
4cf60e
%define cairo_version           1.10.2
4cf60e
%define freetype_version        2.1.9
4cf60e
%define system_jpeg             1
4cf60e
%define system_gio              1
4cf60e
%define system_hunspell         1
4cf60e
%define system_libatomic        0
4cf60e
%define use_baselinejit         1
4cf60e
%define official_branding       1
6ca8db
29a772
%define debug_build             0
4cf60e
# This is for local builds or builds in mock with --no-clean
4cf60e
# It skips building of gcc, binutils and yasm rpms when they exists, it just installs
4cf60e
# them and doesn't delete them to allow recycling them in next build.
4cf60e
# SHOULD ALWAYS BE 0 WHEN BUILDING IN BREW
4cf60e
%define do_not_clean_rpms       0
29a772
4cf60e
# Configure and override build options for various platforms and RHEL versions
4cf60e
# ============================================================================
4cf60e
4cf60e
# RHEL7
4cf60e
%if 0%{?rhel} == 7
eb1fd3
%ifarch s390x
eb1fd3
%define use_bundled_gcc         1
eb1fd3
%endif
4cf60e
%endif
eb1fd3
4cf60e
# RHEL6
4cf60e
%if 0%{?rhel} == 6
4cf60e
%define use_bundled_python      1
4cf60e
%define use_bundled_gcc         1
4cf60e
%define use_bundled_yasm        1
4cf60e
%define system_ffi              0
4cf60e
%define enable_gstreamer        0
4cf60e
%define use_bundled_binutils    1
4cf60e
%endif
29a772
4cf60e
# RHEL5
4cf60e
%if 0%{?rhel} == 5
4cf60e
%define use_bundled_python      1
4cf60e
%define use_bundled_gcc         1
4cf60e
%define use_bundled_yasm        1
4cf60e
%define system_ffi              0
4cf60e
%define enable_gstreamer        0
4cf60e
%define use_bundled_binutils    1
4cf60e
%define system_jpeg             0
4cf60e
%define system_gio              0
4cf60e
%define system_hunspell         0
4cf60e
# ppc and ia64 no longer supported (rhbz#1214863, rhbz#1214865)
4cf60e
ExcludeArch: ppc ia64
4cf60e
%define system_libatomic        1
4cf60e
%endif
4cf60e
4cf60e
# Require libatomic for ppc
4cf60e
%ifarch ppc
4cf60e
%define system_libatomic        1
29a772
%endif
29a772
4cf60e
# ============================================================================
4cf60e
4cf60e
# Avoid patch failures
3a67ab
%define _default_patch_fuzz 2
29a772
4cf60e
29a772
%define default_bookmarks_file  %{_datadir}/bookmarks/default-bookmarks.html
29a772
%define firefox_app_id          \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
29a772
%define mozappdir               %{_libdir}/%{name}
4cf60e
%define build_langpacks         1
29a772
%define langpackdir             %{mozappdir}/langpacks
29a772
%if %{?system_sqlite}
29a772
# The actual sqlite version (see #480989):
29a772
%global sqlite_build_version %(pkg-config --silence-errors --modversion sqlite3 2>/dev/null || echo 65536)
29a772
%endif
29a772
29a772
Summary:        Mozilla Firefox Web browser
29a772
Name:           firefox
dfe4d5
Version:        45.6.0
4cf60e
Release:        1%{?dist}
29a772
URL:            http://www.mozilla.org/projects/firefox/
29a772
License:        MPLv1.1 or GPLv2+ or LGPLv2+
29a772
Group:          Applications/Internet
eb1fd3
4cf60e
%define         ext_version             esr
4cf60e
%define         tarballdir              firefox-%{version}%{?ext_version}
4cf60e
4cf60e
# From ftp://archive.mozilla.org/pub/firefox/releases/%{version}%{?ext_version}/source
4cf60e
Source0:        firefox-%{version}%{?ext_version}.source.tar.xz
29a772
%if %{build_langpacks}
dfe4d5
Source1:        firefox-langpacks-%{version}%{?ext_version}-20161211.tar.xz
29a772
%endif
29a772
Source10:       firefox-mozconfig
dfe4d5
Source12:       firefox-redhat-default-prefs.js
29a772
Source20:       firefox.desktop
4cf60e
Source500:      firefox.sh.in.rhel5
4cf60e
Source600:      firefox.sh.in.rhel6
4cf60e
Source700:      firefox.sh.in.rhel7
29a772
Source23:       firefox.1
8c50df
Source24:       mozilla-api-key
29a772
Source100:      find-external-requires
4cf60e
Source200:      https://www.python.org/ftp/python/2.7.8/Python-2.7.8.tgz
4cf60e
Source300:      gcc48-%{gcc_version}.el5.src.rpm
4cf60e
Source301:      yasm-1.2.0-3.el5.src.rpm
4cf60e
Source302:      devtoolset-2-binutils-2.23.52.0.1-10.el5.src.rpm
4cf60e
# RHEL5 bookmarks
dfe4d5
Source501:       firefox-redhat-default-bookmarks.html
29a772
29a772
# Build patches
29a772
Patch0:         firefox-install-dir.patch
29a772
Patch5:         xulrunner-24.0-jemalloc-ppc.patch
8c50df
Patch6:         webrtc-arch-cpu.patch
3a67ab
Patch8:         firefox-ppc64le.patch
4cf60e
Patch16:        mozilla-1253216-disable-ion.patch
4cf60e
Patch17:        build-nss.patch
4cf60e
4cf60e
# RHEL patches
4cf60e
Patch101:       firefox-default.patch
4cf60e
Patch102:       firefox-enable-addons.patch
4cf60e
Patch103:       rhbz-966424.patch
4cf60e
Patch106:       firefox-enable-plugins.patch
4cf60e
Patch109:       aarch64-fix-skia.patch
4cf60e
Patch110:       mozilla-1170092-etc-conf.patch
cf8223
Patch111:       rhbz-1173156.patch
6604c8
Patch112:       mozilla-256180.patch
7e5e97
7e5e97
# Upstream patches
3a67ab
Patch201:       mozilla-1005535.patch
4cf60e
# Kaie's patch, we'll most likely need this one
3a67ab
Patch202:       mozilla-1152515.patch
7607a4
Patch203:       mozilla-1270046.patch
9a67e7
# Laszlo Ersek patch for avoid obscure crashing on aarch64
29a772
6604c8
# RHEL7 patches
6604c8
Patch300:       mozilla-975832.patch
6604c8
4cf60e
# RHEL5 patches
4cf60e
Patch500:       build-el5-build-id.patch
4cf60e
Patch501:       build-el5-sandbox.patch
4cf60e
Patch502:       build-el5-gtk2-2.10.patch
4cf60e
Patch503:       build-el5-xlib-header.patch
4cf60e
Patch504:       build-el5-rt-tgsigqueueinfo.patch
4cf60e
Patch505:       build-el5-rapl.patch
4cf60e
Patch506:       build-el5-fontconfig.patch
4cf60e
Patch507:       build-el5-stdint.patch
4cf60e
Patch508:       build-el5-nss.patch
cf8223
Patch509:       rhbz-1150082.patch
29a772
29a772
# ---------------------------------------------------
29a772
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
29a772
4cf60e
BuildRequires:  desktop-file-utils
29a772
BuildRequires:  mesa-libGL-devel
4cf60e
BuildRequires:  zip
4cf60e
BuildRequires:  bzip2-devel
4cf60e
BuildRequires:  zlib-devel
4cf60e
BuildRequires:  libIDL-devel
4cf60e
BuildRequires:  gtk2-devel
4cf60e
BuildRequires:  gnome-vfs2-devel
4cf60e
BuildRequires:  libgnome-devel
4cf60e
BuildRequires:  libgnomeui-devel
4cf60e
BuildRequires:  krb5-devel
4cf60e
BuildRequires:  pango-devel
4cf60e
BuildRequires:  freetype-devel >= %{freetype_version}
4cf60e
BuildRequires:  libXt-devel
4cf60e
BuildRequires:  libXrender-devel
4cf60e
BuildRequires:  startup-notification-devel
4cf60e
BuildRequires:  alsa-lib-devel
4cf60e
BuildRequires:  libnotify-devel
4cf60e
BuildRequires:  autoconf213
4cf60e
BuildRequires:  mesa-libGL-devel
4cf60e
BuildRequires:  autoconf213
4cf60e
BuildRequires:  xz
4cf60e
%if ! %{use_bundled_yasm}0
4cf60e
BuildRequires:  yasm
4cf60e
%endif
29a772
%if %{?system_sqlite}
29a772
BuildRequires:  sqlite-devel >= %{sqlite_version}
29a772
Requires:       sqlite >= %{sqlite_build_version}
29a772
%endif
29a772
%if %{?system_nss}
29a772
BuildRequires:  nspr-devel >= %{nspr_version}
29a772
BuildRequires:  nss-devel >= %{nss_version}
29a772
Requires:       nspr >= %{nspr_version}
29a772
Requires:       nss >= %{nss_version}
29a772
%endif
6ca8db
%if %{?system_cairo}
29a772
BuildRequires:  cairo-devel >= %{cairo_version}
6ca8db
%endif
29a772
%if %{?system_sqlite}
29a772
BuildRequires:  sqlite-devel >= %{sqlite_version}
29a772
Requires:       sqlite >= %{sqlite_build_version}
29a772
%endif
03d5fe
%if %{?system_ffi}
03d5fe
BuildRequires:  libffi-devel >= %{ffi_version}
03d5fe
Requires:       libffi >= %{ffi_version}
03d5fe
%endif
8c50df
%if %{?enable_gstreamer}
8c50df
BuildRequires:  gstreamer1-devel
8c50df
BuildRequires:  gstreamer1-plugins-base-devel
8c50df
%endif
29a772
BuildRequires:  libpng-devel
4cf60e
%if %{?system_jpeg}
29a772
BuildRequires:  libjpeg-devel
4cf60e
%endif
4cf60e
%if %{?system_hunspell}
4cf60e
BuildRequires:  hunspell-devel
4cf60e
%endif
4cf60e
%if %{system_libatomic}
4cf60e
BuildRequires:  libatomic
4cf60e
Requires:       libatomic
4cf60e
%endif
4cf60e
4cf60e
# RHEL7 requires
4cf60e
%if 0%{?rhel} == 7
4cf60e
Requires:       redhat-indexhtml
03d5fe
BuildRequires:  pulseaudio-libs-devel
4cf60e
BuildRequires:  system-bookmarks
4cf60e
Requires:       mozilla-filesystem
4cf60e
Requires:       liberation-fonts-common
4cf60e
Requires:       liberation-sans-fonts
4cf60e
%endif
29a772
4cf60e
# RHEL6 requires
4cf60e
%if 0%{?rhel} == 6
4cf60e
BuildRequires:  desktop-file-utils
4cf60e
BuildRequires:  system-bookmarks
4cf60e
Requires:       system-bookmarks
4cf60e
Requires:       redhat-indexhtml
4cf60e
Requires:       mozilla-filesystem
4cf60e
Requires:       gtk2 >= 2.24
4cf60e
BuildRequires:  pulseaudio-libs-devel
4cf60e
BuildRequires:  system-bookmarks
03d5fe
Requires:       mozilla-filesystem
29a772
Requires:       liberation-fonts-common
29a772
Requires:       liberation-sans-fonts
4cf60e
%endif
4cf60e
4cf60e
# RHEL5 requires
4cf60e
%if 0%{rhel} == 5
4cf60e
BuildRequires:  libXcomposite-devel
4cf60e
BuildRequires:  libXdamage-devel
4cf60e
BuildRequires:  xorg-x11-proto-devel
4cf60e
%endif
29a772
29a772
Obsoletes:      mozilla <= 37:1.7.13
4cf60e
Obsoletes:      firefox < 38.0
4cf60e
Conflicts:      firefox < 38.0
29a772
Provides:       webclient
29a772
4cf60e
%if %{use_bundled_python}
4cf60e
BuildRequires:  openssl-devel
4cf60e
%endif
eb1fd3
# GCC 4.8 BuildRequires
eb1fd3
# ==================================================================================
eb1fd3
%if %{use_bundled_gcc}
eb1fd3
eb1fd3
%ifarch s390x
eb1fd3
%global multilib_32_arch s390
eb1fd3
%endif
eb1fd3
%ifarch sparc64
eb1fd3
%global multilib_32_arch sparcv9
eb1fd3
%endif
eb1fd3
%ifarch ppc64
eb1fd3
%global multilib_32_arch ppc
eb1fd3
%endif
eb1fd3
%ifarch x86_64
eb1fd3
%if 0%{?rhel} >= 6
eb1fd3
%global multilib_32_arch i686
eb1fd3
%else
eb1fd3
%global multilib_32_arch i386
eb1fd3
%endif
eb1fd3
%endif
eb1fd3
eb1fd3
%global multilib_64_archs sparc64 ppc64 s390x x86_64
eb1fd3
eb1fd3
%if 0%{?rhel} >= 6
eb1fd3
# Need binutils which support --build-id >= 2.17.50.0.17-3
eb1fd3
# Need binutils which support %gnu_unique_object >= 2.19.51.0.14
eb1fd3
# Need binutils which support .cfi_sections >= 2.19.51.0.14-33
eb1fd3
BuildRequires: binutils >= 2.19.51.0.14-33
eb1fd3
# While gcc doesn't include statically linked binaries, during testing
eb1fd3
# -static is used several times.
eb1fd3
BuildRequires: glibc-static
eb1fd3
%else
eb1fd3
# Don't have binutils which support --build-id >= 2.17.50.0.17-3
eb1fd3
# Don't have binutils which support %gnu_unique_object >= 2.19.51.0.14
eb1fd3
# Don't have binutils which  support .cfi_sections >= 2.19.51.0.14-33
eb1fd3
BuildRequires: binutils >= 2.17.50.0.2-8
eb1fd3
%endif
eb1fd3
BuildRequires: zlib-devel, gettext, dejagnu, bison, flex, texinfo, sharutils
eb1fd3
BuildRequires: /usr/bin/pod2man
eb1fd3
%if 0%{?rhel} >= 7
eb1fd3
BuildRequires: texinfo-tex
eb1fd3
%endif
eb1fd3
#BuildRequires: systemtap-sdt-devel >= 1.3
eb1fd3
# For VTA guality testing
eb1fd3
BuildRequires: gdb
eb1fd3
# Make sure pthread.h doesn't contain __thread tokens
eb1fd3
# Make sure glibc supports stack protector
eb1fd3
# Make sure glibc supports DT_GNU_HASH
eb1fd3
BuildRequires: glibc-devel >= 2.4.90-13
eb1fd3
%if 0%{?rhel} >= 6
eb1fd3
BuildRequires: elfutils-devel >= 0.147
eb1fd3
BuildRequires: elfutils-libelf-devel >= 0.147
eb1fd3
%else
eb1fd3
BuildRequires: elfutils-devel >= 0.72
eb1fd3
%endif
eb1fd3
%ifarch ppc ppc64 s390 s390x sparc sparcv9 alpha
eb1fd3
# Make sure glibc supports TFmode long double
eb1fd3
BuildRequires: glibc >= 2.3.90-35
eb1fd3
%endif
eb1fd3
%ifarch %{multilib_64_archs} sparcv9 ppc
eb1fd3
# Ensure glibc{,-devel} is installed for both multilib arches
eb1fd3
BuildRequires: /lib/libc.so.6 /usr/lib/libc.so /lib64/libc.so.6 /usr/lib64/libc.so
eb1fd3
%endif
eb1fd3
%ifarch ia64
eb1fd3
BuildRequires: libunwind >= 0.98
eb1fd3
%endif
eb1fd3
# Need .eh_frame ld optimizations
eb1fd3
# Need proper visibility support
eb1fd3
# Need -pie support
eb1fd3
# Need --as-needed/--no-as-needed support
eb1fd3
# On ppc64, need omit dot symbols support and --non-overlapping-opd
eb1fd3
# Need binutils that owns /usr/bin/c++filt
eb1fd3
# Need binutils that support .weakref
eb1fd3
# Need binutils that supports --hash-style=gnu
eb1fd3
# Need binutils that support mffgpr/mftgpr
eb1fd3
#%if 0%{?rhel} >= 6
eb1fd3
## Need binutils which support --build-id >= 2.17.50.0.17-3
eb1fd3
## Need binutils which support %gnu_unique_object >= 2.19.51.0.14
eb1fd3
## Need binutils which support .cfi_sections >= 2.19.51.0.14-33
eb1fd3
#Requires: binutils >= 2.19.51.0.14-33
eb1fd3
#%else
eb1fd3
## Don't have binutils which support --build-id >= 2.17.50.0.17-3
eb1fd3
## Don't have binutils which support %gnu_unique_object >= 2.19.51.0.14
eb1fd3
## Don't have binutils which  support .cfi_sections >= 2.19.51.0.14-33
eb1fd3
#Requires: binutils >= 2.17.50.0.2-8
eb1fd3
#%endif
eb1fd3
## Make sure gdb will understand DW_FORM_strp
eb1fd3
#Conflicts: gdb < 5.1-2
eb1fd3
#Requires: glibc-devel >= 2.2.90-12
eb1fd3
#%ifarch ppc ppc64 s390 s390x sparc sparcv9 alpha
eb1fd3
## Make sure glibc supports TFmode long double
eb1fd3
#Requires: glibc >= 2.3.90-35
eb1fd3
#%endif
eb1fd3
#Requires: libgcc >= 4.1.2-43
eb1fd3
#Requires: libgomp >= 4.4.4-13
eb1fd3
#%if 0%{?rhel} == 6
eb1fd3
#Requires: libstdc++ >= 4.4.4-13
eb1fd3
#%else
eb1fd3
#Requires: libstdc++ = 4.1.2
eb1fd3
#%endif
eb1fd3
##FIXME gcc version
eb1fd3
#Requires: libstdc++-devel = %{version}-%{release}
eb1fd3
BuildRequires: gmp-devel >= 4.1.2-8
eb1fd3
%if 0%{?rhel} >= 6
eb1fd3
BuildRequires: mpfr-devel >= 2.2.1
eb1fd3
%endif
eb1fd3
%if 0%{?rhel} >= 7
eb1fd3
BuildRequires: libmpc-devel >= 0.8.1
eb1fd3
%endif
eb1fd3
eb1fd3
%endif # bundled gcc BuildRequires
eb1fd3
# ==================================================================================
4cf60e
# Override internal dependency generator to avoid showing libraries provided by this package
4cf60e
# in dependencies:
4cf60e
AutoProv: 0
29a772
%define _use_internal_dependency_generator 0
29a772
%define __find_requires %{SOURCE100}
29a772
29a772
%description
29a772
Mozilla Firefox is an open-source web browser, designed for standards
29a772
compliance, performance and portability.
29a772
29a772
#---------------------------------------------------------------------
29a772
29a772
%prep
29a772
%setup -q -c
29a772
cd %{tarballdir}
29a772
29a772
# Build patches
29a772
# We have to keep original patch backup extension to go thru configure without problems with tests
29a772
%patch0 -p1 -b .orig
29a772
%patch5 -p2 -b .jemalloc-ppc.patch
8c50df
%patch6 -p1 -b .webrtc-arch-cpu
3a67ab
%patch8 -p2 -b .ppc64le
4cf60e
%patch16 -p2 -b .moz-1253216-disable-ion
4cf60e
%patch17 -p1 -b .build-nss
3a67ab
3a67ab
# RPM specific patches
3a67ab
%patch101 -p1 -b .default
3a67ab
%patch102 -p1 -b .addons
3a67ab
%patch103 -p1 -b .rhbz-966424
3a67ab
%patch106 -p2 -b .plugins
3a67ab
%patch109 -p1 -b .aarch64
4cf60e
%patch110 -p1 -b .moz-1170092-etc-conf
cf8223
%patch111 -p2 -b .rhbz-1173156
6604c8
%patch112 -p1 -b .mozbz-256180
29a772
4cf60e
# Upstream patches
3a67ab
%patch201 -p1 -b .mozbz-1005535
4cf60e
# FIXME: will require this?: by kai
3a67ab
%patch202 -p1 -b .mozbz-1152515
7607a4
%patch203 -p1 -b .mozbz-1270046
29a772
6604c8
# RHEL7 only patches
6604c8
%if %{?rhel} == 7
6604c8
%patch300 -p1 -b .mozbz-975832
6604c8
%endif
6604c8
4cf60e
# RHEL5 only patches
4cf60e
%if %{?rhel} == 5
4cf60e
%patch500 -p1 -b .gnu-build-id
4cf60e
%patch501 -p1 -b .build-sandbox
4cf60e
%patch502 -p1 -b .build-gtk2
4cf60e
%patch503 -p1 -b .build-xlib-swap
4cf60e
%patch504 -p1 -b .build-rt-tgsigqueueinfo
4cf60e
%patch505 -p1 -b .build-el5-rapl
4cf60e
%patch506 -p1 -b .build-el5-fontconfig
4cf60e
%patch507 -p1 -b .build-el5-stdint
4cf60e
%patch508 -p1 -b .build-el5-nss
cf8223
%patch509 -p1 -b .rhbz-1150082
29a772
%endif
29a772
29a772
%{__rm} -f .mozconfig
29a772
%{__cp} %{SOURCE10} .mozconfig
4cf60e
%{__cp} %{SOURCE24} mozilla-api-key
4cf60e
4cf60e
function add_to_mozconfig() {
4cf60e
  mozconfig_entry=$1
4cf60e
  echo "ac_add_options --$1" >> .mozconfig
4cf60e
}
4cf60e
4cf60e
# Modify mozconfig file
29a772
%if %{official_branding}
4cf60e
 add_to_mozconfig "enable-official-branding"
29a772
%endif
29a772
29a772
%if %{?system_sqlite}
4cf60e
 add_to_mozconfig "enable-system-sqlite"
29a772
%else
4cf60e
 add_to_mozconfig "disable-system-sqlite"
29a772
%endif
29a772
6ca8db
%if %{?system_cairo}
4cf60e
 add_to_mozconfig "enable-system-cairo"
6ca8db
%else
4cf60e
 add_to_mozconfig "disable-system-cairo"
6ca8db
%endif
6ca8db
6ca8db
%if %{?system_ffi}
4cf60e
 add_to_mozconfig "enable-system-ffi"
6ca8db
%endif
6ca8db
29a772
%if %{?system_nss}
4cf60e
 add_to_mozconfig "with-system-nspr"
4cf60e
 add_to_mozconfig "with-system-nss"
29a772
%else
4cf60e
 add_to_mozconfig "without-system-nspr"
4cf60e
 add_to_mozconfig "without-system-nss"
29a772
%endif
29a772
8c50df
%if %{?enable_gstreamer}
4cf60e
 add_to_mozconfig "enable-gstreamer=1.0"
8c50df
%else
4cf60e
 add_to_mozconfig "disable-gstreamer"
8c50df
%endif
8c50df
4cf60e
%if %{?system_jpeg}
4cf60e
 add_to_mozconfig "with-system-jpeg"
4cf60e
%else
4cf60e
 add_to_mozconfig "without-system-jpeg"
4cf60e
%endif
4cf60e
%if %{?system_hunspell}
4cf60e
 add_to_mozconfig "enable-system-hunspell"
29a772
%endif
29a772
03d5fe
# RHEL 7 mozconfig changes:
4cf60e
%if 0%{rhel} >= 6
4cf60e
 add_to_mozconfig "enable-libnotify"
4cf60e
 add_to_mozconfig "enable-startup-notification"
4cf60e
 add_to_mozconfig "enable-jemalloc"
4cf60e
%endif
4cf60e
4cf60e
# RHEL 6
4cf60e
%if 0%{rhel} == 6
4cf60e
 # Disable dbus, because we're unable to build with its support in brew
4cf60e
 add_to_mozconfig "disable-dbus"
4cf60e
%endif
4cf60e
4cf60e
%if 0%{rhel} == 5
4cf60e
 add_to_mozconfig "disable-pulseaudio"
4cf60e
%endif
4cf60e
4cf60e
%ifarch aarch64
4cf60e
 add_to_mozconfig "disable-ion"
4cf60e
%endif
4cf60e
4cf60e
%if %{system_gio}
4cf60e
 add_to_mozconfig "enable-gio"
4cf60e
 #add_to_mozconfig "disable-gnomevfs"
4cf60e
%else
4cf60e
 # TODO: gnomevfs for RHEL5!
4cf60e
 add_to_mozconfig "disable-gio"
4cf60e
 #add_to_mozconfig "enable-gnomevfs"
4cf60e
%endif
29a772
6ca8db
# Debug build flags
6ca8db
%if %{?debug_build}
4cf60e
 add_to_mozconfig "enable-debug"
4cf60e
 add_to_mozconfig "disable-optimize"
6ca8db
%else
4cf60e
 add_to_mozconfig "disable-debug"
4cf60e
 add_to_mozconfig "enable-optimize"
4cf60e
%endif
4cf60e
cf8223
#Disabled due to rhbz#1330898
cf8223
add_to_mozconfig "disable-ffmpeg"
cf8223
4cf60e
#FIXME RTTI?? RHEL5/6
4cf60e
# ac_add_options --enable-cpp-rtti
4cf60e
# RHEL7: ac_add_options --with-system-bz2
4cf60e
# RHEL5: never been there, but is it usable --enable-gnomeui ????
4cf60e
4cf60e
%if %{use_bundled_python}
4cf60e
 # Prepare Python 2.7 sources
4cf60e
 tar xf %{SOURCE200}
6ca8db
%endif
6ca8db
29a772
#---------------------------------------------------------------------
29a772
29a772
%build
4cf60e
4cf60e
function build_bundled_package() {
4cf60e
  PACKAGE_RPM=$1
4cf60e
  PACKAGE_FILES=$2
4cf60e
  PACKAGE_SOURCE=$3
4cf60e
  PACKAGE_DIR="%{_topdir}/RPMS"
4cf60e
4cf60e
  PACKAGE_ALREADY_BUILD=0
4cf60e
  %if %{do_not_clean_rpms}
4cf60e
    if ls $PACKAGE_DIR/$PACKAGE_RPM; then
4cf60e
      PACKAGE_ALREADY_BUILD=1
4cf60e
    fi
4cf60e
    if ls $PACKAGE_DIR/%{_arch}/$PACKAGE_RPM; then
4cf60e
      PACKAGE_ALREADY_BUILD=1
4cf60e
    fi
4cf60e
  %endif
4cf60e
  if [ $PACKAGE_ALREADY_BUILD == 0 ]; then
4cf60e
    echo "Rebuilding $PACKAGE_RPM from $PACKAGE_SOURCE"; echo "==============================="
4cf60e
    rpmbuild --nodeps --rebuild $PACKAGE_SOURCE
4cf60e
  fi
4cf60e
4cf60e
  if [ ! -f $PACKAGE_DIR/$PACKAGE_RPM ]; then
4cf60e
    # Hack for tps tests
4cf60e
    ARCH_STR=%{_arch}
4cf60e
    %ifarch i386 i686
4cf60e
    ARCH_STR="i?86"
4cf60e
    %endif
4cf60e
    PACKAGE_DIR="$PACKAGE_DIR/$ARCH_STR"
4cf60e
  fi
4cf60e
  pushd $PACKAGE_DIR
4cf60e
  echo "Installing $PACKAGE_DIR/$PACKAGE_RPM"; echo "==============================="
4cf60e
  rpm2cpio $PACKAGE_DIR/$PACKAGE_RPM | cpio -iduv
4cf60e
  # Clean rpms to avoid including them to package
4cf60e
  %if ! %{do_not_clean_rpms}0
4cf60e
    rm -f $PACKAGE_FILES
4cf60e
  %endif
4cf60e
4cf60e
  PATH=$PACKAGE_DIR/usr/bin:$PATH
4cf60e
  export PATH
4cf60e
  LD_LIBRARY_PATH=$PACKAGE_DIR/usr/%{_lib}
4cf60e
  export LD_LIBRARY_PATH
4cf60e
  popd
4cf60e
}
4cf60e
4cf60e
# Build and install local yasm if needed
4cf60e
# ======================================
4cf60e
%if %{use_bundled_yasm}
4cf60e
  build_bundled_package 'yasm-1*.rpm' 'yasm-*.rpm' '%{SOURCE301}'
4cf60e
%endif
4cf60e
4cf60e
# Install local binutils if needed
4cf60e
# ======================================
4cf60e
%if 0%{?use_bundled_binutils}
4cf60e
  build_bundled_package 'binutils-2*.rpm' 'binutils*.rpm' '%{SOURCE302}'
4cf60e
%endif
4cf60e
4cf60e
# Install local GCC if needed
4cf60e
# ======================================
eb1fd3
%if %{use_bundled_gcc}
4cf60e
  %if %{rhel} == 5
4cf60e
    %ifarch ppc64
4cf60e
      export STRIP="/bin/true"
4cf60e
    %endif
4cf60e
  %endif
4cf60e
  build_bundled_package 'gcc48-%{gcc_version}*.rpm' 'gcc48-*.rpm' '%{SOURCE300}'
4cf60e
  %if %{rhel} == 5
4cf60e
    %ifarch ppc64
4cf60e
      unset STRIP
4cf60e
    %endif
4cf60e
  %endif
4cf60e
  export CXX=g++
4cf60e
%endif
4cf60e
4cf60e
4cf60e
# Install local Python if needed
4cf60e
# ======================================
4cf60e
%if %{use_bundled_python}
4cf60e
    echo "Rebuilding Python"; echo "==============================="
4cf60e
  pushd %{tarballdir}
4cf60e
4cf60e
  # Build Python 2.7 and set environment
4cf60e
  BUILD_DIR=`pwd`/python_build
4cf60e
  cd Python-%{python_version}
4cf60e
  ./configure --prefix=$BUILD_DIR --exec-prefix=$BUILD_DIR
4cf60e
  make
4cf60e
  make install
4cf60e
  cd -
4cf60e
4cf60e
  PATH=$BUILD_DIR/bin:$PATH
4cf60e
  export PATH
4cf60e
  popd
4cf60e
%endif # bundled Python
eb1fd3
29a772
%if %{?system_sqlite}
4cf60e
  # Do not proceed with build if the sqlite require would be broken:
4cf60e
  # make sure the minimum requirement is non-empty, ...
4cf60e
  sqlite_version=$(expr "%{sqlite_version}" : '\([0-9]*\.\)[0-9]*\.') || exit 1
4cf60e
  # ... and that major number of the computed build-time version matches:
4cf60e
  case "%{sqlite_build_version}" in
4cf60e
    "$sqlite_version"*) ;;
4cf60e
    *) exit 1 ;;
4cf60e
  esac
29a772
%endif
29a772
4cf60e
echo "Building Firefox"; echo "==============================="
29a772
cd %{tarballdir}
29a772
4cf60e
# 1. Mozilla builds with -Wall with exception of a few warnings which show up
4cf60e
#    everywhere in the code; so, don't override that.
4cf60e
# 2. -Werror=format-security causes build failures when -Wno-format is explicitly given
4cf60e
#    for some sources
4cf60e
MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS -fpermissive -Wformat-security -Wformat -Werror=format-security" | %{__sed} -e 's/-Wall//')
24df8e
4cf60e
# TODO check if necessery
29a772
%ifarch s390
4cf60e
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
29a772
%endif
4cf60e
4cf60e
# Avoid failing builds because OOM killer on some arches
29a772
%ifarch s390 %{arm} ppc
4cf60e
MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
4cf60e
%endif
4cf60e
4cf60e
%if %{rhel} == 6
4cf60e
  %if %{system_libatomic}
4cf60e
    MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -l:libatomic.so.1"
4cf60e
  %endif
4cf60e
%endif
4cf60e
4cf60e
%if %{rhel} == 5
4cf60e
  %if %{system_libatomic}
4cf60e
    # Force to use ld.bfd linker instead of ld.gold
4cf60e
    MOZ_LINK_FLAGS="$MOZ_LINK_FLAGS -fuse-ld=bfd -l:libatomic.so.1"
4cf60e
  %endif
4cf60e
  %ifarch i386 i686
4cf60e
    MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-march=i386/-march=i586/')
4cf60e
  %endif
4cf60e
%endif
4cf60e
4cf60e
%if %{?debug_build}
4cf60e
  MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
29a772
%endif
29a772
3a67ab
export CFLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-fpermissive//')
29a772
export CXXFLAGS=$MOZ_OPT_FLAGS
4cf60e
export LDFLAGS="-Wl,--verbose $MOZ_LINK_FLAGS"
29a772
29a772
export PREFIX='%{_prefix}'
29a772
export LIBDIR='%{_libdir}'
29a772
4cf60e
# Hack for missing shell when building in brew on RHEL6 and RHEL5
4cf60e
%if 0%{?rhel} <= 6
4cf60e
export SHELL=/bin/sh
4cf60e
%endif
4cf60e
29a772
MOZ_SMP_FLAGS=-j1
29a772
[ -z "$RPM_BUILD_NCPUS" ] && \
29a772
     RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"
29a772
[ "$RPM_BUILD_NCPUS" -ge 2 ] && MOZ_SMP_FLAGS=-j2
29a772
[ "$RPM_BUILD_NCPUS" -ge 4 ] && MOZ_SMP_FLAGS=-j4
29a772
[ "$RPM_BUILD_NCPUS" -ge 8 ] && MOZ_SMP_FLAGS=-j8
29a772
29a772
MOZ_APP_DIR=%{_libdir}/%{name}
4cf60e
29a772
make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
29a772
29a772
#---------------------------------------------------------------------
29a772
29a772
%install
29a772
cd %{tarballdir}
29a772
%{__rm} -rf $RPM_BUILD_ROOT
29a772
4cf60e
%if %{rhel} == 5
4cf60e
# set up our default bookmarks
4cf60e
%{__cp} -p %{SOURCE501} objdir/dist/bin/browser/defaults/profile/bookmarks.html
4cf60e
%else
29a772
# set up our default bookmarks
29a772
%{__cp} -p %{default_bookmarks_file} objdir/dist/bin/browser/defaults/profile/bookmarks.html
4cf60e
%endif
29a772
29a772
# Make sure locale works for langpacks
29a772
%{__cat} > objdir/dist/bin/browser/defaults/preferences/firefox-l10n.js << EOF
29a772
pref("general.useragent.locale", "chrome://global/locale/intl.properties");
29a772
EOF
29a772
4cf60e
29a772
DESTDIR=$RPM_BUILD_ROOT make -C objdir install
29a772
29a772
%{__mkdir_p} $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_datadir}/applications}
29a772
4cf60e
%if %{rhel} == 5
4cf60e
desktop-file-install --vendor mozilla \
4cf60e
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
4cf60e
  --add-category WebBrowser \
4cf60e
  --add-category Network \
4cf60e
  %{SOURCE20}
4cf60e
%else
29a772
desktop-file-install \
29a772
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
29a772
  --add-category WebBrowser \
29a772
  --add-category Network \
29a772
  %{SOURCE20}
4cf60e
%endif
29a772
4cf60e
# Set up the firefox start script, unfortunatelly it is different for each RHEL
29a772
rm -rf $RPM_BUILD_ROOT%{_bindir}/firefox
4cf60e
FIREFOX_SH_SOURCE=%{SOURCE700}
4cf60e
%if %{rhel} == 5
4cf60e
  FIREFOX_SH_SOURCE=%{SOURCE500}
4cf60e
%endif
4cf60e
%if %{rhel} == 6
4cf60e
  FIREFOX_SH_SOURCE=%{SOURCE600}
4cf60e
%endif
4cf60e
cp $FIREFOX_SH_SOURCE $RPM_BUILD_ROOT%{_bindir}/firefox
29a772
%{__chmod} 755 $RPM_BUILD_ROOT%{_bindir}/firefox
29a772
4cf60e
# Installing man page
29a772
%{__install} -p -D -m 644 %{SOURCE23} $RPM_BUILD_ROOT%{_mandir}/man1/firefox.1
29a772
29a772
%{__rm} -f $RPM_BUILD_ROOT/%{mozappdir}/firefox-config
29a772
29a772
for s in 16 22 24 32 48 256; do
29a772
    %{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps
29a772
    %{__cp} -p browser/branding/official/default${s}.png \
29a772
               $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/firefox.png
29a772
done
29a772
29a772
echo > ../%{name}.lang
29a772
%if %{build_langpacks}
29a772
# Extract langpacks, make any mods needed, repack the langpack, and install it.
29a772
%{__mkdir_p} $RPM_BUILD_ROOT%{langpackdir}
4cf60e
%{__xz} -dc %{SOURCE1} | %{__tar} xf -
29a772
for langpack in `ls firefox-langpacks/*.xpi`; do
29a772
  language=`basename $langpack .xpi`
29a772
  extensionID=langpack-$language@firefox.mozilla.org
29a772
  %{__mkdir_p} $extensionID
29a772
  unzip $langpack -d $extensionID
29a772
  find $extensionID -type f | xargs chmod 644
29a772
29a772
  cd $extensionID
29a772
  zip -r9mX ../${extensionID}.xpi *
29a772
  cd -
29a772
29a772
  %{__install} -m 644 ${extensionID}.xpi $RPM_BUILD_ROOT%{langpackdir}
29a772
  language=`echo $language | sed -e 's/-/_/g'`
29a772
  echo "%%lang($language) %{langpackdir}/${extensionID}.xpi" >> ../%{name}.lang
29a772
done
29a772
%{__rm} -rf firefox-langpacks
690287
690287
# Install langpack workaround (see #707100, #821169)
690287
function create_default_langpack() {
4cf60e
  language_long=$1
4cf60e
  language_short=$2
4cf60e
  cd $RPM_BUILD_ROOT%{langpackdir}
4cf60e
  ln -s langpack-$language_long@firefox.mozilla.org.xpi langpack-$language_short@firefox.mozilla.org.xpi
4cf60e
  cd -
4cf60e
  echo "%%lang($language_short) %{langpackdir}/langpack-$language_short@firefox.mozilla.org.xpi" >> ../%{name}.lang
690287
}
690287
690287
# Table of fallbacks for each language
690287
# please file a bug at bugzilla.redhat.com if the assignment is incorrect
690287
create_default_langpack "bn-IN" "bn"
690287
create_default_langpack "es-AR" "es"
690287
create_default_langpack "fy-NL" "fy"
690287
create_default_langpack "ga-IE" "ga"
690287
create_default_langpack "gu-IN" "gu"
690287
create_default_langpack "hi-IN" "hi"
690287
create_default_langpack "hy-AM" "hy"
690287
create_default_langpack "nb-NO" "nb"
690287
create_default_langpack "nn-NO" "nn"
690287
create_default_langpack "pa-IN" "pa"
690287
create_default_langpack "pt-PT" "pt"
690287
create_default_langpack "sv-SE" "sv"
690287
create_default_langpack "zh-TW" "zh"
29a772
%endif # build_langpacks
29a772
29a772
# Keep compatibility with the old preference location.
29a772
%{__mkdir_p} $RPM_BUILD_ROOT/%{mozappdir}/defaults/preferences
29a772
%{__mkdir_p} $RPM_BUILD_ROOT/%{mozappdir}/browser/defaults
29a772
ln -s %{mozappdir}/defaults/preferences $RPM_BUILD_ROOT/%{mozappdir}/browser/defaults/preferences
29a772
690287
# Install default ones
690287
%{__cp} %{SOURCE12} ${RPM_BUILD_ROOT}%{mozappdir}/defaults/preferences/all-redhat.js
4cf60e
# Modify preset preferences
4cf60e
%if %{use_baselinejit}
4cf60e
  echo 'pref("javascript.options.baselinejit",      true);'  >> ${RPM_BUILD_ROOT}%{mozappdir}/defaults/preferences/all-redhat.js
4cf60e
%else
4cf60e
  echo '/* Workaround for rhbz#1134876 */'                   >> ${RPM_BUILD_ROOT}%{mozappdir}/defaults/preferences/all-redhat.js
4cf60e
  echo 'pref("javascript.options.baselinejit",      false);' >> ${RPM_BUILD_ROOT}%{mozappdir}/defaults/preferences/all-redhat.js
4cf60e
%endif
4cf60e
4cf60e
# System config dir
4cf60e
%{__mkdir_p} $RPM_BUILD_ROOT/%{_sysconfdir}/%{name}/pref
690287
29a772
# System extensions
29a772
%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{firefox_app_id}
29a772
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{firefox_app_id}
29a772
29a772
# Copy over the LICENSE
29a772
%{__install} -p -c -m 644 LICENSE $RPM_BUILD_ROOT/%{mozappdir}
29a772
4cf60e
# Use the system dictionaries for system hunspell
4cf60e
%if %{system_hunspell}
4cf60e
  %{__rm} -rf ${RPM_BUILD_ROOT}%{mozappdir}/dictionaries
4cf60e
  ln -s %{_datadir}/myspell ${RPM_BUILD_ROOT}%{mozappdir}/dictionaries
4cf60e
%endif
4cf60e
4cf60e
# Clean firefox-devel debuginfo
4cf60e
rm -rf %{_prefix}/lib/debug/lib/%{name}-devel-*
4cf60e
rm -rf %{_prefix}/lib/debug/lib64/%{name}-devel-*
29a772
29a772
#---------------------------------------------------------------------
29a772
29a772
%clean
29a772
%{__rm} -rf $RPM_BUILD_ROOT
29a772
29a772
#---------------------------------------------------------------------
29a772
29a772
%post
29a772
update-desktop-database &> /dev/null || :
29a772
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
29a772
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
29a772
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
29a772
fi
29a772
29a772
%postun
29a772
if [ $1 -eq 0 ] ; then
29a772
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
29a772
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
29a772
fi
29a772
update-desktop-database &> /dev/null || :
29a772
4cf60e
%preun
4cf60e
# is it a final removal?
4cf60e
if [ $1 -eq 0 ]; then
4cf60e
  %{__rm} -rf %{mozappdir}/components
4cf60e
  %{__rm} -rf %{mozappdir}/extensions
4cf60e
  %{__rm} -rf %{mozappdir}/plugins
4cf60e
fi
4cf60e
29a772
%posttrans
29a772
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
29a772
29a772
%files -f %{name}.lang
29a772
%defattr(-,root,root,-)
29a772
%{_bindir}/firefox
29a772
%doc %{_mandir}/man1/*
4cf60e
%dir %{_sysconfdir}/%{name}/*
29a772
%dir %{_datadir}/mozilla/extensions/%{firefox_app_id}
29a772
%dir %{_libdir}/mozilla/extensions/%{firefox_app_id}
29a772
%{_datadir}/icons/hicolor/16x16/apps/firefox.png
29a772
%{_datadir}/icons/hicolor/48x48/apps/firefox.png
29a772
%{_datadir}/icons/hicolor/22x22/apps/firefox.png
29a772
%{_datadir}/icons/hicolor/24x24/apps/firefox.png
29a772
%{_datadir}/icons/hicolor/256x256/apps/firefox.png
29a772
%{_datadir}/icons/hicolor/32x32/apps/firefox.png
4cf60e
%if %{rhel} == 5
4cf60e
%{_datadir}/applications/mozilla-%{name}.desktop
4cf60e
%else
29a772
%{_datadir}/applications/%{name}.desktop
4cf60e
%endif
29a772
%dir %{mozappdir}
29a772
%doc %{mozappdir}/LICENSE
29a772
%{mozappdir}/browser/chrome
29a772
%{mozappdir}/browser/chrome.manifest
29a772
%dir %{mozappdir}/browser/components
29a772
%{mozappdir}/browser/components/*.so
29a772
%{mozappdir}/browser/components/*.manifest
29a772
%attr(644, root, root) %{mozappdir}/browser/blocklist.xml
29a772
%dir %{mozappdir}/browser/extensions
4cf60e
%{mozappdir}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
4cf60e
%{mozappdir}/browser/features/loop@mozilla.org.xpi
29a772
%dir %{mozappdir}/langpacks
29a772
%{mozappdir}/browser/icons
29a772
%{mozappdir}/browser/omni.ja
29a772
%{mozappdir}/firefox
29a772
%{mozappdir}/firefox-bin
29a772
%{mozappdir}/run-mozilla.sh
29a772
%{mozappdir}/application.ini
690287
%{mozappdir}/defaults/preferences/*
29a772
%{mozappdir}/browser/defaults/preferences
29a772
%exclude %{mozappdir}/removed-files
29a772
%{mozappdir}/webapprt-stub
29a772
%dir %{mozappdir}/webapprt
29a772
%{mozappdir}/webapprt/omni.ja
29a772
%{mozappdir}/webapprt/webapprt.ini
29a772
%{mozappdir}/dictionaries
29a772
%{mozappdir}/*.so
29a772
%{mozappdir}/omni.ja
29a772
%{mozappdir}/platform.ini
29a772
%{mozappdir}/plugin-container
29a772
%{mozappdir}/dependentlibs.list
29a772
%exclude %{mozappdir}/defaults/pref/channel-prefs.js
03d5fe
%if !%{?system_nss}
03d5fe
%{mozappdir}/*.chk
03d5fe
%endif
29a772
%exclude %{_datadir}/idl/*
29a772
%exclude %{_includedir}/*
29a772
%exclude %{_libdir}/%{name}-devel-*/*
29a772
4cf60e
%if !%{?system_nss}
4cf60e
%{mozappdir}/libfreebl3.chk
4cf60e
%{mozappdir}/libnssdbm3.chk
4cf60e
%{mozappdir}/libsoftokn3.chk
4cf60e
%endif
4cf60e
29a772
#---------------------------------------------------------------------
29a772
29a772
%changelog
dfe4d5
* Sun Dec 11 2016 Jan Horak <jhorak@redhat.com> - 45.6.0-1
dfe4d5
- Update to 45.6.0 ESR
76ac1a
93ebc8
* Wed Nov 30 2016 Jan Horak <jhorak@redhat.com> - 45.5.1-1
93ebc8
- Update to 45.5.1 ESR
57b7df
9a67e7
* Tue Nov  8 2016 Jan Horak <jhorak@redhat.com> - 45.5.0-1
9a67e7
- Update to 45.5.0 ESR
9a67e7
9a67e7
* Mon Oct 31 2016 Jan Horak <jhorak@redhat.com> - 45.4.0-3
9a67e7
- Added upcoming upstream patches mozbz#1018486
9a67e7
9a67e7
* Mon Sep 26 2016 Jan Horak <jhorak@redhat.com> - 45.4.0-2
9a67e7
- Added Laszlo Ersek patch for aarch64 crashes
8976b6
12fecd
* Wed Sep  7 2016 Jan Horak <jhorak@redhat.com> - 45.4.0-1
12fecd
- Update to 45.4.0 ESR
b3ab9c
6604c8
* Wed Jul 27 2016 Jan Horak <jhorak@redhat.com> - 45.3.0-1
6604c8
- Update to 45.3.0 ESR
6604c8
6604c8
* Mon Jul 11 2016 Martin Stransky <stransky@redhat.com> - 45.2.0-3
6604c8
- Added fix for mozbz#256180
6604c8
6604c8
* Mon Jun 20 2016 Martin Stransky <stransky@redhat.com> - 45.2.0-2
6604c8
- Added fix for mozbz#975832, rhbz#1343202
36c3bc
7607a4
* Fri Jun  3 2016 Jan Horak <jhorak@redhat.com> - 45.2.0-1
7607a4
- Update to 45.2.0 ESR
7607a4
7607a4
* Tue May 10 2016 Martin Stransky <stransky@redhat.com> - 45.1.1-2
7607a4
- Added fix for mozbz#1270046 - new Samba auth response
cb4306
cf8223
* Wed May  4 2016 Jan Horak <jhorak@redhat.com> - 45.1.1-1
cf8223
- Update to 45.1.1 ESR
cf8223
cf8223
* Tue May 3 2016 Martin Stransky <stransky@redhat.com> - 45.1.0-3
cf8223
- Disabled ffmpeg (rhbz#1330898)
cf8223
cf8223
* Fri Apr 29 2016 Jan Horak <jhorak@redhat.com> - 45.1.0-1
cf8223
- Fixed some regressions introduced by rebase
5cb511
4cf60e
* Thu Apr 21 2016 Jan Horak <jhorak@redhat.com> - 45.1.0-1
4cf60e
- Update to 45.1.0 ESR
4cf60e
4cf60e
* Tue Apr 12 2016 Jan Horak <jhorak@redhat.com> - 45.0.2-1
4cf60e
- Update to 45.0.2 ESR
4cf60e
4cf60e
* Wed Apr  6 2016 Jan Horak <jhorak@redhat.com> - 45.0.1-1
4cf60e
- Update to 45.0.1 ESR
f9894f
4cf60e
* Mon Apr  4 2016 Martin Stransky <stransky@redhat.com> - 45.0-5
4cf60e
- Fixed crashed after start (rhbz#1323744, rhbz#1323738)
32cfe9
4cf60e
* Mon Apr  4 2016 Jan Horak <jhorak@redhat.com> - 45.0-4
4cf60e
- Added system-level location for configuring Firefox (rhbz#1206239)
9ad27a
4cf60e
* Mon Mar  7 2016 Jan Horak <jhorak@redhat.com> - 45.0-3
4cf60e
- Update to 45.0 ESR
6d5587
eb1fd3
* Fri Dec 11 2015 Jan Horak <jhorak@redhat.com> - 38.5.0-3
eb1fd3
- Update to 38.5.0 ESR
eab278
916b19
* Thu Oct 29 2015 Jan Horak <jhorak@redhat.com> - 38.4.0-1
916b19
- Update to 38.4.0 ESR
1a7783
872e15
* Tue Sep 15 2015 Jan Horak <jhorak@redhat.com> - 38.3.0-2
872e15
- Update to 38.3.0 ESR
8f2b58
6f7840
* Wed Aug 26 2015 Martin Stransky <stransky@redhat.com> - 38.2.1-1
6f7840
- Update to 38.2.1 ESR
2642ad
65ed61
* Fri Aug  7 2015 Jan Horak <jhorak@redhat.com> - 38.2.0-4
65ed61
- Update to 38.2.0 ESR
bee98e
b42477
* Thu Aug  6 2015 Jan Horak <jhorak@redhat.com> - 38.1.1-1
b42477
- Update to 38.1.1 ESR
d8eaa5
1394b5
* Thu Jun 25 2015 Jan Horak <jhorak@redhat.com> - 38.1.0-1
1394b5
- Update to 38.1.0 ESR
1394b5
1394b5
* Thu May 21 2015 Jan Horak <jhorak@redhat.com> - 38.0.1-2
1394b5
- Fixed rhbz#1222807 by removing preun section
ffd1fc
1394b5
* Fri May 15 2015 Martin Stransky <stransky@redhat.com> - 38.0.1-1
690287
- Update to 38.0.1 ESR
690287
690287
* Thu May 14 2015 Martin Stransky <stransky@redhat.com> - 38.0-4
690287
- Fixed rhbz#1221286 - After update to Firefox 38 ESR
690287
  all RH preferences are gone
a4e897
3a67ab
* Thu May  7 2015 Martin Stransky <stransky@redhat.com> - 38.0-3
3a67ab
- Enabled system nss
3a67ab
- Removed unused patches
3a67ab
3a67ab
* Mon May  4 2015 Jan Horak - 38.0-2
3a67ab
- Update to 38.0 ESR
3a67ab
3a67ab
* Mon Apr 27 2015 Martin Stransky <stransky@redhat.com> - 38.0b8-0.11
3a67ab
- Update to 38.0 Beta 8
3a67ab
3a67ab
* Wed Apr 22 2015 Martin Stransky <stransky@redhat.com> - 38.0b6-0.10
3a67ab
- Added patch for mozbz#1152515
3a67ab
3a67ab
* Tue Apr 21 2015 Martin Stransky <stransky@redhat.com> - 38.0b6-0.9
3a67ab
- Update to 38.0 Beta 6
3a67ab
3a67ab
* Mon Apr 20 2015 Martin Stransky <stransky@redhat.com> - 38.0b5-0.8
3a67ab
- Update to 38.0 Beta 5
f6e150
3a67ab
* Fri Apr 10 2015 Martin Stransky <stransky@redhat.com> - 38.0b3-0.7
3a67ab
- Update to 38.0 Beta 3
b4f789
3a67ab
* Fri Apr 10 2015 Martin Stransky <stransky@redhat.com> - 38.0b1-0.6
3a67ab
- Added patch for mozbz#1152391
63055a
3a67ab
* Thu Apr  9 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 38.0b1-0.5
3a67ab
- Fix build on AArch64 (based on upstream skia changes)
1247ad
3a67ab
* Tue Apr 7 2015 Martin Stransky <stransky@redhat.com> - 38.0b1-0.4
3a67ab
- Enabled debug build
1247ad
3a67ab
* Wed Apr  1 2015 Jan Horak <jhorak@redhat.com> - 38.0b1-1
3a67ab
- Update to 38.0b1
c4d9bd
24df8e
* Wed Feb 18 2015 Martin Stransky <stransky@redhat.com> - 31.5.0-2
24df8e
- Update to 31.5.0 ESR Build 2
337fd4
0d783c
* Tue Jan  6 2015 Jan Horak <jhorak@redhat.com> - 31.4.0-1
0d783c
- Update to 31.4.0 ESR
0d783c
0d783c
* Mon Jan 5 2015 Martin Stransky <stransky@redhat.com> - 31.3.0-6
0d783c
- Fixed Bug 1140385 - [HP HPS 7.1 bug] assertion
0d783c
  "sys_page_size == 0" when starting firefox
0d783c
0d783c
* Fri Dec 19 2014 Martin Stransky <stransky@redhat.com> - 31.3.0-5
0d783c
- Fixed problems with dictionary (mozbz#1097550)
0d783c
- JS JIT fixes for ppc64le
dc53ef
8c50df
* Sat Nov 29 2014 Martin Stransky <stransky@redhat.com> - 31.3.0-3
8c50df
- Fixed geolocation key location
8c50df
8c50df
* Fri Nov 28 2014 Martin Stransky <stransky@redhat.com> - 31.3.0-2
8c50df
- Disable exact rooting for JS
8c50df
8c50df
* Wed Nov 26 2014 Martin Stransky <stransky@redhat.com> - 31.3.0-1
8c50df
- Update to 31.3.0 ESR Build 2
8c50df
- Fix for geolocation API (rhbz#1063739)
8c50df
8c50df
* Thu Nov 6 2014 Martin Stransky <stransky@redhat.com> - 31.2.0-5
8c50df
- Enabled gstreamer-1 support (rhbz#1161077)
8c50df
8c50df
* Mon Oct 27 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 31.2.0-4
8c50df
- Fix webRTC for aarch64, ppc64le (rhbz#1148622)
5909fc
d8cebe
* Tue Oct  7 2014 Jan Horak <jhorak@redhat.com> - 31.2.0-3
d8cebe
- Update to 31.2.0 ESR
d8cebe
- Fix for mozbz#1042889
d8cebe
d8cebe
* Wed Oct 1 2014 Martin Stransky <stransky@redhat.com> - 31.1.0-7
d8cebe
- Enable WebM on all arches
ddde56
03d5fe
* Thu Sep 11 2014 Martin Stransky <stransky@redhat.com> - 31.1.0-6
03d5fe
- Enable all NPAPI plugins by default to keep compatibility
03d5fe
  with the FF24 line
03d5fe
03d5fe
* Wed Sep 10 2014 Martin Stransky <stransky@redhat.com> - 31.1.0-5
03d5fe
- Added workaround for rhbz#1134876
03d5fe
03d5fe
* Mon Sep 8 2014 Martin Stransky <stransky@redhat.com> - 31.1.0-3
03d5fe
- Disable mozilla::pkix (mozbz#1063315)
03d5fe
- Enable image cache
03d5fe
03d5fe
* Mon Sep 8 2014 Martin Stransky <stransky@redhat.com> - 31.1.0-2
03d5fe
- A workaround for rhbz#1110291
d37a8a
03d5fe
* Thu Aug 28 2014 Martin Stransky <stransky@redhat.com> - 31.1.0-1
03d5fe
- Update to 31.1.0 ESR
e469bd
03d5fe
* Tue Aug 5 2014 Martin Stransky <stransky@redhat.com> - 31.0-3
03d5fe
- Built with system libvpx/WebM
03d5fe
03d5fe
* Mon Aug 4 2014 Martin Stransky <stransky@redhat.com> - 31.0-2
03d5fe
- Built with system nss/nspr
03d5fe
03d5fe
* Mon Jul 28 2014 Martin Stransky <stransky@redhat.com> - 31.0-1
03d5fe
- Update to 31.0 ESR
b5ab9d
9e6d29
* Wed Jun  4 2014 Jan Horak <jhorak@redhat.com> - 24.6.0-1
9e6d29
- Update to 24.6.0 ESR
9e6d29
9e6d29
* Wed Apr 23 2014 Martin Stransky <stransky@redhat.com> - 24.5.0-2
9e6d29
- Removed unused patches
9e6d29
9a1d2e
* Tue Apr 22 2014 Martin Stransky <stransky@redhat.com> - 24.5.0-1
9a1d2e
- Update to 24.5.0 ESR
9a1d2e
9a1d2e
* Tue Apr 15 2014 Martin Stransky <stransky@redhat.com> - 24.4.0-3
9a1d2e
- Added a workaround for Bug 1054242 - RHEVM: Extremely high memory
9a1d2e
  usage in Firefox 24 ESR on RHEL 6.5
9a1d2e
9a1d2e
* Wed Mar 26 2014 Martin Stransky <stransky@redhat.com> - 24.4.0-2
9a1d2e
- fixed rhbz#1067343 - Broken languagepack configuration 
9a1d2e
  after firefox update
9a1d2e
6ca8db
* Tue Mar 18 2014 Jan Horak <jhorak@redhat.com> - 24.4.0-1
6ca8db
- Update to 24.4.0 ESR
6ca8db
6ca8db
* Thu Feb 27 2014 Martin Stransky <stransky@redhat.com> - 24.3.0-3
6ca8db
- fixed rhbz#1054832 - Firefox does not support Camellia cipher
6ca8db
6ca8db
* Mon Feb  3 2014 Jan Horak <jhorak@redhat.com> - 24.3.0-1
6ca8db
- Update to 24.3.0 ESR
6ca8db
6ca8db
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 24.2.0-3
6ca8db
- Mass rebuild 2014-01-24
6ca8db
6ca8db
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 24.2.0-2
6ca8db
- Mass rebuild 2013-12-27
6ca8db
6ca8db
* Mon Dec 9 2013 Martin Stransky <stransky@redhat.com> - 24.2.0-1
6ca8db
- Update to 24.2.0 ESR
6ca8db
6ca8db
* Mon Dec 2 2013 Martin Stransky <stransky@redhat.com> - 24.1.0-5
6ca8db
- Fixed mozbz#938730 - avoid mix of memory allocators (crashes)
6ca8db
  when using system sqlite
6ca8db
6ca8db
* Tue Nov 26 2013 Martin Stransky <stransky@redhat.com> - 24.1.0-4
6ca8db
- Fixed rhbz#1034541 - No translation being picked up 
6ca8db
  from langpacks for firefox
6ca8db
29a772
* Fri Nov 8 2013 Martin Stransky <stransky@redhat.com> - 24.1.0-3
29a772
- Conflicts with old, xulrunner based firefox
29a772
29a772
* Thu Nov 7 2013 Martin Stransky <stransky@redhat.com> - 24.1.0-2
29a772
- Ship dependentlibs.list (rhbz#1027782)
29a772
- Nss/nspr dependency update
29a772
29a772
* Wed Nov 6 2013 Martin Stransky <stransky@redhat.com> - 24.1.0-1
29a772
- Update to 24.1.0 ESR
29a772
29a772
* Wed Nov 6 2013 Martin Stransky <stransky@redhat.com> - 24.0-2
29a772
- Build as stand alone browser, without xulrunner
29a772
29a772
* Thu Oct 31 2013 Martin Stransky <stransky@redhat.com> - 24.0-1
29a772
- Update to 24.0 ESR
29a772
29a772
* Thu Sep 12 2013 Jan Horak <jhorak@redhat.com> - 17.0.9-1
29a772
- Update to 17.0.9 ESR
29a772
29a772
* Thu Aug 29 2013 Martin Stransky <stransky@redhat.com> - 17.0.8-2
29a772
- Desktop file update
29a772
- Spec file tweaks
29a772
29a772
* Thu Aug 1 2013 Martin Stransky <stransky@redhat.com> - 17.0.8-1
29a772
- Update to 17.0.8 ESR
29a772
29a772
* Wed Jul 31 2013 Jan Horak <jhorak@redhat.com> - 17.0.7-2
29a772
- Updated manual page
29a772
29a772
* Thu Jun 20 2013 Jan Horak <jhorak@redhat.com> - 17.0.7-1
29a772
- Update to 17.0.7 ESR
29a772
29a772
* Fri May 17 2013 Jan Horak <jhorak@redhat.com> - 17.0.6-1
29a772
- Update to 17.0.6 ESR
29a772
29a772
* Fri May 17 2013 Martin Stransky <stransky@redhat.com> - 17.0.5-3
29a772
- Removed mozilla prefix from desktop file (rhbz#826960)
29a772
29a772
* Thu Apr 18 2013 Martin Stransky <stransky@redhat.com> - 17.0.5-2
29a772
- Updated XulRunner SDK check
29a772
29a772
* Fri Mar 29 2013 Jan Horak <jhorak@redhat.com> - 17.0.5-1
29a772
- Update to 17.0.5 ESR
29a772
29a772
* Thu Mar 14 2013 Martin Stransky <stransky@redhat.com> - 17.0.4-2
29a772
- Fixed rhbz#837606 - firefox has no x-scheme-handler/http mime
29a772
29a772
* Wed Mar 13 2013 Martin Stransky <stransky@redhat.com> - 17.0.4-1
29a772
- Update to 17.0.4 ESR
29a772
- Added fix for mozbz#239254 - [Linux] Support disk cache on a local path
29a772
29a772
* Tue Jan 15 2013 Martin Stransky <stransky@redhat.com> - 17.0.2-3
29a772
- Added NM preferences
29a772
29a772
* Fri Jan 11 2013 Martin Stransky <stransky@redhat.com> - 17.0.2-2
29a772
- Updated preferences (NFS, nspluginwrapper)
29a772
29a772
* Thu Jan 10 2013 Jan Horak <jhorak@redhat.com> - 17.0.2-1
29a772
- Update to 17.0.2 ESR
29a772
29a772
* Thu Dec 20 2012 Jan Horak <jhorak@redhat.com> - 17.0.1-1
29a772
- Update to 17.0.1 ESR
29a772
29a772
* Mon Oct  8 2012 Jan Horak <jhorak@redhat.com> - 10.0.8-2
29a772
- Update to 10.0.8 ESR
29a772
29a772
* Sat Aug 25 2012 Jan Horak <jhorak@redhat.com> - 10.0.7-1
29a772
- Update to 10.0.7 ESR
29a772
29a772
* Mon Jul 16 2012 Martin Stransky <stransky@redhat.com> - 10.0.6-1
29a772
- Update to 10.0.6 ESR
29a772
29a772
* Mon Jun 25 2012 Martin Stransky <stransky@redhat.com> - 10.0.5-4
29a772
- Enabled WebM
29a772
29a772
* Mon Jun 25 2012 Martin Stransky <stransky@redhat.com> - 10.0.5-2
29a772
- Added fix for mozbz#703633, rhbz#818341
29a772
29a772
* Fri Jun 1 2012 Martin Stransky <stransky@redhat.com> - 10.0.5-1
29a772
- Update to 10.0.5 ESR
29a772
29a772
* Sun Apr 22 2012 Martin Stransky <stransky@redhat.com> - 10.0.4-1
29a772
- Update to 10.0.4 ESR
29a772
29a772
* Tue Mar 6 2012 Martin Stransky <stransky@redhat.com> - 10.0.3-1
29a772
- Update to 10.0.3 ESR
29a772
29a772
* Thu Feb  9 2012 Jan Horak <jhorak@redhat.com> - 10.0.1-1
29a772
- Update to 10.0.1 ESR
29a772
29a772
* Tue Feb 7 2012 Martin Stransky <stransky@redhat.com> - 10.0-3
29a772
- Update to 10.0 ESR
29a772
29a772
* Mon Jan 30 2012 Martin Stransky <stransky@redhat.com> - 10.0-1
29a772
- Update to 10.0
29a772
29a772
* Mon Sep 26 2011 Martin Stransky <stransky@redhat.com> - 7.0-5
29a772
- Update to 7.0
29a772
29a772
* Tue Sep 20 2011 Jan Horak <jhorak@redhat.com> - 7.0-4
29a772
- Update to 7.0 Beta 6
29a772
29a772
* Tue Sep 13 2011 Martin Stransky <stransky@redhat.com> - 7.0-2
29a772
- Update to 7.0 Beta 4
29a772
29a772
* Mon Jul 11 2011 Martin Stransky <stransky@redhat.com> - 5.0-1
29a772
- Update to 5.0
29a772
29a772
* Mon Jun 13 2011 Jan Horak <jhorak@redhat.com> - 3.6.18-1
29a772
- Fixed #698313 - "background-repeat" css property isn't rendered well
29a772
- Update to 3.6.18
29a772
29a772
* Mon Apr 18 2011 Jan Horak <jhorak@redhat.com> - 3.6.17-1
29a772
- Update to 3.6.17
29a772
29a772
* Tue Mar  8 2011 Jan Horak <jhorak@redhat.com> - 3.6.15-1
29a772
- Update to 3.6.15
29a772
29a772
* Mon Feb 21 2011 Jan Horak <jhorak@redhat.com> - 3.6.14-4
29a772
- Update to build3
29a772
29a772
* Tue Feb  8 2011 Jan Horak <jhorak@redhat.com> - 3.6.14-3
29a772
- Update to build2
29a772
29a772
* Wed Jan 26 2011 Jan Horak <jhorak@redhat.com> - 3.6.14-2
29a772
- Update to 3.6.14