29a772
# Use system sqlite?
03d5fe
%define system_sqlite           0
03d5fe
%define system_ffi              1
29a772
29a772
# Use system nss/nspr?
29a772
%define system_nss              1
29a772
8c50df
# Gstreamer 1.0 support
8c50df
%define enable_gstreamer        1
8c50df
6ca8db
# Use system cairo?
6ca8db
%define system_cairo            0
6ca8db
29a772
# Build as a debug package?
29a772
%define debug_build             0
29a772
29a772
# Do we build a final version?
29a772
%define official_branding       1
29a772
29a772
# Minimal required versions
29a772
%if %{?system_nss}
3a67ab
%global nspr_version 4.10.8
3a67ab
%global nss_version 3.18.0
29a772
%endif
29a772
29a772
%define cairo_version 1.10.2
29a772
%define freetype_version 2.1.9
03d5fe
%define ffi_version 3.0.9
03d5fe
%global libvpx_version 1.3.0
3a67ab
%define _default_patch_fuzz 2
29a772
29a772
# Bookmark variables
29a772
%define default_bookmarks_file  %{_datadir}/bookmarks/default-bookmarks.html
29a772
%define firefox_app_id          \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
29a772
29a772
%define mozappdir               %{_libdir}/%{name}
29a772
%define langpackdir             %{mozappdir}/langpacks
29a772
29a772
%if %{?system_sqlite}
03d5fe
%define sqlite_version 3.8.4.2
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
%define official_branding       1
29a772
%define build_langpacks         1
29a772
29a772
%if %{official_branding}
3a67ab
%define tarballdir  mozilla-esr38
29a772
%define ext_version esr
29a772
%endif
29a772
d8cebe
29a772
Summary:        Mozilla Firefox Web browser
29a772
Name:           firefox
b42477
Version:        38.1.1
690287
Release:        1%{?prever}%{?dist}
29a772
URL:            http://www.mozilla.org/projects/firefox/
29a772
License:        MPLv1.1 or GPLv2+ or LGPLv2+
29a772
Group:          Applications/Internet
29a772
# From ftp://ftp.mozilla.org/pub/firefox/releases/%{version}%{?pretag}/source
29a772
Source0:        firefox-%{version}%{?prever}%{?ext_version}.source.tar.bz2
29a772
%if %{build_langpacks}
b42477
Source1:        firefox-langpacks-%{version}%{?ext_version}-20150806.tar.bz2
29a772
%endif
29a772
Source10:       firefox-mozconfig
29a772
Source11:       firefox-mozconfig-branded
b42477
Source12:       firefox-redhat-default-prefs.js
29a772
Source20:       firefox.desktop
29a772
Source21:       firefox.sh.in
29a772
Source23:       firefox.1
8c50df
Source24:       mozilla-api-key
29a772
Source100:      find-external-requires
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
Patch7:         build-no-format.patch
3a67ab
Patch8:         firefox-ppc64le.patch
3a67ab
Patch9:         firefox-debug.patch
1394b5
Patch10:        firefox-nss-3.19.1.patch
3a67ab
Patch11:        build-nspr-prbool.patch
29a772
29a772
# RPM specific patches
3a67ab
Patch101:        firefox-default.patch
3a67ab
Patch102:        firefox-enable-addons.patch
3a67ab
Patch103:        rhbz-966424.patch
3a67ab
Patch106:        firefox-enable-plugins.patch
3a67ab
Patch108:        rhbz-1014858.patch
3a67ab
# Fix Skia Neon stuff on AArch64
3a67ab
Patch109:        aarch64-fix-skia.patch
3a67ab
7e5e97
7e5e97
# Upstream patches
03d5fe
Patch200:       firefox-duckduckgo.patch
3a67ab
Patch201:       mozilla-1005535.patch
3a67ab
Patch202:       mozilla-1152515.patch
29a772
29a772
%if %{official_branding}
29a772
# Required by Mozilla Corporation
29a772
29a772
%else
29a772
# Not yet approved by Mozillla Corporation
29a772
29a772
29a772
%endif
29a772
29a772
# ---------------------------------------------------
29a772
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
29a772
BuildRequires:  desktop-file-utils
29a772
29a772
BuildRequires:  mesa-libGL-devel
29a772
BuildRequires:  system-bookmarks
29a772
Requires:       redhat-indexhtml
b42477
29a772
%if %{?system_sqlite}
29a772
BuildRequires:  sqlite-devel >= %{sqlite_version}
29a772
Requires:       sqlite >= %{sqlite_build_version}
29a772
%endif
8c50df
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
03d5fe
BuildRequires:  libvpx-devel >= %{libvpx_version}
03d5fe
Requires:       libvpx >= %{libvpx_version}
8c50df
%if %{?enable_gstreamer}
8c50df
BuildRequires:  gstreamer1-devel
8c50df
BuildRequires:  gstreamer1-plugins-base-devel
8c50df
%endif
03d5fe
BuildRequires:  hunspell-devel
29a772
BuildRequires:  libpng-devel
29a772
BuildRequires:  libjpeg-devel
29a772
BuildRequires:  zip
29a772
BuildRequires:  bzip2-devel
29a772
BuildRequires:  zlib-devel
29a772
BuildRequires:  libIDL-devel
29a772
BuildRequires:  gtk2-devel
29a772
BuildRequires:  gnome-vfs2-devel
29a772
BuildRequires:  libgnome-devel
29a772
BuildRequires:  libgnomeui-devel
29a772
BuildRequires:  krb5-devel
29a772
BuildRequires:  pango-devel
29a772
BuildRequires:  freetype-devel >= %{freetype_version}
29a772
BuildRequires:  libXt-devel
29a772
BuildRequires:  libXrender-devel
29a772
BuildRequires:  startup-notification-devel
29a772
BuildRequires:  alsa-lib-devel
29a772
BuildRequires:  libnotify-devel
29a772
BuildRequires:  autoconf213
29a772
BuildRequires:  mesa-libGL-devel
03d5fe
BuildRequires:  pulseaudio-libs-devel
29a772
03d5fe
Requires:       mozilla-filesystem
29a772
Requires:       liberation-fonts-common
29a772
Requires:       liberation-sans-fonts
29a772
29a772
BuildRequires:  autoconf213
29a772
Obsoletes:      mozilla <= 37:1.7.13
29a772
Obsoletes:      firefox < 24.1.0
29a772
Conflicts:      firefox < 24.1.0
29a772
Provides:       webclient
29a772
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
3a67ab
# test if they exists
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
%patch7 -p1 -b .no-format
3a67ab
%patch8 -p2 -b .ppc64le
3a67ab
%if %{?debug_build}
3a67ab
%patch9 -p1 -b .debug
03d5fe
%endif
1394b5
%patch10 -p1 -b .nss-3.19.1
3a67ab
%patch11 -p1 -b .nspr-prbool
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
%patch108 -p1 -b .rhbz-1014858
3a67ab
%patch109 -p1 -b .aarch64
29a772
03d5fe
# For branding specific patches.
29a772
%patch200 -p1 -b .duckduckgo
3a67ab
%patch201 -p1 -b .mozbz-1005535
3a67ab
%patch202 -p1 -b .mozbz-1152515
29a772
6ca8db
# Upstream patches
6ca8db
29a772
%if %{official_branding}
29a772
# Required by Mozilla Corporation
29a772
29a772
%else
29a772
# Not yet approved by Mozilla Corporation
29a772
29a772
%endif
29a772
29a772
29a772
%{__rm} -f .mozconfig
29a772
%{__cp} %{SOURCE10} .mozconfig
29a772
%if %{official_branding}
29a772
%{__cat} %{SOURCE11} >> .mozconfig
29a772
%endif
8c50df
%{__cp} %{SOURCE24} mozilla-api-key
29a772
29a772
%if %{?system_sqlite}
29a772
echo "ac_add_options --enable-system-sqlite" >> .mozconfig
29a772
%else
29a772
echo "ac_add_options --disable-system-sqlite" >> .mozconfig
29a772
%endif
29a772
29a772
echo "ac_add_options --with-system-libvpx" >> .mozconfig
29a772
6ca8db
%if %{?system_cairo}
6ca8db
echo "ac_add_options --enable-system-cairo" >> .mozconfig
6ca8db
%else
6ca8db
echo "ac_add_options --disable-system-cairo" >> .mozconfig
6ca8db
%endif
6ca8db
6ca8db
%if %{?system_ffi}
6ca8db
echo "ac_add_options --enable-system-ffi" >> .mozconfig
6ca8db
%endif
6ca8db
29a772
%if %{?system_nss}
29a772
echo "ac_add_options --with-system-nspr" >> .mozconfig
29a772
echo "ac_add_options --with-system-nss" >> .mozconfig
29a772
%else
29a772
echo "ac_add_options --without-system-nspr" >> .mozconfig
29a772
echo "ac_add_options --without-system-nss" >> .mozconfig
29a772
%endif
29a772
8c50df
%if %{?enable_gstreamer}
8c50df
echo "ac_add_options --enable-gstreamer=1.0" >> .mozconfig
8c50df
%else
8c50df
echo "ac_add_options --disable-gstreamer" >> .mozconfig
8c50df
%endif
8c50df
29a772
%ifnarch %{ix86} x86_64
29a772
echo "ac_add_options --disable-methodjit" >> .mozconfig
29a772
echo "ac_add_options --disable-monoic" >> .mozconfig
29a772
echo "ac_add_options --disable-polyic" >> .mozconfig
29a772
echo "ac_add_options --disable-tracejit" >> .mozconfig
29a772
%endif
29a772
03d5fe
# RHEL 7 mozconfig changes:
29a772
echo "ac_add_options --enable-system-hunspell" >> .mozconfig
29a772
echo "ac_add_options --enable-libnotify" >> .mozconfig
29a772
echo "ac_add_options --enable-startup-notification" >> .mozconfig
29a772
echo "ac_add_options --enable-jemalloc" >> .mozconfig
29a772
6ca8db
# Debug build flags
6ca8db
%if %{?debug_build}
6ca8db
echo "ac_add_options --enable-debug" >> .mozconfig
6ca8db
echo "ac_add_options --disable-optimize" >> .mozconfig
6ca8db
%else
6ca8db
echo "ac_add_options --disable-debug" >> .mozconfig
6ca8db
echo "ac_add_options --enable-optimize" >> .mozconfig
6ca8db
%endif
6ca8db
29a772
#---------------------------------------------------------------------
29a772
29a772
%build
29a772
%if %{?system_sqlite}
29a772
# Do not proceed with build if the sqlite require would be broken:
29a772
# make sure the minimum requirement is non-empty, ...
29a772
sqlite_version=$(expr "%{sqlite_version}" : '\([0-9]*\.\)[0-9]*\.') || exit 1
29a772
# ... and that major number of the computed build-time version matches:
29a772
case "%{sqlite_build_version}" in
29a772
  "$sqlite_version"*) ;;
