7 |
# This also means only STABLE upstream releases, NO betas. |
# This also means only STABLE upstream releases, NO betas. |
8 |
# This is a discussed topic. Please, do not flame it again. |
# This is a discussed topic. Please, do not flame it again. |
9 |
|
|
10 |
# Stay on ESR for stable releases and for cauldron before mageia 3. |
# Stay on ESR for stable releases and for cauldron before mageia 4. |
11 |
# /!\ Do not update more than FF 17 for mga3. /!\ |
# /!\ Do not update more than FF 24 for mga4. /!\ |
12 |
|
|
13 |
%define major 23 |
%define major 24 |
14 |
%define ff_epoch 0 |
%define ff_epoch 0 |
15 |
# (tpg) set version HERE !!! |
# (tpg) set version HERE !!! |
16 |
#define extra esr |
%define extra esr |
17 |
%define extra %nil |
#define extra %nil |
18 |
%define realver %{version}%extra |
%define realver %{version}%extra |
19 |
%define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} |
%define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} |
20 |
|
|
38 |
|
|
39 |
Summary: Next generation web browser |
Summary: Next generation web browser |
40 |
Name: firefox |
Name: firefox |
41 |
Version: %{major}.0.1 |
Version: %{major}.0 |
42 |
Epoch: %{ff_epoch} |
Epoch: %{ff_epoch} |
43 |
Release: %{release} |
Release: %{release} |
44 |
License: MPLv1+ |
License: MPLv1+ |
50 |
Source9: kde.js |
Source9: kde.js |
51 |
Patch1: firefox-6.0-lang.patch |
Patch1: firefox-6.0-lang.patch |
52 |
Patch2: firefox-vendor.patch |
Patch2: firefox-vendor.patch |
|
Patch3: mozilla-firefox-1.5.0.6-systemproxy.patch |
|
53 |
Patch4: firefox-21.0-nss-binary.patch |
Patch4: firefox-21.0-nss-binary.patch |
54 |
# (OpenSuse) add patch to make firefox always use /usr/bin/firefox when "make firefox |
# (OpenSuse) add patch to make firefox always use /usr/bin/firefox when "make firefox |
55 |
# the default web browser" is used fix mdv bug#58784 |
# the default web browser" is used fix mdv bug#58784 |
56 |
Patch5: firefox-21.0-appname.patch |
Patch5: firefox-21.0-appname.patch |
57 |
Patch6: firefox-7.0-fix-str-fmt.patch |
Patch6: firefox-7.0-fix-str-fmt.patch |
|
Patch7: mozilla-firefox-run-mozilla.patch |
|
58 |
Patch8: firefox-disable-check-default-browser.patch |
Patch8: firefox-disable-check-default-browser.patch |
59 |
Patch9: firefox-5.0-asciidel.patch |
Patch9: firefox-5.0-asciidel.patch |
60 |
Patch10: firefox-3.5.3-default-mail-handler.patch |
Patch10: firefox-3.5.3-default-mail-handler.patch |
|
# Patches for kde integration of FF |
|
|
Patch11: firefox-kde.patch |
|
|
Patch12: mozilla-kde.patch |
|
61 |
Patch13: firefox-13-fix-nspr-include.patch |
Patch13: firefox-13-fix-nspr-include.patch |
|
Patch14: firefox-21-fix-cairo-build.patch |
|
62 |
Patch37: firefox-17.0-nss-version.patch |
Patch37: firefox-17.0-nss-version.patch |
|
# (cjw) build against system ogg libs |
|
|
Patch38: firefox-21.0-system-ogg.patch |
|
63 |
BuildRequires: gtk+2-devel |
BuildRequires: gtk+2-devel |
64 |
BuildRequires: unzip |
BuildRequires: unzip |
65 |
BuildRequires: zip |
BuildRequires: zip |
152 |
Files and macros mainly for building Firefox extensions. |
Files and macros mainly for building Firefox extensions. |
153 |
|
|
154 |
%prep |
%prep |
155 |
%if 0%{?extra} |
%if %{?extra} |
156 |
%setup -qn mozilla-%update_channel |
%setup -qn mozilla-%update_channel |
157 |
%else |
%else |
158 |
%setup -qn mozilla-release |
%setup -qn mozilla-release |
159 |
%endif |
%endif |
160 |
%patch1 -p1 -b .lang |
%patch1 -p1 -b .lang |
161 |
%patch2 -p1 -b .vendor |
%patch2 -p1 -b .vendor |
|
#patch3 -p1 -b .systemproxy |
|
162 |
%patch4 -p0 -b .nss |
%patch4 -p0 -b .nss |
163 |
%patch5 -p1 -b .appname |
%patch5 -p1 -b .appname |
|
# It was disabled because firefox3 hangs when using soundwrapper |
|
|
#patch7 -p1 |
|
164 |
%patch8 -p1 -b .disable-software-update |
%patch8 -p1 -b .disable-software-update |
165 |
%patch9 -p1 -b .ascii |
%patch9 -p1 -b .ascii |
166 |
%patch10 -p1 -b .default-mail-handler |
%patch10 -p1 -b .default-mail-handler |
|
%patch14 -p1 |
|
|
## KDE INTEGRATION |
|
|
#patch11 -p1 -b .kde |
|
|
#patch12 -p1 -b .kdemoz |
|
167 |
|
|
168 |
|
|
169 |
%patch37 -p0 |
%patch37 -p0 |
|
#patch38 -p1 |
|
170 |
|
|
171 |
pushd js/src |
pushd js/src |
172 |
autoconf-2.13 |
autoconf-2.13 |