49 BuildRequires: libproxy-devel |
49 BuildRequires: libproxy-devel |
50 %else |
50 %else |
51 BuildRequires: wireless-tools |
51 BuildRequires: wireless-tools |
52 %endif |
52 %endif |
53 BuildRequires: mozilla-nspr-devel >= 4.10.3 |
53 BuildRequires: mozilla-nspr-devel >= 4.10.3 |
54 BuildRequires: mozilla-nss-devel >= 3.15.4 |
54 BuildRequires: mozilla-nss-devel >= 3.15.5 |
55 BuildRequires: nss-shared-helper-devel |
55 BuildRequires: nss-shared-helper-devel |
56 BuildRequires: pkgconfig(libpulse) |
56 BuildRequires: pkgconfig(libpulse) |
57 %if %suse_version > 1210 |
57 %if %suse_version > 1210 |
58 BuildRequires: pkgconfig(gstreamer-%gstreamer_ver) |
58 BuildRequires: pkgconfig(gstreamer-%gstreamer_ver) |
59 BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver) |
59 BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver) |
62 Recommends: gstreamer-0_10-fluendo-mp3 |
62 Recommends: gstreamer-0_10-fluendo-mp3 |
63 Recommends: gstreamer-0_10-plugins-ffmpeg |
63 Recommends: gstreamer-0_10-plugins-ffmpeg |
64 %endif |
64 %endif |
65 Version: %{mainver} |
65 Version: %{mainver} |
66 Release: 0 |
66 Release: 0 |
67 %define releasedate 2014021700 |
67 %define releasedate 2014030600 |
68 Provides: firefox = %{mainver} |
68 Provides: firefox = %{mainver} |
69 Provides: firefox = %{version}-%{release} |
69 Provides: firefox = %{version}-%{release} |
70 Provides: web_browser |
70 Provides: web_browser |
71 Provides: browser(npapi) |
71 Provides: browser(npapi) |
72 # this is needed to match this package with the kde4 helper package without the main package |
72 # this is needed to match this package with the kde4 helper package without the main package |
170 |
170 |
171 %description devel |
171 %description devel |
172 Development files for Firefox to make packaging of addons easier. |
172 Development files for Firefox to make packaging of addons easier. |
173 |
173 |
174 %if %localize |
174 %if %localize |
175 |
|
176 %package translations-common |
175 %package translations-common |
177 Summary: Common translations for Firefox |
176 Summary: Common translations for Firefox |
178 Group: System/Localization |
177 Group: System/Localization |
179 Provides: locale(%{name}:ar;ca;cs;da;de;en_GB;el;es_AR;es_CL;es_ES;fi;fr;hu;it;ja;ko;nb_NO;nl;pl;pt_BR;pt_PT;ru;sv_SE;zh_CN;zh_TW) |
178 Provides: locale(%{name}:ar;ca;cs;da;de;en_GB;el;es_AR;es_CL;es_ES;fi;fr;hu;it;ja;ko;nb_NO;nl;pl;pt_BR;pt_PT;ru;sv_SE;zh_CN;zh_TW) |
180 Requires: %{name} = %{version} |
179 Requires: %{name} = %{version} |
300 ac_add_options --sysconfdir=%{_sysconfdir} |
303 ac_add_options --sysconfdir=%{_sysconfdir} |
301 ac_add_options --mandir=%{_mandir} |
304 ac_add_options --mandir=%{_mandir} |
302 ac_add_options --includedir=%{_includedir} |
305 ac_add_options --includedir=%{_includedir} |
303 ac_add_options --with-system-nspr |
306 ac_add_options --with-system-nspr |
304 ac_add_options --with-system-nss |
307 ac_add_options --with-system-nss |
|
308 %if %{localize} |
305 ac_add_options --with-l10n-base=$RPM_BUILD_DIR/l10n |
309 ac_add_options --with-l10n-base=$RPM_BUILD_DIR/l10n |
|
310 %endif |
306 #ac_add_options --with-system-jpeg # libjpeg-turbo is used internally |
311 #ac_add_options --with-system-jpeg # libjpeg-turbo is used internally |
307 #ac_add_options --with-system-png # doesn't work because of missing APNG support |
312 #ac_add_options --with-system-png # doesn't work because of missing APNG support |
308 ac_add_options --with-system-zlib |
313 ac_add_options --with-system-zlib |
309 ac_add_options --disable-installer |
314 ac_add_options --disable-installer |
310 ac_add_options --disable-updater |
315 ac_add_options --disable-updater |
313 ac_add_options --enable-startup-notification |
318 ac_add_options --enable-startup-notification |
314 #ac_add_options --enable-chrome-format=jar |
319 #ac_add_options --enable-chrome-format=jar |
315 ac_add_options --enable-update-channel=%{update_channel} |
320 ac_add_options --enable-update-channel=%{update_channel} |
316 EOF |
321 EOF |
317 %if %suse_version > 1130 |
322 %if %suse_version > 1130 |
318 cat << EOF >> $MOZCONFIG |
|
319 ac_add_options --disable-gnomevfs |
323 ac_add_options --disable-gnomevfs |
320 ac_add_options --enable-gio |
324 ac_add_options --enable-gio |
321 EOF |
|
322 %endif |
325 %endif |
323 %if %suse_version < 1220 |
326 %if %suse_version < 1220 |
324 cat << EOF >> $MOZCONFIG |
|
325 ac_add_options --disable-gstreamer |
327 ac_add_options --disable-gstreamer |
326 EOF |
|
327 %endif |
328 %endif |
328 %if %branding |
329 %if %branding |
329 cat << EOF >> $MOZCONFIG |
|
330 ac_add_options --enable-official-branding |
330 ac_add_options --enable-official-branding |
331 EOF |
|
332 %endif |
331 %endif |
333 %if %suse_version > 1110 |
332 %if %suse_version > 1110 |
334 cat << EOF >> $MOZCONFIG |
|
335 ac_add_options --enable-libproxy |
333 ac_add_options --enable-libproxy |
336 EOF |
|
337 %endif |
334 %endif |
338 %if ! %crashreporter |
335 %if ! %crashreporter |
339 cat << EOF >> $MOZCONFIG |
|
340 ac_add_options --disable-crashreporter |
336 ac_add_options --disable-crashreporter |
341 EOF |
|
342 %endif |
337 %endif |
343 # Disable neon for arm as it does not build correctly |
338 # Disable neon for arm as it does not build correctly |
344 %ifarch %arm |
339 %ifarch %arm |
345 cat << EOF >> $MOZCONFIG |
340 cat << EOF >> $MOZCONFIG |
346 ac_add_options --disable-neon |
341 ac_add_options --disable-neon |
347 EOF |
342 EOF |
348 %endif |
343 %endif |
349 %ifnarch %ix86 x86_64 |
344 %ifnarch %ix86 x86_64 |
350 cat << EOF >> $MOZCONFIG |
|
351 ac_add_options --disable-webrtc |
345 ac_add_options --disable-webrtc |
352 EOF |
|
353 %endif |
346 %endif |
354 make -f client.mk build |
347 make -f client.mk build |
355 |
348 |
356 %install |
349 %install |
357 cd $RPM_BUILD_DIR/obj |
350 cd $RPM_BUILD_DIR/obj |