29a772
  *) exit 1 ;;
29a772
esac
29a772
%endif
29a772
29a772
cd %{tarballdir}
29a772
29a772
# Mozilla builds with -Wall with exception of a few warnings which show up
29a772
# everywhere in the code; so, don't override that.
29a772
MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS -fpermissive" | %{__sed} -e 's/-Wall//')
29a772
%if %{?debug_build}
29a772
MOZ_OPT_FLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-O2//')
29a772
%endif
24df8e
# -Werror=format-security causes build failures when -Wno-format is explicitly given
24df8e
# for some sources
24df8e
MOZ_OPT_FLAGS="$MOZ_OPT_FLAGS -Wformat-security -Wformat -Werror=format-security"
24df8e
29a772
%ifarch s390
29a772
MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | %{__sed} -e 's/-g/-g1/')
29a772
%endif
29a772
%ifarch s390 %{arm} ppc
29a772
MOZ_LINK_FLAGS="-Wl,--no-keep-memory -Wl,--reduce-memory-overheads"
29a772
%endif
29a772
3a67ab
export CFLAGS=$(echo "$MOZ_OPT_FLAGS" | %{__sed} -e 's/-fpermissive//')
29a772
export CXXFLAGS=$MOZ_OPT_FLAGS
29a772
export LDFLAGS=$MOZ_LINK_FLAGS
29a772
29a772
export PREFIX='%{_prefix}'
29a772
export LIBDIR='%{_libdir}'
29a772
29a772
MOZ_SMP_FLAGS=-j1
29a772
%ifnarch ppc ppc64 s390 s390x
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
%endif
29a772
29a772
MOZ_APP_DIR=%{_libdir}/%{name}
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
29a772
# set up our default bookmarks
29a772
%{__cp} -p %{default_bookmarks_file} objdir/dist/bin/browser/defaults/profile/bookmarks.html
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
29a772
DESTDIR=$RPM_BUILD_ROOT make -C objdir install
29a772
29a772
%{__mkdir_p} $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_datadir}/applications}
29a772
29a772
desktop-file-install \
29a772
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
29a772
  --add-category WebBrowser \
