equal
deleted
inserted
replaced
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 # norootforbuild |
19 # norootforbuild |
20 |
20 |
21 %define major 6 |
21 %define major 7 |
22 %define mainver %major.99 |
22 %define mainver %major.0 |
23 |
23 |
24 Name: MozillaFirefox |
24 Name: MozillaFirefox |
25 BuildRequires: autoconf213 dbus-1-glib-devel gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python startup-notification-devel unzip update-desktop-files zip fdupes Mesa-devel yasm |
25 BuildRequires: Mesa-devel autoconf213 dbus-1-glib-devel fdupes gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python startup-notification-devel unzip update-desktop-files yasm zip |
26 %if %suse_version > 1110 |
26 %if %suse_version > 1110 |
27 BuildRequires: libiw-devel |
27 BuildRequires: libiw-devel |
28 BuildRequires: libproxy-devel |
28 BuildRequires: libproxy-devel |
29 %else |
29 %else |
30 BuildRequires: wireless-tools |
30 BuildRequires: wireless-tools |
33 BuildRequires: mozilla-nss-devel >= 3.12.10 |
33 BuildRequires: mozilla-nss-devel >= 3.12.10 |
34 BuildRequires: nss-shared-helper-devel |
34 BuildRequires: nss-shared-helper-devel |
35 License: MPLv1.1 or GPLv2+ or LGPLv2+ |
35 License: MPLv1.1 or GPLv2+ or LGPLv2+ |
36 Version: %{mainver} |
36 Version: %{mainver} |
37 Release: 1 |
37 Release: 1 |
38 %define releasedate 2011090900 |
38 %define releasedate 2011092200 |
39 Provides: web_browser |
39 Provides: web_browser |
40 Provides: firefox = %{version}-%{release} |
40 Provides: firefox = %{version}-%{release} |
41 Provides: firefox = %{mainver} |
41 Provides: firefox = %{mainver} |
42 # this is needed to match this package with the kde4 helper package without the main package |
42 # this is needed to match this package with the kde4 helper package without the main package |
43 # having a hard requirement on the kde4 package |
43 # having a hard requirement on the kde4 package |
64 Patch1: toolkit-download-folder.patch |
64 Patch1: toolkit-download-folder.patch |
65 Patch2: mozilla-nongnome-proxies.patch |
65 Patch2: mozilla-nongnome-proxies.patch |
66 Patch3: mozilla-prefer_plugin_pref.patch |
66 Patch3: mozilla-prefer_plugin_pref.patch |
67 Patch4: mozilla-shared-nss-db.patch |
67 Patch4: mozilla-shared-nss-db.patch |
68 Patch5: mozilla-kde.patch |
68 Patch5: mozilla-kde.patch |
69 Patch6: mozilla-cairo-lcd.patch |
|
70 Patch7: mozilla-language.patch |
69 Patch7: mozilla-language.patch |
71 Patch9: mozilla-cairo-return.patch |
70 Patch9: mozilla-cairo-return.patch |
72 Patch10: mozilla-ntlm-full-path.patch |
71 Patch10: mozilla-ntlm-full-path.patch |
73 Patch12: mozilla-repo.patch |
72 Patch12: mozilla-repo.patch |
74 Patch13: mozilla-dump_syms-static.patch |
73 Patch13: mozilla-dump_syms-static.patch |
128 |
127 |
129 %description devel |
128 %description devel |
130 Development files for Firefox to make packaging of addons easier. |
129 Development files for Firefox to make packaging of addons easier. |
131 |
130 |
132 %if %localize |
131 %if %localize |
|
132 |
133 %package translations-common |
133 %package translations-common |
134 Summary: Common translations for MozillaFirefox |
134 Summary: Common translations for MozillaFirefox |
135 License: MPLv1.1 or GPLv2+ or LGPLv2+ |
135 License: MPLv1.1 or GPLv2+ or LGPLv2+ |
136 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) |
136 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) |
137 Group: System/Localization |
137 Group: System/Localization |
175 %description branding-upstream |
175 %description branding-upstream |
176 This package provides upstream look and feel for MozillaFirefox. |
176 This package provides upstream look and feel for MozillaFirefox. |
177 |
177 |
178 |
178 |
179 %if %crashreporter |
179 %if %crashreporter |
|
180 |
180 %package buildsymbols |
181 %package buildsymbols |
181 License: MPLv1.1 or GPLv2+ or LGPLv2+ |
182 License: MPLv1.1 or GPLv2+ or LGPLv2+ |
182 Summary: Breakpad buildsymbols for %{name} |
183 Summary: Breakpad buildsymbols for %{name} |
183 Group: Development/Debug |
184 Group: Development/Debug |
184 |
185 |
185 %description buildsymbols |
186 %description buildsymbols |
186 This subpackage contains the Breakpad created and compatible debugging |
187 This subpackage contains the Breakpad created and compatible debugging |
187 symbols meant for upload to Mozilla's crash collector database. |
188 symbols meant for upload to Mozilla's crash collector database. |
188 %endif |
189 %endif |
189 |
|
190 |
190 |
191 %prep |
191 %prep |
192 %setup -q -n mozilla -b 7 -b 10 |
192 %setup -q -n mozilla -b 7 -b 10 |
193 cd $RPM_BUILD_DIR/mozilla |
193 cd $RPM_BUILD_DIR/mozilla |
194 %patch1 -p1 |
194 %patch1 -p1 |
195 %patch2 -p1 |
195 %patch2 -p1 |
196 %patch3 -p1 |
196 %patch3 -p1 |
197 %patch4 -p1 |
197 %patch4 -p1 |
198 %patch5 -p1 |
198 %patch5 -p1 |
199 #%patch6 -p1 |
|
200 %patch7 -p1 |
199 %patch7 -p1 |
201 %patch9 -p1 |
200 %patch9 -p1 |
202 %patch10 -p1 |
201 %patch10 -p1 |
203 %patch12 -p1 |
202 %patch12 -p1 |
204 %patch13 -p1 |
203 %patch13 -p1 |
266 ac_add_options --disable-updater |
265 ac_add_options --disable-updater |
267 ac_add_options --disable-tests |
266 ac_add_options --disable-tests |
268 ac_add_options --disable-debug |
267 ac_add_options --disable-debug |
269 ac_add_options --enable-startup-notification |
268 ac_add_options --enable-startup-notification |
270 #ac_add_options --enable-chrome-format=jar |
269 #ac_add_options --enable-chrome-format=jar |
271 ac_add_options --enable-update-channel=beta |
270 ac_add_options --enable-update-channel=default |
272 EOF |
271 EOF |
273 %if %suse_version > 1130 |
272 %if %suse_version > 1130 |
274 cat << EOF >> $MOZCONFIG |
273 cat << EOF >> $MOZCONFIG |
275 ac_add_options --disable-gnomevfs |
274 ac_add_options --disable-gnomevfs |
276 ac_add_options --enable-gio |
275 ac_add_options --enable-gio |
534 %defattr(-,root,root) |
533 %defattr(-,root,root) |
535 %{_bindir}/mozilla-get-app-id |
534 %{_bindir}/mozilla-get-app-id |
536 %config /etc/rpm/macros.%{progname} |
535 %config /etc/rpm/macros.%{progname} |
537 |
536 |
538 %if %localize |
537 %if %localize |
|
538 |
539 %files translations-common -f %{_tmppath}/translations.common |
539 %files translations-common -f %{_tmppath}/translations.common |
540 %defattr(-,root,root) |
540 %defattr(-,root,root) |
541 %dir %{progdir} |
541 %dir %{progdir} |
542 %dir %{progdir}/extensions/ |
542 %dir %{progdir}/extensions/ |
543 |
543 |
547 %dir %{progdir}/extensions/ |
547 %dir %{progdir}/extensions/ |
548 %endif |
548 %endif |
549 |
549 |
550 # this package does not need to provide files but is needed to fulfill |
550 # this package does not need to provide files but is needed to fulfill |
551 # requirements if no other branding package is to be installed |
551 # requirements if no other branding package is to be installed |
|
552 |
552 %files branding-upstream |
553 %files branding-upstream |
553 %defattr(-,root,root) |
554 %defattr(-,root,root) |
554 %dir %{progdir} |
555 %dir %{progdir} |
555 |
556 |
556 %if %crashreporter |
557 %if %crashreporter |
|
558 |
557 %files buildsymbols |
559 %files buildsymbols |
558 %defattr(-,root,root) |
560 %defattr(-,root,root) |
559 %{_datadir}/mozilla/*.zip |
561 %{_datadir}/mozilla/*.zip |
560 %endif |
562 %endif |
561 |
563 |