equal
deleted
inserted
replaced
74 Patch11: mozilla-gconf-backend.patch |
74 Patch11: mozilla-gconf-backend.patch |
75 Patch12: gecko-lockdown.patch |
75 Patch12: gecko-lockdown.patch |
76 Patch13: toolkit-ui-lockdown.patch |
76 Patch13: toolkit-ui-lockdown.patch |
77 # --- |
77 # --- |
78 Patch14: mozilla-cpuid.patch |
78 Patch14: mozilla-cpuid.patch |
|
79 Patch15: mozilla-libvpx-buildfix.patch |
79 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
80 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
80 Requires: mozilla-js193 |
81 Requires: mozilla-js193 |
81 Requires(post): update-alternatives coreutils |
82 Requires(post): update-alternatives coreutils |
82 Requires(preun): update-alternatives coreutils |
83 Requires(preun): update-alternatives coreutils |
83 ### build configuration ### |
84 ### build configuration ### |
91 %define has_system_cairo 1 |
92 %define has_system_cairo 1 |
92 %endif |
93 %endif |
93 ### configuration end ### |
94 ### configuration end ### |
94 %define _use_internal_dependency_generator 0 |
95 %define _use_internal_dependency_generator 0 |
95 %define __find_requires sh %{SOURCE2} |
96 %define __find_requires sh %{SOURCE2} |
96 %global provfind sh -c "grep -v 'libsqlite3.so' | %__find_provides" |
97 %global provfind sh -c "grep -Ev 'mozsqlite3|dbusservice|nspr4|plc4|plds4|unixprint' | %__find_provides" |
97 %global __find_provides %provfind |
98 %global __find_provides %provfind |
98 %if %has_system_nspr |
99 %if %has_system_nspr |
99 BuildRequires: mozilla-nspr-devel |
100 BuildRequires: mozilla-nspr-devel |
100 Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) |
101 Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) |
101 %endif |
102 %endif |
214 #%patch11 -p1 |
215 #%patch11 -p1 |
215 #%patch12 -p1 |
216 #%patch12 -p1 |
216 #%patch13 -p1 |
217 #%patch13 -p1 |
217 %if %suse_version < 1120 |
218 %if %suse_version < 1120 |
218 %patch14 -p1 |
219 %patch14 -p1 |
|
220 %endif |
|
221 %if %suse_version <= 1120 |
|
222 %ifarch %ix86 |
|
223 %patch15 -p1 |
|
224 %endif |
219 %endif |
225 %endif |
220 |
226 |
221 %build |
227 %build |
222 #%if %suse_version >= 1110 |
228 #%if %suse_version >= 1110 |
223 #kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3) |
229 #kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3) |