29a772
  --add-category Network \
29a772
  %{SOURCE20}
29a772
29a772
# set up the firefox start script
29a772
rm -rf $RPM_BUILD_ROOT%{_bindir}/firefox
29a772
cp %{SOURCE21} $RPM_BUILD_ROOT%{_bindir}/firefox
29a772
%{__chmod} 755 $RPM_BUILD_ROOT%{_bindir}/firefox
29a772
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}
29a772
%{__tar} xf %{SOURCE1}
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() {
690287
language_long=$1
690287
language_short=$2
690287
cd $RPM_BUILD_ROOT%{langpackdir}
690287
ln -s langpack-$language_long@firefox.mozilla.org.xpi langpack-$language_short@firefox.mozilla.org.xpi
690287
cd -
690287
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
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
29a772
# Use the system hunspell dictionaries for RHEL6+
29a772
%{__rm} -rf ${RPM_BUILD_ROOT}%{mozappdir}/dictionaries
29a772
ln -s %{_datadir}/myspell ${RPM_BUILD_ROOT}%{mozappdir}/dictionaries
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
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/*
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
29a772
%{_datadir}/applications/%{name}.desktop
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
29a772
%{mozappdir}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
29a772
%dir %{mozappdir}/langpacks
29a772
%{mozappdir}/browser/icons
29a772
%{mozappdir}/browser/searchplugins
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}/chrome.manifest
29a772
%{mozappdir}/components/*.so
29a772
%{mozappdir}/components/*.manifest
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
3a67ab
%{mozappdir}/gmp-clearkey
03d5fe
%if !%{?system_nss}
03d5fe
%{mozappdir}/*.chk
03d5fe
%endif
29a772
29a772
#we don't ship firefox-devel package
29a772
%exclude %{_datadir}/idl/*
29a772
%exclude %{_includedir}/*
29a772
%exclude %{_libdir}/%{name}-devel-*/*
29a772
29a772
#---------------------------------------------------------------------
29a772
29a772
%changelog
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