Search
j0ke.net Open Build Service
>
Projects
>
mozilla
>
MozillaFirefox
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 4
[-]
[+]
Added
MozillaFirefox.spec
@@ -0,0 +1,615 @@ +# +# spec file for package MozillaFirefox (Version 2.0.0.12) +# +# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. +# This file and all modifications and additions to the pristine +# package are under the same license as the package itself. +# +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: MozillaFirefox +BuildRequires: gcc-c++ libgnomeui-devel libidl-devel mozilla-nss-devel orbit-devel startup-notification-devel unzip update-desktop-files zip +%if %suse_version >= 1000 +%if %suse_version <= 1010 +BuildRequires: dbus-1-devel +%else +BuildRequires: dbus-1-glib-devel +%endif +%endif +%if %suse_version > 1020 +BuildRequires: fdupes +%endif +# fix broken 9.3 requirements +%if %suse_version <= 930 +BuildRequires: freetype2-devel popt-devel +%endif +# fix broken SLES9 requirements +%if %suse_version == 910 +BuildRequires: pkgconfig libgnomeui +%endif +License: MPL/GPL/LGPL +Provides: web_browser +Provides: MozillaFirebird +Provides: firefox +Obsoletes: MozillaFirebird +%if %sles_version == 10 +Obsoletes: mozilla +%endif +Version: 2.0.0.12 +Release: 1 +Summary: Mozilla Firefox Web Browser +Url: http://www.mozilla.org/ +Group: Productivity/Networking/Web/Browsers +# Creation of firefox and l10n tarballs: +# cvs -d :pserver:anonymous:anonymous@cvs-mirror.mozilla.org:/cvsroot co -r MOZILLA_1_8_BRANCH mozilla/client.mk +# cd mozilla +# export MOZ_CO_PROJECT=browser +# export MOZ_CO_LOCALES=all +# make -f client.mk checkout +# cd .. +# tar cjf l10n.tar.bz2 l10n; tar cjf firefox-2.0-source.tar.bz2 mozilla +Source: firefox-%{version}-source.tar.bz2 +Source1: MozillaFirefox.desktop +Source2: add-plugins.sh.in +Source3: mozilla.sh.in +Source4: tango-theme.tar.bz2 +Source5: search-addons.tar.bz2 +Source6: MozillaFirefox.desktop.nld +Source7: l10n-%{version}.tar.bz2 +Source8: plastikfox-theme.tar.bz2 +Source9: bookmarks.html.nld +Source10: bookmarks.html.suse +Source11: firefox48.png +Source16: firefox.1 +Source17: firefox-suse-default-prefs.js +Source18: firefox.schemas +Source19: firefox-mimeinfo.xml +Patch1: x11-session.patch +Patch2: rpath.patch +Patch3: gcc-undefined-ops.patch +Patch4: mozilla-gcc4.3-fixes.patch +Patch5: abuild.patch +# NSPR bmo #270502 +Patch6: nspr-prdtoa.patch +Patch7: locale.patch +# lockdown infrastructure +Patch8: firefox-ui-lockdown.patch +Patch9: gecko-lockdown.patch +Patch10: gconf-backend.patch +Patch11: gnome-vfs.patch +Patch12: misc.dif +Patch13: nss-opt.patch +Patch14: credits.patch +Patch15: em-356370.patch +# bmo #273524 (only for NLD) +Patch16: gnome-vfs-default.patch +# integration +Patch17: firefox-appname.patch +Patch18: firefox-no-update.patch +Patch19: dbus.patch +Patch20: mozilla-path_len.patch +# customization +Patch22: cjk-postscript-fonts.dif +Patch23: startup.patch +# bmo #324060 +Patch24: cups-paper.patch +Patch25: system-extensions.patch +Patch27: system-proxies.patch +# bmo #331522 +Patch32: postscript.patch +Patch33: proxy-dev.patch +# integration +Patch34: skin-selection.patch +Patch36: greasemonkey.patch +# gconf-backend.patch dbus.patch startup.patch +Patch100: configure.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +PreReq: libstdc++ fileutils textutils /bin/sh gconf2 shared-mime-info desktop-file-utils +%if %sles_version == 10 +%define default_home_page http://www.novell.com/linux/sle10 +%else +%define default_home_page http://www.opensuse.org/ +%endif +%define has_system_nspr 0 +%define has_system_nss 0 +%define has_system_cairo 0 +%if %suse_version > 930 || 0%{opensuse_bs} +%define has_system_nspr 1 +%endif +%if %suse_version > 930 +%define has_system_cairo 1 +%endif +%if %suse_version > 1010 || 0%{opensuse_bs} +%define has_system_nss 1 +%endif +%if %has_system_nspr +Requires: mozilla-nspr >= %( echo `rpm -q --queryformat '%{VERSION}' mozilla-nspr`) +%endif +%if %has_system_nss +Requires: mozilla-nss >= %( echo `rpm -q --queryformat '%{VERSION}' mozilla-nss`) +%endif +%define _unpackaged_files_terminate_build 0 +%define releasedate 2008020300 +%define progname firefox +%if %suse_version < 1010 +%define progdir /opt/MozillaFirefox/%_lib +%else +%define progdir %{_prefix}/%_lib/firefox +%endif +%if %suse_version > 1020 +%define gnome_confdir %{_sysconfdir} +%define gnome_dir %{_prefix} +%gconf_schemas_prereq +%else +%define gnome_confdir %{_sysconfdir}/opt/gnome +%define gnome_dir /opt/gnome +%endif +%define nld9 %(if grep -q sles9-sld /.buildenv; then echo 1; else echo 0; fi) +%define my_provides /tmp/my-provides +%define my_requires /tmp/my-requires +%if %suse_version > 920 +%define libgssapi libgssapi_krb5.so.2 +%else +%define libgssapi libgssapi.so.1 +%endif +# let add-plugins.sh maintain Java +%if %suse_version <= 1000 +%define JAVA 1 +%else +%define JAVA 0 +%endif +### build options +%define milestone 1 +%define localize 1 +%define broken 0 +### build options end + +%description +Mozilla Firefox, formerly known as Phoenix and Firebird, is a redesign +of the Mozilla browser component, similar to Galeon, K-Meleon and +Camino, but written using the XUL user interface language and designed +to be cross-platform. It is a stand-alone application instead of part +of the Mozilla Application Suite. + + + +Authors: +-------- + Mozilla Foundation <drivers@mozilla.org> + +%package translations +Summary: Translations for MozillaFirefox +Provides: locale(MozillaFirefox:af;ar;bg;be;ca;cs;da;de;el;en_GB;es_AR;es_ES;eu;fi;fr;fy_NL;ga_IE;gu_IN;he;hu;it;ja;ka;ko;ku;lt;mk;mn;nb_NO;nl;nn_NO;pa_IN;pl;pt_BR;pt_PT;ro;ru;sk;sl;sv_SE;tr;zh_CN;zh_TW) +Group: Productivity/Networking/Web/Browsers +PreReq: %{name} = %{version} + +%description translations +This package contains several optional languages for the user interface +of MozillaFirefox. + + + +Authors: +-------- + Mozilla Foundation <drivers@mozilla.org> + +%debug_package