equal
deleted
inserted
replaced
30 BuildRequires: wireless-tools |
30 BuildRequires: wireless-tools |
31 %endif |
31 %endif |
32 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
32 License: GPLv2+ ; LGPLv2.1+ ; MPLv1.1+ |
33 Version: 2.0b |
33 Version: 2.0b |
34 Release: 1 |
34 Release: 1 |
35 %define releasedate 2010110500 |
35 %define releasedate 2010120700 |
36 %define version_internal 2.0b7 |
36 %define version_internal 2.0b8pre |
37 %define apiversion 2.0 |
37 %define apiversion 2.0 |
38 %define uaweight 199900 |
38 %define uaweight 199900 |
39 Summary: Mozilla Runtime Environment 2.0 |
39 Summary: Mozilla Runtime Environment 2.0 |
40 Url: http://www.mozilla.org |
40 Url: http://www.mozilla.org |
41 Group: Productivity/Other |
41 Group: Productivity/Other |
68 Patch8: mozilla-gconf-backend.patch |
68 Patch8: mozilla-gconf-backend.patch |
69 Patch9: gecko-lockdown.patch |
69 Patch9: gecko-lockdown.patch |
70 Patch10: toolkit-ui-lockdown.patch |
70 Patch10: toolkit-ui-lockdown.patch |
71 # --- |
71 # --- |
72 Patch11: mozilla-cpuid.patch |
72 Patch11: mozilla-cpuid.patch |
73 Patch12: mozilla-buildsymbols.patch |
73 Patch12: mozilla-language.patch |
74 Patch13: mozilla-language.patch |
|
75 Patch14: mozilla-jemalloc-symbols.patch |
|
76 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
74 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
77 Requires: mozilla-js20 = %{version} |
75 Requires: mozilla-js20 = %{version} |
78 Requires(post): update-alternatives coreutils |
76 Requires(post): update-alternatives coreutils |
79 Requires(preun): update-alternatives coreutils |
77 Requires(preun): update-alternatives coreutils |
80 ### build configuration ### |
78 ### build configuration ### |
211 #%patch10 -p1 |
209 #%patch10 -p1 |
212 %if %suse_version < 1120 |
210 %if %suse_version < 1120 |
213 %patch11 -p1 |
211 %patch11 -p1 |
214 %endif |
212 %endif |
215 %patch12 -p1 |
213 %patch12 -p1 |
216 %patch13 -p1 |
|
217 %patch14 -p1 |
|
218 |
214 |
219 %build |
215 %build |
220 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3) |
216 kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3) |
221 if test "$kdehelperversion" != %{kde_helper_version}; then |
217 if test "$kdehelperversion" != %{kde_helper_version}; then |
222 echo fix kde helper version in the .spec file |
218 echo fix kde helper version in the .spec file |
424 %{_libdir}/xulrunner-%{apiversion}/add-plugins.sh > /dev/null 2>&1 |
420 %{_libdir}/xulrunner-%{apiversion}/add-plugins.sh > /dev/null 2>&1 |
425 exit 0 |
421 exit 0 |
426 |
422 |
427 %posttrans |
423 %posttrans |
428 # needed for updates which transition directory to symlink |
424 # needed for updates which transition directory to symlink |
429 %if 0%{?ga_version:1} |
425 %if 0%{?ga_version:1} |
430 test -d %{_libdir}/xulrunner-%{ga_version} && rm -rf %{_libdir}/xulrunner-%{ga_version} |
426 test -d %{_libdir}/xulrunner-%{ga_version} && rm -rf %{_libdir}/xulrunner-%{ga_version} |
431 ln -sf xulrunner-%{version_internal} %{_libdir}/xulrunner-%{ga_version} |
427 ln -sf xulrunner-%{version_internal} %{_libdir}/xulrunner-%{ga_version} |
432 %endif |
428 %endif |
433 [ -e %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh ] && \ |
429 [ -e %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh ] && \ |
434 %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh > /dev/null 2>&1 |
430 %{_libdir}/xulrunner-%{version_internal}/add-plugins.sh > /dev/null 2>&1 |