diff --git a/48278-firefox_mond.png b/48278-firefox_mond.png new file mode 100644 index 0000000..4376a14 Binary files /dev/null and b/48278-firefox_mond.png differ diff --git a/README.md b/README.md index 054c1c6..231ce35 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # firefox +Mofilla Firefox is the next generation browsing technology from mozilla.org. + diff --git a/firefox-17.0-script b/firefox-17.0-script new file mode 100644 index 0000000..7aa03d8 --- /dev/null +++ b/firefox-17.0-script @@ -0,0 +1,200 @@ +#!/bin/sh +# +# The contents of this file are subject to the Netscape Public +# License Version 1.1 (the "License"); you may not use this file +# except in compliance with the License. You may obtain a copy of +# the License at http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS +# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or +# implied. See the License for the specific language governing +# rights and limitations under the License. +# +# The Original Code is mozilla.org code. +# +# The Initial Developer of the Original Code is Netscape +# Communications Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All +# Rights Reserved. +# +# Contributor(s): +# + +## +## Usage: +## +## $ firefox +## +## This script is meant to run a mozilla program from the mozilla +## rpm installation. +## +## The script will setup all the environment voodoo needed to make +## mozilla work. + +cmdname=`basename $0` + +## +## Variables +## +MOZ_ARCH=$(uname -m) +case $MOZ_ARCH in + x86_64 | s390x | sparc64) + MOZ_LIB_DIR="/usr/lib64" + SECONDARY_LIB_DIR="/usr/lib" + ;; + * ) + MOZ_LIB_DIR="/usr/lib" + SECONDARY_LIB_DIR="/usr/lib64" + ;; +esac + +if [ ! -x $MOZ_LIB_DIR/firefox-FIREFOX_VERSION/firefox ]; then + if [ ! -x $SECONDARY_LIB_DIR/firefox-FIREFOX_VERSION/firefox ]; then + echo "Error: $MOZ_LIB_DIR/firefox-FIREFOX_VERSION/firefox not found" + if [ -d $SECONDARY_LIB_DIR ]; then + echo " $SECONDARY_LIB_DIR/firefox-FIREFOX_VERSION/firefox not found" + fi + exit 1 + fi + MOZ_LIB_DIR="$SECONDARY_LIB_DIR" +fi +MOZ_DIST_BIN="$MOZ_LIB_DIR/firefox-FIREFOX_VERSION" +#MOZ_XUL_DIR="XULRUNNER_DIRECTORY" +#MOZ_LANGPACKS_DIR="$MOZ_DIST_BIN/langpacks" +MOZ_EXTENSIONS_DIR="$MOZ_DIST_BIN/extensions" +MOZ_EXTENSIONS_PROFILE_DIR="$HOME/.mozilla/extensions/{ec8030f7-c20a-464f-9b0e-13a3a9e97384}" +MOZ_PROGRAM="$MOZ_DIST_BIN/firefox -app $MOZ_DIST_BIN/application.ini" +MOZ_LAUCHER="$MOZ_DIST_BIN/run-mozilla.sh" + +## +## Set MOZ_GRE_CONF +## +MOZ_GRE_CONF=/etc/gre.d/gre.conf +#if [ "$MOZ_LIB_DIR" == "/usr/lib64" ]; then +# MOZ_GRE_CONF=/etc/gre.d/gre64.conf +#fi +export MOZ_GRE_CONF + +## +## Set MOZILLA_FIVE_HOME +## +MOZILLA_FIVE_HOME="$MOZ_DIST_BIN" + +export MOZILLA_FIVE_HOME + +## +## Select the propper plugin dir +## Wrapped plug-ins are located in /lib/mozilla/plugins-wrapped +## +if [ -x "/usr/bin/mozilla-plugin-config" ] +then + MOZ_PLUGIN_DIR="plugins-wrapped" +else + MOZ_PLUGIN_DIR="plugins" +fi + +## +## Make sure that we set the plugin path +## +if [ "$MOZ_PLUGIN_PATH" ] +then + MOZ_PLUGIN_PATH=$MOZ_PLUGIN_PATH:$MOZ_LIB_DIR/mozilla/$MOZ_PLUGIN_DIR:$MOZ_DIST_BIN/$MOZ_PLUGIN_DIR +else + MOZ_PLUGIN_PATH=$MOZ_LIB_DIR/mozilla/$MOZ_PLUGIN_DIR:$MOZ_DIST_BIN/$MOZ_PLUGIN_DIR +fi +export MOZ_PLUGIN_PATH + +## +## Set MOZ_APP_LAUNCHER for gnome-session +## +export MOZ_APP_LAUNCHER="/usr/bin/firefox" + +## +## If plugins are wrapped, check them +## +if [ -x "/usr/bin/mozilla-plugin-config" ] +then + /usr/bin/mozilla-plugin-config +fi + +## +## Set FONTCONFIG_PATH for Xft/fontconfig +## +FONTCONFIG_PATH="/etc/fonts:${MOZILLA_FIVE_HOME}/res/Xft" +export FONTCONFIG_PATH + +## +## In order to better support certain scripts (such as Indic and some CJK +## scripts), Fedora builds its Firefox, with permission from the Mozilla +## Corporation, with the Pango system as its text renderer. This change +## may negatively impact performance on some pages. To disable the use of +## Pango, set MOZ_DISABLE_PANGO=1 in your environment before launching +## Firefox. +## +# +# MOZ_DISABLE_PANGO=1 +# export MOZ_DISABLE_PANGO +# + +## +## Disable the GNOME crash dialog, Moz has it's own +## +GNOME_DISABLE_CRASH_DIALOG=1 +export GNOME_DISABLE_CRASH_DIALOG + +# OK, here's where all the real work gets done + + +## +## To disable the use of Firefox localization, set MOZ_DISABLE_LANGPACKS=1 +## in your environment before launching Firefox. +## +# +# MOZ_DISABLE_LANGPACKS=1 +# export MOZ_DISABLE_LANGPACKS +# + +MOZARGS= +SHORTMOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*||g"` +[ -f $MOZ_EXTENSIONS_DIR/langpack-${SHORTMOZLOCALE}@firefox.mozilla.org/chrome/$SHORTMOZLOCALE.jar ] && MOZARGS="-UILocale $SHORTMOZLOCALE" + +MOZLOCALE=`echo $LANG | sed "s|_\([^.]*\).*|-\1|g"` +[ -f $MOZ_EXTENSIONS_DIR/langpack-${MOZLOCALE}@firefox.mozilla.org/chrome/$MOZLOCALE.jar ] && MOZARGS="-UILocale $MOZLOCALE" + +# Prepare command line arguments +script_args="" +pass_arg_count=0 +while [ $# -gt $pass_arg_count ] +do + case "$1" in + -g | --debug) + script_args="$script_args -g" + debugging=1 + shift + ;; + -d | --debugger) + if [ $# -gt 1 ]; then + script_args="$script_args -d $2" + shift 2 + else + shift + fi + ;; + *) + # Move the unrecognized argument to the end of the list. + arg="$1" + shift + set -- "$@" "$arg" + pass_arg_count=`expr $pass_arg_count + 1` + ;; + esac +done + +# Run the browser +debugging=0 +if [ $debugging = 1 ] +then + echo $MOZ_LAUCHER $script_args $MOZ_PROGRAM $MOZARGS "$@" +fi + +exec $MOZ_LAUCHER $script_args $MOZ_PROGRAM $MOZARGS "$@" diff --git a/firefox-4.0-01-default.patch b/firefox-4.0-01-default.patch new file mode 100644 index 0000000..f82fa47 --- /dev/null +++ b/firefox-4.0-01-default.patch @@ -0,0 +1,91 @@ +diff -Nru browser/components/preferences/advanced.xul browser/components-gil/preferences/advanced.xul +--- browser/components/preferences/advanced.xul 2011-01-22 01:24:21.000000000 +0100 ++++ browser/components-gil/preferences/advanced.xul 2011-01-26 07:42:03.000000000 +0100 +@@ -194,10 +194,11 @@ + + + #ifdef HAVE_SHELL_SERVICE ++#ifdef MOZ_CRASHREPORTER + + + +- ++#ifdef 0 + + + ++#endif + #ifdef MOZ_CRASHREPORTER + + #endif ++#endif + + + +diff -Nru browser/components/shell/src/nsGNOMEShellService.cpp browser/components-gil/shell/src/nsGNOMEShellService.cpp +--- browser/components/shell/src/nsGNOMEShellService.cpp 2011-01-22 01:24:22.000000000 +0100 ++++ browser/components-gil/shell/src/nsGNOMEShellService.cpp 2011-01-26 07:51:36.000000000 +0100 +@@ -140,27 +140,21 @@ + PRBool + nsGNOMEShellService::KeyMatchesAppName(const char *aKeyValue) const + { ++ nsCAutoString appName; + +- gchar *commandPath; + if (mUseLocaleFilenames) { + gchar *nativePath = g_filename_from_utf8(aKeyValue, -1, NULL, NULL, NULL); + if (!nativePath) { + NS_ERROR("Error converting path to filesystem encoding"); + return PR_FALSE; + } +- +- commandPath = g_find_program_in_path(nativePath); ++ appName.Assign(nativePath); + g_free(nativePath); + } else { +- commandPath = g_find_program_in_path(aKeyValue); ++ appName.Assign(aKeyValue); + } +- +- if (!commandPath) +- return PR_FALSE; +- +- PRBool matches = mAppPath.Equals(commandPath); +- g_free(commandPath); +- return matches; ++ // Compare default browser command retrieved from gconf with MOZ_APP_NAME ++ return appName.EqualsLiteral(MOZ_APP_NAME); + } + + NS_IMETHODIMP +@@ -215,8 +209,8 @@ + + nsCOMPtr gconf = do_GetService(NS_GCONFSERVICE_CONTRACTID); + if (gconf) { +- nsCAutoString appKeyValue(mAppPath); +- appKeyValue.Append(" \"%s\""); ++ nsCAutoString appKeyValue(MOZ_APP_NAME); ++ appKeyValue.Append(" %s"); + for (unsigned int i = 0; i < NS_ARRAY_LENGTH(appProtocols); ++i) { + if (appProtocols[i].essential || aClaimAllTypes) { + gconf->SetAppForProtocol(nsDependentCString(appProtocols[i].name), +diff -Nru browser/components/shell/src/nsGNOMEShellService.h browser/components-gil/shell/src/nsGNOMEShellService.h +--- browser/components/shell/src/nsGNOMEShellService.h 2011-01-22 01:24:22.000000000 +0100 ++++ browser/components-gil/shell/src/nsGNOMEShellService.h 2011-01-26 07:39:05.000000000 +0100 +@@ -43,7 +43,7 @@ + class nsGNOMEShellService : public nsIShellService + { + public: +- nsGNOMEShellService() : mCheckedThisSession(PR_FALSE) { } ++ nsGNOMEShellService() : mCheckedThisSession(PR_TRUE) { } + + NS_DECL_ISUPPORTS + NS_DECL_NSISHELLSERVICE diff --git a/firefox-4.0-build-throw.patch b/firefox-4.0-build-throw.patch new file mode 100644 index 0000000..ccade4e --- /dev/null +++ b/firefox-4.0-build-throw.patch @@ -0,0 +1,11 @@ +--- memory/mozalloc/mozalloc.h 2010-09-14 16:14:54.000000000 +0200 ++++ memory/mozalloc/mozalloc.h-gil 2010-10-05 00:45:01.000000000 +0200 +@@ -214,7 +214,7 @@ + #define MOZALLOC_THROW_IF_HAS_EXCEPTIONS throw() + #endif + +-#ifdef MOZ_CPP_EXCEPTIONS ++#if 1 + #define MOZALLOC_THROW_BAD_ALLOC throw(std::bad_alloc) + #else + #define MOZALLOC_THROW_BAD_ALLOC MOZALLOC_THROW_IF_HAS_EXCEPTIONS diff --git a/firefox-4.0-disable-checkupdates.patch b/firefox-4.0-disable-checkupdates.patch new file mode 100644 index 0000000..085fdf9 --- /dev/null +++ b/firefox-4.0-disable-checkupdates.patch @@ -0,0 +1,11 @@ +--- browser/base/content/utilityOverlay.js 2010-09-14 16:15:11.000000000 +0200 ++++ browser/base/content/utilityOverlay.js-gil 2010-10-05 00:48:51.000000000 +0200 +@@ -502,7 +502,7 @@ + // Disable the UI if the update enabled pref has been locked by the + // administrator or if we cannot update for some other reason + var checkForUpdates = document.getElementById("checkForUpdates"); +- var canCheckForUpdates = updates.canCheckForUpdates; ++ var canCheckForUpdates = updates.canCheckForUpdates && updates.canApplyUpdates; + checkForUpdates.setAttribute("disabled", !canCheckForUpdates); + if (!canCheckForUpdates) + return; diff --git a/firefox-4.0-jemalloc.patch b/firefox-4.0-jemalloc.patch new file mode 100644 index 0000000..1dae0ac --- /dev/null +++ b/firefox-4.0-jemalloc.patch @@ -0,0 +1,21 @@ +--- memory/jemalloc/jemalloc.h 2010-09-14 16:14:54.000000000 +0200 ++++ memory/jemalloc/jemalloc.h-gil 2010-10-05 00:42:25.000000000 +0200 +@@ -42,12 +42,12 @@ + + /* Darwin and Linux already have memory allocation functions */ + #if (!defined(MOZ_MEMORY_DARWIN) && !defined(MOZ_MEMORY_LINUX)) +-void *malloc(size_t size); +-void *valloc(size_t size); +-void *calloc(size_t num, size_t size); +-void *realloc(void *ptr, size_t size); +-void free(void *ptr); +-int posix_memalign(void **memptr, size_t alignment, size_t size); ++void *malloc(size_t size) __THROW __attribute_malloc__ __wur; ++void *valloc(size_t size) __THROW __attribute_malloc__ __wur; ++void *calloc(size_t num, size_t size) __THROW __attribute_malloc__ __wur; ++void *realloc(void *ptr, size_t size) __THROW __attribute_malloc__ __wur; ++void free(void *ptr) __THROW __attribute_malloc__ __wur; ++int posix_memalign(void **memptr, size_t alignment, size_t size) __THROW __attribute_malloc__ __wur; + #endif /* MOZ_MEMORY_DARWIN, MOZ_MEMORY_LINUX */ + + #if defined(MOZ_MEMORY_ANDROID) || defined(WRAP_MALLOC) diff --git a/firefox-4.0-version.patch b/firefox-4.0-version.patch new file mode 100644 index 0000000..b65daeb --- /dev/null +++ b/firefox-4.0-version.patch @@ -0,0 +1,11 @@ +--- browser/installer/Makefile.in 2010-09-14 16:14:29.000000000 +0200 ++++ browser/installer/Makefile.in-gil 2010-10-05 00:37:41.000000000 +0200 +@@ -45,6 +45,8 @@ + + include $(topsrcdir)/config/rules.mk + ++MOZ_APP_VERSION="__RPM_VERSION_INTERNAL__" ++ + MOZ_PKG_REMOVALS = $(srcdir)/removed-files.in + + ifdef MOZ_ENABLE_LIBXUL diff --git a/firefox-7.0-cache-build.patch b/firefox-7.0-cache-build.patch new file mode 100644 index 0000000..2da225f --- /dev/null +++ b/firefox-7.0-cache-build.patch @@ -0,0 +1,53 @@ +diff -up firefox-7.0/mozilla-beta/browser/installer/Makefile.in.cache firefox-7.0/mozilla-beta/browser/installer/Makefile.in +--- firefox-7.0/mozilla-beta/browser/installer/Makefile.in.cache 2011-09-06 10:43:04.421293791 +0200 ++++ firefox-7.0/mozilla-beta/browser/installer/Makefile.in 2011-09-06 10:43:04.422293805 +0200 +@@ -114,19 +114,6 @@ ifndef LIBXUL_SDK + INSTALL_SDK = 1 + endif + +-ifneq (1_,$(if $(CROSS_COMPILE),1,0)_$(UNIVERSAL_BINARY)) +-ifdef RUN_TEST_PROGRAM +-_ABS_RUN_TEST_PROGRAM = $(call core_abspath,$(RUN_TEST_PROGRAM)) +-endif +- +-GENERATE_CACHE = \ +- $(_ABS_RUN_TEST_PROGRAM) $(LIBXUL_DIST)/bin/xpcshell$(BIN_SUFFIX) -g "$$PWD" -a "$$PWD" -f $(topsrcdir)/browser/installer/precompile_cache.js -e 'populate_startupcache("omni.jar", "startupCache.zip");' && \ +- rm -rf jsloader && \ +- $(UNZIP) startupCache.zip && \ +- rm startupCache.zip && \ +- $(ZIP) -r9m omni.jar jsloader +-endif +- + include $(topsrcdir)/toolkit/mozapps/installer/packager.mk + + ifeq (bundle, $(MOZ_FS_LAYOUT)) +diff -up firefox-7.0/mozilla-beta/browser/installer/package-manifest.in.cache firefox-7.0/mozilla-beta/browser/installer/package-manifest.in +--- firefox-7.0/mozilla-beta/browser/installer/package-manifest.in.cache 2011-08-31 21:16:05.000000000 +0200 ++++ firefox-7.0/mozilla-beta/browser/installer/package-manifest.in 2011-09-06 10:43:04.423293819 +0200 +@@ -91,6 +91,7 @@ + + [browser] + ; [Base Browser Files] ++@BINPATH@/jsloader/ + #ifndef XP_UNIX + @BINPATH@/@MOZ_APP_NAME@.exe + #else +diff -up firefox-7.0/mozilla-beta/toolkit/mozapps/installer/packager.mk.cache firefox-7.0/mozilla-beta/toolkit/mozapps/installer/packager.mk +--- firefox-7.0/mozilla-beta/toolkit/mozapps/installer/packager.mk.cache 2011-08-31 21:16:34.000000000 +0200 ++++ firefox-7.0/mozilla-beta/toolkit/mozapps/installer/packager.mk 2011-09-06 10:43:52.861924899 +0200 +@@ -383,7 +383,6 @@ MAKE_SDK = $(CREATE_FINAL_TAR) - $(MOZ_A + endif + + ifdef MOZ_OMNIJAR +-GENERATE_CACHE ?= true + + OMNIJAR_FILES = \ + chrome \ +@@ -413,7 +412,6 @@ PACK_OMNIJAR = \ + mv tmp.manifest $$m; \ + done; \ + $(ZIP) -r9m omni.jar $(OMNIJAR_FILES) -x $(NON_OMNIJAR_FILES) && \ +- $(GENERATE_CACHE) && \ + $(OPTIMIZE_JARS_CMD) --optimize $(JARLOG_DIR_AB_CD) ./ ./ && \ + mv binary.manifest components && \ + printf "manifest components/binary.manifest\n" > chrome.manifest diff --git a/firefox-lang.sh b/firefox-lang.sh new file mode 100644 index 0000000..fffd6f6 --- /dev/null +++ b/firefox-lang.sh @@ -0,0 +1,16 @@ +#!/bin/sh +# gil +FIREFOX_VERSION=$1 + +if [ -z "$FIREFOX_VERSION" ]; then + echo "Usage: $0 " + exit 2 +fi + +rm -rf firefox-$FIREFOX_VERSION +mkdir firefox-$FIREFOX_VERSION +cd firefox-$FIREFOX_VERSION +wget -r -N -l 1 -np -nd -A "*.xpi" ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/$FIREFOX_VERSION/linux-i686/xpi/*.xpi +rm -f robots.txt +tar -cj *.xpi > ../firefox-$FIREFOX_VERSION-langpacks.tar.bz2 +#rm -rf firefox-$FIREFOX_VERSION diff --git a/firefox-openmamba-bookmarks-html b/firefox-openmamba-bookmarks-html new file mode 100644 index 0000000..c3f59a0 --- /dev/null +++ b/firefox-openmamba-bookmarks-html @@ -0,0 +1,41 @@ + + + +Bookmarks +

