16 # Please submit bugfixes or comments via http://bugs.opensuse.org/ |
16 # Please submit bugfixes or comments via http://bugs.opensuse.org/ |
17 # |
17 # |
18 |
18 |
19 |
19 |
20 # changed with every update |
20 # changed with every update |
21 %define major 39 |
21 %define major 40 |
22 %define mainver %major.99 |
22 %define mainver %major.99 |
23 %define update_channel beta |
23 %define update_channel beta |
24 %define releasedate 2015071700 |
24 %define releasedate 2015082100 |
25 |
25 |
26 # general build definitions |
26 # general build definitions |
27 %if "%{update_channel}" != "aurora" |
27 %if "%{update_channel}" != "aurora" |
28 %define progname firefox |
28 %define progname firefox |
29 %define pkgname MozillaFirefox |
29 %define pkgname MozillaFirefox |
144 Patch10: mozilla-icu-strncat.patch |
144 Patch10: mozilla-icu-strncat.patch |
145 Patch11: mozilla-arm-disable-edsp.patch |
145 Patch11: mozilla-arm-disable-edsp.patch |
146 Patch12: mozilla-openaes-decl.patch |
146 Patch12: mozilla-openaes-decl.patch |
147 Patch14: mozilla-skia-be-le.patch |
147 Patch14: mozilla-skia-be-le.patch |
148 Patch15: mozilla-bmo1005535.patch |
148 Patch15: mozilla-bmo1005535.patch |
149 Patch16: mozilla-add-glibcxx_use_cxx11_abi.patch |
149 Patch16: mozilla-arm64-libjpeg-turbo.patch |
150 Patch17: mozilla-arm64-libjpeg-turbo.patch |
150 Patch17: mozilla-no-stdcxx-check.patch |
151 # Firefox/browser |
151 # Firefox/browser |
152 Patch101: firefox-kde.patch |
152 Patch101: firefox-kde.patch |
153 Patch102: firefox-no-default-ualocale.patch |
153 Patch102: firefox-no-default-ualocale.patch |
154 Patch103: firefox-multilocale-chrome.patch |
154 Patch103: firefox-branded-icons.patch |
155 Patch104: firefox-branded-icons.patch |
|
156 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
155 BuildRoot: %{_tmppath}/%{name}-%{version}-build |
157 Requires(post): coreutils shared-mime-info desktop-file-utils |
156 Requires(post): coreutils shared-mime-info desktop-file-utils |
158 Requires(postun): shared-mime-info desktop-file-utils |
157 Requires(postun): shared-mime-info desktop-file-utils |
159 %if %branding |
158 %if %branding |
160 Requires: %{name}-branding > 20.0 |
159 Requires: %{name}-branding > 39.0 |
161 %endif |
160 %endif |
162 Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) |
161 Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr) |
163 Requires: mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss) |
162 Requires: mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss) |
164 Recommends: libcanberra0 |
163 Recommends: libcanberra0 |
165 Recommends: libpulse0 |
164 Recommends: libpulse0 |
223 #BRAND: /usr/lib/firefox/defaults/profile/bookmarks.html that contains |
222 #BRAND: /usr/lib/firefox/defaults/profile/bookmarks.html that contains |
224 #BRAND: the list of default bookmarks |
223 #BRAND: the list of default bookmarks |
225 #BRAND: It's also possible to create a file |
224 #BRAND: It's also possible to create a file |
226 #BRAND: /usr/lib/firefox/defaults/preferences/firefox-$vendor.js to set |
225 #BRAND: /usr/lib/firefox/defaults/preferences/firefox-$vendor.js to set |
227 #BRAND: custom preference overrides. |
226 #BRAND: custom preference overrides. |
228 #BRAND: It's also possible to drop files in /usr/lib/firefox/searchplugins |
227 #BRAND: It's also possible to drop files in /usr/lib/firefox/distribution/searchplugins/common/ |
229 |
228 |
230 %description branding-upstream |
229 %description branding-upstream |
231 This package provides upstream look and feel for %{appname}. |
230 This package provides upstream look and feel for %{appname}. |
232 %endif |
231 %endif |
233 |
232 |
378 grep amazondotcom dist/firefox/browser/omni.ja |
376 grep amazondotcom dist/firefox/browser/omni.ja |
379 # copy tree into RPM_BUILD_ROOT |
377 # copy tree into RPM_BUILD_ROOT |
380 mkdir -p %{buildroot}%{progdir} |
378 mkdir -p %{buildroot}%{progdir} |
381 cp -rf $RPM_BUILD_DIR/obj/dist/firefox/* %{buildroot}%{progdir} |
379 cp -rf $RPM_BUILD_DIR/obj/dist/firefox/* %{buildroot}%{progdir} |
382 mkdir -p %{buildroot}%{progdir}/distribution/extensions |
380 mkdir -p %{buildroot}%{progdir}/distribution/extensions |
383 mkdir -p %{buildroot}%{progdir}/browser/searchplugins |
|
384 mkdir -p %{buildroot}%{progdir}/browser/defaults/preferences/ |
381 mkdir -p %{buildroot}%{progdir}/browser/defaults/preferences/ |
385 # install gre prefs |
382 # install gre prefs |
386 install -m 644 %{SOURCE13} %{buildroot}%{progdir}/defaults/pref/ |
383 install -m 644 %{SOURCE13} %{buildroot}%{progdir}/defaults/pref/ |
387 # install browser prefs |
384 # install browser prefs |
388 install -m 644 %{SOURCE6} %{buildroot}%{progdir}/browser/defaults/preferences/kde.js |
385 install -m 644 %{SOURCE6} %{buildroot}%{progdir}/browser/defaults/preferences/kde.js |
556 %{progdir}/browser/components/ |
553 %{progdir}/browser/components/ |
557 %{progdir}/browser/defaults |
554 %{progdir}/browser/defaults |
558 %{progdir}/browser/icons/ |
555 %{progdir}/browser/icons/ |
559 %{progdir}/browser/chrome/icons |
556 %{progdir}/browser/chrome/icons |
560 %{progdir}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} |
557 %{progdir}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} |
561 %{progdir}/browser/searchplugins/ |
|
562 %{progdir}/browser/blocklist.xml |
558 %{progdir}/browser/blocklist.xml |
563 %{progdir}/browser/chrome.manifest |
559 %{progdir}/browser/chrome.manifest |
564 %{progdir}/browser/omni.ja |
560 %{progdir}/browser/omni.ja |
565 %dir %{progdir}/distribution/ |
561 %dir %{progdir}/distribution/ |
566 %{progdir}/distribution/extensions/ |
562 %{progdir}/distribution/extensions/ |