# $Id: mozilla.spec,v 1.64 2004/08/02 17:57:08 rexdieter Exp $ ## share myspell dictionaries with openoffice.org(-i18n)? %define share_myspell_dicts 0 %define nspr_version 4.6.1 %define nss_version 3.11 #define _unpackaged_files_terminate_build 0 #define toolkit_options --enable-default-toolkit=gtk2 --disable-freetype2 --enable-xft --enable-pango %define builddir %{_builddir}/mozilla %define mozdir %{_libdir}/mozilla-%{version} Name: mozilla Summary: Web browser Group: Applications/Internet Epoch: 37 Version: 1.7.13 Release: 2.1%{?dist}%{?kde} License: MPL BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) ExclusiveArch: %{ix86} x86_64 ia64 ppc s390 s390x Source0: http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla1.7.13/source/mozilla-1.7.13-source.tar.bz2 Source1: mozilla.sh.in Source2: mozilla-icon.png Source4: mozilla.desktop Source6: mozilla-1.7-libart_lgpl.tar.bz2 Source7: mozilla-make-package.pl Source9: mozicon16.xpm Source10: mozicon50.xpm Source11: mozilla-rebuild-databases.pl.in Source12: mozilla-mail.desktop Source13: mozilla-mail-icon.png Source14: mozilla-compose.desktop Source15: mozilla-compose-icon.png Source17: mozilla-psm-exclude-list Source18: mozilla-xpcom-exclude-list Source19: mozilla-redhat-default-bookmarks.html Source20: mozilla-redhat-default-prefs.js Source1010: mozilla-calendar.desktop Source1011: mozilla-calendar.png # enigmail support %define build_enigmail 1 # http://enigmail.mozdev.org/ Source1021: http://www.mozilla-enigmail.org/downloads/src/ipc-1.1.3.tar.gz Source1022: http://www.mozilla-enigmail.org/downloads/src/ipc-1.1.3.tar.gz.asc Source1023: http://www.mozilla-enigmail.org/downloads/src/enigmail-0.93.0.tar.gz Source1024: http://www.mozilla-enigmail.org/downloads/src/enigmail-0.93.0.tar.gz.asc # build patches Patch1: mozilla-1.7.3-freetype-compile.patch Patch2: mozilla-1.4-prdtoa.patch Patch3: firefox-1.0-gcc4-compile.patch Patch4: firefox-1.0-recv-fortify.patch Patch5: firefox-1.0-gfxshared_s.patch Patch6: mozilla-1.7.12-with-system-nss.patch Patch7: firefox-1.0-system-nspr-ldap.patch Patch8: mozilla-1.7.8-nspr-pkgconfig.patch # customization patches Patch20: mozilla-redhat-home-page.patch Patch21: mozilla-default-plugin-less-annoying.patch Patch22: mozilla-1.7-psfonts.patch Patch25: mozilla-nspr-packages.patch Patch26: mozilla-1.6-gnome-uriloader.patch Patch27: mozilla-1.4.1-ppc64.patch Patch28: mozilla-1.6-frameload.patch Patch30: mozilla-1.7.3-pango-render.patch Patch31: firefox-1.0-pango-selection.patch Patch32: firefox-1.0-pango-space-width.patch Patch33: firefox-1.0-pango-rounding.patch Patch34: firefox-1.0-pango-direction.patch Patch35: firefox-1.0-pango-bidi-justify.patch Patch36: firefox-1.0-pango-cairo.patch Patch91: mozilla-1.7.3-gtk-file-chooser-trunk.patch Patch92: mozilla-1.7.3-gtk-file-chooser-updates.patch Patch93: mozilla-1.7.3-gtk-file-chooser-morefixes.patch Patch94: firefox-1.1-modal-filechooser.patch Patch100: mozilla-1.7.3-pkgconfig.patch Patch101: mozilla-1.7.3-gnome-vfs-default-app.patch Patch102: mozilla-1.7.3-stack-direction.patch Patch103: firefox-1.0-gtk-system-colors.patch Patch104: mozilla-1.7.5-g-application-name.patch Patch105: firefox-1.0-remote-intern-atoms.patch Patch106: firefox-1.0-uriloader.patch Patch107: mozilla-1.7.8-imgloader-comarray.patch Patch108: mozilla-1.7.11-embed-prompt-wrapping.patch Patch109: mozilla-1.7.11-embed-prompt-modal.patch Patch110: mozilla-1.7.11-embed-prompt-crash.patch Patch111: mozilla-1.7.11-gtkembed-prompt-crash.patch Patch112: mozilla-1.7.11-tooltip-borders.patch Patch120: mozilla-1.7.12-CVE-2005-4134-long-history-dos.patch Patch121: mozilla-1.7.12-CVE-2006-0292-javascript-unrooted.patch Patch122: mozilla-1.7.12-CVE-2006-0296-XULDocument.persist.patch # (gg) 1.4-14mdk use Standard Symbols L too for MathML Patch142: mozilla-1.6-mathml-standardsymbolsl.patch # (gg) 1.4-14mdk fix problem with time font in MathML Patch143: mozilla-mathml-times.patch # (fc) 1.1-0.branch.1mdk fix spellchecker includes Patch147: mozilla-1.1-spellcheckerinclude.patch # (gb) 1.1-4mdk myspell dictionaries are in /usr/share/dict/ooo/ Patch153: mozilla-1.1-system-myspell-dicts.patch # (gb) 1.1-4mdk hack to handle OOo myspell dictionaries file name Patch154: mozilla-1.7-spellcheck-full-langname.patch # (fc) 1.3-0.alpha.2mdk google is now search engine by default, add mdk bugzilla in search engines list Patch159: mozilla-1.6-search.patch # (fc) 1.4-0.alpha.1mdk allow to change UI font (rawhide + ghibo) Patch162: mozilla-1.3-uifont.patch # (fc) 1.6-5mdk add missing files for gtk2 (merged for usr-local-bin) Patch179: mozilla-1.6-missinggtk2.patch Provides: webclient ## Use gcc3 (gcc3-3.2 preferably) on rh7 %if "%{?rhl}" == "7" %define gcc3 3 %endif ## BuildRequires: freetype-devel %define freetype_ver %(rpm -q --qf '%%{version}' freetype-devel) BuildRequires: gcc%{?gcc3}-c++ BuildRequires: libpng-devel, libjpeg-devel, zlib-devel, zip, perl BuildRequires: libIDL-devel, glib2-devel, gtk2-devel BuildRequires: autoconf213 BuildRequires: nspr-devel >= %{nspr_version} BuildRequires: nss-devel >= %{nss_version} # We now include psm in the main pkg Obsoletes: %{name}-psm < %{epoch}:%{version}-%{release} Provides: %{name}-psm = %{epoch}:%{version}-%{release} # Xft config %define enable_xft --enable-xft --disable-freetype2 BuildRequires: XFree86-devel >= 4.2.1 %define xfree_pkg %(rpm -q --qf "%%{name}" --whatprovides XFree86-devel ) %define xfree_ver %(rpm -q --qf "%%{version}" %{xfree_pkg} | cut -d. -f-2) # xinerama config %define xinerama --enable-xinerama %if "%{xfree_ver}" < "4.3" BuildRequires: Xft-devel >= 2.0 %define xinerama --disable-xinerama %endif # svg config # svg broken for fc3's freetype, probably need to extend freetype patch for svg too %if "%{freetype_ver}" > "2.1.7" #define svg --disable-svg %else %define svg --enable-svg --enable-svg-renderer-libart %endif # pango config BuildRequires: pango-devel %define pango_ver %(rpm -q --qf "%%{version}" pango-devel | cut -d. -f-2 ) %if "%{?pango_ver}" >= "1.5" %define enable_pango --enable-pango %endif Prereq: fileutils perl Prereq: /usr/bin/killall # Let rpm autoreq this -- Rex #Requires: %{name}-nspr = %{epoch}:%{version}-%{release} #Requires: nspr >= %{nspr_version} #Requires: %{name}-nss = %{epoch}:%{version}-%{release} #Requires: nss >= %{nss_version} # Not *strictly* required, but optional Requires(hint): mathml-fonts %description Mozilla is an open-source web browser, designed for standards compliance, performance and portability. %package calendar Summary: Standards based calendar client project for mozilla Group: Applications/Productivity Requires: %{name} = %{epoch}:%{version} %description calendar Standards based calendar client project for mozilla. See http://www.mozilla.org/projects/calendar/ for details. %package devel Summary: Development files for Mozilla Group: Development/Libraries Requires: nspr-devel >= %{nspr_version} Requires: nss-devel >= %{nss_version} %description devel Development header files for mozilla. %package mail Summary: Mozilla-based mail system Group: Applications/Internet Prereq: %{name} = %{epoch}:%{version} Obsoletes: %{name}-spellcheck < %{epoch}:%{version}-%{release} Provides: %{name}-spellcheck = %{epoch}:%{version}-%{release} %if "%{?share_myspell_dicts}" == "1" # We'd like to share/use openoffice's multilingual myspell dicts #Requires: openoffice.org-i18n #Requires: /usr/share/dict/ooo %endif %description mail Mail/news client based on the Mozilla web browser. The mail/news client supports IMAP, POP, and NNTP and has an easy to use interface. %package chat Summary: IRC client integrated with Mozilla Group: Applications/Internet Prereq: %{name} = %{epoch}:%{version} %description chat IRC client that is integrated with the Mozilla web browser. %package js-debugger Summary: JavaScript debugger for use with Mozilla Group: Applications/Internet Prereq: %{name} = %{epoch}:%{version} %description js-debugger JavaScript debugger for use with Mozilla. %package dom-inspector Summary: A tool for inspecting the DOM of pages in Mozilla. Group: Applications/Internet Prereq: %{name} = %{epoch}:%{version} %description dom-inspector This is a tool that allows you to inspect the DOM for web pages in Mozilla. This is of great use to people who are doing Mozilla chrome development or web page development. %if "%{?build_enigmail}" == "1" %package enigmail Summary: GPG encryption support for Mozilla Group: Applications/Internet URL: http://enigmail.mozdev.org/ Prereq: %{name}-mail = %{epoch}:%{version} #Prereq: %{name}-enigmime = %{epoch}:%{version}-%{release} Obsoletes: %{name}-enigmime < %{epoch}:%{version}-%{release} #Provides: %{name}-enigmime < %{epoch}:%{version}-%{release} Requires: gnupg %description enigmail GPG encryption support for Mozilla %package enigmime Summary: Inter-process communication required for enigmail Group: Applications/Internet # Loosen requirement, to allow install to *any* mozilla-%version Prereq: %{name}-mail = %{epoch}:%{version} %description enigmime Inter-process communication required for enigmail %endif %prep %setup -q -n mozilla -a 6 # Use openoffice myspell dictionaries %if "%{?share_myspell_dicts}" == "1" %patch153 -p1 -b .spellcheck-system-dicts %patch154 -p1 -b .spellcheck-full-langname %endif # build patches %if "%{?freetype_ver}" > "2.1.7" %patch1 -p1 %endif %patch2 -p1 #patch3 -p0 %patch4 -p0 %patch5 -p0 %patch6 -p1 %patch7 -p0 %patch8 -p0 # customization patches %patch20 -p1 %patch21 -p1 %patch22 -p1 %patch25 -p1 %patch26 -p1 %patch27 -p1 %patch28 -p1 # Rendering with Pango! %patch30 -p1 %patch31 -p1 %patch32 -p1 %patch33 -p1 %patch34 -p1 %patch35 -p0 %patch36 -p1 # GTK+ File Chooser %patch91 -p0 %patch92 -p1 %patch93 -p0 %patch94 -p0 # Fix up our pkg-config options %patch100 -p0 %patch101 -p1 %patch102 -p0 %patch103 -p0 %patch104 -p0 %patch105 -p0 %patch106 -p0 %patch107 -p0 %patch108 -p0 #patch109 -p0 %patch110 -p0 #patch111 -p0 %patch112 -p0 #patch120 -p0 #patch121 -p0 #patch122 -p0 %patch142 -p1 -b .standardsym %patch143 -p1 -b .mathmltimes %patch159 -p1 -b .search %{?enable_xft:%patch162 -p1 -b .uifont} # gtk2 patches borrowed from mdk -- Rex %patch179 -p1 -b .missinggtk2 %if "%{?build_enigmail}" == "1" %setup -T -D -n mozilla/extensions -q -a1021 %setup -T -D -n mozilla/extensions -q -a1023 %setup -T -D -n mozilla cat >> xpinstall/packager/packages-unix <> $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/chrome/installed-chrome.txt skin,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/ locale,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/ content,install,url,jar:resource:/chrome/enigmail.jar!/content/enigmail/ skin,install,url,jar:resource:/chrome/enigmail-skin.jar!/skin/modern/enigmail/ skin,install,url,jar:resource:/chrome/enigmail-skin.jar!/skin/classic/enigmail/ locale,install,url,jar:resource:/chrome/enigmail.jar!/locale/en-US/enigmail/ EOF rm -f mozilla-enigmail.list %{SOURCE7} --package enigmail \ --output-file %pwd/mozilla-enigmail.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version} \ --install-root %{_libdir}/mozilla-%{version} #rm -f mozilla-enigmime.list %{SOURCE7} --package enigmime \ --output-file %pwd/mozilla-enigmail.list \ --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \ --install-dir $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version} \ --install-root %{_libdir}/mozilla-%{version} %endif # build our initial component and chrome registry pushd `pwd` cd $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version} # save a copy of the default installed-chrome.txt file before we # muck with it mkdir chrome/lang cp -a chrome/installed-chrome.txt chrome/lang/ # register our components LD_LIBRARY_PATH=`pwd`:`pwd`/.. MOZILLA_FIVE_HOME=`pwd` ./regxpcom # set up the default skin and locale to trigger the generation of # the user-locales and users-skins.rdf echo "skin,install,select,classic/1.0" >> chrome/installed-chrome.txt echo "locale,install,select,en-US" >> chrome/installed-chrome.txt # save the defaults in a file that will be used later to rebuild the # installed-chrome.txt file echo "skin,install,select,classic/1.0" >> chrome/lang/default.txt echo "locale,install,select,en-US" >> chrome/lang/default.txt # set up the chrome rdf files LD_LIBRARY_PATH=`pwd`:`pwd`/.. MOZILLA_FIVE_HOME=`pwd` ./regchrome # fix permissions of the chrome directories /usr/bin/find . -type d -perm 0700 -exec chmod 755 {} \; || : popd # cp -L (dereference all symlinks) is required for fileutils >= 2.0.27 # (POSIX compliance); prior versions dont understand -L, so fall back... # build the list of include files rm -f mozilla-devel.list find $RPM_BUILD_ROOT%{_includedir}/mozilla-%{version}/ -type f | \ sed -e "s,$RPM_BUILD_ROOT,," > \ %pwd/mozilla-devel.list # copy our idl into place #mkdir -p $RPM_BUILD_ROOT%{prefix}/share/idl/mozilla-%{version} #(cd dist/idl ; tar chf - * | \ # (cd $RPM_BUILD_ROOT%{prefix}/share/idl/mozilla-%{version} ; \ # tar xvf -)) # copy our devel tools install -c -m 755 dist/bin/xpcshell \ dist/bin/xpidl \ dist/bin/xpt_dump \ dist/bin/xpt_link \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version} # install desktop files in correct directory mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications/ desktop-file-install --vendor mozilla \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-category X-Fedora \ --add-category Application \ --add-category Network \ %{SOURCE4} desktop-file-install --vendor mozilla \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-category X-Fedora \ --add-category Application \ --add-category Network \ %{SOURCE12} desktop-file-install --vendor mozilla \ --dir $RPM_BUILD_ROOT%{_datadir}/applications \ --add-category X-Fedora \ --add-category Application \ --add-category Office \ %{SOURCE1010} mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps/ install -c -m 644 %{SOURCE2} %{SOURCE13} %{SOURCE15} %{SOURCE1011} \ $RPM_BUILD_ROOT%{_datadir}/pixmaps/ if [ ! -d $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/icons/ ]; then mkdir -m 755 $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/icons fi if [ ! -d $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/plugins/ ]; then mkdir -m 755 $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/plugins fi # install our mozilla.sh file cat %{SOURCE1} | sed -e 's/MOZILLA_VERSION/%{version}/g' \ -e 's,LIBDIR,%{_libdir},g' > \ $RPM_BUILD_ROOT%{_bindir}/mozilla chmod 755 $RPM_BUILD_ROOT%{_bindir}/mozilla # set up our default preferences %{__cat} %{SOURCE20} | %{__sed} -e 's,MOZILLA_RPM_VR,%{version}-%{release},g' > \ $RPM_BUILD_ROOT/rh-default-prefs %{__cp} $RPM_BUILD_ROOT/rh-default-prefs $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/greprefs/all-redhat.js %{__cp} $RPM_BUILD_ROOT/rh-default-prefs $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/defaults/pref/all-redhat.js %{__rm} $RPM_BUILD_ROOT/rh-default-prefs # install our rebuild file cat %{SOURCE11} | \ sed -e 's/MOZILLA_VERSION/%{version}/g' -e 's,LIBDIR,%{_libdir},g' > \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl chmod 755 \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl # we own /usr/lib/mozilla/plugins which is the version-independent # place that plugins can be installed mkdir -p $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins # ghost files touch $RPM_BUILD_ROOT%{mozdir}/chrome/chrome.rdf for overlay in {"browser","communicator","cookie","editor","global","inspector","messenger","navigator"}; do %{__mkdir_p} $RPM_BUILD_ROOT%{mozdir}/chrome/overlayinfo/$overlay/content touch $RPM_BUILD_ROOT%{mozdir}/chrome/overlayinfo/$overlay/content/overlays.rdf done for overlay in {"browser","global"}; do %{__mkdir_p} $RPM_BUILD_ROOT%{mozdir}/chrome/overlayinfo/$overlay/skin touch $RPM_BUILD_ROOT%{mozdir}/chrome/overlayinfo/$overlay/skin/stylesheets.rdf done touch $RPM_BUILD_ROOT%{mozdir}/chrome/chrome.rdf %{__mkdir_p} $RPM_BUILD_ROOT%{mozdir}/components/myspell %if "%{?enable_xft}" != "%{nil}" # default ui font cat << EOF > $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/defaults/pref/xft.js // pref to override the default UI font pref("font.uifont.name", "sans-serif"); pref("font.uifont.pointheight", 10); EOF %endif # install the gre.conf file %ifarch x86_64 ia64 ppc64 s390x %define gre_conf_file gre64.conf %else %define gre_conf_file gre.conf %endif %{__mkdir_p} $RPM_BUILD_ROOT/etc/gre.d/ echo [%{version}] > \ $RPM_BUILD_ROOT/etc/gre.d/%{gre_conf_file} echo GRE_PATH=%{_libdir}/mozilla-%{version} >> \ $RPM_BUILD_ROOT/etc/gre.d/%{gre_conf_file} # $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/chrome/icons/default/calendar-*.xpm \ # remove unpackaged files rm -rf %{?nspr_version:$RPM_BUILD_ROOT%{_libdir}/pkgconfig/mozilla-nspr.pc} \ %{?nss_version:$RPM_BUILD_ROOT%{_libdir}/pkgconfig/mozilla-nss.pc } \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/chrome/{cview,embed-sample,layoutdebug}.jar \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/chrome/icons/default/default.xpm \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/components/{accessproxy,content,dom_loadsave,htmlparser,iiextras,jsconsole,plugin,prefetch,dom_svg,layout_debug,lwbrk,xmlsecurity,ipcd,profilesharingsetup,transmngr,ucnative}.xpt \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/components/lib{accessproxy,gkdebug,iiextras,nkdatetime,nkfinger,embed_lite,ipcdc,transmngr_client}.so \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/components/{nsInterfaceInfoToIDL,nsResetPref,nsUpdateNotifier}.js \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/defaults/profile/US/chrome/*example.css \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/defaults/profile/chrome/*example.css \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/res/{arrowd.gif,gfx/icon_0.gif,gfx/icon_1.gif} \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/res/rdf/*test* \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/res/sample.unixpsfonts.properties \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/res/samples/sampleimages \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/res/throbber \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/res/viewer.properties \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/{timebombgen,TestGtkEmbed*,libnullplugin.so,mozilla-ipcd,tmModuleTest,TestIPC} \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/ipc/modules/lib{lockmodule,testmodule,transmgr}.so \ $RPM_BUILD_ROOT%{_libdir}/mozilla-%{version}/lib{lockmodule,testmodule,transmgr}.so %clean rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %postun /sbin/ldconfig update-desktop-database %{_datadir}/applications > /dev/null 2>&1 || : if [ "$1" == "2" ]; then %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : fi %triggerpostun -- mozilla < 1.0 %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %preun if [ $1 -eq 0 ]; then /bin/rm -rf %{mozdir}/chrome/overlayinfo /bin/rm -f %{mozdir}/chrome/*.rdf fi %post calendar %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %postun calendar %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %post mail %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %postun mail %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %post chat %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %postun chat %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %post js-debugger %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %postun js-debugger %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %post dom-inspector %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %postun dom-inspector %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %if "%{?build_enigmail}" == "1" %post enigmail %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %postun enigmail %{mozdir}/mozilla-rebuild-databases.pl > /dev/null 2>&1 || : %endif %files -f mozilla.list %defattr(-,root,root) %{_bindir}/mozilla %{_mandir}/man1/* %{_libdir}/mozilla-%{version}/mozilla-rebuild-databases.pl /etc/gre.d/%{gre_conf_file} %{_libdir}/mozilla-%{version}/greprefs/all-redhat.js %{_libdir}/mozilla-%{version}/defaults/pref/all-redhat.js %{_datadir}/applications/mozilla.desktop %{_datadir}/pixmaps/mozilla-icon.* %{?enable_xft:%{_libdir}/mozilla-%{version}/defaults/pref/xft.js } %if "%{?svg:1}" == "1" %{_libdir}/mozilla-%{version}/chrome/svg.jar %{_libdir}/mozilla-%{version}/components/gksvgrenderer.xpt %{_libdir}/mozilla-%{version}/res/svg.css %endif %verify (not md5 mtime size) %{mozdir}/components/compreg.dat %verify (not md5 mtime size) %{mozdir}/components/xpti.dat %dir %{mozdir} %dir %{mozdir}/init.d %dir %{mozdir}/greprefs %dir %{mozdir}/defaults/pref %dir %{mozdir}/defaults/profile %dir %{mozdir}/defaults/profile/US %dir %{mozdir}/defaults/wallet %dir %{mozdir}/defaults/autoconfig %dir %{mozdir}/defaults/messenger/US %dir %{mozdir}/defaults/messenger %dir %{mozdir}/defaults %dir %{mozdir}/chrome/icons/default %dir %{mozdir}/chrome/icons %dir %{mozdir}/chrome/lang %dir %{mozdir}/chrome %dir %{mozdir}/res/rdf %dir %{mozdir}/res/dtd %dir %{mozdir}/res/fonts %dir %{mozdir}/res %dir %{mozdir}/components/myspell %dir %{mozdir}/components %dir %{mozdir}/icons %dir %{mozdir}/searchplugins %dir %{mozdir}/plugins %dir %{mozdir}/res/html %dir %{mozdir}/res/samples %dir %{mozdir}/res/entityTables %verify (not md5 mtime size) %{mozdir}/chrome/installed-chrome.txt %{mozdir}/chrome/lang/installed-chrome.txt %{mozdir}/chrome/lang/default.txt %ghost %{mozdir}/chrome/chrome.rdf %ghost %{mozdir}/chrome/overlayinfo/browser/skin/stylesheets.rdf %ghost %{mozdir}/chrome/overlayinfo/global/skin/stylesheets.rdf %ghost %{mozdir}/chrome/overlayinfo/browser/content/overlays.rdf %ghost %{mozdir}/chrome/overlayinfo/communicator/content/overlays.rdf %ghost %{mozdir}/chrome/overlayinfo/global/content/overlays.rdf %ghost %{mozdir}/chrome/overlayinfo/editor/content/overlays.rdf %ghost %{mozdir}/chrome/overlayinfo/navigator/content/overlays.rdf %ghost %{mozdir}/chrome/overlayinfo/cookie/content/overlays.rdf %dir %{mozdir}/chrome/overlayinfo/browser/content %dir %{mozdir}/chrome/overlayinfo/browser/skin %dir %{mozdir}/chrome/overlayinfo/browser %dir %{mozdir}/chrome/overlayinfo/global/content %dir %{mozdir}/chrome/overlayinfo/global/skin %dir %{mozdir}/chrome/overlayinfo/global %dir %{mozdir}/chrome/overlayinfo/communicator/content %dir %{mozdir}/chrome/overlayinfo/communicator %dir %{mozdir}/chrome/overlayinfo/editor/content %dir %{mozdir}/chrome/overlayinfo/editor %dir %{mozdir}/chrome/overlayinfo/navigator/content %dir %{mozdir}/chrome/overlayinfo/navigator %dir %{mozdir}/chrome/overlayinfo/cookie/content %dir %{mozdir}/chrome/overlayinfo/cookie %dir %{mozdir}/chrome/overlayinfo %files calendar %defattr(-,root,root) %{_datadir}/applications/*calendar.desktop %{_datadir}/pixmaps/mozilla-calendar* %{_datadir}/idl/mozilla-%{version}/oeIICal.idl %dir %{_includedir}/mozilla-%{version}/ %{_includedir}/mozilla-%{version}/calendar/ %{mozdir}/chrome/calendar.jar %{mozdir}/chrome/tasks.jar %{mozdir}/chrome/icons/default/calendar-* %{mozdir}/components/calendar.xpt %{mozdir}/components/calendarService.js %{mozdir}/components/libxpical.so %{mozdir}/init.d/*calendar* %files mail -f mozilla-mail.list %defattr(-,root,root) #{_datadir}/applications/*compose.desktop %{_datadir}/applications/*mail.desktop %{_datadir}/pixmaps/mozilla-*-icon.* %dir %{mozdir}/chrome/icons/default %dir %{mozdir}/chrome/icons %dir %{mozdir}/chrome %dir %{mozdir}/components %dir %{mozdir} %dir %{mozdir}/components/myspell %dir %{mozdir}/chrome/overlayinfo/messenger/content %dir %{mozdir}/chrome/overlayinfo/messenger %ghost %{mozdir}/chrome/overlayinfo/messenger/content/overlays.rdf %files chat -f mozilla-chat.list %defattr(-,root,root) %files js-debugger -f mozilla-js-debugger.list %defattr(-,root,root) %files dom-inspector -f mozilla-dom-inspector.list %defattr(-,root,root) %ghost %{mozdir}/chrome/overlayinfo/inspector/content/overlays.rdf %dir %{mozdir}/chrome/overlayinfo/inspector/content %dir %{mozdir}/chrome/overlayinfo/inspector %dir %{mozdir}/res/inspector %files devel -f mozilla-devel.list %defattr(-,root,root) %{_bindir}/mozilla-config %{_datadir}/idl/mozilla-%{version}/ %{mozdir}/xpcshell %{mozdir}/xpidl %{mozdir}/xpt_dump %{mozdir}/xpt_link %{_libdir}/pkgconfig/mozilla-js.pc %{_libdir}/pkgconfig/mozilla-xpcom.pc %{_libdir}/pkgconfig/mozilla-gtkmozembed.pc %{_libdir}/pkgconfig/mozilla-plugin.pc %if "%{?build_enigmail}" == "1" %files enigmail -f mozilla-enigmail.list %defattr(-,root,root) %dir %{mozdir}/chrome/overlayinfo/enigmail %dir %{mozdir}/chrome/overlayinfo/enigmail/content %{mozdir}/chrome/overlayinfo/enigmail/content/overlays.rdf # Folded into enigmail #%files enigmime -f mozilla-enigmime.list #%defattr(-,root,root) %endif %changelog * Fri Apr 21 2006 Rex Dieter 37:1.7.13-2.0 - 1.7.13 - Requires(hint): mathml-fonts * Tue Mar 14 2006 Rex Dieter 37:1.7.12-5.1 - drop hard-coded Requires: nspr, nss * Mon Feb 13 2006 Rex Dieter 37:1.7.12-5.0 - -engimail: enigmail-0.93.0 - mozilla.desktop: remove NoDisplay=true, fix Name/GenericName - -calendar: --enable-calendar - --enable-optimize="$RPM_OPT_FLAGS" - --enable-strip, remove "-g" from compiler flags - i386 -> %%{ix86} - mathml: Requires: mathml-fonts - mathml: steal, er, borrow/use a few mdk patches - svg: --enable-svg --enable-svg-renderer-libart (TODO: fix fc3 svg build) - relax Req's for subpkgs - use gcc32 for < rh8 builds - make buildable across rh7-9,fc2-4,el3-4 * Sun Feb 12 2006 Christopher Aillon - 37:1.7.12-5 - Update dumpstack.patch to match upstream * Sun Feb 5 2006 Christopher Aillon 37:1.7.12-4 - Fix CVE-2005-4134, CVE-2006-0292, CVE-2006-0296 * Thu Dec 15 2005 Christopher Aillon 37:1.7.12-3 - Use system NSS * Fri Dec 09 2005 Jesse Keating - rebuilt * Tue Oct 18 2005 Christopher Aillon 37:1.7.12-2 - Update to 1.7.12, containing fixes for: CAN-2005-2701 CAN-2005-2702 CAN-2005-2703 CAN-2005-2704 CAN-2005-2705 CAN-2005-2706 CAN-2005-2707 CAN-2005-2968 * Wed Sep 14 2005 Jeremy Katz - 37:1.7.11-5 - hey, it builds on ppc64 again... * Thu Sep 1 2005 Kristian Høgsberg 37:1.7.11-3 - Add firefox-nopangoxft.patch so this thing works. * Sun Aug 14 2005 Christopher Aillon 37:1.7.11-2 - Build with $RPM_OPT_FLAGS * Fri Jul 29 2005 Christopher Aillon 37:1.7.11-1 - Mozilla 1.7.11 - Add patch to make the file chooser modal - Embedding prompt patches: - Don't crash on opening or closing a prompt - Better wrapping of long lines - Display borders for tooltips in embedded code. * Wed Jul 20 2005 Christopher Aillon 37:1.7.10-3 - Add firefox-1.0-pango-cairo.patch to get rid of the last few Xft references, fixing the "no fonts" problem. * Tue Jul 19 2005 Christopher Aillon 37:1.7.10-2 - Mozilla 1.7.10 * Fri Jul 15 2005 Christopher Aillon 37:1.7.8-6 - Teach mozilla-nss.pc about system NSPR * Fri Jul 15 2005 Christopher Aillon 37:1.7.8-5 - Fix a crash on 64bit platforms (#160330) * Thu Jul 14 2005 Christopher Aillon 37:1.7.8-4 - mozilla-nss should also depend on the system nspr package now * Tue Jul 12 2005 Christopher Aillon 37:1.7.8-3 - Use system NSPR * Fri Apr 15 2005 Christopher Aillon 37:1.7.7-2 - Add patch to properly link against libgfxshared_s.a * Fri Apr 15 2005 Christopher Aillon 37:1.7.7-1 - Update to security release 1.7.7 * Tue Apr 12 2005 Christopher Aillon 37:1.7.6-3 - Spec file cleanup - Add nspr-config 64 bit patch from rstrode@redhat.com * Tue Mar 22 2005 Christopher Aillon 37:1.7.6-2 - Update to 1.7.6 final version - Add patch from blizzard to hopefully fix issue with italic rendering with some fonts (e.g. Tahoma) * Wed Mar 16 2005 Christopher Aillon - Correct the location for the gre.conf to /etc/gre.d/ * Sun Mar 13 2005 Christopher Aillon 37:1.7.6-0.cvs.20050313 - Update to latest 1.7.6 branch from CVS. * Wed Mar 9 2005 Christopher Aillon 37:1.7.6-0.cvs.20050309 - Update to latest 1.7.6 branch from CVS. * Tue Mar 8 2005 Christopher Aillon 37:1.7.5-6 - Add patch to compile against new fortified glibc macros * Sat Mar 5 2005 Christopher Aillon 37:1.7.5-5 - Add upstream fix to reduce round trips to xserver during remote control - Remerge firefox-1.0-pango-selection.patch - Add execshield patches for ia64 and ppc - Add upstream fix to call g_set_application_name - Compile against GCC 4.0 * Sat Feb 26 2005 Christopher Aillon 37:1.7.5-4 - Request the correct system colors * Sun Jan 9 2005 Christopher Aillon 37:1.7.5-3 - Update pango selection patch to fix cursoring in textareas. * Mon Dec 20 2004 Christopher Aillon 37:1.7.5-2 - Backport pango fixes from the firefox package, and enable it by default. * Fri Dec 17 2004 Christopher Aillon 37:1.7.5-1 - Update to 1.7.5 * Wed Dec 15 2004 Christopher Aillon 37:1.7.3-20 - Enable smooth scrolling and system colors by default. - Add RPM version to useragent - Some specfile cleanup * Fri Oct 27 2004 Christopher Aillon 37:1.7.3-19 - Add upstream patch for s390(x) and re-enable them. (bmo #264326) * Fri Oct 22 2004 Christopher Aillon 37:1.7.3-18 - Prevent inlining of stack direction detection (#135255) - Fix problem where default apps aren't showing up in the download dialog (#136261) * Wed Oct 20 2004 Christopher Aillon 37:1.7.3-17 - More file chooser fixes: Pop up a confirmation dialog before overwriting files (#134648) Allow saving as complete once again - Fix for upstream 263263. * Tue Oct 19 2004 Christopher Aillon 37:1.7.3-16 - Add fix for upstream 262689 * Mon Oct 18 2004 Christopher Blizzard 37:1.7.3-15 - Pango on by env var * Wed Oct 13 2004 Christopher Blizzard 37:1.7.3-14 - Pango on by default * Tue Oct 12 2004 Christopher Aillon 37:1.7.3-13 - Fix for 64 bit crash at startup (b.m.o #256603) * Sun Oct 10 2004 Christopher Aillon 37:1.7.3-12 - Add patches to fix tab focus stealing issue (b.m.o #124750) - Re-add ppc to the build. * Thu Sep 30 2004 Christopher Aillon 37:1.7.3-11 - Hide Mozilla from the Internet menu. * Thu Sep 30 2004 Christopher Aillon 37:1.7.3-10 - PreReq desktop-file-utils >= 0.9 * Wed Sep 29 2004 Christopher Aillon 37:1.7.3-9 - Add MimeType entries; run update-desktop-database * Wed Sep 29 2004 Christopher Blizzard 37:1.7.3-8 - Add optional pango support * Wed Sep 29 2004 Christopher Blizzard 37:1.7.3-7 - Use desktop-file-install to install the .desktop file * Wed Sep 29 2004 Christopher Blizzard 37:1.7.3-6 - Don't link mozilla.desktop to the old artwork .desktop file * Tue Sep 28 2004 Christopher Aillon 37:1.7.3-5 - Backport the GTK+ file chooser. * Mon Sep 27 2004 Christopher Aillon 37:1.7.3-4 - Fix JS math on AMD64 - Add query cups patch (bmo #251754) - Add pkgconfig patch (bmo #261090) * Mon Sep 27 2004 Christopher Blizzard 37:1.7.3-2 - Remove the entries for mozilla-compose.desktop and the image file - Move mozilla.desktop to mozilla package - don't use the desktop-menu-patches link for mozilla.desktop * Wed Sep 15 2004 Christopher Aillon 37:1.7.3-1 - Update to 1.7.3 - Add temporary patch to compile against newer freetype. See bugzilla.mozilla.org 234035 - Remove ppc temporarily; since it doesn't compile. See bugzilla.redhat.com 133316 .