Bookmarks

+ +

+

Bookmarks Toolbar Folder

+
Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar +

+

openmamba.org +
Getting Started +
Latest Headlines +

+

Mozilla Firefox

+

+

Help and Tutorials +
Customize Firefox +
Get Involved +
About Us +

+

openmamba Project

+

+

openmamba.org

+

+

The openmamba Organization +
openmamba: Products +
openmamba: Events +

+

Community & Support

+

+

openmamba: Community +
openmamba: Forum +
openmamba: Wiki +
openmamba: Support +

+


+

+

diff --git a/firefox.png b/firefox.png new file mode 100644 index 0000000..d5c89a6 Binary files /dev/null and b/firefox.png differ diff --git a/firefox.spec b/firefox.spec new file mode 100644 index 0000000..fbbbf2b --- /dev/null +++ b/firefox.spec @@ -0,0 +1,1944 @@ +%define distroname openmamba +%define default_browser_homepage http://www.openmamba.org + +%define testing 0 + +%define firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} +%define majversion %(echo %version | cut -d. -f 1-2) +%define xulrunner_ver %(echo %version | cut -d. -f 1) +%define firefox_internal_version %(echo %version | cut -d. -f1) +%define firefoxappdir %{_libdir}/firefox-%{firefox_internal_version} + +%define xul_sdk_dir %(pkg-config --variable=sdkdir libxul) +#%define xul_lib_dir %(pkg-config --variable=libdir libxul) +%define xul_lib_dir %{_libdir}/xulrunner-%{xulrunner_ver} +#%define mozilla_version central +%define mozilla_version release +%define source_dir mozilla-%{mozilla_version} + +Name: firefox +Version: 17.0.1 +Release: 2mamba +Epoch: 1 +Summary: The next generation browsing technology from mozilla.org +Group: Graphical Desktop/Applications/Internet +Vendor: openmamba +Distribution: openmamba +Packager: Aleph0 +URL: http://www.mozilla.org/firefox +Source0: ftp://ftp.mozilla.org/pub/firefox/releases/%{version}/source/firefox-%{version}.source.tar.bz2 +# langpack got with +# sh firefox-lang.sh %{version} +Source1: firefox-%{version}-langpacks.tar.bz2 +Source2: mozilla-firefox.desktop +Source3: firefox.png +Source4: mozilla-wrapper +Source5: 48278-firefox_mond.png +Source7: mozilla-firefox-safemode.desktop +Source8: firefox-lang.sh +Source9: firefox-17.0-script +Source10: firefox-openmamba-bookmarks-html +Patch0: firefox-4.0-version.patch +Patch1: firefox-4.0-jemalloc.patch +Patch2: firefox-4.0-build-throw.patch +Patch3: firefox-4.0-disable-checkupdates.patch +Patch4: firefox-4.0-01-default.patch +Patch5: xulrunner-2.0-os2cc.patch +Patch6: firefox-7.0-cache-build.patch +License: GPL, LGPL, MPL 1.1 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libatk-devel +BuildRequires: libcairo-devel +BuildRequires: libfontconfig-devel +BuildRequires: libfreetype-devel +BuildRequires: libgcc +BuildRequires: libgdk-pixbuf-devel +BuildRequires: libglib-devel +BuildRequires: libgtk-devel +BuildRequires: libnspr-devel +BuildRequires: libpango-devel +BuildRequires: libpng-devel +BuildRequires: libstartup-notification-devel +BuildRequires: libstdc++6-devel +BuildRequires: libX11-devel +BuildRequires: libXrender-devel +BuildRequires: xulrunner-devel +## AUTOBUILDREQ-END +BuildRequires: xulrunner-devel = %{version} +BuildRequires: GConf-devel +BuildRequires: libalsa-devel +BuildRequires: libart_lgpl-devel +BuildRequires: libbonoboui-devel +BuildRequires: libglitz-devel +BuildRequires: libgnomecanvas-devel +BuildRequires: libgnome-keyring-devel +BuildRequires: libgnomeui-devel +BuildRequires: libgnome-vfs-devel +BuildRequires: libICE-devel +BuildRequires: libIDL-devel +BuildRequires: libSM-devel +BuildRequires: libxcb-util-devel +BuildRequires: libXft-devel +BuildRequires: libXinerama-devel +BuildRequires: libxml2-devel +BuildRequires: libdbus-glib-devel +BuildRequires: libcurl-devel +BuildRequires: libz-devel +#BuildRequires: mozldap-devel +BuildRequires: pkgconfig +BuildRequires: libXext-devel +BuildRequires: xorg-proto-devel +BuildRequires: java-gcj-compat +BuildRequires: java-gcj-compat-runtime +BuildRequires: libpthread-stubs-devel +BuildRequires: glibc +BuildRequires: doxygen +BuildRequires: zip +BuildRequires: unzip +BuildRequires: bash +BuildRequires: yasm +Requires: xulrunner = %{version} +BuildRoot: %{_tmppath}/firefox-%{version}-root + +%description +Mofilla Firefox is the next generation browsing technology from mozilla.org. + +%package devel +Summary: Devel files for Mozilla Firefox +Group: Development/Applications +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description devel +Mofilla Firefox is the next generation browsing technology from mozilla.org. +This package contains static libraries and header files need for development. + +%prep +%setup -q -c -n firefox-%{version} +# -D -T +#:<< ___EOF + +# See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20297 +#%if "%{_target_cpu}" != "i586" +#%patch2 -p0 -b .visibility +#%endif + +#sed -i "s,LIBDIR,%{_libdir}," mozilla-%{mozilla_version}/build/unix/mozilla.in + +cd %{source_dir} +sed -e 's|__RPM_VERSION_INTERNAL__|%{firefox_internal_version}|' %{PATCH0} | patch -p0 +#%patch1 -p0 +#%patch2 -p0 +#%patch3 -p0 +#%patch4 -p0 +%patch5 -p1 -b .os2cc +#%patch6 -p2 + +%define _use_internal_dependency_generator 0 +%define __find_provides %{_builddir}/firefox-%{version}/find_provides.sh +cat > %{_builddir}/firefox-%{version}/find_provides.sh <<_EOF +#! /bin/sh +grep -v %{buildroot}%{firefoxappdir} | \ +%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu} +_EOF +chmod +x %{_builddir}/firefox-%{version}/find_provides.sh + +%define __find_requires %{_builddir}/firefox-%{version}/find_requires.sh +cat > %{_builddir}/firefox-%{version}/find_requires.sh <<_EOF +#! /bin/sh +%{_libdir}/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null | +while read line; do + [ ! -f %{buildroot}%{firefoxappdir}/\$line ] && echo "\$line" +done +_EOF +chmod +x %{_builddir}/firefox-%{version}/find_requires.sh + +#___EOF + +%build +#:<< ___EOF +cd %{source_dir} + +export LDFLAGS='-lX11 -lXrender' PYTHON=%{__python} +export MOZ_PHOENIX="1" +export BUILD_OFFICIAL="1" +export MOZILLA_OFFICIAL="1" +%configure \ + --prefix=%{_prefix} \ + --bindir=%{_bindir} \ + --libdir=%{_libdir} \ + --mandir=%{_mandir} \ + --disable-elf-hack \ + --with-libxul-sdk=%{xul_sdk_dir} \ + --enable-system-cairo \ + --with-system-libxul \ + --with-system-jpeg \ + --with-system-zlib \ + --with-system-png \ + --with-system-mng \ + --with-system-nspr \ + --with-system-nss \ + --with-x \ + --enable-canvas \ + --enable-svg \ + --enable-svg-renderer=cairo \ + --with-pthreads \ + --with-java-bin-path=%{_bindir} \ + --enable-default-toolkit=cairo-gtk2 \ + --with-qtdir=%{_qt3_prefix} \ + --enable-ldap \ + --enable-application=browser \ + --disable-calendar \ + --disable-composer \ + --disable-mailnews \ + --with-embedding-profile=default \ + --with-default-mozilla-five-home=%{firefoxappdir} \ + --with-user-appdir=.firefox \ + --with-distribution-id="%{distroname}" \ + --disable-freetype2 \ + --disable-xprint \ + --enable-pango \ + --enable-crypto \ + --enable-single-profile \ + --disable-profilesharing \ + --enable-accessibility \ + --enable-xinerama \ + --enable-xft \ + --enable-extensions=default \ + --disable-installer \ + --enable-reorder \ + --enable-optimize \ + --disable-debug \ + --disable-tests \ + --disable-strip \ + --disable-pedantic \ + --enable-jsd \ + --enable-necko-protocols=all \ + --disable-logging \ +%if %{testing} + --enable-image-decoders=all \ + --enable-image-encoders=all \ +%endif + --enable-storage \ + --disable-necko-wifi \ + --enable-official-branding \ + --enable-startup-notification \ + --enable-chrome-format=omni \ + --enable-libnotify \ + --enable-gio \ + --disable-gnomevfs + +# --with-system-mozldap \ --program-suffix=4 \ + +%ifarch ppc +%define makeflags -j1 +%else +%define makeflags %{?_smp_mflags} +%endif + +%make %{makeflags} MOZ_SERVICES_SYNC="1" +#___EOF + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +cd %{source_dir} + +cat > dist/bin/chrome/en-US/locale/branding/browserconfig.properties << EOF +browser.startup.homepage=%{default_browser_homepage} +browser.startup.homepage_reset=%{default_browser_homepage} +EOF + +cat > dist/bin/defaults/preferences/all-redhat.js << _EOF +pref("app.update.auto", false); +pref("app.update.enabled", false); +pref("app.update.autoInstallEnabled", false); +pref("browser.backspace_action", 2); +pref("browser.display.use_system_colors", true); +pref("browser.download.folderList", 1); +pref("browser.link.open_external", 3); +pref("browser.shell.checkDefaultBrowser", false); +pref("general.smoothScroll", true); +pref("general.useragent.vendor", "openmamba"); +pref("general.useragent.vendorSub", "%{version}-%{release}"); +pref("intl.locale.matchOS", true); +_EOF + +sed -i -e 's|@BINPATH@/@PREF_DIR@/firefox.js|@BINPATH@/@PREF_DIR@/all-redhat.js\n&|' browser/installer/package-manifest.in + +cp -p %{SOURCE10} dist/bin/defaults/profile/bookmarks.html + +cat > dist/bin/defaults/preferences/firefox-l10n.js << _EOF +pref("general.useragent.locale", "chrome://global/locale/intl.properties"); +_EOF + +%makeinstall + +mkdir -p %{buildroot}%{_datadir}/applications +desktop-file-install --vendor mozilla --dir %{buildroot}%{_datadir}/applications %{SOURCE2} +desktop-file-install --vendor mozilla --dir %{buildroot}%{_datadir}/applications %{SOURCE7} + +# install firefox icon + +for i in 16 22 24 32 48 256; do + mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps + convert -geometry ${i}x${i} browser/branding/official/default${i}.png %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/firefox.png +done + +rm -f %{buildroot}%{_bindir}/firefox +cat %{SOURCE9} | sed -e 's/FIREFOX_VERSION/%{firefox_internal_version}/g' -e 's,LIBDIR,%{_libdir},g' \ + | %{__sed} -e "s,XULRUNNER_DIRECTORY,$(pkg-config --variable=libdir libxul),g" > \ + %{buildroot}%{_bindir}/firefox + +chmod 755 %{buildroot}%{_bindir}/firefox + +install -pm 644 LICENSE %{buildroot}%{firefoxappdir}/ + +rm -rf %{buildroot}%{firefoxappdir}/firefox +ln -s %{xul_lib_dir}/xulrunner-stub %{buildroot}%{firefoxappdir}/firefox +ln -s %{xul_lib_dir} %{buildroot}%{firefoxappdir}/xulrunner + +# install langpacks + +install -d %{buildroot}%{firefoxappdir}/extensions + +install -d firefox-langpacks && tar -C firefox-langpacks -xjf %{S:1} + +find firefox-langpacks/ -type f -name \*.xpi | \ +while read filename; do + lang=$(basename $filename .xpi) + extensiondir="\ +%{buildroot}%{firefoxappdir}/extensions/langpack-$lang@firefox.mozilla.org" + install -d $extensiondir + unzip $filename -d $extensiondir + sed -i "\ + s|\(browser.startup.homepage=\).*|\1%{default_browser_homepage}| + s|\(browser.startup.homepage_reset=\).*|\1%{default_browser_homepage}|" \ + $extensiondir/chrome/$lang/locale/branding/browserconfig.properties + find $extensiondir -type f -exec chmod 644 {} \; +done + +touch %{buildroot}%{firefoxappdir}/components/compreg.dat +touch %{buildroot}%{firefoxappdir}/components/xpti.dat + +# install the needed conf file for ldconfig +install -d %{buildroot}%{_sysconfdir}/ld.so.conf.d +echo "%{firefoxappdir}" > \ + %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}.conf + + +# todo +# %{__mkdir_p} %{buildroot}%{_datadir}/mozilla/extensions/%{firefox_app_id} +# %{__mkdir_p} %{buildroot}%{_libdir}/mozilla/extensions/%{firefox_app_id} + +rm -rf %{buildroot}%{firefoxappdir}/removed-files + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +update-desktop-database &> /dev/null || : +if [ $1 -eq 1 ]; then + if [ -w /etc/ld.so.conf ]; then + if [ -d /etc/ld.so.conf.d ]; then + sed -i "\|^/usr/lib/firefox-[0-9\.]*|d" /etc/ld.so.conf + else + grep -q "^%{firefoxappdir}$" /etc/ld.so.conf || + echo "%{firefoxappdir}" >> /etc/ld.so.conf + fi + fi +fi +touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : +if [ -x %{_bindir}/gtk-update-icon-cache ]; then + %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : +fi +/sbin/ldconfig +exit 0 + +%preun +if [ $1 -eq 0 ]; then + if [ -w /etc/ld.so.conf ]; then + sed -i "\|^/usr/lib/firefox-[0-9\.]*|d" /etc/ld.so.conf + fi + rm -fr %{firefoxappdir}/ +fi +/sbin/ldconfig +exit 0 + +%postun +update-desktop-database &> /dev/null || : +if [ $1 -eq 0 ] ; then + touch --no-create %{_datadir}/icons/hicolor &>/dev/null + %{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +%{_bindir}/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + +%files +%defattr(-,root,root) +%{_sysconfdir}/ld.so.conf.d/%{name}.conf +%{_bindir}/firefox +%{_datadir}/applications/mozilla-firefox.desktop +%{_datadir}/applications/mozilla-firefox-safemode.desktop +%{_datadir}/icons/hicolor/*x*/apps/firefox*.png +%dir %{firefoxappdir} +%{firefoxappdir}/*.ini +%{firefoxappdir}/firefox +%{firefoxappdir}/run-mozilla.sh +%{firefoxappdir}/chrome.manifest +%{firefoxappdir}/omni.ja +%{firefoxappdir}/LICENSE +%attr(644, root, root) %{firefoxappdir}/blocklist.xml +%dir %{firefoxappdir}/components +%{firefoxappdir}/components/*.so +%{firefoxappdir}/components/*.manifest +%ghost %{firefoxappdir}/components/compreg.dat +%ghost %{firefoxappdir}/components/xpti.dat +%dir %{firefoxappdir}/chrome +%dir %{firefoxappdir}/chrome/icons +%dir %{firefoxappdir}/chrome/icons/default +%attr(644, root, root) %{firefoxappdir}/chrome/icons/default/default*.png +%{firefoxappdir}/defaults +%dir %{firefoxappdir}/extensions +%{firefoxappdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd} +%exclude %{firefoxappdir}/extensions/langpack-* +%dir %{firefoxappdir}/icons +%{firefoxappdir}/icons/*.png +%dir %{firefoxappdir}/searchplugins +%{firefoxappdir}/searchplugins/* +%{firefoxappdir}/xulrunner +%{firefoxappdir}/webapprt-stub +%dir %{firefoxappdir}/webapprt +%{firefoxappdir}/webapprt/omni.ja +%{firefoxappdir}/webapprt/webapprt.ini +%dir %{firefoxappdir}/modules +%dir %{firefoxappdir}/modules/services-aitc +%{firefoxappdir}/modules/services-aitc/.mkdir.done +%dir %{firefoxappdir}/modules/services-common +%{firefoxappdir}/modules/services-common/.mkdir.done +%dir %{firefoxappdir}/modules/services-crypto +%{firefoxappdir}/modules/services-crypto/.mkdir.done +%dir %{firefoxappdir}/modules/services-notifications +%{firefoxappdir}/modules/services-notifications/.mkdir.done +%dir %{firefoxappdir}/modules/services-sync +%{firefoxappdir}/modules/services-sync/.mkdir.done +%dir %{firefoxappdir}/modules/services-sync/engines +%{firefoxappdir}/modules/services-sync/engines/.mkdir.done +%dir %{firefoxappdir}/modules/sessionstore +%{firefoxappdir}/modules/sessionstore/.mkdir.done + + +%package i18n-ach +Summary: Acholi language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ach +Acholi language support for Firefox. + +%files i18n-ach +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ach@firefox.mozilla.org/ + +%package i18n-af +Summary: Afrikaans language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-af + +%description i18n-af +Afrikaans language support for Firefox. + +%files i18n-af +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-af@firefox.mozilla.org/ + +%package i18n-ak +Summary: Akan language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-ak + +%description i18n-ak +Akan language support for Firefox. + +%files i18n-ak +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ak@firefox.mozilla.org/ + +%package i18n-ar +Summary: Arabic language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-ar + +%description i18n-ar +Arabic language support for Firefox. + +%files i18n-ar +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ar@firefox.mozilla.org/ + +%package i18n-ast +Summary: Asturian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ast +Asturian language support for Firefox. + +%files i18n-ast +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ast@firefox.mozilla.org/ + +%package i18n-as +Summary: Assamese language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-as +Assamese language support for Firefox. + +%files i18n-as +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-as@firefox.mozilla.org/ + +%package i18n-be +Summary: Belarusian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-be +Belarusian language support for Firefox. + +%files i18n-be +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-be@firefox.mozilla.org/ + +%package i18n-bg +Summary: Bulgarian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-bg + +%description i18n-bg +Bulgarian language support for Firefox. + +%files i18n-bg +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-bg@firefox.mozilla.org/ + +%package i18n-bn-BD +Summary: Bengali (Bangladesh) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-bn-BD +Bengali (Bangladesh) language support for Firefox. + +%files i18n-bn-BD +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-bn-BD@firefox.mozilla.org/ + +%package i18n-bn-IN +Summary: Bengali (India) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-bn-IN +Bengali (India) language support for Firefox. + +%files i18n-bn-IN +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-bn-IN@firefox.mozilla.org/ + +%package i18n-br +Summary: Breton language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-br +Breton language support for Firefox. + +%files i18n-br +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-br@firefox.mozilla.org/ + +%package i18n-bs +Summary: Bosanski language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-bs +Bosanski language support for Firefox. + +%files i18n-bs +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-bs@firefox.mozilla.org/ + +%package i18n-ca +Summary: Catalan language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ca +Catalan language support for Firefox. + +%files i18n-ca +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ca@firefox.mozilla.org/ + +%package i18n-cs +Summary: Czech language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-cs +Czech language support for Firefox. + +%files i18n-cs +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-cs@firefox.mozilla.org/ + +%package i18n-csb +Summary: Kashubian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-csb +Kashubian language support for Firefox. + +%files i18n-csb +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-csb@firefox.mozilla.org/ + +%package i18n-cy +Summary: Cymraeg (GB) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-cy +Cymraeg (GB) language support for Firefox. + +%files i18n-cy +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-cy@firefox.mozilla.org/ + +%package i18n-da +Summary: Danish language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-da +Danish language support for Firefox. + +%files i18n-da +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-da@firefox.mozilla.org/ + +%package i18n-de +Summary: German language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-de +German language support for Firefox. + +%files i18n-de +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-de@firefox.mozilla.org/ + +%package i18n-el +Summary: Greek language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-el +Greek language support for Firefox. + +%files i18n-el +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-el@firefox.mozilla.org/ + +%package i18n-en-GB +Summary: English (British) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-en + +%description i18n-en-GB +English (British) language support for Firefox. + +%files i18n-en-GB +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-en-GB@firefox.mozilla.org/ + +%package i18n-en-US +Summary: English (USA) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-en + +%description i18n-en-US +English (USA) language support for Firefox. + +%files i18n-en-US +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-en-US@firefox.mozilla.org/ + +%package i18n-en-ZA +Summary: English (South Africa) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-en + +%description i18n-en-ZA +English (South Africa) language support for Firefox. + +%files i18n-en-ZA +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-en-ZA@firefox.mozilla.org/ + +%package i18n-eo +Summary: Esperanto language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-eo +Esperanto language support for Firefox. + +%files i18n-eo +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-eo@firefox.mozilla.org/ + +%package i18n-es-AR +Summary: Spanish (Latin American) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-es + +%description i18n-es-AR +Spanish (Latin American) language support for Firefox. + +%files i18n-es-AR +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-es-AR@firefox.mozilla.org/ + +%package i18n-es-CL +Summary: Spanish (Chile) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-es + +%description i18n-es-CL +Spanish (Chile) language support for Firefox. + +%files i18n-es-CL +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-es-CL@firefox.mozilla.org/ + +%package i18n-es-ES +Summary: Spanish language support for Firefox +Group: System/Internationalization +Provides: %{name}-i18n-es = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-es +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-es + +%description i18n-es-ES +Spanish language support for Firefox. + +%files i18n-es-ES +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-es-ES@firefox.mozilla.org/ + +%package i18n-es-MX +Summary: Spanish (México) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-es + +%description i18n-es-MX +Spanish (México) language support for Firefox. + +%files i18n-es-MX +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-es-MX@firefox.mozilla.org/ + +%package i18n-et +Summary: Estonian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-et +Estonian language support for Firefox. + +%files i18n-et +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-et@firefox.mozilla.org/ + +%package i18n-eu +Summary: Basque language support for Firefox +Group: System/Internationalization +Provides: %{name}-i18n-eu-ES = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-eu-ES +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-eu +Basque language support for Firefox. + +%files i18n-eu +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-eu@firefox.mozilla.org/ + +%package i18n-fa +Summary: ‪Persian - Farsi (IR) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-fa +‪Persian - Farsi (IR) language support for Firefox. + +%files i18n-fa +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-fa@firefox.mozilla.org/ + +%package i18n-ff +Summary: Fulah language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ff +Fulah language support for Firefox. + +%files i18n-ff +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ff@firefox.mozilla.org/ + +%package i18n-fi +Summary: Finnish language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-fi +Finnish language support for Firefox. + +%files i18n-fi +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-fi@firefox.mozilla.org/ + +%package i18n-fr +Summary: French language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-fr +French language support for Firefox. + +%files i18n-fr +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-fr@firefox.mozilla.org/ + +%package i18n-fy-NL +Summary: Frisian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-fy +Provides: %{name}-i18n-fy = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-fy-NL +Frisian language support for Firefox. + +%files i18n-fy-NL +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-fy-NL@firefox.mozilla.org/ + +%package i18n-ga-IE +Summary: Irish language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ga-IE +Irish language support for Firefox. + +%files i18n-ga-IE +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ga-IE@firefox.mozilla.org/ + +%package i18n-gd +Summary: Scottish Gaelic language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-gd +Scottish Gaelic language support for Firefox. + +%files i18n-gd +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-gd@firefox.mozilla.org/ + +%package i18n-gl +Summary: Galician (Galiza) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-gl +Galician (Galiza) language support for Firefox. + +%files i18n-gl +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-gl@firefox.mozilla.org/ + +%package i18n-gu-IN +Summary: Gujarati language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-gu-IN +Gujarati language support for Firefox. + +%files i18n-gu-IN +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-gu-IN@firefox.mozilla.org/ + +%package i18n-he +Summary: Hebrew language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-he + +%description i18n-he +Hebrew language support for Firefox. + +%files i18n-he +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-he@firefox.mozilla.org/ + +%package i18n-hi-IN +Summary: Hindi language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-hi-IN +Hindi language support for Firefox. + +%files i18n-hi-IN +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-hi-IN@firefox.mozilla.org/ + +%package i18n-hr +Summary: Hrvatski (HR) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-hr +Hrvatski (HR) language support for Firefox. + +%files i18n-hr +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-hr@firefox.mozilla.org/ + +%package i18n-hu +Summary: Hungarian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-hu +Hungarian language support for Firefox. + +%files i18n-hu +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-hu@firefox.mozilla.org/ + +%package i18n-hy-AM +Summary: Armenian (AM) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-hy-AM +Armenian (AM) language support for Firefox. + +%files i18n-hy-AM +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-hy-AM@firefox.mozilla.org/ + +%package i18n-id +Summary: Bahasa Indonesia (ID) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-id +Bahasa Indonesia (ID) language support for Firefox. + +%files i18n-id +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-id@firefox.mozilla.org/ + +%package i18n-is +Summary: Icelandic (IS) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-is +Icelandic (IS) language support for Firefox. + +%files i18n-is +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-is@firefox.mozilla.org/ + +%package i18n-it +Summary: Italian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-it + +%description i18n-it +Italian language support for Firefox. + +%files i18n-it +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-it@firefox.mozilla.org/ + +%package i18n-ja +Summary: Japanese language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ja +Japanese language support for Firefox. + +%files i18n-ja +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ja@firefox.mozilla.org/ + +#%package i18n-ka +#Summary: Georgian language support for Firefox +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-ka +#Georgian language support for Firefox. + +#%files i18n-ka +#%defattr(-,root,root) +#%{firefoxappdir}/extensions/langpack-ka@firefox.mozilla.org/ + +%package i18n-kk +Summary: Kazakh (KZ) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-kk +Kazakh (KZ) language support for Firefox. + +%files i18n-kk +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-kk@firefox.mozilla.org/ + +%package i18n-km +Summary: Khmer language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-km +Khmer language support for Firefox. + +%files i18n-km +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-km@firefox.mozilla.org/ + +%package i18n-kn +Summary: Kannada (IN) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-kn +Kannada (IN) language support for Firefox. + +%files i18n-kn +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-kn@firefox.mozilla.org/ + +%package i18n-ko +Summary: Korean language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ko +Korean language support for Firefox. + +%files i18n-ko +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ko@firefox.mozilla.org/ + +%package i18n-ku +Summary: Kurdish language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ku +Kurdish language support for Firefox. + +%files i18n-ku +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ku@firefox.mozilla.org/ + +%package i18n-lg +Summary: Luganda language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-lg +Luganda language support for Firefox. + +%files i18n-lg +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-lg@firefox.mozilla.org/ + +%package i18n-lij +Summary: Ligure (Zenéize) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-lij +Ligure (Zenéize) language support for Firefox. + +%files i18n-lij +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-lij@firefox.mozilla.org/ + +%package i18n-lt +Summary: Lithuanian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-lt +Lithuanian language support for Firefox. + +%files i18n-lt +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-lt@firefox.mozilla.org/ + +%package i18n-lv +Summary: Latviešu (LV) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-lv +Latviešu (LV) language support for Firefox. + +%files i18n-lv +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-lv@firefox.mozilla.org/ + +%package i18n-mai +Summary: Maithili language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-mai +Maithili language support for Firefox. + +%files i18n-mai +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-mai@firefox.mozilla.org/ + +%package i18n-mk +Summary: Macedonian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-mk +Macedonian language support for Firefox. + +%files i18n-mk +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-mk@firefox.mozilla.org/ + +%package i18n-ml +Summary: Malayalam (IN) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ml +Malayalam (IN) language support for Firefox. + +%files i18n-ml +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ml@firefox.mozilla.org/ + +#%package i18n-mn +#Summary: Mongolian language support for Firefox +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +#%description i18n-mn +#Mongolian language support for Firefox. + +#%files i18n-mn +#%defattr(-,root,root) +#%{firefoxappdir}/extensions/langpack-mn@firefox.mozilla.org/ + +%package i18n-mr +Summary: Marathi language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-mr +Marathi language support for Firefox. + +%files i18n-mr +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-mr@firefox.mozilla.org/ + +%package i18n-nb-NO +Summary: Norwegian Bokmål language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-nb +Provides: %{name}-i18n-nb = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-nb-NO +Norwegian Bokmål language support for Firefox. + +%files i18n-nb-NO +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-nb-NO@firefox.mozilla.org/ + +%package i18n-nl +Summary: Dutch language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-nl +Dutch language support for Firefox. + +%files i18n-nl +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-nl@firefox.mozilla.org/ + +%package i18n-nn-NO +Summary: Norwegian Nynorsk language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-nn +Provides: %{name}-i18n-nn = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-nn-NO +Norwegian Nynorsk language support for Firefox. + +%files i18n-nn-NO +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-nn-NO@firefox.mozilla.org/ + +%package i18n-nso +Summary: Sesotho sa lebowa language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-nso +Sesotho sa lebowa language support for Firefox. + +%files i18n-nso +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-nso@firefox.mozilla.org/ + +#%package i18n-oc +#Summary: Occitan language support for Firefox +#Group: System/Internationalization +#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Provides: firefox3-i18n-oc +#Obsoletes: firefox3-i18n-oc + +#%description i18n-oc +#Occitan language support for Firefox. + +#%files i18n-oc +#%defattr(-,root,root) +#%{firefoxappdir}/extensions/langpack-oc@firefox.mozilla.org/ + +%package i18n-or +Summary: Oriya (OR) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-or +Oriya (OR) language support for Firefox. + +%files i18n-or +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-or@firefox.mozilla.org/ + +%package i18n-pa-IN +Summary: Punjabi (IN) language support for Firefox +Group: System/Internationalization +Provides: firefox-i18n-pa-IN = %{?epoch:%epoch:}%{version}-%{release} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-pa +Provides: %{name}-i18n-pa = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-pa-IN +Punjabi (IN) language support for Firefox. + +%files i18n-pa-IN +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-pa-IN@firefox.mozilla.org/ + +%package i18n-pl +Summary: Polish language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-pl +Polish language support for Firefox. + +%files i18n-pl +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-pl@firefox.mozilla.org/ + +%package i18n-pt-BR +Summary: Portuguese (Brazilian) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-pt-BR +Portuguese (Brazilian) language support for Firefox. + +%files i18n-pt-BR +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-pt-BR@firefox.mozilla.org/ + +%package i18n-pt-PT +Summary: Portuguese language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-pt +Provides: %{name}-i18n-pt = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-pt-PT +Portuguese language support for Firefox. + +%files i18n-pt-PT +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-pt-PT@firefox.mozilla.org/ + +%package i18n-rm +Summary: Rumantsch language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-rm +Rumantsch language support for Firefox. + +%files i18n-rm +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-rm@firefox.mozilla.org/ + +%package i18n-ro +Summary: Romanian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ro +Romanian language support for Firefox. + +%files i18n-ro +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ro@firefox.mozilla.org/ + +%package i18n-ru +Summary: Russian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ru +Russian language support for Firefox. + +%files i18n-ru +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ru@firefox.mozilla.org/ + +%package i18n-si +Summary: Sinhala (si-LK) language support for Firefox (BETA) +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-si +Sinhala (si-LK) language support for Firefox. + +%files i18n-si +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-si@firefox.mozilla.org/ + +%package i18n-sk +Summary: Slovak language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-sk +Slovak language support for Firefox. + +%files i18n-sk +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-sk@firefox.mozilla.org/ + +%package i18n-sl +Summary: Slovenian language support for Firefox (BETA) +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-sl +Slovenian language support for Firefox. + +%files i18n-sl +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-sl@firefox.mozilla.org/ + +%package i18n-son +Summary: Soŋay language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-son +Soŋay language support for Firefox. + +%files i18n-son +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-son@firefox.mozilla.org/ + +%package i18n-sq +Summary: Albanian language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-sq +Albanian language support for Firefox. + +%files i18n-sq +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-sq@firefox.mozilla.org/ + +%package i18n-sr +Summary: Српски (sr) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-sr +Српски (sr) language support for Firefox. + +%files i18n-sr +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-sr@firefox.mozilla.org/ + +%package i18n-sv-SE +Summary: Swedish language support for Firefox +Group: System/Internationalization +Provides: firefox-i18n-sv-SE = %{?epoch:%epoch:}%{version}-%{release} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +Obsoletes: %{name}-i18n-sv +Provides: %{name}-i18n-sv = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-sv-SE +Swedish language support for Firefox. + +%files i18n-sv-SE +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-sv-SE@firefox.mozilla.org/ + +%package i18n-ta-LK +Summary: Tamil (Sri Lanka) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ta-LK +Tamil (Sri Lanka) language support for Firefox. + +%files i18n-ta-LK +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ta-LK@firefox.mozilla.org/ + +%package i18n-ta +Summary: Tamil language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-ta +Tamil language support for Firefox. + +%files i18n-ta +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-ta@firefox.mozilla.org/ + +%package i18n-te +Summary: Telugu (IN) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-te +Telugu (IN) language support for Firefox. + +%files i18n-te +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-te@firefox.mozilla.org/ + +%package i18n-th +Summary: Thai Language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-th +Thai Language support for Firefox. + +%files i18n-th +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-th@firefox.mozilla.org/ + +%package i18n-tr +Summary: Turkish language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-tr +Turkish language support for Firefox. + +%files i18n-tr +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-tr@firefox.mozilla.org/ + +%package i18n-uk +Summary: Ukrainian (UA) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-uk + +%description i18n-uk +Ukrainian (UA) language support for Firefox + +%files i18n-uk +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-uk@firefox.mozilla.org/ + +%package i18n-vi +Summary: Tiếng Việt (VN) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-vi +Tiếng Việt (VN) language support for Firefox + +%files i18n-vi +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-vi@firefox.mozilla.org/ + +%package i18n-zh-CN +Summary: Chinese (Simplified) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-zh-CN +Chinese (Simplified) language support for Firefox. + +%files i18n-zh-CN +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-zh-CN@firefox.mozilla.org/ + +%package i18n-zh-TW +Summary: Chinese (Traditional) language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description i18n-zh-TW +Chinese (Traditional) language support for Firefox. + +%files i18n-zh-TW +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-zh-TW@firefox.mozilla.org/ + +%package i18n-zu +Summary: Zulu language support for Firefox +Group: System/Internationalization +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} +#Requires: hunspell-zu + +%description i18n-zu +Zulu language support for Firefox. + +%files i18n-zu +%defattr(-,root,root) +%{firefoxappdir}/extensions/langpack-zu@firefox.mozilla.org/ + +%changelog +* Wed Sep 25 2013 Silvan Calarco 17.0.1-2mamba +- require xulrunner +- fixed startup script %{_bindir}/firefox for x86_64 + +* Sun Dec 02 2012 Automatic Build System 17.0.1-1mamba +- automatic version update by autodist + +* Wed Nov 21 2012 Automatic Build System 17.0-1mamba +- automatic version update by autodist + +* Sun Oct 28 2012 Automatic Build System 16.0.2-1mamba +- automatic version update by autodist + +* Fri Oct 12 2012 Automatic Build System 16.0.1-1mamba +- automatic version update by autodist + +* Thu Oct 11 2012 Automatic Build System 16.0-1mamba +- automatic version update by autodist + +* Fri Sep 07 2012 Automatic Build System 15.0.1-1mamba +- automatic version update by autodist + +* Sun Sep 02 2012 Silvan Calarco 15.0-2mamba +- rebuilt with xulrunner 15.0, added buildrequirement for xulrunner-devel >= %{majversion} + +* Thu Aug 30 2012 Automatic Build System 15.0-1mamba +- automatic version update by autodist + +* Mon Jul 23 2012 Automatic Build System 14.0.1-1mamba +- automatic version update by autodist + +* Sat Jun 16 2012 Automatic Build System 13.0.1-1mamba +- automatic version update by autodist + +* Sun Jun 10 2012 Automatic Build System 13.0-1mamba +- automatic version update by autodist + +* Tue May 01 2012 Automatic Build System 12.0-1mamba +- automatic version update by autodist + +* Sat Apr 07 2012 Automatic Build System 11.0-1mamba +- automatic version update by autodist + +* Mon Oct 17 2011 Silvan Calarco 7.0.1-2mamba +- fix icon using official icon for normal and safe-mode desktop entries + +* Sat Oct 15 2011 Automatic Build System 7.0.1-1mamba +- automatic version update by autodist + +* Fri Sep 09 2011 Automatic Build System 6.0.2-1mamba +- automatic version update by autodist + +* Thu Sep 01 2011 Automatic Build System 6.0.1-1mamba +- automatic version update by autodist + +* Tue Aug 16 2011 Silvan Calarco 6.0-1mamba +- update to 6.0 + +* Sun Jul 31 2011 Silvan Calarco 4.0-13mamba +- remove provides and obsoletes for firefox3-* packages to avoid upgrade loop between alternative and main repositories + +* Sat Apr 09 2011 Ercole 'ercolinux' Carpanetto 4.0-12mamba +- rebuilt removing hunspell requirements + +* Mon Mar 21 2011 gil 4.0-11mamba +- update to 4.0 + +* Sun Mar 20 2011 gil 4.0-10mamba +- update to 4.0rc2 + +* Fri Mar 18 2011 gil 4.0-9mamba +- rebuilt with gio support and remove libgnome-vfs support +- enable omni jar support + +* Thu Mar 10 2011 gil 4.0-8mamba +- update to 4.0rc1 + +* Fri Feb 25 2011 gil 4.0-7mamba +- update to 4.0b12 + +* Wed Feb 09 2011 gil 4.0-6mamba +- update to 4.0b11 + +* Wed Jan 26 2011 gil 4.0-5mamba +- update to 4.0b10 + +* Fri Jan 14 2011 gil 4.0-4mamba +- update to 4.0b9 + +* Thu Dec 23 2010 gil 4.0-3mamba +- update to 4.0b8 + +* Wed Nov 17 2010 gil 4.0-2mamba +- update to 4.0b7 + +* Mon Oct 04 2010 gil 4.0-1mamba +- update to 4.0b6 +- rename to firefox replacing firefox 3 + +* Thu Sep 16 2010 gil 3.6.10-1mamba +- update to 3.6.10 + +* Tue Sep 14 2010 gil 3.6.9-1mamba +- update to 3.6.9 +- add i18n new packages (Asturian language support) +- edit i18n-or: summary; description + +* Mon Sep 13 2010 gil 4.0-1mamba +- update to 4.0 (4.0b5) + +* Thu Aug 26 2010 gil 4.0-1mamba +- update to 4.0 (4.0b4) +- set program name as Firefox 4 in desktop entry +- renamed to legacy firefox4 + +* Sun Jul 25 2010 gil 3.6.8-1mamba +- update to 3.6.8 + +* Thu Jul 22 2010 gil 3.6.7-1mamba +- update to 3.6.7 + +* Mon Jun 28 2010 gil 3.6.6-1mamba +- update to 3.6.6 + +* Wed Jun 23 2010 gil 3.6.4-1mamba +- update to 3.6.4 + +* Sun Apr 04 2010 gil 3.6.3-1mamba +- update to 3.6.3 +- edit spec file + +* Wed Dec 30 2009 gil 3.5.6-2mamba +- rebuilt + +* Wed Dec 30 2009 gil 3.5.6-1mamba +- update to 3.5.6 +- added firefox script (wrapper) +- added %%postun edit %%post scriptlets for update gtk icon cache +- edit configure option: --enable-ldap --with-system-mozldap + +* Wed Jul 01 2009 gil 3.5-1mamba +- update to 3.5 +- added new sub packages (language support) ... + +* Sat Jun 13 2009 gil 3.0.11-1mamba +- update to 3.0.11 + +* Tue Apr 28 2009 gil 3.0.10-1mamba +- update to 3.0.10 + +* Wed Apr 22 2009 gil 3.0.9-1mamba +- update to 3.0.9 + +* Thu Apr 02 2009 gil 3.0.8-4mamba +- changed icon + +* Tue Mar 31 2009 Silvan Calarco 3.0.8-3mamba +- added safe mode desktop entry + +* Tue Mar 31 2009 Silvan Calarco 3.0.8-2mamba +- rebuilt with xulrunner 1.9.0.8 +- don't obsolete firefox-devel (it is obsoleted by xulrunner-devel) + +* Mon Mar 30 2009 Silvan Calarco 3.0.8-1mamba +- automatic update to 3.0.8 by autodist + +* Mon Mar 09 2009 Silvan Calarco 3.0.7-2mamba +- rebuilt using xulrunner +- removed --enable-cpp-rtti configuration option to build with system xulrunner +- devel package removed and obsoleted + +* Thu Mar 05 2009 Silvan Calarco 3.0.7-1mamba +- automatic update to 3.0.7 by autodist + +* Wed Mar 04 2009 Silvan Calarco 3.0.6-2mamba +- automatic rebuild by autodist + +* Thu Feb 05 2009 Silvan Calarco 3.0.6-1mamba +- update to 3.0.6 + +* Mon Jan 05 2009 Silvan Calarco 3.0.5-1mamba +- automatic update to 3.0.5 by autodist + +* Wed Dec 03 2008 Silvan Calarco 3.0.4-2mamba +- rename to firefox replacing firefox 2 + +* Thu Nov 13 2008 gil 3.0.4-1mamba +- update to 3.0.4 + +* Sat Sep 27 2008 gil 3.0.3-1mamba +- update to 3.0.3 + +* Thu Sep 25 2008 gil 3.0.2-1mamba +- update to 3.0.2 + +* Thu Jul 17 2008 gil 3.0.1-1mamba +- update to 3.0.1 + +* Thu Jul 03 2008 Silvan Calarco 3.0-3mamba +- fixed i18n provides/obsoletes to avoid conflicts with firefox 2 + +* Mon Jun 23 2008 Silvan Calarco 3.0-2mamba +- set program name as Firefox 3 in desktop entry +- rebuilt with system libnss 3.12 + +* Wed Jun 18 2008 gil 3.0-1mamba +- update to 3.0 +- update language packs to version 3.0 +- add i18n new packages (Sinhala and Slovenian language support are in beta) +- removed freetype_compile.patch +- add export LDFLAGS and MOZ_PHOENIX +- edit configure options: --enable-necko-protocols=all, --enable-image-encoders=all, --with-embedding-profile=default, --enable-default-toolkit=cairo-gtk2 +- new build requirements: libdbus-glib libcurl + +* Thu May 22 2008 Silvan Calarco 2.0.0.14-2mamba +- provide mozilla symlink for some applications launch browser facility +- rebuild with jsd enabled and the venkman extension (for firebug support) + +* Fri Apr 18 2008 gil 2.0.0.14-1mamba +- update to 2.0.0.14 +- update language packs to version 2.0.0.14 + +* Thu Dec 06 2007 Aleph0 2.0.0.11-1mamba +- update to 2.0.0.11 +- fixed cairo configure option (replace --with-system-cairo with --enable-system-cairo) + +* Wed Nov 14 2007 Aleph0 2.0.0.9-1mamba +- security update to 2.0.0.9 + +* Wed Sep 19 2007 Aleph0 2.0.0.7-1mamba +- security update to 2.0.0.7 + +* Tue Jul 31 2007 Aleph0 2.0.0.6-1mamba +- security update to 2.0.0.6 + +* Wed Jul 18 2007 Aleph0 2.0.0.5-1mamba +- security update to 2.0.0.5 + +* Fri Jun 01 2007 Aleph0 2.0.0.4-1mamba +- security update to 2.0.0.4 + +* Thu Apr 05 2007 Aleph0 2.0.0.3-1mamba +- security update to version 2.0.0.3 +- own %{_libdir}/firefox-%%{version} subdirectories + +* Sun Mar 11 2007 Aleph0 2.0.0.2-1qilnx +- security update to version 2.0.0.2 +- update language packs to version 2.0.0.2 +- added i18n package for Belarusian +- save the configuration needed by ldconfig in /etc/ld.so.conf.d/firefox.conf +- specfile scriptlet reworked +- new build requirement: libpthread-stubs-devel + +* Fri Feb 02 2007 Aleph0 2.0.0.1-4qilnx +- added hicolor icon for firefox removed from kde + +* Wed Jan 24 2007 Aleph0 2.0.0.1-3qilnx +- fixed typo in the obsoletes tag +- rebuilt with default extensions instead of all ones (this fixes several + issues reported by lot of users:) + +* Wed Jan 17 2007 Aleph0 2.0.0.1-2qilnx +- better (and now working) setup for internationalization +- removed %%post scrips + +* Mon Jan 15 2007 Aleph0 2.0.0.1-1qilnx +- update to version 2.0.0.1 by autospec +- update language packs to version 2.0.0.1 +- update build requirements for the new modular xorg +- build against system nspr, nss, and pango libraries +- %%post scrips slightly modified to support xorg 7 + +* Tue Oct 24 2006 Stefano Cotta Ramusino 2.0-1qilnx +- update to version 2.0 by autospec + +* Wed Jul 12 2006 Stefano Cotta Ramusino 1.5.0.4-1qilnx +- update to version 1.5.0.4 by autospec +- added patch for ppc building + +* Fri May 12 2006 Davide Madrisan 1.5.0.3-2qilnx +- arrrr! Update language pack to 1.5.0.3 + +* Mon May 08 2006 Davide Madrisan 1.5.0.3-1qilnx +- update to version 1.5.0.3 by autospec +- check for plugins in %{_libdir}/mozilla/plugins + +* Thu Apr 27 2006 Davide Madrisan 1.5.0.2-2qilnx +- append %{_libdir}/firefox-%%{version} to ld.so.conf + +* Wed Apr 26 2006 Davide Madrisan 1.5.0.2-1qilnx +- update to version 1.5.0.2 by autospec + +* Wed Feb 08 2006 Davide Madrisan 1.5.0.1-2qilnx +- add %%pre and %%post scriptlets to fix the updating process when + %%{_libdir}/firefox-%%{version}/plugins is a directory + +* Mon Feb 06 2006 Davide Madrisan 1.5.0.1-1qilnx +- update to version 1.5.0.1 by autospec + +* Tue Jan 10 2006 Davide Madrisan 1.5-3qilnx +- epoch tag added in all the requirements and prerequirements + +* Wed Dec 07 2005 Davide Madrisan 1.5-2qilnx +- rebuilt with new configuration options +- new desktop file compatible with kappfinder + +* Tue Dec 06 2005 Davide Madrisan 1.5-1qilnx +- update to version 1.5 by autospec +- removed enable-freetype2 option because it conflicts with xft requirement +- built with libpango + +* Thu Sep 22 2005 Davide Madrisan 1.0.7-1qilnx +- update to version 1.0.7 by autospec +- also fix several security issues QSA-2005-110 + +* Sun Aug 14 2005 Silvan Calarco 1.0.6-2qilnx +- rebuilt with configure optimized option (don't use mozconfig file) + +* Thu Aug 11 2005 Davide Madrisan 1.0.6-2qilnx +- fixed %%post scripts + +* Mon Aug 01 2005 Davide Madrisan 1.0.6-1qilnx +- update to version 1.0.6 by autospec + +* Fri May 27 2005 Silvan Calarco 1.0.4-2qilnx +- remove the list of internal provides + +* Fri May 20 2005 Silvan Calarco 1.0.4-1qilnx +- update to version 1.0.4 by autospec +- also fix security issues QSA-2005-069 + +* Sun Apr 17 2005 Silvan Calarco 1.0.3-1qilnx +- update to version 1.0.3 by autospec + +* Thu Mar 03 2005 Silvan Calarco 1.0.1-1qilnx +- new version build +- added i18n packages + +* Wed Nov 10 2004 Silvan Calarco 1.0-4qilnx +- rebuild with both en-US and it-IT localizations + +* Wed Nov 10 2004 Silvan Calarco 1.0-3qilnx +- added italian localization (now it is in official CVS) + +* Tue Nov 09 2004 Silvan Calarco 1.0-2qilnx +- added localizations (but italian is not in CVS) +- added xft support + +* Tue Nov 09 2004 Silvan Calarco 1.0-1qilnx +- new version build + +* Mon Oct 28 2004 Silvan Calarco 1.0rc1-1qilnx +- new version build + +* Mon Oct 04 2004 Silvan Calarco 0.10.1-1qilnx +- new version build (security release) + +* Wed Sep 15 2004 Silvan Calarco 0.10-1qilnx +- new version build (also tagged as 1.0PR) + +* Mon Jul 05 2004 Silvan Calarco 0.9.2-1qilnx +- new version build + +* Wed Jun 30 2004 Silvan Calarco 0.9.1-1qilnx +- new version build + +* Sun Jun 20 2004 Silvan Calarco 0.9-1qilnx +- new version build + +* Thu May 20 2004 Silvan Calarco 0.8-1qilnx +- new version build (renamed to mozilla-firefox) + +* Tue Dec 16 2003 Silvan Calarco 0.7-1qilnx +- first build diff --git a/mozilla-firefox-safemode.desktop b/mozilla-firefox-safemode.desktop new file mode 100644 index 0000000..afbcdfa --- /dev/null +++ b/mozilla-firefox-safemode.desktop @@ -0,0 +1,83 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=firefox --safe-mode %u +Icon=firefox.png +Type=Application +Name=Firefox (safe mode) +Name[it]=Firefox (modo sicuro) +GenericName=Web Browser +GenericName[af]=Web Blaaier +GenericName[ar]=متصفح ويب +GenericName[az]=Veb Səyyahı +GenericName[bg]=Браузър +GenericName[bn]=ওয়েব ব্রাউজার +GenericName[br]=Furcher ar Gwiad +GenericName[bs]=WWW Preglednik +GenericName[ca]=Fullejador web +GenericName[cs]=WWW prohlížeč +GenericName[cy]=Porydd Gwe +GenericName[da]=Browser +GenericName[de]=Web-Browser +GenericName[el]=Περιηγητής Ιστού +GenericName[eo]=TTT-legilo +GenericName[es]=Navegador web +GenericName[et]=Veebilehitseja +GenericName[eu]=Web arakatzailea +GenericName[fa]=مرورگر وب +GenericName[fi]=WWW-selain +GenericName[fo]=Alnótsfar +GenericName[fr]=Navigateur web +GenericName[fy]=Webblêdzjer +GenericName[ga]=Brabhsálaí Lín +GenericName[gl]=Navegador Web +GenericName[he]=דפדפן אינטרנט +GenericName[hi]=वेब ब्राउज़र +GenericName[hr]=Web preglednik +GenericName[hu]=Webböngésző +GenericName[is]=Vafri +GenericName[it]=Browser Web +GenericName[ja]=ウェブブラウザ +GenericName[km]=កម្មវិធី​រុករក​បណ្ដាញ +GenericName[ko]=웹 브라우저 +GenericName[lo]=ເວັບບຣາວເຊີ +GenericName[lt]=Žiniatinklio naršyklė +GenericName[lv]=Tīmekļa Pārlūks +GenericName[mk]=Прелистувач на Интернет +GenericName[mn]=Веб-Хөтөч +GenericName[ms]=Pelayar Web +GenericName[nb]=Nettleser +GenericName[nds]=Nettkieker +GenericName[nl]=Webbrowser +GenericName[nn]=Nettlesar +GenericName[nso]=Seinyakisi sa Web +GenericName[pa]=ਵੈਬ ਝਲਕਾਰਾ +GenericName[pl]=Przeglądarka WWW +GenericName[pt]=Navegador Web +GenericName[pt_BR]=Navegador Web +GenericName[ro]=Navigator de web +GenericName[ru]=Веб-браузер +GenericName[rw]=Mucukumbuzi Urubuga +GenericName[se]=Fierpmádatlogan +GenericName[sk]=Webový prehliadač +GenericName[sl]=Spletni brskalnik +GenericName[sr]=Веб прегледач +GenericName[sr@Latn]=Veb pregledač +GenericName[ss]=Ibrawuza yeWeb +GenericName[sv]=Webbläsare +GenericName[ta]=வலை உலாவி +GenericName[tg]=Тафсиргари вэб +GenericName[th]=เว็บบราวเซอร์ +GenericName[tr]=Web Tarayıcı +GenericName[uk]=Навігатор Тенет +GenericName[uz]=Веб-браузер +GenericName[ven]=Buronza ya Webu +GenericName[vi]=Trình duyệt Web +GenericName[wa]=Betchteu waibe +GenericName[xh]=Umkhangeli zincwadi we Web +GenericName[xx]=xxWeb Browserxx +GenericName[zh_CN]=Web 浏览器 +GenericName[zh_TW]=網頁瀏覽器 +GenericName[zu]=Umcingi we-Web +Categories=Network; +MimeType=text/html +X-KDE-StartupNotify=true diff --git a/mozilla-firefox.desktop b/mozilla-firefox.desktop new file mode 100644 index 0000000..e110b18 --- /dev/null +++ b/mozilla-firefox.desktop @@ -0,0 +1,91 @@ +[Desktop Entry] +Encoding=UTF-8 +Exec=firefox %u +Icon=firefox.png +Type=Application +Name=Firefox +Name[bn]=ফায়ারফক্স +Name[eo]=Mozilo Fajrovulpo +Name[fi]=Mozilla Firefox +Name[hi]=फ़ायरफॉक्स +Name[km]=មេខលា +Name[pa]=ਫਾਇਰਫਾਕਸ +Name[th]=ไฟร์ฟอกซ์ +Name[xx]=xxFirefoxxx +Name[zh_TW]=火狐貍 +GenericName=Web Browser +GenericName[af]=Web Blaaier +GenericName[ar]=متصفح ويب +GenericName[az]=Veb Səyyahı +GenericName[bg]=Браузър +GenericName[bn]=ওয়েব ব্রাউজার +GenericName[br]=Furcher ar Gwiad +GenericName[bs]=WWW Preglednik +GenericName[ca]=Fullejador web +GenericName[cs]=WWW prohlížeč +GenericName[cy]=Porydd Gwe +GenericName[da]=Browser +GenericName[de]=Web-Browser +GenericName[el]=Περιηγητής Ιστού +GenericName[eo]=TTT-legilo +GenericName[es]=Navegador web +GenericName[et]=Veebilehitseja +GenericName[eu]=Web arakatzailea +GenericName[fa]=مرورگر وب +GenericName[fi]=WWW-selain +GenericName[fo]=Alnótsfar +GenericName[fr]=Navigateur web +GenericName[fy]=Webblêdzjer +GenericName[ga]=Brabhsálaí Lín +GenericName[gl]=Navegador Web +GenericName[he]=דפדפן אינטרנט +GenericName[hi]=वेब ब्राउज़र +GenericName[hr]=Web preglednik +GenericName[hu]=Webböngésző +GenericName[is]=Vafri +GenericName[it]=Browser Web +GenericName[ja]=ウェブブラウザ +GenericName[km]=កម្មវិធី​រុករក​បណ្ដាញ +GenericName[ko]=웹 브라우저 +GenericName[lo]=ເວັບບຣາວເຊີ +GenericName[lt]=Žiniatinklio naršyklė +GenericName[lv]=Tīmekļa Pārlūks +GenericName[mk]=Прелистувач на Интернет +GenericName[mn]=Веб-Хөтөч +GenericName[ms]=Pelayar Web +GenericName[nb]=Nettleser +GenericName[nds]=Nettkieker +GenericName[nl]=Webbrowser +GenericName[nn]=Nettlesar +GenericName[nso]=Seinyakisi sa Web +GenericName[pa]=ਵੈਬ ਝਲਕਾਰਾ +GenericName[pl]=Przeglądarka WWW +GenericName[pt]=Navegador Web +GenericName[pt_BR]=Navegador Web +GenericName[ro]=Navigator de web +GenericName[ru]=Веб-браузер +GenericName[rw]=Mucukumbuzi Urubuga +GenericName[se]=Fierpmádatlogan +GenericName[sk]=Webový prehliadač +GenericName[sl]=Spletni brskalnik +GenericName[sr]=Веб прегледач +GenericName[sr@Latn]=Veb pregledač +GenericName[ss]=Ibrawuza yeWeb +GenericName[sv]=Webbläsare +GenericName[ta]=வலை உலாவி +GenericName[tg]=Тафсиргари вэб +GenericName[th]=เว็บบราวเซอร์ +GenericName[tr]=Web Tarayıcı +GenericName[uk]=Навігатор Тенет +GenericName[uz]=Веб-браузер +GenericName[ven]=Buronza ya Webu +GenericName[vi]=Trình duyệt Web +GenericName[wa]=Betchteu waibe +GenericName[xh]=Umkhangeli zincwadi we Web +GenericName[xx]=xxWeb Browserxx +GenericName[zh_CN]=Web 浏览器 +GenericName[zh_TW]=網頁瀏覽器 +GenericName[zu]=Umcingi we-Web +Categories=Network; +MimeType=text/html +X-KDE-StartupNotify=true diff --git a/mozilla-wrapper b/mozilla-wrapper new file mode 100644 index 0000000..5cb84fd --- /dev/null +++ b/mozilla-wrapper @@ -0,0 +1 @@ +firefox $@ diff --git a/xulrunner-2.0-os2cc.patch b/xulrunner-2.0-os2cc.patch new file mode 100644 index 0000000..c6c32a7 --- /dev/null +++ b/xulrunner-2.0-os2cc.patch @@ -0,0 +1,14 @@ +https://bugzilla.mozilla.org/show_bug.cgi?id=628252 + +diff --git a/gfx/ots/src/os2.cc b/gfx/ots/src/os2.cc +--- a/gfx/ots/src/os2.cc ++++ b/gfx/ots/src/os2.cc +@@ -3,4 +3,6 @@ + // found in the LICENSE file. + ++#include ++ + #include "os2.h" + + +