2007-01-08 12:23:18 +01:00
|
|
|
#
|
2011-02-25 14:44:41 +01:00
|
|
|
# spec file for package MozillaFirefox
|
2007-01-08 12:23:18 +01:00
|
|
|
#
|
2013-01-07 21:49:28 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2013-02-19 20:24:59 +01:00
|
|
|
# 2006-2013 Wolfgang Rosenauer
|
2007-01-08 12:23:18 +01:00
|
|
|
#
|
2008-08-22 00:53:39 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2007-01-08 12:23:18 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-03-01 10:09:12 +01:00
|
|
|
|
2013-12-11 09:31:54 +01:00
|
|
|
%define major 26
|
2013-09-16 09:57:05 +02:00
|
|
|
%define mainver %major.0
|
2012-04-21 12:42:40 +02:00
|
|
|
%define update_channel release
|
2008-02-15 01:45:38 +01:00
|
|
|
|
2013-04-02 21:00:31 +02:00
|
|
|
%if %suse_version > 1220
|
2013-04-09 12:48:15 +02:00
|
|
|
%define gstreamer_ver 0.10
|
2013-04-02 21:00:31 +02:00
|
|
|
%else
|
|
|
|
%define gstreamer_ver 0.10
|
|
|
|
%endif
|
|
|
|
|
2007-01-08 12:23:18 +01:00
|
|
|
Name: MozillaFirefox
|
2011-12-18 14:10:54 +01:00
|
|
|
BuildRequires: Mesa-devel
|
|
|
|
BuildRequires: autoconf213
|
|
|
|
BuildRequires: dbus-1-glib-devel
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libgnomeui-devel
|
|
|
|
BuildRequires: libidl-devel
|
|
|
|
BuildRequires: libnotify-devel
|
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: startup-notification-devel
|
|
|
|
BuildRequires: unzip
|
|
|
|
BuildRequires: update-desktop-files
|
2012-03-01 10:09:12 +01:00
|
|
|
BuildRequires: xorg-x11-libXt-devel
|
2011-12-18 14:10:54 +01:00
|
|
|
BuildRequires: yasm
|
|
|
|
BuildRequires: zip
|
2010-01-08 01:32:43 +01:00
|
|
|
%if %suse_version > 1110
|
|
|
|
BuildRequires: libiw-devel
|
2011-06-01 08:05:09 +02:00
|
|
|
BuildRequires: libproxy-devel
|
2010-01-08 01:32:43 +01:00
|
|
|
%else
|
|
|
|
BuildRequires: wireless-tools
|
|
|
|
%endif
|
2013-12-11 09:31:54 +01:00
|
|
|
BuildRequires: mozilla-nspr-devel >= 4.10.2
|
|
|
|
BuildRequires: mozilla-nss-devel >= 3.15.3.1
|
2011-06-01 08:05:09 +02:00
|
|
|
BuildRequires: nss-shared-helper-devel
|
2013-06-24 09:57:33 +02:00
|
|
|
%if %suse_version > 1210
|
2013-04-02 21:00:31 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-%gstreamer_ver)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-app-%gstreamer_ver)
|
|
|
|
BuildRequires: pkgconfig(gstreamer-plugins-base-%gstreamer_ver)
|
2013-09-29 13:39:09 +02:00
|
|
|
Requires: libgstreamer-0_10-0
|
|
|
|
Recommends: gstreamer-0_10-fluendo-mp3
|
|
|
|
Recommends: gstreamer-0_10-plugins-ffmpeg
|
2012-07-16 10:13:51 +02:00
|
|
|
%endif
|
2012-02-01 14:37:15 +01:00
|
|
|
Version: %{mainver}
|
2011-12-18 14:10:54 +01:00
|
|
|
Release: 0
|
2013-12-11 09:31:54 +01:00
|
|
|
%define releasedate 2013120700
|
2011-01-28 18:09:26 +01:00
|
|
|
Provides: firefox = %{mainver}
|
2012-03-01 10:09:12 +01:00
|
|
|
Provides: firefox = %{version}-%{release}
|
|
|
|
Provides: web_browser
|
2012-03-14 08:27:10 +01:00
|
|
|
Provides: browser(npapi)
|
2011-06-01 08:05:09 +02:00
|
|
|
# this is needed to match this package with the kde4 helper package without the main package
|
|
|
|
# having a hard requirement on the kde4 package
|
|
|
|
%define kde_helper_version 6
|
|
|
|
Provides: mozilla-kde4-version = %{kde_helper_version}
|
2007-01-08 12:23:18 +01:00
|
|
|
Summary: Mozilla Firefox Web Browser
|
2012-07-16 10:13:51 +02:00
|
|
|
License: MPL-2.0
|
2007-01-08 12:23:18 +01:00
|
|
|
Group: Productivity/Networking/Web/Browsers
|
2011-12-18 14:10:54 +01:00
|
|
|
Url: http://www.mozilla.org/
|
2007-01-08 12:23:18 +01:00
|
|
|
Source: firefox-%{version}-source.tar.bz2
|
|
|
|
Source1: MozillaFirefox.desktop
|
2010-11-30 15:35:52 +01:00
|
|
|
Source2: MozillaFirefox-rpmlintrc
|
2007-01-08 12:23:18 +01:00
|
|
|
Source3: mozilla.sh.in
|
2008-03-26 16:01:54 +01:00
|
|
|
Source4: find-external-requires.sh
|
2011-06-15 17:00:40 +02:00
|
|
|
Source5: source-stamp.txt
|
2009-09-17 00:40:05 +02:00
|
|
|
Source6: kde.js
|
2007-06-05 10:01:24 +02:00
|
|
|
Source7: l10n-%{version}.tar.bz2
|
2008-03-26 16:01:54 +01:00
|
|
|
Source8: firefox-mimeinfo.xml
|
2012-10-09 13:14:08 +02:00
|
|
|
Source9: firefox.js
|
2010-11-30 15:35:52 +01:00
|
|
|
Source10: compare-locales.tar.bz2
|
|
|
|
Source11: firefox.1
|
2011-01-28 18:09:26 +01:00
|
|
|
Source12: mozilla-get-app-id
|
2011-06-01 08:05:09 +02:00
|
|
|
Source13: add-plugins.sh.in
|
|
|
|
Source14: create-tar.sh
|
|
|
|
# Gecko/Toolkit
|
2010-11-30 15:35:52 +01:00
|
|
|
Patch1: toolkit-download-folder.patch
|
2011-06-01 08:05:09 +02:00
|
|
|
Patch2: mozilla-nongnome-proxies.patch
|
|
|
|
Patch3: mozilla-prefer_plugin_pref.patch
|
|
|
|
Patch4: mozilla-shared-nss-db.patch
|
|
|
|
Patch5: mozilla-kde.patch
|
2011-11-09 13:04:11 +01:00
|
|
|
Patch6: mozilla-preferences.patch
|
2011-06-01 08:05:09 +02:00
|
|
|
Patch7: mozilla-language.patch
|
2011-11-09 13:04:11 +01:00
|
|
|
Patch8: mozilla-ntlm-full-path.patch
|
|
|
|
Patch9: mozilla-repo.patch
|
2012-08-28 20:40:50 +02:00
|
|
|
Patch10: mozilla-sle11.patch
|
2012-11-20 21:34:15 +01:00
|
|
|
Patch12: mozilla-arm-disable-edsp.patch
|
2013-04-02 21:00:31 +02:00
|
|
|
Patch13: mozilla-ppc.patch
|
2013-06-24 09:57:33 +02:00
|
|
|
Patch14: mozilla-libproxy-compat.patch
|
2011-06-01 08:05:09 +02:00
|
|
|
# Firefox/browser
|
2012-07-16 10:13:51 +02:00
|
|
|
Patch30: firefox-browser-css.patch
|
|
|
|
Patch31: firefox-kde.patch
|
|
|
|
Patch32: firefox-kde-114.patch
|
|
|
|
Patch33: firefox-no-default-ualocale.patch
|
|
|
|
Patch34: firefox-multilocale-chrome.patch
|
|
|
|
Patch35: firefox-branded-icons.patch
|
2007-01-08 12:23:18 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-01-08 01:32:43 +01:00
|
|
|
Requires(post): coreutils shared-mime-info desktop-file-utils
|
|
|
|
Requires(postun): shared-mime-info desktop-file-utils
|
2013-05-14 16:33:59 +02:00
|
|
|
Requires: %{name}-branding > 20.0
|
2011-06-01 08:05:09 +02:00
|
|
|
Requires: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr)
|
|
|
|
Requires: mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss)
|
2012-04-20 21:18:58 +02:00
|
|
|
Recommends: libcanberra0
|
2013-01-07 21:49:28 +01:00
|
|
|
# libproxy's mozjs pacrunner crashes FF (bnc#759123)
|
|
|
|
%if %suse_version < 1220
|
|
|
|
Obsoletes: libproxy1-pacrunner-mozjs <= 0.4.7
|
|
|
|
%endif
|
2011-01-28 18:09:26 +01:00
|
|
|
%define firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
2008-03-26 16:01:54 +01:00
|
|
|
%define _use_internal_dependency_generator 0
|
|
|
|
%define __find_requires sh %{SOURCE4}
|
2009-04-02 18:30:36 +02:00
|
|
|
%global provfind sh -c "grep -v '.so' | %__find_provides"
|
|
|
|
%global __find_provides %provfind
|
2007-01-08 12:23:18 +01:00
|
|
|
%define progname firefox
|
2008-09-26 16:53:00 +02:00
|
|
|
%define progdir %{_prefix}/%_lib/%{progname}
|
2007-01-26 00:57:56 +01:00
|
|
|
%define gnome_dir %{_prefix}
|
2011-01-13 14:04:03 +01:00
|
|
|
%if %suse_version > 1130
|
|
|
|
%define desktop_file_name firefox
|
|
|
|
%else
|
|
|
|
%define desktop_file_name %{name}
|
|
|
|
%endif
|
2007-01-08 12:23:18 +01:00
|
|
|
### build options
|
2008-09-26 16:53:00 +02:00
|
|
|
%define branding 1
|
2010-11-30 15:35:52 +01:00
|
|
|
%define localize 1
|
2011-12-19 14:17:53 +01:00
|
|
|
%ifarch ppc ppc64 s390 s390x ia64 %arm
|
2012-04-20 21:18:58 +02:00
|
|
|
%define crashreporter 0
|
2010-08-01 17:17:34 +02:00
|
|
|
%else
|
2012-04-20 21:18:58 +02:00
|
|
|
%define crashreporter 1
|
|
|
|
%endif
|
2007-01-08 12:23:18 +01:00
|
|
|
### build options end
|
|
|
|
|
|
|
|
%description
|
2008-10-06 17:34:24 +02:00
|
|
|
Mozilla Firefox is a standalone web browser, designed for standards
|
|
|
|
compliance and performance. Its functionality can be enhanced via a
|
|
|
|
plethora of extensions.
|
2007-01-08 12:23:18 +01:00
|
|
|
|
2011-01-28 18:09:26 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Devel package for Firefox
|
|
|
|
Group: Development/Tools/Other
|
|
|
|
Provides: firefox-devel = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Requires: perl(Archive::Zip)
|
2012-03-01 10:09:12 +01:00
|
|
|
Requires: perl(XML::Simple)
|
2007-01-08 12:23:18 +01:00
|
|
|
|
2011-01-28 18:09:26 +01:00
|
|
|
%description devel
|
|
|
|
Development files for Firefox to make packaging of addons easier.
|
2011-01-25 09:00:34 +01:00
|
|
|
|
2011-01-28 18:09:26 +01:00
|
|
|
%if %localize
|
2011-08-15 14:14:28 +02:00
|
|
|
|
2009-08-10 23:34:51 +02:00
|
|
|
%package translations-common
|
2013-01-07 21:49:28 +01:00
|
|
|
Summary: Common translations for Firefox
|
2008-10-06 17:34:24 +02:00
|
|
|
Group: System/Localization
|
2013-09-16 17:35:15 +02:00
|
|
|
Provides: locale(%{name}:ar;ca;cs;da;de;en_GB;el;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)
|
2010-01-08 01:32:43 +01:00
|
|
|
Requires: %{name} = %{version}
|
2009-08-10 23:34:51 +02:00
|
|
|
Obsoletes: %{name}-translations < %{version}-%{release}
|
2007-01-08 12:23:18 +01:00
|
|
|
|
2009-08-10 23:34:51 +02:00
|
|
|
%description translations-common
|
|
|
|
This package contains several common languages for the user interface
|
2013-01-07 21:49:28 +01:00
|
|
|
of Firefox.
|
2009-08-10 23:34:51 +02:00
|
|
|
|
|
|
|
%package translations-other
|
2013-01-07 21:49:28 +01:00
|
|
|
Summary: Extra translations for Firefox
|
2009-08-10 23:34:51 +02:00
|
|
|
Group: System/Localization
|
2013-09-16 17:35:15 +02:00
|
|
|
Provides: locale(%{name}:ach;af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;en_ZA;eo;es_MX;et;eu;fa;ff;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;km;kn;ku;lg;lij;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;vi;zu)
|
2010-01-08 01:32:43 +01:00
|
|
|
Requires: %{name} = %{version}
|
2009-08-10 23:34:51 +02:00
|
|
|
Obsoletes: %{name}-translations < %{version}-%{release}
|
|
|
|
|
|
|
|
%description translations-other
|
|
|
|
This package contains rarely used languages for the user interface
|
2013-01-07 21:49:28 +01:00
|
|
|
of Firefox.
|
2008-09-26 16:53:00 +02:00
|
|
|
%endif
|
|
|
|
|
2009-05-04 18:28:41 +02:00
|
|
|
%package branding-upstream
|
2013-01-07 21:49:28 +01:00
|
|
|
Summary: Upstream branding for Firefox
|
2008-08-22 00:53:39 +02:00
|
|
|
Group: Productivity/Networking/Web/Browsers
|
2013-05-15 22:58:21 +02:00
|
|
|
Provides: %{name}-branding = %{version}
|
2009-05-04 18:28:41 +02:00
|
|
|
Conflicts: otherproviders(%{name}-branding)
|
|
|
|
Supplements: packageand(%{name}:branding-upstream)
|
2008-11-10 00:34:00 +01:00
|
|
|
#BRAND: Provide three files -
|
2008-10-06 17:34:24 +02:00
|
|
|
#BRAND: /usr/lib/firefox/browserconfig.properties that contains the
|
|
|
|
#BRAND: default homepage and some other default configuration options
|
|
|
|
#BRAND: /usr/lib/firefox/defaults/profile/bookmarks.html that contains
|
|
|
|
#BRAND: the list of default bookmarks
|
|
|
|
#BRAND: It's also possible to create a file
|
|
|
|
#BRAND: /usr/lib/firefox/defaults/preferences/firefox-$vendor.js to set
|
|
|
|
#BRAND: custom preference overrides.
|
|
|
|
#BRAND: It's also possible to drop files in /usr/lib/firefox/searchplugins
|
2008-08-22 00:53:39 +02:00
|
|
|
|
2009-05-04 18:28:41 +02:00
|
|
|
%description branding-upstream
|
2013-01-07 21:49:28 +01:00
|
|
|
This package provides upstream look and feel for Firefox.
|
2008-08-22 00:53:39 +02:00
|
|
|
|
|
|
|
|
2011-06-01 08:05:09 +02:00
|
|
|
%if %crashreporter
|
2011-08-15 14:14:28 +02:00
|
|
|
|
2011-06-01 08:05:09 +02:00
|
|
|
%package buildsymbols
|
|
|
|
Summary: Breakpad buildsymbols for %{name}
|
|
|
|
Group: Development/Debug
|
|
|
|
|
|
|
|
%description buildsymbols
|
|
|
|
This subpackage contains the Breakpad created and compatible debugging
|
|
|
|
symbols meant for upload to Mozilla's crash collector database.
|
|
|
|
%endif
|
|
|
|
|
2007-01-08 12:23:18 +01:00
|
|
|
%prep
|
2010-11-30 15:35:52 +01:00
|
|
|
%setup -q -n mozilla -b 7 -b 10
|
2007-01-08 12:23:18 +01:00
|
|
|
cd $RPM_BUILD_DIR/mozilla
|
2009-05-04 18:28:41 +02:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2009-05-22 15:35:15 +02:00
|
|
|
%patch3 -p1
|
2009-07-08 23:04:16 +02:00
|
|
|
%patch4 -p1
|
2012-03-01 10:09:12 +01:00
|
|
|
%patch5 -p1
|
2011-11-09 13:04:11 +01:00
|
|
|
%patch6 -p1
|
2011-06-01 08:05:09 +02:00
|
|
|
%patch7 -p1
|
2011-11-09 13:04:11 +01:00
|
|
|
%patch8 -p1
|
2010-11-30 15:35:52 +01:00
|
|
|
%patch9 -p1
|
2011-07-01 11:12:30 +02:00
|
|
|
%if %suse_version < 1120
|
2012-08-28 20:40:50 +02:00
|
|
|
%patch10 -p1
|
2011-07-01 11:12:30 +02:00
|
|
|
%endif
|
2012-11-20 21:34:15 +01:00
|
|
|
%patch12 -p1
|
2013-04-02 21:00:31 +02:00
|
|
|
%patch13 -p1
|
2012-11-20 21:34:15 +01:00
|
|
|
%patch14 -p1
|
2011-06-01 08:05:09 +02:00
|
|
|
#
|
2012-07-16 10:13:51 +02:00
|
|
|
%patch30 -p1
|
2011-06-01 08:05:09 +02:00
|
|
|
%if %suse_version >= 1110
|
2012-07-16 10:13:51 +02:00
|
|
|
%patch31 -p1
|
2011-06-01 08:05:09 +02:00
|
|
|
%endif
|
|
|
|
%if %suse_version >= 1140
|
2012-07-16 10:13:51 +02:00
|
|
|
%patch32 -p1
|
2011-06-01 08:05:09 +02:00
|
|
|
%endif
|
2012-07-16 10:13:51 +02:00
|
|
|
%patch33 -p1
|
|
|
|
%patch34 -p1
|
|
|
|
%patch35 -p1
|
2007-01-08 12:23:18 +01:00
|
|
|
|
|
|
|
%build
|
2011-06-01 08:05:09 +02:00
|
|
|
# no need to add build time to binaries
|
|
|
|
modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
|
|
|
|
DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
|
|
|
|
TIME="\"$(date -d "${modified}" "+%%R")\""
|
|
|
|
find . -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} +
|
|
|
|
#
|
2012-03-01 10:09:12 +01:00
|
|
|
kdehelperversion=$(cat toolkit/xre/nsKDEUtils.cpp | grep '#define KMOZILLAHELPER_VERSION' | cut -d ' ' -f 3)
|
|
|
|
if test "$kdehelperversion" != %{kde_helper_version}; then
|
|
|
|
echo fix kde helper version in the .spec file
|
|
|
|
exit 1
|
|
|
|
fi
|
2011-06-15 17:00:40 +02:00
|
|
|
source %{SOURCE5}
|
|
|
|
export MOZ_SOURCE_STAMP=$REV
|
|
|
|
export SOURCE_REPO=$REPO
|
2013-05-14 16:33:59 +02:00
|
|
|
export source_repo=$REPO
|
2011-06-15 17:00:40 +02:00
|
|
|
export MOZ_SOURCE_REPO=$REPO
|
2007-01-08 12:23:18 +01:00
|
|
|
export MOZ_BUILD_DATE=%{releasedate}
|
|
|
|
export MOZILLA_OFFICIAL=1
|
|
|
|
export BUILD_OFFICIAL=1
|
2011-11-09 13:04:11 +01:00
|
|
|
export MOZ_TELEMETRY_REPORTING=1
|
2010-11-30 15:35:52 +01:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -Os -fno-strict-aliasing"
|
2013-03-14 10:58:43 +01:00
|
|
|
%ifarch %arm
|
2013-07-05 14:52:24 +02:00
|
|
|
export CFLAGS="${CFLAGS/-g / }"
|
2013-03-14 10:58:43 +01:00
|
|
|
%endif
|
2011-06-01 08:05:09 +02:00
|
|
|
%ifarch ppc64
|
|
|
|
export CFLAGS="$CFLAGS -mminimal-toc"
|
|
|
|
%endif
|
2007-01-08 12:23:18 +01:00
|
|
|
export CXXFLAGS="$CFLAGS"
|
|
|
|
export MOZCONFIG=$RPM_BUILD_DIR/mozconfig
|
|
|
|
cat << EOF > $MOZCONFIG
|
|
|
|
mk_add_options MOZILLA_OFFICIAL=1
|
|
|
|
mk_add_options BUILD_OFFICIAL=1
|
|
|
|
mk_add_options MOZ_MAKE_FLAGS=%{?jobs:-j%jobs}
|
2010-11-30 15:35:52 +01:00
|
|
|
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../obj
|
2007-01-08 12:23:18 +01:00
|
|
|
. \$topsrcdir/browser/config/mozconfig
|
|
|
|
ac_add_options --prefix=%{_prefix}
|
|
|
|
ac_add_options --libdir=%{_libdir}
|
|
|
|
ac_add_options --sysconfdir=%{_sysconfdir}
|
|
|
|
ac_add_options --mandir=%{_mandir}
|
|
|
|
ac_add_options --includedir=%{_includedir}
|
2008-03-26 16:01:54 +01:00
|
|
|
ac_add_options --with-system-nspr
|
|
|
|
ac_add_options --with-system-nss
|
2010-11-30 15:35:52 +01:00
|
|
|
ac_add_options --with-l10n-base=$RPM_BUILD_DIR/l10n
|
2011-06-01 08:05:09 +02:00
|
|
|
#ac_add_options --with-system-jpeg # libjpeg-turbo is used internally
|
2008-03-26 16:01:54 +01:00
|
|
|
#ac_add_options --with-system-png # doesn't work because of missing APNG support
|
2007-01-08 12:23:18 +01:00
|
|
|
ac_add_options --with-system-zlib
|
|
|
|
ac_add_options --disable-installer
|
2010-01-08 01:32:43 +01:00
|
|
|
ac_add_options --disable-updater
|
2007-01-08 12:23:18 +01:00
|
|
|
ac_add_options --disable-tests
|
|
|
|
ac_add_options --disable-debug
|
2011-06-22 09:28:03 +02:00
|
|
|
ac_add_options --enable-startup-notification
|
2011-06-01 08:05:09 +02:00
|
|
|
#ac_add_options --enable-chrome-format=jar
|
2012-04-20 21:18:58 +02:00
|
|
|
ac_add_options --enable-update-channel=%{update_channel}
|
2007-01-08 12:23:18 +01:00
|
|
|
EOF
|
2011-06-01 08:05:09 +02:00
|
|
|
%if %suse_version > 1130
|
2010-11-30 15:35:52 +01:00
|
|
|
cat << EOF >> $MOZCONFIG
|
2011-06-01 08:05:09 +02:00
|
|
|
ac_add_options --disable-gnomevfs
|
|
|
|
ac_add_options --enable-gio
|
2010-11-30 15:35:52 +01:00
|
|
|
EOF
|
|
|
|
%endif
|
2013-09-16 09:57:05 +02:00
|
|
|
%if %suse_version < 1220
|
2012-07-16 10:13:51 +02:00
|
|
|
cat << EOF >> $MOZCONFIG
|
2013-09-16 09:57:05 +02:00
|
|
|
ac_add_options --disable-gstreamer
|
2012-07-16 10:13:51 +02:00
|
|
|
EOF
|
|
|
|
%endif
|
2008-09-26 16:53:00 +02:00
|
|
|
%if %branding
|
2007-01-08 12:23:18 +01:00
|
|
|
cat << EOF >> $MOZCONFIG
|
|
|
|
ac_add_options --enable-official-branding
|
|
|
|
EOF
|
|
|
|
%endif
|
2011-06-01 08:05:09 +02:00
|
|
|
%if %suse_version > 1110
|
|
|
|
cat << EOF >> $MOZCONFIG
|
|
|
|
ac_add_options --enable-libproxy
|
|
|
|
EOF
|
|
|
|
%endif
|
|
|
|
%if ! %crashreporter
|
2011-01-03 17:59:30 +01:00
|
|
|
cat << EOF >> $MOZCONFIG
|
2011-06-01 08:05:09 +02:00
|
|
|
ac_add_options --disable-crashreporter
|
2011-01-03 17:59:30 +01:00
|
|
|
EOF
|
|
|
|
%endif
|
2012-02-01 14:37:15 +01:00
|
|
|
# Disable neon for arm as it does not build correctly
|
|
|
|
%ifarch %arm
|
|
|
|
cat << EOF >> $MOZCONFIG
|
|
|
|
ac_add_options --disable-neon
|
2013-04-06 21:20:40 +02:00
|
|
|
EOF
|
|
|
|
%endif
|
|
|
|
%ifnarch %ix86 x86_64
|
|
|
|
cat << EOF >> $MOZCONFIG
|
2013-03-14 10:58:43 +01:00
|
|
|
ac_add_options --disable-webrtc
|
2012-02-01 14:37:15 +01:00
|
|
|
EOF
|
|
|
|
%endif
|
2007-01-08 12:23:18 +01:00
|
|
|
make -f client.mk build
|
|
|
|
|
|
|
|
%install
|
2010-11-30 15:35:52 +01:00
|
|
|
cd $RPM_BUILD_DIR/obj
|
2011-06-15 17:00:40 +02:00
|
|
|
source %{SOURCE5}
|
|
|
|
export MOZ_SOURCE_STAMP=$REV
|
|
|
|
export MOZ_SOURCE_REPO=$REPO
|
2012-07-16 10:13:51 +02:00
|
|
|
make -C browser/installer STRIP=/bin/true MOZ_PKG_FATAL_WARNINGS=0
|
2012-04-20 21:18:58 +02:00
|
|
|
#DEBUG (break the build if searchplugins are missing / temporary)
|
2013-05-14 16:33:59 +02:00
|
|
|
grep amazondotcom dist/firefox/browser/omni.ja
|
2007-01-08 12:23:18 +01:00
|
|
|
# copy tree into RPM_BUILD_ROOT
|
2013-05-14 16:33:59 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{progdir}
|
2011-01-13 14:04:03 +01:00
|
|
|
cp -rf $RPM_BUILD_DIR/obj/dist/firefox/* $RPM_BUILD_ROOT%{progdir}
|
2013-05-14 16:33:59 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{progdir}/distribution/extensions
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{progdir}/browser/searchplugins
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{progdir}/browser/defaults/preferences/
|
2011-09-16 14:57:01 +02:00
|
|
|
# install kde.js
|
|
|
|
%if %suse_version >= 1110
|
2013-05-14 16:33:59 +02:00
|
|
|
install -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{progdir}/browser/defaults/preferences/kde.js
|
|
|
|
install -m 644 %{SOURCE9} $RPM_BUILD_ROOT%{progdir}/browser/defaults/preferences/firefox.js
|
2011-09-16 14:57:01 +02:00
|
|
|
%endif
|
2011-06-01 08:05:09 +02:00
|
|
|
# install add-plugins.sh
|
|
|
|
sed "s:%%PROGDIR:%{progdir}:g" \
|
|
|
|
%{SOURCE13} > $RPM_BUILD_ROOT%{progdir}/add-plugins.sh
|
|
|
|
chmod 755 $RPM_BUILD_ROOT%{progdir}/add-plugins.sh
|
2007-01-08 12:23:18 +01:00
|
|
|
# install additional locales
|
|
|
|
%if %localize
|
2009-08-10 23:34:51 +02:00
|
|
|
rm -f %{_tmppath}/translations.*
|
2010-11-30 15:35:52 +01:00
|
|
|
touch %{_tmppath}/translations.{common,other}
|
|
|
|
for locale in $(awk '{ print $1; }' ../mozilla/browser/locales/shipped-locales); do
|
2007-01-08 12:23:18 +01:00
|
|
|
case $locale in
|
2011-06-20 11:20:23 +02:00
|
|
|
ja-JP-mac|en-US)
|
2007-01-08 12:23:18 +01:00
|
|
|
;;
|
|
|
|
*)
|
2010-11-30 15:35:52 +01:00
|
|
|
pushd $RPM_BUILD_DIR/compare-locales
|
|
|
|
PYTHONPATH=lib \
|
|
|
|
scripts/compare-locales -m ../l10n-merged/$locale \
|
|
|
|
../mozilla/browser/locales/l10n.ini ../l10n $locale
|
|
|
|
popd
|
|
|
|
LOCALE_MERGEDIR=$RPM_BUILD_DIR/l10n-merged/$locale \
|
|
|
|
make -C browser/locales langpack-$locale
|
2011-11-09 13:04:11 +01:00
|
|
|
cp -rL dist/xpi-stage/locale-$locale \
|
2013-05-14 16:33:59 +02:00
|
|
|
$RPM_BUILD_ROOT%{progdir}/browser/extensions/langpack-$locale@firefox.mozilla.org
|
2012-04-20 21:18:58 +02:00
|
|
|
# remove prefs, profile defaults, and hyphenation from langpack
|
2013-05-14 16:33:59 +02:00
|
|
|
rm -rf $RPM_BUILD_ROOT%{progdir}/browser/extensions/langpack-$locale@firefox.mozilla.org/defaults
|
|
|
|
rm -rf $RPM_BUILD_ROOT%{progdir}/browser/extensions/langpack-$locale@firefox.mozilla.org/hyphenation
|
2009-08-10 23:34:51 +02:00
|
|
|
# check against the fixed common list and sort into the right filelist
|
|
|
|
_matched=0
|
2013-09-16 17:35:15 +02:00
|
|
|
for _match in ar ca cs da de en-GB el 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; do
|
2009-08-10 23:34:51 +02:00
|
|
|
[ "$_match" = "$locale" ] && _matched=1
|
|
|
|
done
|
|
|
|
[ $_matched -eq 1 ] && _l10ntarget=common || _l10ntarget=other
|
2013-05-14 16:33:59 +02:00
|
|
|
echo %{progdir}/browser/extensions/langpack-$locale@firefox.mozilla.org \
|
2010-11-30 15:35:52 +01:00
|
|
|
>> %{_tmppath}/translations.$_l10ntarget
|
2007-01-08 12:23:18 +01:00
|
|
|
esac
|
|
|
|
done
|
|
|
|
%endif
|
2011-11-09 13:04:11 +01:00
|
|
|
# remove some executable permissions
|
|
|
|
find $RPM_BUILD_ROOT%{progdir} \
|
|
|
|
-name "*.js" -o \
|
|
|
|
-name "*.jsm" -o \
|
|
|
|
-name "*.rdf" -o \
|
|
|
|
-name "*.properties" -o \
|
2011-12-18 14:10:54 +01:00
|
|
|
-name "*.dtd" -o \
|
|
|
|
-name "*.txt" -o \
|
|
|
|
-name "*.xml" -o \
|
|
|
|
-name "*.css" | xargs chmod a-x
|
2012-11-20 21:34:15 +01:00
|
|
|
# remove mkdir.done files from installed base
|
|
|
|
find $RPM_BUILD_ROOT%{progdir} -name ".mkdir.done" | xargs rm
|
2007-01-08 12:23:18 +01:00
|
|
|
# overwrite the mozilla start-script and link it to /usr/bin
|
|
|
|
mkdir --parents $RPM_BUILD_ROOT/usr/bin
|
|
|
|
sed "s:%%PREFIX:%{_prefix}:g
|
|
|
|
s:%%PROGDIR:%{progdir}:g
|
2010-11-30 15:35:52 +01:00
|
|
|
s:%%APPNAME:firefox:g
|
2007-01-08 12:23:18 +01:00
|
|
|
s:%%PROFILE:.mozilla/firefox:g" \
|
|
|
|
%{SOURCE3} > $RPM_BUILD_ROOT%{progdir}/%{progname}.sh
|
|
|
|
chmod 755 $RPM_BUILD_ROOT%{progdir}/%{progname}.sh
|
2009-08-10 23:34:51 +02:00
|
|
|
ln -sf ../..%{progdir}/%{progname}.sh $RPM_BUILD_ROOT%{_bindir}/%{progname}
|
2007-01-08 12:23:18 +01:00
|
|
|
# desktop definition
|
2008-08-22 00:53:39 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
2007-01-08 12:23:18 +01:00
|
|
|
install -m 644 %{SOURCE1} \
|
2011-01-13 14:04:03 +01:00
|
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/%{desktop_file_name}.desktop
|
2008-03-26 16:01:54 +01:00
|
|
|
# additional mime-types
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mime/packages
|
2008-09-26 16:53:00 +02:00
|
|
|
cp %{SOURCE8} $RPM_BUILD_ROOT%{_datadir}/mime/packages/%{progname}.xml
|
2007-01-08 12:23:18 +01:00
|
|
|
# install man-page
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1/
|
2010-11-30 15:35:52 +01:00
|
|
|
cp %{SOURCE11} $RPM_BUILD_ROOT%{_mandir}/man1/%{progname}.1
|
2007-01-08 12:23:18 +01:00
|
|
|
##########
|
|
|
|
# ADDONS
|
|
|
|
#
|
2011-01-28 18:09:26 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mozilla/extensions/%{firefox_appid}
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_libdir}/mozilla/extensions/%{firefox_appid}
|
2007-01-08 12:23:18 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/share/pixmaps/
|
2013-05-14 16:33:59 +02:00
|
|
|
ln -sf %{progdir}/browser/icons/mozicon128.png $RPM_BUILD_ROOT/usr/share/pixmaps/%{progname}.png
|
|
|
|
ln -sf %{progdir}/browser/icons/mozicon128.png $RPM_BUILD_ROOT/usr/share/pixmaps/%{progname}-gnome.png
|
2010-01-08 01:32:43 +01:00
|
|
|
%if %branding
|
2011-03-31 08:49:52 +02:00
|
|
|
for size in 16 22 24 32 48 256; do
|
2011-06-01 08:05:09 +02:00
|
|
|
%else
|
|
|
|
for size in 16 32 48; do
|
|
|
|
%endif
|
2009-06-20 03:02:24 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{gnome_dir}/share/icons/hicolor/${size}x${size}/apps/
|
2013-05-14 16:33:59 +02:00
|
|
|
ln -sf %{progdir}/browser/chrome/icons/default/default$size.png \
|
2009-06-20 03:02:24 +02:00
|
|
|
$RPM_BUILD_ROOT%{gnome_dir}/share/icons/hicolor/${size}x${size}/apps/%{progname}.png
|
|
|
|
done
|
2011-01-13 14:04:03 +01:00
|
|
|
%suse_update_desktop_file %{desktop_file_name} Network WebBrowser GTK
|
2009-07-29 14:51:51 +02:00
|
|
|
# excludes
|
|
|
|
rm -f $RPM_BUILD_ROOT%{progdir}/updater.ini
|
|
|
|
rm -f $RPM_BUILD_ROOT%{progdir}/removed-files
|
|
|
|
rm -f $RPM_BUILD_ROOT%{progdir}/README.txt
|
|
|
|
rm -f $RPM_BUILD_ROOT%{progdir}/old-homepage-default.properties
|
|
|
|
rm -f $RPM_BUILD_ROOT%{progdir}/run-mozilla.sh
|
2010-01-08 01:32:43 +01:00
|
|
|
rm -f $RPM_BUILD_ROOT%{progdir}/LICENSE
|
2011-06-01 08:05:09 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{progdir}/precomplete
|
|
|
|
rm -f $RPM_BUILD_ROOT%{progdir}/dictionaries/en-US*
|
2012-04-20 21:18:58 +02:00
|
|
|
rm -f $RPM_BUILD_ROOT%{progdir}/update-settings.ini
|
2011-01-28 18:09:26 +01:00
|
|
|
# devel
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
install -m 755 %SOURCE12 %{buildroot}%{_bindir}
|
|
|
|
# inspired by mandriva
|
|
|
|
mkdir -p %{buildroot}/etc/rpm
|
|
|
|
cat <<'FIN' >%{buildroot}/etc/rpm/macros.%{progname}
|
|
|
|
# Macros from %{name} package
|
|
|
|
%%firefox_major %{major}
|
|
|
|
%%firefox_version %{version}
|
|
|
|
%%firefox_mainver %{mainver}
|
2011-03-21 10:47:37 +01:00
|
|
|
%%firefox_mozillapath %%{_libdir}/%{progname}
|
|
|
|
%%firefox_pluginsdir %%{_libdir}/browser-plugins
|
2011-01-28 18:09:26 +01:00
|
|
|
%%firefox_appid \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
|
|
|
%%firefox_extdir %%(if [ "%%_target_cpu" = "noarch" ]; then echo %%{_datadir}/mozilla/extensions/%%{firefox_appid}; else echo %%{_libdir}/mozilla/extensions/%%{firefox_appid}; fi)
|
|
|
|
|
|
|
|
%%firefox_ext_install() \
|
|
|
|
extdir="%%{buildroot}%%{firefox_extdir}/`mozilla-get-app-id '%%1'`" \
|
|
|
|
mkdir -p "$extdir" \
|
|
|
|
%%{__unzip} -q -d "$extdir" "%%1" \
|
|
|
|
%%{nil}
|
|
|
|
FIN
|
|
|
|
# just dumping an xpi file there doesn't work...
|
|
|
|
#%%firefox_ext_install() \
|
|
|
|
# extdir="%%{buildroot}%%{firefox_extdir}" \
|
|
|
|
# mkdir -p "$extdir" \
|
|
|
|
# cp "%%1" "$extdir" \
|
|
|
|
# %%{nil}
|
2009-07-29 14:51:51 +02:00
|
|
|
# fdupes
|
2008-03-26 16:01:54 +01:00
|
|
|
%fdupes $RPM_BUILD_ROOT%{progdir}
|
|
|
|
%fdupes $RPM_BUILD_ROOT%{_datadir}
|
2011-06-01 08:05:09 +02:00
|
|
|
# create breakpad debugsymbols
|
|
|
|
%if %crashreporter
|
|
|
|
SYMBOLS_NAME="firefox-%{version}-%{release}.%{_arch}-%{suse_version}-symbols"
|
|
|
|
make buildsymbols \
|
|
|
|
SYMBOL_INDEX_NAME="$SYMBOLS_NAME.txt" \
|
|
|
|
SYMBOL_FULL_ARCHIVE_BASENAME="$SYMBOLS_NAME-full" \
|
|
|
|
SYMBOL_ARCHIVE_BASENAME="$SYMBOLS_NAME"
|
|
|
|
if [ -e dist/*symbols.zip ]; then
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/mozilla/
|
|
|
|
cp dist/*symbols.zip $RPM_BUILD_ROOT%{_datadir}/mozilla/
|
|
|
|
fi
|
|
|
|
%endif
|
2007-01-08 12:23:18 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2009-08-10 23:34:51 +02:00
|
|
|
%if %localize
|
|
|
|
rm -rf %{_tmppath}/translations.*
|
|
|
|
%endif
|
2007-03-13 00:58:50 +01:00
|
|
|
|
2007-01-08 12:23:18 +01:00
|
|
|
%post
|
2008-03-26 16:01:54 +01:00
|
|
|
# update mime and desktop database
|
2011-01-24 10:14:26 +01:00
|
|
|
%if %suse_version > 1130
|
|
|
|
%mime_database_post
|
|
|
|
%desktop_database_post
|
|
|
|
%icon_theme_cache_post
|
|
|
|
%else
|
2008-02-15 01:45:38 +01:00
|
|
|
if [ -f usr/bin/update-mime-database ] ; then
|
2008-03-26 16:01:54 +01:00
|
|
|
usr/bin/update-mime-database %{_datadir}/mime > /dev/null || :
|
2008-02-15 01:45:38 +01:00
|
|
|
fi
|
|
|
|
if [ -f usr/bin/update-desktop-database ] ; then
|
2008-03-26 16:01:54 +01:00
|
|
|
usr/bin/update-desktop-database > /dev/null || :
|
2008-02-15 01:45:38 +01:00
|
|
|
fi
|
2011-01-24 10:14:26 +01:00
|
|
|
%endif
|
2011-06-01 08:05:09 +02:00
|
|
|
%{progdir}/add-plugins.sh > /dev/null 2>&1
|
2007-01-08 12:23:18 +01:00
|
|
|
exit 0
|
2007-03-13 00:58:50 +01:00
|
|
|
|
2008-02-15 01:45:38 +01:00
|
|
|
%postun
|
2011-01-24 10:14:26 +01:00
|
|
|
%if %suse_version > 1130
|
|
|
|
%icon_theme_cache_postun
|
|
|
|
%desktop_database_postun
|
|
|
|
%mime_database_postun
|
|
|
|
%else
|
2008-02-15 01:45:38 +01:00
|
|
|
if [ -f usr/bin/update-mime-database ] ; then
|
2008-03-26 16:01:54 +01:00
|
|
|
usr/bin/update-mime-database %{_datadir}/mime > /dev/null || :
|
2008-02-15 01:45:38 +01:00
|
|
|
fi
|
|
|
|
if [ -f usr/bin/update-desktop-database ] ; then
|
2008-03-26 16:01:54 +01:00
|
|
|
usr/bin/update-desktop-database > /dev/null || :
|
2008-02-15 01:45:38 +01:00
|
|
|
fi
|
2011-01-24 10:14:26 +01:00
|
|
|
%endif
|
|
|
|
exit 0
|
2008-03-26 16:01:54 +01:00
|
|
|
|
2011-06-01 08:05:09 +02:00
|
|
|
%posttrans
|
|
|
|
[ -e %{progdir}/add-plugins.sh ] && \
|
|
|
|
%{progdir}/add-plugins.sh > /dev/null 2>&1
|
|
|
|
exit 0
|
|
|
|
|
|
|
|
%preun
|
|
|
|
rm -f %{progdir}/dictionaries/*
|
|
|
|
exit 0
|
|
|
|
|
2010-01-08 01:32:43 +01:00
|
|
|
%files
|
2008-03-26 16:01:54 +01:00
|
|
|
%defattr(-,root,root)
|
2007-01-08 12:23:18 +01:00
|
|
|
%dir %{progdir}
|
2013-05-14 16:33:59 +02:00
|
|
|
%dir %{progdir}/browser/
|
|
|
|
%dir %{progdir}/browser/chrome/
|
|
|
|
%dir %{progdir}/browser/extensions/
|
|
|
|
%{progdir}/browser/components/
|
|
|
|
%{progdir}/browser/defaults
|
|
|
|
%{progdir}/browser/icons/
|
|
|
|
%{progdir}/browser/chrome/icons
|
|
|
|
%{progdir}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
|
|
|
|
%{progdir}/browser/searchplugins/
|
|
|
|
%{progdir}/browser/blocklist.xml
|
|
|
|
%{progdir}/browser/chrome.manifest
|
|
|
|
%{progdir}/browser/omni.ja
|
2011-01-24 10:14:26 +01:00
|
|
|
%dir %{progdir}/distribution/
|
2013-05-14 16:33:59 +02:00
|
|
|
%{progdir}/distribution/extensions/
|
2007-01-08 12:23:18 +01:00
|
|
|
%{progdir}/components/
|
|
|
|
%{progdir}/defaults/
|
2011-06-01 08:05:09 +02:00
|
|
|
%{progdir}/dictionaries/
|
2013-05-14 16:33:59 +02:00
|
|
|
%{progdir}/webapprt/
|
2007-01-08 12:23:18 +01:00
|
|
|
%attr(755,root,root) %{progdir}/%{progname}.sh
|
2012-07-16 10:13:51 +02:00
|
|
|
%{progdir}/firefox
|
2011-06-01 08:05:09 +02:00
|
|
|
%{progdir}/firefox-bin
|
|
|
|
%{progdir}/add-plugins.sh
|
2008-03-26 16:01:54 +01:00
|
|
|
%{progdir}/application.ini
|
2011-06-01 08:05:09 +02:00
|
|
|
%{progdir}/dependentlibs.list
|
|
|
|
%{progdir}/*.so
|
|
|
|
%{progdir}/mozilla-xremote-client
|
2012-02-01 14:37:15 +01:00
|
|
|
%{progdir}/omni.ja
|
2011-06-01 08:05:09 +02:00
|
|
|
%{progdir}/platform.ini
|
|
|
|
%{progdir}/plugin-container
|
2012-10-09 13:14:08 +02:00
|
|
|
%{progdir}/webapprt-stub
|
2013-05-14 16:33:59 +02:00
|
|
|
%{progdir}/chrome.manifest
|
2010-08-01 17:17:34 +02:00
|
|
|
%if %crashreporter
|
2011-06-01 08:05:09 +02:00
|
|
|
%{progdir}/crashreporter
|
|
|
|
%{progdir}/crashreporter.ini
|
|
|
|
%{progdir}/Throbber-small.gif
|
2013-05-14 16:33:59 +02:00
|
|
|
%{progdir}/browser/crashreporter-override.ini
|
2010-08-01 17:17:34 +02:00
|
|
|
%endif
|
2011-01-13 14:04:03 +01:00
|
|
|
%{_datadir}/applications/%{desktop_file_name}.desktop
|
2008-09-26 16:53:00 +02:00
|
|
|
%{_datadir}/mime/packages/%{progname}.xml
|
2008-06-23 23:39:45 +02:00
|
|
|
%{_datadir}/pixmaps/firefox*
|
2011-01-28 18:09:26 +01:00
|
|
|
%dir %{_datadir}/mozilla
|
|
|
|
%dir %{_datadir}/mozilla/extensions
|
|
|
|
%dir %{_datadir}/mozilla/extensions/%{firefox_appid}
|
|
|
|
%dir %{_libdir}/mozilla
|
|
|
|
%dir %{_libdir}/mozilla/extensions
|
|
|
|
%dir %{_libdir}/mozilla/extensions/%{firefox_appid}
|
2007-01-26 00:57:56 +01:00
|
|
|
%{gnome_dir}/share/icons/hicolor/
|
2008-06-23 23:39:45 +02:00
|
|
|
%{_bindir}/%{progname}
|
2008-09-26 16:53:00 +02:00
|
|
|
%doc %{_mandir}/man1/%{progname}.1.gz
|
2010-03-26 02:09:50 +01:00
|
|
|
|
2011-01-28 18:09:26 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/mozilla-get-app-id
|
|
|
|
%config /etc/rpm/macros.%{progname}
|
2011-01-25 09:00:34 +01:00
|
|
|
|
2011-01-28 18:09:26 +01:00
|
|
|
%if %localize
|
2011-08-15 14:14:28 +02:00
|
|
|
|
2009-08-10 23:34:51 +02:00
|
|
|
%files translations-common -f %{_tmppath}/translations.common
|
|
|
|
%defattr(-,root,root)
|
2010-01-08 01:32:43 +01:00
|
|
|
%dir %{progdir}
|
2013-05-14 16:33:59 +02:00
|
|
|
%dir %{progdir}/browser/extensions/
|
2009-08-10 23:34:51 +02:00
|
|
|
|
|
|
|
%files translations-other -f %{_tmppath}/translations.other
|
2007-01-08 12:23:18 +01:00
|
|
|
%defattr(-,root,root)
|
2010-01-08 01:32:43 +01:00
|
|
|
%dir %{progdir}
|
2013-05-14 16:33:59 +02:00
|
|
|
%dir %{progdir}/browser/extensions/
|
2007-01-08 12:23:18 +01:00
|
|
|
%endif
|
2009-12-21 14:04:16 +01:00
|
|
|
|
2011-07-01 11:12:30 +02:00
|
|
|
# this package does not need to provide files but is needed to fulfill
|
|
|
|
# requirements if no other branding package is to be installed
|
2011-08-15 14:14:28 +02:00
|
|
|
|
2011-07-01 11:12:30 +02:00
|
|
|
%files branding-upstream
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{progdir}
|
2011-06-01 08:05:09 +02:00
|
|
|
|
|
|
|
%if %crashreporter
|
2011-08-15 14:14:28 +02:00
|
|
|
|
2011-06-01 08:05:09 +02:00
|
|
|
%files buildsymbols
|
2010-11-30 15:35:52 +01:00
|
|
|
%defattr(-,root,root)
|
2011-06-01 08:05:09 +02:00
|
|
|
%{_datadir}/mozilla/*.zip
|
|
|
|
%endif
|
2009-07-04 13:30:11 +02:00
|
|
|
|
2007-02-25 23:32:56 +01:00
|
|
|
%changelog
|