1 # |
1 # |
2 # spec file for package mozilla-xulrunner193 (Version 1.9.3a) |
2 # spec file for package mozilla-xulrunner193 (Version 2.0b) |
3 # |
3 # |
4 # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. |
4 # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. |
5 # 2006-2010 Wolfgang Rosenauer |
5 # 2006-2010 Wolfgang Rosenauer |
6 # |
6 # |
7 # All modifications and additions to the file contributed by third parties |
7 # All modifications and additions to the file contributed by third parties |
31 BuildRequires: libproxy-devel |
31 BuildRequires: libproxy-devel |
32 %else |
32 %else |
33 BuildRequires: wireless-tools |
33 BuildRequires: wireless-tools |
34 %endif |
34 %endif |
35 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
35 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
36 Version: 1.9.3a |
36 Version: 2.0b |
37 Release: 1 |
37 Release: 1 |
38 %define releasedate 2010060900 |
38 %define releasedate 2010063000 |
39 %define version_internal 1.9.3a5pre |
39 %define version_internal 2.0b2pre |
40 %define apiversion 1.9.3 |
40 %define apiversion 2.0.0 |
41 %define uaweight 192900 |
41 %define uaweight 199900 |
42 Summary: Mozilla Runtime Environment 1.9.3 |
42 Summary: Mozilla Runtime Environment 2.0 |
43 Url: http://www.mozilla.org |
43 Url: http://www.mozilla.org |
44 Group: Productivity/Other |
44 Group: Productivity/Other |
45 Provides: gecko193 |
45 Provides: gecko20 |
46 %if %suse_version >= 1110 |
46 %if %suse_version >= 1110 |
47 # this is needed to match this package with the kde4 helper package without the main package |
47 # this is needed to match this package with the kde4 helper package without the main package |
48 # having a hard requirement on the kde4 package |
48 # having a hard requirement on the kde4 package |
49 #%define kde_helper_version 6 |
49 #%define kde_helper_version 6 |
50 #Provides: mozilla-kde4-version = %{kde_helper_version} |
50 #Provides: mozilla-kde4-version = %{kde_helper_version} |
75 Patch13: toolkit-ui-lockdown.patch |
75 Patch13: toolkit-ui-lockdown.patch |
76 # --- |
76 # --- |
77 Patch14: mozilla-cpuid.patch |
77 Patch14: mozilla-cpuid.patch |
78 Patch15: mozilla-libvpx-buildfix.patch |
78 Patch15: mozilla-libvpx-buildfix.patch |
79 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
79 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
80 Requires: mozilla-js193 |
80 Requires: mozilla-js193 = %{version} |
81 Requires(post): update-alternatives coreutils |
81 Requires(post): update-alternatives coreutils |
82 Requires(preun): update-alternatives coreutils |
82 Requires(preun): update-alternatives coreutils |
83 ### build configuration ### |
83 ### build configuration ### |
84 %define crashreporter 1 |
84 %define crashreporter 1 |
85 %define has_system_nspr 1 |
85 %define has_system_nspr 1 |
90 %define has_system_cairo 1 |
90 %define has_system_cairo 1 |
91 %endif |
91 %endif |
92 ### configuration end ### |
92 ### configuration end ### |
93 %define _use_internal_dependency_generator 0 |
93 %define _use_internal_dependency_generator 0 |
94 %define __find_requires sh %{SOURCE2} |
94 %define __find_requires sh %{SOURCE2} |
95 %global provfind sh -c "grep -Ev 'mozsqlite3|dbusservice|unixprint|mozalloc' | %__find_provides" |
95 %global provfind sh -c "grep -Ev 'mozsqlite3|dbusservice|unixprint' | %__find_provides" |
96 %global __find_provides %provfind |
96 %global __find_provides %provfind |
97 %if %has_system_nspr |
97 %if %has_system_nspr |
98 BuildRequires: mozilla-nspr-devel |
98 BuildRequires: mozilla-nspr-devel |
99 Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) |
99 Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) |
100 %endif |
100 %endif |
122 with only mild differences from the published standard. |
122 with only mild differences from the published standard. |
123 |
123 |
124 |
124 |
125 %package devel |
125 %package devel |
126 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
126 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
127 Summary: XULRunner/Gecko SDK 1.9.3 |
127 Summary: XULRunner/Gecko SDK 2.0 |
128 Group: Development/Libraries/Other |
128 Group: Development/Libraries/Other |
129 %if %has_system_nspr |
129 %if %has_system_nspr |
130 Requires: mozilla-nspr-devel >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr-devel) |
130 Requires: mozilla-nspr-devel >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr-devel) |
131 %endif |
131 %endif |
132 %if %has_system_nss |
132 %if %has_system_nss |
139 |
139 |
140 %if %localize |
140 %if %localize |
141 |
141 |
142 %package translations-common |
142 %package translations-common |
143 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
143 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
144 Summary: Common translations for XULRunner 1.9.3 |
144 Summary: Common translations for XULRunner 2.0 |
145 Group: System/Localization |
145 Group: System/Localization |
146 Requires: %{name} = %{version} |
146 Requires: %{name} = %{version} |
147 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) |
147 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) |
148 Obsoletes: %{name}-translations < %{version}-%{release} |
148 Obsoletes: %{name}-translations < %{version}-%{release} |
149 |
149 |
156 delivered in the main package. |
156 delivered in the main package. |
157 |
157 |
158 |
158 |
159 %package translations-other |
159 %package translations-other |
160 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
160 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
161 Summary: Extra translations for XULRunner 1.9.3 |
161 Summary: Extra translations for XULRunner 2.0 |
162 Group: System/Localization |
162 Group: System/Localization |
163 Requires: %{name} = %{version} |
163 Requires: %{name} = %{version} |
164 Provides: locale(%{name}:af;as;be;bg;bn_BD;bn_IN;cy;el;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gl;gu_IN;he;hi_IN;hr;id;is;ka;kk;kn;ku;lt;lv;mk;ml;mr;nn_NO;oc;or;pa_IN;rm;ro;si;sk;sl;sq;sr;ta;ta_LK;te;th;tr;uk;vi) |
164 Provides: locale(%{name}:af;as;be;bg;bn_BD;bn_IN;cy;el;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gl;gu_IN;he;hi_IN;hr;id;is;ka;kk;kn;ku;lt;lv;mk;ml;mr;nn_NO;oc;or;pa_IN;rm;ro;si;sk;sl;sq;sr;ta;ta_LK;te;th;tr;uk;vi) |
165 Obsoletes: %{name}-translations < %{version}-%{release} |
165 Obsoletes: %{name}-translations < %{version}-%{release} |
166 |
166 |