47 BuildRequires: mozilla-nspr-devel >= 4.9.0 |
47 BuildRequires: mozilla-nspr-devel >= 4.9.0 |
48 BuildRequires: mozilla-nss-devel >= 3.13.4 |
48 BuildRequires: mozilla-nss-devel >= 3.13.4 |
49 BuildRequires: nss-shared-helper-devel |
49 BuildRequires: nss-shared-helper-devel |
50 Version: %{mainver} |
50 Version: %{mainver} |
51 Release: 0 |
51 Release: 0 |
52 %define releasedate 2012042500 |
52 %define releasedate 2012042800 |
53 Provides: firefox = %{mainver} |
53 Provides: firefox = %{mainver} |
54 Provides: firefox = %{version}-%{release} |
54 Provides: firefox = %{version}-%{release} |
55 Provides: web_browser |
55 Provides: web_browser |
56 Provides: browser(npapi) |
56 Provides: browser(npapi) |
57 # this is needed to match this package with the kde4 helper package without the main package |
57 # this is needed to match this package with the kde4 helper package without the main package |
86 Patch7: mozilla-language.patch |
86 Patch7: mozilla-language.patch |
87 Patch8: mozilla-ntlm-full-path.patch |
87 Patch8: mozilla-ntlm-full-path.patch |
88 Patch9: mozilla-repo.patch |
88 Patch9: mozilla-repo.patch |
89 Patch10: mozilla-dump_syms-static.patch |
89 Patch10: mozilla-dump_syms-static.patch |
90 Patch11: mozilla-sle11.patch |
90 Patch11: mozilla-sle11.patch |
91 Patch12: mozilla-linux3.patch |
91 Patch12: mozilla-disable-neon-option.patch |
92 Patch14: mozilla-disable-neon-option.patch |
92 Patch13: mozilla-yarr-pcre.patch |
93 Patch15: mozilla-yarr-pcre.patch |
|
94 Patch16: mozilla-system-nspr.patch |
|
95 Patch17: mozilla-revert_621446.patch |
|
96 Patch18: mozilla-libnotify.patch |
|
97 Patch19: mozilla-gcc47.patch |
|
98 # Firefox/browser |
93 # Firefox/browser |
99 Patch31: firefox-browser-css.patch |
94 Patch30: firefox-browser-css.patch |
100 Patch32: firefox-cross-desktop.patch |
95 Patch31: firefox-kde.patch |
101 Patch33: firefox-kde.patch |
96 Patch32: firefox-kde-114.patch |
102 Patch34: firefox-kde-114.patch |
97 Patch33: firefox-no-default-ualocale.patch |
103 Patch38: firefox-no-default-ualocale.patch |
98 Patch34: firefox-multilocale-chrome.patch |
104 Patch39: firefox-multilocale-chrome.patch |
99 Patch35: firefox-branded-icons.patch |
105 Patch41: firefox-branded-icons.patch |
|
106 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
100 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
107 Requires(post): coreutils shared-mime-info desktop-file-utils |
101 Requires(post): coreutils shared-mime-info desktop-file-utils |
108 Requires(postun): shared-mime-info desktop-file-utils |
102 Requires(postun): shared-mime-info desktop-file-utils |
109 Requires: %{name}-branding > 4.0 |
103 Requires: %{name}-branding > 4.0 |
110 Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) |
104 Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) |
223 %patch9 -p1 |
217 %patch9 -p1 |
224 %patch10 -p1 |
218 %patch10 -p1 |
225 %if %suse_version < 1120 |
219 %if %suse_version < 1120 |
226 %patch11 -p1 |
220 %patch11 -p1 |
227 %endif |
221 %endif |
228 %patch12 -p1 |
222 #%patch12 -p1 |
229 %patch14 -p1 |
223 #%patch13 -p1 |
230 #%patch15 -p1 |
224 # |
231 %patch16 -p1 |
225 %patch30 -p1 |
232 %patch17 -p1 |
226 %if %suse_version >= 1110 |
233 %patch18 -p1 |
|
234 %patch19 -p1 |
|
235 # |
|
236 %patch31 -p1 |
227 %patch31 -p1 |
|
228 %endif |
|
229 %if %suse_version >= 1140 |
237 %patch32 -p1 |
230 %patch32 -p1 |
238 %if %suse_version >= 1110 |
231 %endif |
239 %patch33 -p1 |
232 %patch33 -p1 |
240 %endif |
|
241 %if %suse_version >= 1140 |
|
242 %patch34 -p1 |
233 %patch34 -p1 |
243 %endif |
234 %patch35 -p1 |
244 %patch38 -p1 |
|
245 %patch39 -p1 |
|
246 %patch41 -p1 |
|
247 |
235 |
248 %build |
236 %build |
249 # no need to add build time to binaries |
237 # no need to add build time to binaries |
250 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" |
238 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" |
251 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" |
239 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" |