53 BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) |
53 BuildRequires: pkgconfig(gstreamer-plugins-base-0.10) |
54 %endif |
54 %endif |
55 Version: %{mainver} |
55 Version: %{mainver} |
56 Release: 0 |
56 Release: 0 |
57 %define releasedate 2012111600 |
57 %define releasedate 2012111600 |
58 Provides: firefox = %{mainver} |
58 Provides: firefox-esr = %{mainver} |
59 Provides: firefox = %{version}-%{release} |
|
60 Provides: web_browser |
59 Provides: web_browser |
61 Provides: browser(npapi) |
60 Provides: browser(npapi) |
62 # this is needed to match this package with the kde4 helper package without the main package |
61 # this is needed to match this package with the kde4 helper package without the main package |
63 # having a hard requirement on the kde4 package |
62 # having a hard requirement on the kde4 package |
64 %define kde_helper_version 6 |
63 %define kde_helper_version 6 |
65 Provides: mozilla-kde4-version = %{kde_helper_version} |
64 Provides: mozilla-kde4-version = %{kde_helper_version} |
66 Summary: Mozilla Firefox Web Browser |
65 Conflicts: firefox |
|
66 # replace older MozillaFirefox packages for dists up to 11.2 |
|
67 %if %suse_version < 1130 |
|
68 Provides: MozillaFirefox = %{version} |
|
69 Obsoletes: MozillaFirefox < %{version} |
|
70 %else |
|
71 Conflicts: MozillaFirefox |
|
72 %endif |
|
73 Summary: Mozilla Firefox Web Browser ESR |
67 License: MPL-2.0 |
74 License: MPL-2.0 |
68 Group: Productivity/Networking/Web/Browsers |
75 Group: Productivity/Networking/Web/Browsers |
69 Url: http://www.mozilla.org/ |
76 Url: http://www.mozilla.org/ |
70 Source: firefox-%{version}-source.tar.bz2 |
77 Source: firefox-%{version}-source.tar.bz2 |
71 Source1: MozillaFirefox.desktop |
78 Source1: MozillaFirefox.desktop |
122 %global provfind sh -c "grep -v '.so' | %__find_provides" |
129 %global provfind sh -c "grep -v '.so' | %__find_provides" |
123 %global __find_provides %provfind |
130 %global __find_provides %provfind |
124 %define progname firefox |
131 %define progname firefox |
125 %define progdir %{_prefix}/%_lib/%{progname} |
132 %define progdir %{_prefix}/%_lib/%{progname} |
126 %define gnome_dir %{_prefix} |
133 %define gnome_dir %{_prefix} |
127 %if %suse_version > 1130 |
|
128 %define desktop_file_name firefox |
134 %define desktop_file_name firefox |
129 %else |
|
130 %define desktop_file_name %{name} |
|
131 %endif |
|
132 ### build options |
135 ### build options |
133 %define branding 1 |
136 %define branding 1 |
134 %define localize 1 |
137 %define localize 1 |
135 %ifarch ppc ppc64 s390 s390x ia64 %arm |
138 %ifarch ppc ppc64 s390 s390x ia64 %arm |
136 %define crashreporter 0 |
139 %define crashreporter 0 |
156 Development files for Firefox to make packaging of addons easier. |
159 Development files for Firefox to make packaging of addons easier. |
157 |
160 |
158 %if %localize |
161 %if %localize |
159 |
162 |
160 %package translations-common |
163 %package translations-common |
161 Summary: Common translations for MozillaFirefox |
164 Summary: Common translations for Firefox |
162 Group: System/Localization |
165 Group: System/Localization |
163 Provides: locale(%{name}:ar;ca;cs;da;de;en_GB;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) |
166 Provides: locale(%{name}:ar;ca;cs;da;de;en_GB;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) |
164 Requires: %{name} = %{version} |
167 Requires: %{name} = %{version} |
165 Obsoletes: %{name}-translations < %{version}-%{release} |
168 Obsoletes: %{name}-translations < %{version}-%{release} |
|
169 %if %suse_version < 1130 |
|
170 Provides: MozillaFirefox-translations-common = %{version} |
|
171 Obsoletes: MozillaFirefox-translations-common < %{version} |
|
172 %else |
|
173 Conflicts: MozillaFirefox-translations-common |
|
174 %endif |
166 |
175 |
167 %description translations-common |
176 %description translations-common |
168 This package contains several common languages for the user interface |
177 This package contains several common languages for the user interface |
169 of MozillaFirefox. |
178 of MozillaFirefox. |
170 |
179 |
171 %package translations-other |
180 %package translations-other |
172 Summary: Extra translations for MozillaFirefox |
181 Summary: Extra translations for Firefox |
173 Group: System/Localization |
182 Group: System/Localization |
174 Provides: locale(%{name}:ach;af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;el;en_ZA;eo;es_MX;et;eu;fa;ff;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;km;kn;ku;lg;lij;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;vi;zu) |
183 Provides: locale(%{name}:ach;af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;el;en_ZA;eo;es_MX;et;eu;fa;ff;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;km;kn;ku;lg;lij;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;vi;zu) |
175 Requires: %{name} = %{version} |
184 Requires: %{name} = %{version} |
176 Obsoletes: %{name}-translations < %{version}-%{release} |
185 Obsoletes: %{name}-translations < %{version}-%{release} |
|
186 %if %suse_version < 1130 |
|
187 Provides: MozillaFirefox-translations-other = %{version} |
|
188 Obsoletes: MozillaFirefox-translations-other < %{version} |
|
189 %else |
|
190 Conflicts: MozillaFirefox-translations-other |
|
191 %endif |
177 |
192 |
178 %description translations-other |
193 %description translations-other |
179 This package contains rarely used languages for the user interface |
194 This package contains rarely used languages for the user interface |
180 of MozillaFirefox. |
195 of Firefox. |
181 %endif |
196 %endif |
182 |
197 |
183 %package branding-upstream |
198 %package branding-upstream |
184 Summary: Upstream branding for MozillaFirefox |
199 Summary: Upstream branding for Firefox |
185 Group: Productivity/Networking/Web/Browsers |
200 Group: Productivity/Networking/Web/Browsers |
186 Provides: %{name}-branding = 5.0 |
201 Provides: %{name}-branding = 5.0 |
187 Conflicts: otherproviders(%{name}-branding) |
202 Conflicts: otherproviders(%{name}-branding) |
|
203 Conflicts: otherproviders(MozillaFirefox-branding) |
188 Supplements: packageand(%{name}:branding-upstream) |
204 Supplements: packageand(%{name}:branding-upstream) |
189 #BRAND: Provide three files - |
205 #BRAND: Provide three files - |
190 #BRAND: /usr/lib/firefox/browserconfig.properties that contains the |
206 #BRAND: /usr/lib/firefox/browserconfig.properties that contains the |
191 #BRAND: default homepage and some other default configuration options |
207 #BRAND: default homepage and some other default configuration options |
192 #BRAND: /usr/lib/firefox/defaults/profile/bookmarks.html that contains |
208 #BRAND: /usr/lib/firefox/defaults/profile/bookmarks.html that contains |
297 ac_add_options --disable-tests |
313 ac_add_options --disable-tests |
298 ac_add_options --disable-debug |
314 ac_add_options --disable-debug |
299 ac_add_options --enable-startup-notification |
315 ac_add_options --enable-startup-notification |
300 #ac_add_options --enable-chrome-format=jar |
316 #ac_add_options --enable-chrome-format=jar |
301 ac_add_options --enable-update-channel=%{update_channel} |
317 ac_add_options --enable-update-channel=%{update_channel} |
302 ac_add_options --disable-webrtc # webrtc build is broken for system NSPR |
318 #ac_add_options --disable-webrtc # webrtc build is broken for system NSPR |
303 EOF |
319 EOF |
304 %if %suse_version > 1130 |
320 %if %suse_version > 1130 |
305 cat << EOF >> $MOZCONFIG |
321 cat << EOF >> $MOZCONFIG |
306 ac_add_options --disable-gnomevfs |
322 ac_add_options --disable-gnomevfs |
307 ac_add_options --enable-gio |
323 ac_add_options --enable-gio |