Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > b8584ec748dcc24981022f1480543d70 > files > 64

mozilla-1.6-12.5.100mdk.src.rpm

%define major_nspr 4
%define epoch_nspr 1
%define lib_nspr_name %mklibname nspr %{major_nspr}
%define major_nss 3
%define epoch_nss 1
%define epoch_mozilla 0
%define lib_nss_name %mklibname nss %{major_nss}
#warning : always end release date with 00 
# (it should be the hour of build but it is not significant for rpm)
%define releasedate 2004011500
%define french_policy 0
%define dirversion  %{version}
%define mozillalibdir %{_libdir}/mozilla-%{dirversion}
%define mozillaplugindir %{_libdir}/mozilla/plugins
%define mozillaincludedir %{_includedir}/mozilla-%{dirversion}
%define mozillaidldir %{_datadir}/idl/mozilla-%{dirversion}
%define build_enigmail   1
%define build_xmlterm	 0
%define enable_svg       0
%define build_is_final   1
%define enable_l10n      1
%define build_debug      0
%define build_corefonts	 0
%define build_ggdefaults 0
%define build_gtk	 0
%define build_pie	 0

%define toolkit		 gtk2

# used for enigmail and protozilla sources:
%define enigmail_version 0.83.3
%define ipc_version      1.0.5

%{?_with_enigmail: %global build_enigmail 1}

# Build a mozilla with debug enabled
%{?_with_mydebug: %global build_debug 1}
%{?_without_mydebug: %global build_debug 0}

# Use corefonts as default (Patch105)
%{?_with_corefonts: %global build_corefonts 1}
%{?_without_corefonts: %global build_corefonts 0}

# Enable/Disable some annoying parameters as defaults, e.g.
# - disable remote images in mail/news to avoid self bannering
# - enable pipelining
# - enable a4 paper
%{?_with_ggdefaults: %global build_ggdefaults 1}
%{?_without_ggdefaults: %global build_ggdefaults 0}

# Build with gtk (gtk1) toolkit instead of gtk2
%{?_with_gtk: %global build_gtk 1}
%{?_without_gtk: %global build_gtk 0}

# Enable pie (Position Independent Executable)
%{?_with_pie: %global build_pie 1}
%{?_without_pie: %global build_pie 0}

%if %{build_gtk}
%define build_xmlterm	1
%define toolkit		gtk
%endif

Name:      mozilla
Summary:   Mozilla, open-source web browser
Version:   1.6
Release:   12.5.100mdk
License:   MPL
Source0:   ftp://ftp.mozilla.org/pub/mozilla/releases/mozilla%{version}/src/mozilla-source-%{dirversion}.tar.bz2
Source2:   mozilla_16.png
Source3:   mozilla_32.png
Source4:   mozilla_48.png
Source5:   mozilla-bookmarks-mdk10.tar.bz2
Source6:   mozilla-0.9.7-libart_lgpl.tar.bz2
%if %{enable_l10n}
Source7:   mozilla-%{version}-l10n.tar.bz2
%endif
# (fc) 0.9.8-1mdk fix loading of file through command line (contributed by Chmouel) ,
# set MOZ_PLUGIN_PATH to $HOME/.mozilla/plugins, autodetect locale, add -splash parameter
Source10:  mozilla-1.0.0-sh.in.bz2
Source21:  http://enigmail.mozdev.org/dload/src/ipc-%{ipc_version}.tar.bz2
Source22:  http://enigmail.mozdev.org/dload/src/enigmail-%{enigmail_version}.tar.bz2
Source23:  mdkbugzilla.gif
Source24:  mozilla-1.6-startmail.tar.bz2

# (fc) 1.1-0.beta.1mdk remove Debug menu
Patch0:    mozilla-1.3-no-debug-overlay-menu.patch.bz2
Patch7:    mozilla-browser-home-page.patch.bz2
Patch12:   mozilla-1.6-psfonts.patch.bz2
Patch13:   mozilla-nspr-packages.patch.bz2
# (fc) 0.9.6-3mdk remove buildid from titlebar (Ximian)
Patch23:   mozilla-1.1-remove-buildid-from-title.patch.bz2
# (fc) 0.9.6-3mdk fix french policy
Patch24:   mozilla-0.9.6-frenchpolicy.patch.bz2
# (fc) 1.0.rc2.1mdk make default plugin less annoying (Mozilla official RPM)
Patch27:   mozilla-default-plugin-less-annoying.patch.bz2
# (gb) 1.1-0.beta.2mdk add initial port to x86-64
Patch33:   mozilla-1.4-x86_64.patch.bz2
# (gb) 1.1-0.beta.3mdk add new xptcall tests
Patch36:   mozilla-xptcall-tests.patch.bz2
# (gg) 1.4-14mdk use Standard Symbols L too for MathML
Patch42:   mozilla-1.6-mathml-standardsymbolsl.patch.bz2
# (gg) 1.4-14mdk fix problem with time font in MathML
Patch43:   mozilla-mathml-times.patch.bz2

# (fc) 1.1-0.branch.1mdk use standard mozilla packaging tool for enigmail/enigmime
Patch46:   mozilla-1.6-enigmail-package.patch.bz2
# (fc) 1.1-0.branch.1mdk fix spellchecker includes
Patch47:   mozilla-1.1-spellcheckerinclude.patch.bz2
# (gb) 1.1-4mdk myspell dictionaries are in /usr/share/dict/ooo/
Patch53:   mozilla-1.1-system-myspell-dicts.patch.bz2
# (gb) 1.1-4mdk hack to handle OOo myspell dictionaries file name
Patch54:   mozilla-1.1-spellcheck-full-langname.patch.bz2
# (fc) 1.3-0.alpha.2mdk google is now search engine by default, add mdk bugzilla in search engines list
Patch59:   mozilla-1.6-search.patch.bz2
# (fc) 1.4-0.alpha.1mdk allow to change UI font (rawhide + ghibo)
Patch62:   mozilla-1.3-uifont.patch.bz2
#
# (gg) 1.3-2mdk enabled default pipelining
Patch100:  mozilla-1.3-pipelining.patch.bz2
# (gg) Disable remote image "selfbannering" on mailnews
Patch101:  mozilla-1.3-disable-mailnews-remoteimage.patch.bz2
# (gg) Add some dir to the freetype2 font path
Patch102:  mozilla-1.3-freetype2-antialias-path.patch.bz2
# (gg) Enable "A4" paper by default instead of "letter"
Patch104:  mozilla-1.6-a4paper.patch.bz2
# (gg) Patch for default font names for x-western
Patch105:  mozilla-1.3-corefonts-fontnames.patch.bz2
# (gg) 1.4-4mdk patches for MathML (bug #176290)
Patch113:  mozilla-176290_127030.patch.bz2
# (fc) 1.4-9mdk Add IGP Brasil CA certificate
Patch131:  mozilla-1.4-igp-brasil.patch.bz2
# (fc) 1.4-10mdk use xvt instead of xterm
Patch132:  mozilla-1.5-xvt.patch.bz2
# (gg) 1.4-15mdk workaround problems with prdtoa (merged from RH)
Patch174:  mozilla-1.4-prdtoa.patch.bz2
# (gg) 1.4-15mdk patch for asm files to get execshield working (merged from RH)
Patch177:  mozilla-1.4.1-execshield.patch.bz2
# (gg) 1.4-15mdk patch for using -pie for linking mozilla-bin (merged from RH)
Patch178:  mozilla-1.4.1-pie.patch.bz2
# (fc) 1.6-5mdk add missing files for gtk2 (merged for usr-local-bin)
Patch179:  mozilla-1.6-missinggtk2.patch.bz2
# (fc) 1.6-6mdk various gtk2 fixes (CVS)
Patch180:  mozilla-1.6-gtk2.patch.bz2
# (fc) 1.6-10mdk fix separator key (Mdk bug 376)
Patch181:  mozilla-1.6-separator.patch.bz2
# (fc) 1.6-12.100.1mdk fix frame spoofing (Moz bug #246448) (CVS)
Patch182:  mozilla-1.6-framespoof.patch.bz2
# (fc) 1.6-12.100.1mdk fix popup XPInstall/security dialog when user is about to click (Moz bug #162020 + #149478 + #239580) (CVS)
Patch183:  mozilla-1.6-popupxpinstall.patch.bz2
# (fc) 1.6-12.100.1mdk fix untrusted chrome call (Moz bug #244965) (CVS)
Patch184:  mozilla-1.6-untrustedchrome.patch.bz2
# (fc) 1.6-12.100.1mdk guard against malicious POP3 server (Moz bug #229374) (CVS)
Patch185:  mozilla-1.6-maliciouspop3.patch.bz2
# (fc) 1.6-12.100.lmdk fix SSL certificate spoofing (Moz bug #240053) (CVS)
Patch186:  mozilla-1.6-spoofsslcert.patch.bz2
# (fc) 1.6-12.100.1mdk fix stealing secure HTTP Auth passwords via DNS spoof (Moz #226278) (CVS)
Patch187:  mozilla-1.6-passwordauthcache.patch.bz2
# (fc) 1.6-12.100.1mdk fix unsecure matching cert name for non-FQDNs (Moz bug #234058) (CVS)
Patch188:  mozilla-1.6-fqdncert.patch.bz2
# (fc) 1.6-12.100.1mdk fix focus redefinition for another domain (Moz bug #86028) (CVS)
Patch189:  mozilla-1.6-focusredefinition.patch.bz2
# (fc) 1.6-12.100.1mdk fix SOAP parameter overflow (Moz bug #236618)
Patch190:  mozilla-1.6-soapoverflow.patch.bz2
# (fc) 1.6-12.100.1mdk fix text drag on file entry (Moz bug #206859)
Patch191:  mozilla-1.6-textdragfile.patch.bz2
# (fc) 1.6-12.100.1mdk fix certificate DoS (Moz bug #249004)
Patch192:  mozilla-1.6-certdos.patch.bz2
# (fc) 1.6-12.100.1mdk fix lock icon and cert spoof (Moz bug #253121)
Patch193:  mozilla-1.6-lockcertspoof.patch.bz2
# (fc) 1.6-12.2.100mdk fix malicious POP3 server vulnerability (Moz bug #245066, 226669) (CVS)
Patch194:  mozilla-1.7.2-pop3fixes.patch.bz2
# (fc) 1.6-12.2.100mdk fix vcard crash (Moz bug #257314) (CVS)
Patch195:  mozilla-1.7.2-vcardcrash.patch.bz2
# (fc) 1.6-12.2.100mdk fix clipbard scripting (Moz bug #257523) (CVS)
Patch196:  mozilla-1.7.2-clipboardfix.patch.bz2
# (fc) 1.6-12.2.100mdk fix heap overflow in send page (Moz bug #258005) (CVS)
Patch197:  mozilla-1.6-sendpageheap.patch.bz2
# (fc) 1.6-12.2.100mdk fix BMP overflow (Moz bug #255067) (CVS)
Patch198:  mozilla-1.6-bmpoverflow.patch.bz2
# (fc) 1.6-12.3.100mdk try to load castella PKCS#11 module if available
Patch199:  mozilla-1.6-castella.patch.bz2
# (fc) 1.6-12.4.100mdk (from 1.7.2-10mdk) initial startup as maximized 
Patch200:  mozilla-1.7.2-defaultsize.patch.bz2
# (fc) 1.6-12.5.100mdk (from 1.7.3-2mdk) Fix JS math on AMD64 (Fedora)
Patch201:  mozilla-1.7.3-js-64bit-math.patch.bz2
# (fc) 1.6-12.5.100mdk (from 1.7.3-2mdk) fix crash in accessibility on 64bit arch (Moz bug #256603)
Patch202:  mozilla-1.7.3-access-64bit-crash.patch.bz2
# (fc) 1.6-12.5.100mdk fix dynamic library loading on 64bit system (gb)
Patch203:  mozilla-1.6-lib64.patch.bz2
# (fc) 1.6-12.5.100mdk fix nspr-config script to be 64bit friendly (gb)
Patch204:  mozilla-1.6-lib64-nspr.patch.bz2 

Epoch:     %{epoch_mozilla}
Conflicts: j2re = 1.4.0-beta3
Conflicts: j2sdk = 1.4.0-beta3

BuildRoot:	%{_tmppath}/%{name}-%{version}-root
BuildRequires:	libjpeg-devel libpng-devel libIDL-devel
BuildRequires:  zip tcsh libXft2-devel
BuildRequires:  gtk+2-devel >= 2.2.0

PreReq:		%{lib_nspr_name} >= %{epoch_nspr}:%{version}-%{release} 
PreReq:		perl psmisc
Requires:	%{lib_nss_name} = %{epoch_nss}:%{version}-%{release} 
Requires:	indexhtml 
Requires:	mailcap
Requires:	gtk+2 >= 2.2.0

Group:		Networking/WWW
Url:		http://www.mozilla.org
Obsoletes:	mozilla-xpcom mozilla-browser mozilla-psm
Provides:	mozilla-xpcom = %{version}-%{release}
Provides:	mozilla-browser = %{version}-%{release}
Provides:	mozilla-psm = %{version}-%{release}
Provides:	webclient

%description
Mozilla is an open-source web browser, designed for standards
compliance, performance and portability. 

%package -n %{lib_nspr_name}
Epoch:		%{epoch_nspr}
License:	MPL/GPL
URL:		http://www.mozilla.org/projects/nspr/index.html
Summary:	Netscape Portable Runtime Library
Group:		System/Libraries
Obsoletes:	nspr
Provides:	nspr = %{version}-%{release}
Provides:	mozilla-nspr = %{version}-%{release}
Conflicts:	mozilla < 0.9.9

%description -n %{lib_nspr_name}
NSPR provides platform independence for non-GUI operating system
facilities. These facilities include threads, thread synchronization,
normal file and network I/O, interval timing and calendar time, basic
memory management (malloc and free) and shared library linking.

%package -n %{lib_nspr_name}-devel
Epoch:		%{epoch_nspr}
Summary:	Netscape Portable Runtime library - development files
Group:		Development/C++
Requires:	%{lib_nspr_name} = %{epoch_nss}:%{version}-%{release}
Obsoletes:	nspr-devel
Provides:	nspr-devel = %{version}-%{release}
Provides:	libnspr-devel = %{version}-%{release}

%description -n %{lib_nspr_name}-devel
Header files for doing development with the Netscape Portable Runtime.

%package -n %{lib_nss_name}
Epoch:		%{epoch_nss}
License:	MPL/GPL
URL:		http://mozilla.org/projects/security/pki/nss/
Summary:	Network Security Services (NSS)
Group:		System/Libraries
Provides:	mozilla-nss = %{version}-%{release}

%description -n %{lib_nss_name}
Network Security Services (NSS) is a set of libraries designed 
to support cross-platform development of security-enabled server 
applications. Applications built with NSS can support SSL v2 and v3, 
TLS, PKCS #5, PKCS #7, PKCS #11, PKCS #12, S/MIME, X.509 v3 certificates,
and other security standards. 

%package -n %{lib_nss_name}-devel
Epoch:		%{epoch_nss}
Summary:	Network Security Services (NSS) - development files
Group:		Development/C++
Requires:	%{lib_nss_name} = %{epoch_nss}:%{version}-%{release}
Requires:	%{lib_nspr_name}-devel = %{epoch_nspr}:%{version}-%{release}
Provides:	libnss-devel = %{version}-%{release}
Provides:	nss-devel = %{version}-%{release}

%description -n %{lib_nss_name}-devel
Header files to doing development with Network Security Services.

%package devel
Summary:	Mozilla development files
Group:		Development/Other
Requires:	%{name} = %{epoch_mozilla}:%{version}-%{release}
Requires:	%{lib_nspr_name}-devel = %{epoch_nspr}:%{version}-%{release}
%description devel
Mozilla development files

%package mail
Summary:	Mozilla-based mail system
Group:		Networking/Mail
PreReq:		%{name} = %{epoch_mozilla}:%{version}-%{release}

%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 irc
Summary:	IRC support for Mozilla.
Group:		Networking/IRC
PreReq:		%{name} = %{epoch_mozilla}:%{version}-%{release}
Provides:	%{name}-chatzilla %{name}-chat
Obsoletes:	%{name}-chatzilla %{name}-chat

%description irc
irc support for Mozilla.

%package xmlterm
Summary:	XML enabled Terminal Client for Mozilla
Group:		Networking/Other
Prereq:		%{name} = %{epoch_mozilla}:%{version}-%{release}

%description xmlterm
This is a terminal client written for mozilla that has special capabilities.
When combined with the xls, and xcat programs, you can get directory listings 
with thumbnails for images, and you can cat known file types 
and view them inline.

%package js-debugger
Summary: JavaScript debugger for use with Mozilla
Group: Networking/WWW
Prereq: %{name} = %{epoch_mozilla}:%{version}-%{release}

%description js-debugger
JavaScript debugger for use with Mozilla.

%package dom-inspector
Summary: A tool for inspecting the DOM of pages in Mozilla.
Group: Networking/WWW
Prereq: %{name} = %{epoch_mozilla}:%{version}-%{release}

%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.


%package spellchecker
Summary: Spellchecker for Mozilla
Group: Networking/Mail
Prereq: %{name} = %{epoch_mozilla}:%{version}-%{release}
Requires: myspell-dictionary

%description spellchecker
Spellchecker package for Mozilla.

%if %build_enigmail
%package enigmail
Summary: GPG encryption support for Mozilla
Group: Networking/Mail
Prereq: %{name} = %{epoch_mozilla}:%{version}-%{release}
Requires: mozilla-enigmime = %{epoch_mozilla}:%{version}-%{release}
Requires: gnupg

%description enigmail
GPG encryption support for Mozilla

%package enigmime
Summary: Inter-process communication required for enigmail
Group: Networking/Mail
Prereq: %{name} = %{epoch_mozilla}:%{version}-%{release}
Requires: %{name}-mail = %{epoch_mozilla}:%{version}-%{release}

%description enigmime
Inter-process communication required for enigmail
%endif

%prep
rm -rf $RPM_BUILD_ROOT

%setup -q -n mozilla -a 6

%patch47 -p1 -b .spellcheckinclude

%if %build_enigmail
%setup -T -D -n mozilla/extensions -q -a21
%setup -T -D -n mozilla/extensions -q -a22
%setup -T -D -n mozilla
%endif

#those patches are commented for "final" version of mozilla
%if !%build_is_final
%patch0 -p1 -b .nodebug
%patch23 -p1 -b .nobuildid
%endif

%patch7 -p1 -b .browser-home-page

%patch12 -p1 -b .psfont
%patch13 -p1 -b .nspr
%if %french_policy
%patch24 -p1 -b .frenchpolicy
%endif
%patch27 -p1 -b .defaultplugin
%patch33 -p1 -b .x86_64
%patch36 -p1 -b .xptcall-tests
%patch42 -p1 -b .standardsym
%patch43 -p1 -b .mathmltimes

%patch46 -p1 -b .enigmailpackage
%patch53 -p1 -b .spellcheck-system-dicts
%patch54 -p1 -b .spellcheck-full-langname
%patch59 -p1 -b .search
%patch62 -p1 -b .uifont

%if %build_ggdefaults
%patch100 -p1 -b .pipelining
%patch101 -p1 -b .mailnews
%patch102 -p1 -b .antialias
%patch104 -p1 -b .a4
%endif

%if %build_corefonts
%patch105 -p1 -b .corefonts
%endif

# MathML patches
%patch113 -p1 -b .mathml

# Other patches
%patch131 -p1 -b .brasil
%patch132 -p1 -b .xvt
%patch174 -p1 -b .prdtoa
%if %build_pie
%patch177 -p1 -b .execshield
%patch178 -p1 -b .pie
autoconf
%endif

%if ! %build_gtk
%patch179 -p1 -b .missinggtk2
%patch180 -p1 -b .gtk2
%endif

%patch181 -p1 -b .separator

%patch182 -p1 -b .framespoof
%patch183 -p1 -b .popupxpinstall
%patch184 -p1 -b .untrustedchrome
%patch185 -p1 -b .maliciouspop3
%patch186 -p1 -b .spoofsslcert
%patch187 -p1 -b .passwordauthcache
%patch188 -p1 -b .fqdncert
%patch189 -p1 -b .focusredef
%patch190 -p1 -b .soapoverflow
%patch191 -p1 -b .textdragfile
%patch192 -p1 -b .certdos
%patch193 -p1 -b .lockcertspoof
%patch194 -p1 -b .pop3fixes
%patch195 -p1 -b .vcardcrash
%patch196 -p1 -b .clipboardfix
%patch197 -p1 -b .sendpageheap
%patch198 -p1 -b .bmpoverflow

%patch199 -p1 -b .castella

%patch200 -p1 -b .defaultsize

%patch201 -p1 -b .js-amd64
%patch202 -p1 -b .access64bit
%patch203 -p1 -b .lib64
%patch204 -p1 -b .nsprlib64

# needed by patch 131 (regenerate certdata.c)
cd security/nss/lib/ckfw/builtins
perl ./certdata.perl < ./certdata.txt
cd -

rm -f profile/defaults/bookmarks.html 
touch profile/defaults/bookmarks.html
cp %{SOURCE23} xpfe/components/search/datasets

tar xjf %{SOURCE24} -C mailnews/base/resources/locale/en-US

%build
export MOZ_BUILD_DATE="%{releasedate}"

OPT_FLAGS="$RPM_OPT_FLAGS"

BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 MOZ_INTERNAL_LIBART_LGPL=1 ./configure \
	--prefix=%{_prefix} --libdir=%{_libdir} \
	--enable-optimize="$OPT_FLAGS" \
%if %build_debug
	--enable-debug \
	--disable-strip \
%else
	--disable-debug \
	--enable-strip \
%endif
	--disable-pedantic \
%if %build_pie
	--enable-pie \
%endif
	--disable-tests \
	--enable-crypto --enable-nspr-autoconf \
	--with-default-mozilla-five-home=%{mozillalibdir} \
	--enable-extensions --disable-short-wchar \
	--enable-xinerama \
	--enable-mathml \
	--without-system-nspr \
	--with-system-png --with-system-jpeg \
	--with-system-zlib --enable-ipv6 \
	--enable-old-abi-compat-wrappers --mandir=%{_mandir} \
%if %enable_svg
	--enable-svg \
%endif
	--enable-xft \
%if %build_ggdefaults
	--enable-freetype2 \
%else
	--disable-freetype2 \
%endif
	--enable-default-toolkit=%{toolkit}

BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 make -s export
#only this part should be parallel (ie use make macro)
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 %make -s libs

%if %build_enigmail
cd extensions/ipc
./makemake
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 %make -s
cd ../enigmail
./makemake -r
BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 %make -s
(cd lang
 BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 make -s
)
cd ../..
%endif

%install
rm -rf $RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%{mozillalibdir}/plugins

BUILD_OFFICIAL=1 MOZILLA_OFFICIAL=1 %makeinstall_std


#move nspr/nss to %{_libdir}
mv $RPM_BUILD_ROOT%{mozillalibdir}/{libnspr4.so,libplc4.so,libplds4.so,libnss3.so,libnssckbi.so,libsmime3.so,libsoftokn3.so,libssl3.so,libsoftokn3.chk} $RPM_BUILD_ROOT%{_libdir}

# create a list of all of the different package and the files that
# will hold them
rm -f %{_tmppath}/mozilla-nspr.list

build/package/rpm/SOURCES/mozilla-make-package.pl --package nspr \
    --output-file %{_tmppath}/mozilla-nspr.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{_libdir} \
    --install-root %{_libdir}

rm -f %{_tmppath}/mozilla-nss.list
build/package/rpm/SOURCES/mozilla-make-package.pl --package nss \
    --output-file %{_tmppath}/mozilla-nss.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{_libdir} \
    --install-root %{_libdir}

rm -f %{_tmppath}/mozilla.list
build/package/rpm/SOURCES/mozilla-make-package.pl --package langenus \
    --output-file %{_tmppath}/mozilla.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}

build/package/rpm/SOURCES/mozilla-make-package.pl --package regus \
    --output-file %{_tmppath}/mozilla.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}

build/package/rpm/SOURCES/mozilla-make-package.pl --package deflenus \
    --output-file %{_tmppath}/mozilla.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}

#hack : be sure to ship libxpcom.so in /usr/lib/mozilla*, not /usr/lib

perl -pi -e 's|libxpcom.so||' $RPM_BUILD_DIR/mozilla/build/package/rpm/SOURCES/mozilla-xpcom-exclude-list

build/package/rpm/SOURCES/mozilla-make-package.pl --package xpcom \
    --output-file %{_tmppath}/mozilla.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir} \
    --exclude-file=$RPM_BUILD_DIR/mozilla/build/package/rpm/SOURCES/mozilla-xpcom-exclude-list

build/package/rpm/SOURCES/mozilla-make-package.pl --package browser \
    --output-file %{_tmppath}/mozilla.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}

# workaround for bug 81429
(cd $RPM_BUILD_ROOT%{mozillalibdir} 
ln -s ../libnssckbi.so libnssckbi.so
)


rm -f %{_tmppath}/mozilla-mail.list
build/package/rpm/SOURCES/mozilla-make-package.pl --package mail --output-file %{_tmppath}/mozilla-mail.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}

build/package/rpm/SOURCES/mozilla-make-package.pl --package psm \
    --output-file %{_tmppath}/mozilla.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir} \
    --exclude-file=$RPM_BUILD_DIR/mozilla/build/package/rpm/SOURCES/mozilla-psm-exclude-list

rm -f %{_tmppath}/mozilla-chat.list
build/package/rpm/SOURCES/mozilla-make-package.pl --package chatzilla --output-file %{_tmppath}/mozilla-chat.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}

rm -f %{_tmppath}/mozilla-js-debugger.list
build/package/rpm/SOURCES/mozilla-make-package.pl --package venkman \
    --output-file %{_tmppath}/mozilla-js-debugger.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}

rm -f %{_tmppath}/mozilla-dom-inspector.list
build/package/rpm/SOURCES/mozilla-make-package.pl --package inspector \
    --output-file %{_tmppath}/mozilla-dom-inspector.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}

rm -f %{_tmppath}/mozilla-spellchecker.list
build/package/rpm/SOURCES/mozilla-make-package.pl --package spellcheck \
    --output-file %{_tmppath}/mozilla-spellchecker.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}

%if %build_enigmail
#hack to get the enigmail stuff to install:
for i in components/enigmime.xpt components/ipc.xpt components/libenigmime.so \
	components/enigmail.js components/enigmail.xpt chrome/enigmail.jar \
	components/enigprefs-service.js chrome/enigmail-skin.jar \
	; do 
		install dist/bin/$i $RPM_BUILD_ROOT/%{mozillalibdir}/$i;
done

#done at install time
#cat << EOF >> $RPM_BUILD_ROOT%{mozillalibdir}/chrome/installed-chrome.txt
#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 %{_tmppath}/mozilla-enigmail.list
build/package/rpm/SOURCES/mozilla-make-package.pl --package enigmail \
    --output-file %{_tmppath}/mozilla-enigmail.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}

#pushd `pwd`
#cd $RPM_BUILD_ROOT%{mozillalibdir}/chrome
#chmod 644 *.jar
#for i in `ls enigmail*-*.jar` ; do
# RPMLANG=`echo $i |cut -d '-' -f 2`
# echo "%lang($RPMLANG) %{mozillalibdir}/chrome/$i" >> %{_tmppath}/mozilla-enigmail.list
# export LOC=`echo $i | sed -e "s/.jar//" | sed -e "s/enigmail\-//"`
# cat << EOF | sed -e "s/@LOCALE@/$LOC/g" -e "s/@LANG@/$RPMLANG/g" >> installed-chrome.txt
#locale,install,url,jar:resource:/chrome/enigmail-@LOCALE@.jar!/locale/@LOCALE@/enigmail/
#EOF
#done
#popd
	
rm -f %{_tmppath}/mozilla-enigmime.list
build/package/rpm/SOURCES/mozilla-make-package.pl --package enigmime \
    --output-file %{_tmppath}/mozilla-enigmime.list \
    --package-file $RPM_BUILD_DIR/mozilla/xpinstall/packager/packages-unix \
    --install-dir $RPM_BUILD_ROOT%{mozillalibdir} \
    --install-root %{mozillalibdir}
%endif

# copy xmlterm files
%if %{build_xmlterm}
/bin/cp -rL dist/bin/{xmlterm,xcat,xenv,xls}  $RPM_BUILD_ROOT%{_bindir} || \
	/bin/cp -r dist/bin/{xmlterm,xcat,xenv,xls}  $RPM_BUILD_ROOT%{_bindir}
/bin/cp -rL dist/bin/chrome/xmlterm.jar  $RPM_BUILD_ROOT%{mozillalibdir}/chrome || \
	/bin/cp -r dist/bin/chrome/xmlterm.jar  $RPM_BUILD_ROOT%{mozillalibdir}/chrome
/bin/cp -rL dist/bin/components/*xmlterm*  $RPM_BUILD_ROOT%{mozillalibdir}/components || \
	/bin/cp -r dist/bin/components/*xmlterm*  $RPM_BUILD_ROOT%{mozillalibdir}/components
%endif

# install l10n files
%if %{enable_l10n}
pushd `pwd`
cd $RPM_BUILD_ROOT%{mozillalibdir}/chrome
bzcat %{SOURCE7} | tar xvf -
chmod 644 *.jar
for i in `ls *-*.jar | grep -v enigmail | grep -v unix | grep -v content | grep -v win | grep -v mac | grep -v en-US | grep -v embed-sample` ; do
 RPMLANG=`echo $i |cut -d '-' -f 1`
 echo "%lang($RPMLANG) %{mozillalibdir}/chrome/$i" >> %{_tmppath}/mozilla.list
 UNIXFILE=`echo $i | sed -e 's/-*.jar/-unix.jar/'`
 [ -f $UNIXFILE ] && echo "%lang($RPMLANG) %{mozillalibdir}/chrome/$UNIXFILE" >> %{_tmppath}/mozilla.list
 UNIXFILE=`echo $i | cut -d '-' -f 1`
 UNIXFILE="$UNIXFILE-unix.jar"
 [ -f $UNIXFILE ] && echo "%lang($RPMLANG) %{mozillalibdir}/chrome/$UNIXFILE" >> %{_tmppath}/mozilla.list
 export LOC=`echo $i | sed -e "s/.jar//"`
 cat << EOF | sed -e "s/@LOCALE@/$LOC/g" -e "s/@LANG@/$RPMLANG/g" >> installed-chrome.txt
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/autoconfig/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/chatzilla/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/communicator/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/content-packs/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/cookie/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/editor/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/embed/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/forms/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/inspector/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/global/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/help/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/messenger/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/messenger-smime/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/messenger-mapi/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/mozldap/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/navigator/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/necko/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/pipnss/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/pippki/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/venkman/
locale,install,url,jar:resource:/chrome/@LOCALE@.jar!/locale/@LOCALE@/wallet/
locale,install,url,jar:resource:/chrome/@LANG@-unix.jar!/locale/@LOCALE@/global-platform/
locale,install,url,jar:resource:/chrome/@LANG@-unix.jar!/locale/@LOCALE@/communicator-platform/
locale,install,url,jar:resource:/chrome/@LANG@-unix.jar!/locale/@LOCALE@/navigator-platform/
EOF
done
echo "%{mozillalibdir}/chrome/locale.alias" >> %{_tmppath}/mozilla.list
popd
%endif

# remove duplicated entries
cat %{_tmppath}/mozilla.list | sort -k 2 | \
	grep -v "%lang(en) %{mozillalibdir}/chrome/en-unix.jar" | \
	uniq > %{_tmppath}/mozilla.list.uniq
mv -f %{_tmppath}/mozilla.list.uniq %{_tmppath}/mozilla.list

# build our initial component and chrome registry
# we don't need to do this anymore
pushd `pwd`
  cd $RPM_BUILD_ROOT%{mozillalibdir}
  # 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
  # set up the chrome rdf files
  LD_LIBRARY_PATH=`pwd`/..:`pwd` MOZILLA_FIVE_HOME=`pwd` ./regchrome
  # fix permissions of the chrome directories
  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 don't understand -L, so fall back...

# copy the nss files to the right place
mkdir -p $RPM_BUILD_ROOT%{mozillaincludedir}/nss/
find security/nss/lib/ -name '*.h' -type f -exec /bin/cp {} \
 $RPM_BUILD_ROOT%{mozillaincludedir}/nss/ \;

# build the list of include files
rm -f %{_tmppath}/mozilla-devel.list
rm -f %{_tmppath}/mozilla-nss-devel.list
rm -f %{_tmppath}/mozilla-nspr-devel.list

find $RPM_BUILD_ROOT%{mozillaincludedir}/ -type f | \
  sed -e "s,$RPM_BUILD_ROOT,," | \
  grep -v "%{mozillaincludedir}/nss" | \
  grep -v "%{mozillaincludedir}/nspr" > \
  %{_tmppath}/mozilla-devel.list

find $RPM_BUILD_ROOT%{mozillaincludedir}/ -type f | \
  sed -e "s,$RPM_BUILD_ROOT,," | \
  grep "%{mozillaincludedir}/nspr" > \
  %{_tmppath}/mozilla-nspr-devel.list

find $RPM_BUILD_ROOT%{mozillaincludedir}/ -type f | \
  sed -e "s,$RPM_BUILD_ROOT,," | \
  grep "%{mozillaincludedir}/nss" > \
  %{_tmppath}/mozilla-nss-devel.list


# 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%{mozillalibdir}

mkdir -p $RPM_BUILD_ROOT%{_miconsdir} $RPM_BUILD_ROOT%{_liconsdir}

cp -f %SOURCE2 $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png
cp -f %SOURCE3 $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png
cp -f %SOURCE4 $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png

# move manpage in the correct directory
#mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
#mv $RPM_BUILD_ROOT/usr/man/man1/* $RPM_BUILD_ROOT%{_mandir}/man1/

# install our mozilla.sh file
bzcat %{SOURCE10} | sed -e "s|MOZILLA_VERSION|%{dirversion}|g;s|LIBDIR|%{_libdir}|g" > $RPM_BUILD_ROOT%{_bindir}/mozilla
chmod 755 $RPM_BUILD_ROOT%{_bindir}/mozilla

# install our rebuild file
cat build/package/rpm/SOURCES/mozilla-rebuild-databases.pl.in | sed -e "s|MOZILLA_VERSION|%{dirversion}|g;s|LIBDIR|%{_libdir}|g" > \
  $RPM_BUILD_ROOT%{mozillalibdir}/mozilla-rebuild-databases.pl

chmod 755 \
  $RPM_BUILD_ROOT%{mozillalibdir}/mozilla-rebuild-databases.pl

# install the defaults fonts for xft
cat << EOF > $RPM_BUILD_ROOT/%{mozillalibdir}/defaults/pref/xft.js
// pref to override the default UI font because we're using xft
pref("font.uifont.name", "sans");
pref("font.uifont.pointheight", 10);
EOF


# we own /usr/lib/mozilla/plugins which is the version-independent
# place that our plugins can be installed
mkdir -p $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins

# install the gre.conf file
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
echo [%{version}] >  $RPM_BUILD_ROOT%{_sysconfdir}/gre.conf
echo GRE_PATH=%{mozillalibdir} >> $RPM_BUILD_ROOT%{_sysconfdir}/gre.conf

# installs menu file
install -m 755 -d $RPM_BUILD_ROOT%{_menudir}
cat << EOF >> $RPM_BUILD_ROOT%{_menudir}/%{name}
?package(%{name}):\
  icon="mozilla.png"\
  needs="x11"\
  section="Networking/WWW"\
  title="Mozilla"\
  longtitle="The free and open source web browser"\
  mimetypes="text/html" \
  accept_url="true" \
  multiple_files="false" \
  command="%{_bindir}/mozilla" \
  startup_notify="true"
?package(%{name}):\
  icon="mozilla.png"\
  needs="x11"\
  section="Internet/Web editors"\
  title="Mozilla Composer"\
  longtitle="The free and open source web browser"\
  command="%{_bindir}/mozilla -edit" \
  startup_notify="true"
EOF

# installs menu file
cat << EOF >> $RPM_BUILD_ROOT%{_menudir}/%{name}-mail
?package(%{name}-mail):\
  icon="mozilla.png"\
  needs="x11"\
  section="Networking/Mail"\
  title="Mozilla Messenger"\
  longtitle="The free and open source web browser"\
  command="%{_bindir}/mozilla  -mail" \
  startup_notify="true"
?package(%{name}-mail):\
  icon="mozilla.png"\
  needs="x11"\
  section="Networking/Mail"\
  title="Mozilla AddressBook"\
  longtitle="The free and open source web browser"\
  command="%{_bindir}/mozilla  -addressbook" \
  startup_notify="true"
?package(%{name}-mail):\
  icon="mozilla.png"\
  needs="x11"\
  section="Networking/News"\
  title="Mozilla News"\
  longtitle="The free and open source web browser"\
  command="%{_bindir}/mozilla  -news" \
  startup_notify="true"
EOF

%if %{build_xmlterm}
# installs menu file
cat << EOF >> $RPM_BUILD_ROOT%{_menudir}/%{name}-xmlterm
?package(%{name}-xmlterm):\
  icon="mozilla.png"\
  needs="x11"\
  section="Terminals"\
  title="Mozilla XTerm"\
  longtitle="XTerm implemented with Mozilla toolkit"\
  command="%{_bindir}/mozilla -terminal" \
  startup_notify="true"
EOF
%endif

bzcat %{SOURCE5} | tar -C $RPM_BUILD_ROOT%{mozillalibdir}/defaults/profile/US -xf - 

# remove unpackaged files
rm -rf $RPM_BUILD_ROOT%{mozillalibdir}/chrome/{cview,embed-sample,layoutdebug,tasks}.jar \
 $RPM_BUILD_ROOT%{mozillalibdir}/chrome/icons/default/{calendar-*,default}.xpm \
 $RPM_BUILD_ROOT%{mozillalibdir}/components/{accessproxy,content,htmlparser,iiextras,jsconsole,plugin,prefetch,dom_svg,lwbrk,xmlsecurity,ipcd,profilesharingsetup,transmngr,ucnative,layout_debug}.xpt \
 $RPM_BUILD_ROOT%{mozillalibdir}/components/{libaccessproxy,libiiextras,libnkdatetime,libnkfinger,libembed_lite,libipcdc,libtransmngr_client,libgkdebug}.so \
 $RPM_BUILD_ROOT%{mozillalibdir}/components/{nsInterfaceInfoToIDL,nsResetPref,nsUpdateNotifier}.js \
 $RPM_BUILD_ROOT%{mozillalibdir}/defaults/profile/US/chrome/*example.css \
 $RPM_BUILD_ROOT%{mozillalibdir}/defaults/profile/chrome/*example.css \
 $RPM_BUILD_ROOT%{mozillalibdir}/res/{arrowd.gif,gfx/icon_0.gif,gfx/icon_1.gif}  \
 $RPM_BUILD_ROOT%{mozillalibdir}/res/rdf/*test* \
 $RPM_BUILD_ROOT%{mozillalibdir}/res/sample.unixpsfonts.properties  \
 $RPM_BUILD_ROOT%{mozillalibdir}/res/samples/sampleimages  \
 $RPM_BUILD_ROOT%{mozillalibdir}/res/throbber  \
 $RPM_BUILD_ROOT%{mozillalibdir}/res/viewer.properties  \
 $RPM_BUILD_ROOT%{mozillalibdir}/{timebombgen,TestGtkEmbed*,libnullplugin.so,mozipcd,tmModuleTest,TestIPC} \
 $RPM_BUILD_ROOT%{mozillalibdir}/ipc/modules/{liblockmodule,libtestmodule,libtransmgr}.so \
 $RPM_BUILD_ROOT%{mozillalibdir}/{liblockmodule,libtestmodule,libtr\ansmngr}.so 

%if %{build_xmlterm}
rm -f $RPM_BUILD_ROOT%{mozillalibdir}/{xcat,xenv,xls,xmlterm} \
 $RPM_BUILD_ROOT%{mozillalibdir}/escape \
 $RPM_BUILD_ROOT%{mozillalibdir}/mozilla-installer-bin \
 $RPM_BUILD_ROOT%{mozillalibdir}/teststream \
 $RPM_BUILD_ROOT%{mozillalibdir}/DocStream \
 $RPM_BUILD_ROOT%{mozillalibdir}/HelloWorld \
 $RPM_BUILD_ROOT%{mozillalibdir}/INSTALL.xmlterm
%endif

%if %build_debug
export DONT_STRIP=1
%endif

%clean
rm -rf $RPM_BUILD_ROOT
rm -f %{_tmppath}/mozilla*.list


#
# trigger scripts for j2sdk >= 1.4.2
#
%triggerin -- j2sdk >= 1.4.2
if [ -L %{mozillalibdir}/components/libjavaplugin_oji140.so ]; then 
	rm -f %{mozillalibdir}/components/libjavaplugin_oji140.so
fi
# clean unused links
JAVA_PLUGIN=`echo  %{mozillaplugindir}/libjavaplugin_oji*.so`
if [ ! -f "$JAVA_PLUGIN" ]; then
        rm -f $JAVA_PLUGIN
fi
[ "$2" -ge 1 ] || exit 0
JAVA_PLUGIN=`echo /usr/java/j2sdk*/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji*.so`
if [ -f "$JAVA_PLUGIN" -a ! -f %{mozillaplugindir}/libjavaplugin_oji*.so ]; then 
	ln -sf "$JAVA_PLUGIN" %{mozillaplugindir}/
fi

%triggerun -- j2sdk >= 1.4.2
[ "$2" = "0" ] || exit 0
# remove j2sdk plugin symbolic link when main (i.e. mozilla) package is removed
JAVA_PLUGIN=`echo %{mozillaplugindir}/libjavaplugin_oji*.so`
if [ -L "$JAVA_PLUGIN" ]; then
        rm -f "$JAVA_PLUGIN"
fi

%triggerpostun -- j2sdk >= 1.4.2
[ $2 -le 1 ] || exit 0
# remove j2sdk plugin symbolic link when the triggered (i.e. j2sdk)
# package is removed
OLD_JAVA_PLUGIN=`echo %{mozillaplugindir}/libjavaplugin_oji*.so`
if [ ! -f "$OLD_JAVA_PLUGIN" ]; then 
        rm -f "$OLD_JAVA_PLUGIN"
fi
if [ "$2" = 1 ]; then
# we have upgraded j2sdk, recreating symlink
JAVA_PLUGIN=`echo /usr/java/j2sdk*/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji*.so`
NEW_JAVA_PLUGIN=`echo %{mozillaplugindir}/libjavaplugin_oji*.so`
if [ -f "$JAVA_PLUGIN" -a ! -f "$NEW_JAVA_PLUGIN" ]; then 
	ln -sf "$JAVA_PLUGIN" %{mozillaplugindir}/
fi
fi 

if [ "$2" = 0 ]; then 
JAVA_PLUGIN_JRE=`echo /usr/java/j2re*/plugin/i386/ns610-gcc32/libjavaplugin_oji*.so`
# if jre plugin still installed links that one
if [ -f "$JAVA_PLUGIN_JRE" ]; then
        ln -sf "$JAVA_PLUGIN_JRE" %{mozillaplugindir}/
fi
fi

#
# trigger scripts for j2re >= 1.4.2
#
%triggerin -- j2re >= 1.4.2
# clean obsolete links
if [ -L %{mozillalibdir}/components/libjavaplugin_oji140.so ]; then 
	rm -f %{mozillalibdir}/components/libjavaplugin_oji140.so
fi
# clean unused links
JAVA_PLUGIN=`echo  %{_libdir}/mozilla/plugins/libjavaplugin_oji*.so`
if [ ! -f "$JAVA_PLUGIN" ]; then
        rm -f "$JAVA_PLUGIN"
fi
[ "$2" -ge 1 ] || exit 0
# add symbolic link to j2re plugin only if it doesn't yet exists, as
# j2re and j2sdk can be installed together.
JAVA_PLUGIN=`echo /usr/java/j2re*/plugin/i386/ns610-gcc32/libjavaplugin_oji*.so`
NEW_JAVA_PLUGIN=`echo %{mozillaplugindir}/libjavaplugin_oji*.so`
if [ -f "$JAVA_PLUGIN" -a ! -f "$NEW_JAVA_PLUGIN" ]; then 
	ln -sf "$JAVA_PLUGIN" %{mozillaplugindir}/
fi

%triggerun -- j2re = 1.4.0
[ "$1" = "0" ] || exit 0
# remove j2re plugin symbolic link when the main (i.e. mozilla) package is removed
JAVA_PLUGIN=`echo %{mozillaplugindir}/libjavaplugin_oji*.so`
if [ -L "$JAVA_PLUGIN" ]; then
        rm -f "$JAVA_PLUGIN"
fi

%triggerpostun -- j2re >= 1.4.2
[ "$2" -le 1 ] || exit 0
# remove j2re symbolic link when the triggered (i.e. j2re) package is removed
JAVA_PLUGIN=`echo %{mozillaplugindir}/libjavaplugin_oji*.so`
if [ ! -f "$JAVA_PLUGIN" ]; then
        rm -f "$JAVA_PLUGIN"
fi

if [ "$2" = 1 ]; then
# we have upgraded j2re, recreating symlink
JAVA_PLUGIN=`echo /usr/java/j2re*/plugin/i386/ns610-gcc32/libjavaplugin_oji*.so`
NEW_JAVA_PLUGIN=`echo %{mozillaplugindir}/libjavaplugin_oji*.so`
if [ -f "$JAVA_PLUGIN" -a ! -f "$NEW_JAVA_PLUGIN" ]; then 
	ln -sf "$JAVA_PLUGIN" %{mozillaplugindir}/
fi
fi 

if [ "$2" = 0 ]; then
JAVA_PLUGIN_JDK=`echo /usr/java/j2sdk*/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji*.so`
# if jdk plugin still installed links that one
if [ -f "$JAVA_PLUGIN_JDK" ]; then
        ln -sf "$JAVA_PLUGIN_JDK" %{mozillaplugindir}/
fi
fi


#
# trigger scripts for RealPlayer
#
%triggerin -- RealPlayer-rpnp
[ "$2" -ge 1 ] || exit 0
REAL_PLUGIN=`echo %{_libdir}/RealPlayer*/rpnp.so`
REAL_CLASS=`echo %{_libdir}/RealPlayer*/raclass.zip`
if [ -f "$REAL_PLUGIN" -a ! -f %{mozillaplugindir}/rpnp.so ]; then
	ln -sf "$REAL_PLUGIN" %{mozillaplugindir}/
fi
if [ -f "$REAL_CLASS" -a ! -f %{mozillaplugindir}/raclass.zip ]; then
	ln -sf "$REAL_CLASS" %{mozillaplugindir}/
fi

%triggerun -- RealPlayer-rpnp
[ "$1" = "0" ] || exit 0
if [ -L %{mozillaplugindir}/rpnp.so ]; then
        rm -f %{mozillaplugindir}/rpnp.so
fi
if [ -L %{mozillaplugindir}/raclass.zip ]; then
        rm -f %{mozillaplugindir}/raclass.zip
fi

%triggerpostun -- RealPlayer-rpnp
[ "$2" = "0" ] || exit 0
if [ -L %{mozillaplugindir}/rpnp.so ]; then
        rm -f %{mozillaplugindir}/rpnp.so
fi
if [  -L %{mozillaplugindir}/raclass.zip ]; then
        rm -f %{mozillaplugindir}/raclass.zip
fi

#
# trigger scripts for Flashplayer

#
%triggerin -- FlashPlayer >= 6.0
[ "$2" -ge 1 ] || exit 0
if [ -f %{_libdir}/netscape/plugins/libflashplayer.so -a ! -f %{mozillaplugindir}/libflashplayer.so ]; then 
 ln -s %{_libdir}/netscape/plugins/libflashplayer.so %{mozillaplugindir}/libflashplayer.so 
 ln -s %{_libdir}/netscape/plugins/flashplayer.xpt %{mozillaplugindir}/flashplayer.xpt
fi

%triggerun -- FlashPlayer >= 6.0
[ "$1" = "0" ] || exit 0
if [ -L %{mozillaplugindir}/libflashplayer.so ]; then
        rm -f %{mozillaplugindir}/libflashplayer.so
        rm -f %{mozillaplugindir}/flashplayer.xpt
fi

%triggerpostun -- FlashPlayer >= 6.0
[ "$2" = "0" ] || exit 0
if [ -L %{mozillaplugindir}/libflashplayer.so ]; then
 if [ ! -f `perl -e 'print readlink("%{mozillaplugindir}/libflashplayer.so");'` ]; then 
  rm -f %{mozillaplugindir}/libflashplayer.so 
  rm -f %{mozillaplugindir}/flashplayer.xpt
 fi
fi


#
# trigger scripts for Acrobat Reader
#

%triggerin -- acroread-nppdf
[ "$2" -ge 1 ] || exit 0
if [ -f %{_libdir}/netscape/plugins/nppdf.so -a ! -f %{mozillaplugindir}/nppdf.so ]; then 
 ln -s %{_libdir}/netscape/plugins/nppdf.so %{mozillaplugindir}/nppdf.so 
fi

%triggerun -- acroread-nppdf
[ "$1" = "0" ] || exit 0
if [ -L %{mozillaplugindir}/nppdf.so ]; then
        rm -f %{mozillaplugindir}/nppdf.so 
fi

%triggerpostun -- acroread-nppdf
[ "$2" = "0" ] || exit 0
if [ -L %{mozillaplugindir}/nppdf.so ]; then 
 if [ ! -f `perl -e 'print readlink("%{mozillaplugindir}/nppdf.so");'` ]; then 
  rm -f %{mozillaplugindir}/nppdf.so 
 fi
fi

%triggerpostun -- mozilla < 1.0
# Older packages will leave mozilla unusable after the postun script
# script is run for the old package.  Rebuild the databases after that
# has been run.

if [ -x %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi


%post
# menu
update-alternatives --install /usr/bin/webclient-gnome webclient-gnome /usr/bin/mozilla 20
update-alternatives --install /usr/bin/webclient-kde   webclient-kde   /usr/bin/mozilla 10
%{update_menus}
if [ -f %{_libdir}/netscape/plugins/libflashplayer.so -a ! -f %{mozillaplugindir}/libflashplayer.so ]; then 
 ln -s %{_libdir}/netscape/plugins/libflashplayer.so %{mozillaplugindir}/libflashplayer.so 
 ln -s %{_libdir}/netscape/plugins/flashplayer.xpt %{mozillaplugindir}/flashplayer.xpt
fi
ulimit -c 0
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null

# we should only rebuild database for first install
# rebuild for update is done in triggerpostun or postun
# but it seems we need we might need to do it twince
if [ -x %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

# Default to paper size from locale setting
case `LC_ALL=$LC_MESSAGES /usr/bin/locale -k LC_PAPER | grep width` in
*216) paper="letter";;
*) paper="a4";;
esac
perl -pi -e "s/^(pref\(\"print.postscript.paper_size\",[^\"]+)\"[a-z0-9]+\"/\1\"$paper\"/" \
  %{mozillalibdir}/defaults/pref/unix.js

if [ ! -r /etc/sysconfig/oem ]; then
  case `grep META_CLASS /etc/sysconfig/system` in
  *server) bookmark="mozilla-powerpackplus.html" ;;
  *PowerPack)  bookmark="mozilla-powerpack.html" ;;
  *) bookmark="mozilla-discovery-download.html";;
  esac
ln -s -f $bookmark %{mozillalibdir}/defaults/profile/US/bookmarks.html
fi

%preun
if [ "$1" = "0" ]; then 
    /bin/rm -rf %{mozillalibdir}/chrome/overlayinfo
	/bin/rm -f %{mozillalibdir}/chrome/*.rdf
	if [ -L %{mozillalibdir}/plugins/libflashplayer.so ]; then 
		 rm -f %{mozillalibdir}/plugins/libflashplayer.so 
		 rm -f %{mozillalibdir}/plugins/flashplayer.xpt
		 rm -f %{mozillalibdir}/plugins/ShockwaveFlash.class
	fi
fi

%postun
if [ "$1" = "0" ]; then
		update-alternatives --remove webclient-gnome /usr/bin/mozilla
		update-alternatives --remove webclient-kde /usr/bin/mozilla
fi
## menu
%{clean_menus}
# was this an upgrade?
if [ "$1" == "2" -a -x %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%post -n %{lib_nspr_name} -p /sbin/ldconfig
%postun -n %{lib_nspr_name} -p /sbin/ldconfig

%post mail
%{update_menus}
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null

if [ -x %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%postun mail
%{clean_menus}
# run ldconfig before regxpcom
/sbin/ldconfig >/dev/null 2>/dev/null

if [ -x %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi


%post irc
if [ -x %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%postun irc
if [ -x %{mozillalibdir}mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%post xmlterm
%{update_menus}
if [ -x %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi


%postun xmlterm
%{clean_menus}
if [ -x %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%post js-debugger
if [ -f %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%postun js-debugger
if [ -f %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%post dom-inspector
if [ -f %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%postun dom-inspector
if [ -f %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%post spellchecker
if [ -f %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%postun spellchecker
if [ -f %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%if %build_enigmail
%post enigmail
if [ -f %{mozillalibdir}/chrome/installed-chrome.txt ]; then
# make sure we don't have old registration info around
   perl -pi -e 's/.*enigmail.*\n//' %{mozillalibdir}/chrome/installed-chrome.txt
  cat << EOF >> %{mozillalibdir}/chrome/installed-chrome.txt
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
fi
if [ -f %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%postun enigmail
# only remove on uninstall
if [ "$1" = "0" ]; then 
 if [ -f %{mozillalibdir}/chrome/installed-chrome.txt ]; then
   perl -pi -e 's/.*enigmail.*\n//' %{mozillalibdir}/chrome/installed-chrome.txt
 fi
fi
if [ -f %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%post enigmime
if [ -f %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%postun enigmime
if [ -f %{mozillalibdir}/mozilla-rebuild-databases.pl ]; then
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi
%endif

%files -f %{_tmppath}/mozilla.list
%defattr(-,root,root)
%attr(755,root,root) %{_bindir}/mozilla
%attr(755,root,root) %{mozillalibdir}/mozilla-rebuild-databases.pl
%config(noreplace) %{_sysconfdir}/gre.conf
%{_mandir}/man1/*
%{_menudir}/%{name}
%{_miconsdir}/*.png
%{_iconsdir}/*.png
%{_liconsdir}/*.png
%dir %{_libdir}/mozilla
%dir %{mozillaplugindir}

%ghost %{mozillalibdir}/defaults/profile/US/bookmarks.html
%{mozillalibdir}/defaults/profile/US/mozilla-*.html

%dir %{mozillalibdir}/defaults/autoconfig
%dir %{mozillalibdir}/defaults/pref
%dir %{mozillalibdir}/defaults/messenger/US
%dir %{mozillalibdir}/defaults/messenger
%dir %{mozillalibdir}/defaults/profile/US
%dir %{mozillalibdir}/defaults/profile
%dir %{mozillalibdir}/defaults/wallet
%dir %{mozillalibdir}/defaults
%dir %{mozillalibdir}/chrome
%dir %{mozillalibdir}/chrome/icons
%dir %{mozillalibdir}/chrome/icons/default
%dir %{mozillalibdir}/components
%dir %{mozillalibdir}/res/builtin
%dir %{mozillalibdir}/res/dtd
%dir %{mozillalibdir}/res/html
%dir %{mozillalibdir}/res/samples
%dir %{mozillalibdir}/res/entityTables
%dir %{mozillalibdir}/res/rdf
%dir %{mozillalibdir}/res/fonts
%dir %{mozillalibdir}/res
%dir %{mozillalibdir}/searchplugins
%dir %{mozillalibdir}/plugins
%dir %{mozillalibdir}
%verify (not md5 mtime size) %{mozillalibdir}/components/compreg.dat
%verify (not md5 mtime size) %{mozillalibdir}/components/xpti.dat
%verify (not md5 mtime size) %{mozillalibdir}/chrome/*.rdf
%ghost %{mozillalibdir}/chrome/overlayinfo
%{mozillalibdir}/defaults/pref/xft.js
%verify (not md5 mtime size) %{mozillalibdir}/defaults/pref/unix.js


%files mail -f %{_tmppath}/mozilla-mail.list
%defattr(-,root,root)
%{_menudir}/%{name}-mail
%dir %{mozillalibdir}

%files irc -f %{_tmppath}/mozilla-chat.list
%defattr(-,root,root)


%files devel -f %{_tmppath}/mozilla-devel.list
%defattr (-,root,root)
%{_bindir}/mozilla-config
%dir  %{mozillaincludedir}/accessibility
%dir  %{mozillaincludedir}/addrbook
%dir  %{mozillaincludedir}/appcomps
%dir  %{mozillaincludedir}/appshell
%dir  %{mozillaincludedir}/autoconfig
%dir  %{mozillaincludedir}/bayesflt
%dir  %{mozillaincludedir}/browser
%dir  %{mozillaincludedir}/caps
%dir  %{mozillaincludedir}/chardet
%dir  %{mozillaincludedir}/chrome
%dir  %{mozillaincludedir}/commandhandler
%dir  %{mozillaincludedir}/composer
%dir  %{mozillaincludedir}/content
%dir  %{mozillaincludedir}/cookie
%dir  %{mozillaincludedir}/dbm
%dir  %{mozillaincludedir}/docshell
%dir  %{mozillaincludedir}/dom
%dir  %{mozillaincludedir}/downloadmanager
%dir  %{mozillaincludedir}/editor
%dir  %{mozillaincludedir}/embed_base
%dir  %{mozillaincludedir}/embedcomponents
%dir  %{mozillaincludedir}/embedstring
%dir  %{mozillaincludedir}/expat
%dir  %{mozillaincludedir}/exthandler
%dir  %{mozillaincludedir}/filepicker
%dir  %{mozillaincludedir}/find
%dir  %{mozillaincludedir}/gfx
%dir  %{mozillaincludedir}/gtkxtbin
%dir  %{mozillaincludedir}/gtkembedmoz
%dir  %{mozillaincludedir}/helperAppDlg
%dir  %{mozillaincludedir}/history
%dir  %{mozillaincludedir}/htmlparser
%dir  %{mozillaincludedir}/imglib2
%dir  %{mozillaincludedir}/impComm4xMail
%dir  %{mozillaincludedir}/import
%dir  %{mozillaincludedir}/inspector
%dir  %{mozillaincludedir}/intl
%dir  %{mozillaincludedir}/ipcd
%dir  %{mozillaincludedir}/jar
%dir  %{mozillaincludedir}/java
%dir  %{mozillaincludedir}/js
%dir  %{mozillaincludedir}/jsconsole
%dir  %{mozillaincludedir}/jsdebug
%dir  %{mozillaincludedir}/jsurl
%dir  %{mozillaincludedir}/layout
%dir  %{mozillaincludedir}/layout_debug
%dir  %{mozillaincludedir}/ldap
%dir  %{mozillaincludedir}/libart_lgpl
%dir  %{mozillaincludedir}/libreg
%dir  %{mozillaincludedir}/liveconnect
%dir  %{mozillaincludedir}/locale
%dir  %{mozillaincludedir}/lwbrk
%dir  %{mozillaincludedir}/mailnews
%dir  %{mozillaincludedir}/mailview
%dir  %{mozillaincludedir}/mime
%dir  %{mozillaincludedir}/mimeemitter
%dir  %{mozillaincludedir}/mimetype
%dir  %{mozillaincludedir}/mork
%dir  %{mozillaincludedir}/mozldap
%dir  %{mozillaincludedir}/msgbase
%dir  %{mozillaincludedir}/msgbaseutil
%dir  %{mozillaincludedir}/msgcompose
%dir  %{mozillaincludedir}/msgdb
%dir  %{mozillaincludedir}/msgimap
%dir  %{mozillaincludedir}/msglocal
%dir  %{mozillaincludedir}/msgmdn
%dir  %{mozillaincludedir}/msgsmime
%dir  %{mozillaincludedir}/msgnews
%dir  %{mozillaincludedir}/necko
%dir  %{mozillaincludedir}/necko2
%dir  %{mozillaincludedir}/nkcache
%dir  %{mozillaincludedir}/oji
%dir  %{mozillaincludedir}/p3p
%dir  %{mozillaincludedir}/pipboot
%dir  %{mozillaincludedir}/pipnss
%dir  %{mozillaincludedir}/pippki
%dir  %{mozillaincludedir}/plugin
%dir  %{mozillaincludedir}/pref
%dir  %{mozillaincludedir}/prefetch
%dir  %{mozillaincludedir}/prefmigr
%dir  %{mozillaincludedir}/profdirserviceprovider
%dir  %{mozillaincludedir}/profile
%dir  %{mozillaincludedir}/profilesharingsetup
%dir  %{mozillaincludedir}/progressDlg
%dir  %{mozillaincludedir}/rdf
%dir  %{mozillaincludedir}/rdfutil
%dir  %{mozillaincludedir}/shistory
%dir  %{mozillaincludedir}/sidebar
%dir  %{mozillaincludedir}/spellchecker
%dir  %{mozillaincludedir}/string
%dir  %{mozillaincludedir}/system-pref
%dir  %{mozillaincludedir}/typeaheadfind
%dir  %{mozillaincludedir}/txmgr
%dir  %{mozillaincludedir}/txtsvc
%dir  %{mozillaincludedir}/ucnative
%dir  %{mozillaincludedir}/uconv
%dir  %{mozillaincludedir}/ucvcn
%dir  %{mozillaincludedir}/ucvibm
%dir  %{mozillaincludedir}/ucvja
%dir  %{mozillaincludedir}/ucvko
%dir  %{mozillaincludedir}/ucvlatin
%dir  %{mozillaincludedir}/ucvmath
%dir  %{mozillaincludedir}/ucvtw
%dir  %{mozillaincludedir}/ucvtw2
%dir  %{mozillaincludedir}/unicharutil
%dir  %{mozillaincludedir}/uriloader
%dir  %{mozillaincludedir}/util
%dir  %{mozillaincludedir}/view
%dir  %{mozillaincludedir}/wallet
%dir  %{mozillaincludedir}/walletviewers
%dir  %{mozillaincludedir}/webbrowserpersist
%dir  %{mozillaincludedir}/webbrwsr
%dir  %{mozillaincludedir}/websrvcs
%dir  %{mozillaincludedir}/webshell
%dir  %{mozillaincludedir}/widget
%dir  %{mozillaincludedir}/windowwatcher
%dir  %{mozillaincludedir}/xlibrgb
%dir  %{mozillaincludedir}/xml-rpc
%dir  %{mozillaincludedir}/xmlextras
%if %{build_xmlterm}
%dir  %{mozillaincludedir}/xmlterm
%endif
%dir  %{mozillaincludedir}/xpcom
%dir  %{mozillaincludedir}/xpcom_obsolete
%dir  %{mozillaincludedir}/xpconnect
%dir  %{mozillaincludedir}/xpinstall
%dir  %{mozillaincludedir}/xpnet
%dir  %{mozillaincludedir}/xprintutil
%dir  %{mozillaincludedir}/xremoteservice
%dir  %{mozillaincludedir}/xul
%dir  %{mozillaincludedir}/xuldoc
%dir  %{mozillaincludedir}/xultmpl
%dir  %{mozillaincludedir}/zlib
%{mozillalibdir}/xpcshell
%{mozillalibdir}/xpidl
%{mozillalibdir}/xpt_dump
%{mozillalibdir}/xpt_link
%{_libdir}/pkgconfig/mozilla-js.pc
%{_libdir}/pkgconfig/mozilla-xpcom.pc
%{_libdir}/pkgconfig/mozilla-gtkmozembed.pc
%{_libdir}/pkgconfig/mozilla-plugin.pc
%{mozillaidldir}

%if %{build_xmlterm}
%files xmlterm
%defattr(-, root, root)
%{_bindir}/xmlterm
%{_bindir}/xcat
%{_bindir}/xls
%{mozillalibdir}/chrome/xmlterm.jar
%{mozillalibdir}/components/*xmlterm*
%{_menudir}/%{name}-xmlterm
%endif

%files js-debugger -f %{_tmppath}/mozilla-js-debugger.list
%defattr(-,root,root)

%files dom-inspector -f %{_tmppath}/mozilla-dom-inspector.list
%defattr(-,root,root)
%dir %{mozillalibdir}/res/inspector

%files spellchecker -f %{_tmppath}/mozilla-spellchecker.list
%defattr(-,root,root)
%dir %{mozillalibdir}/components/myspell

%if %build_enigmail
%files enigmail -f %{_tmppath}/mozilla-enigmail.list
%defattr(-,root,root)

%files enigmime -f %{_tmppath}/mozilla-enigmime.list
%defattr(-,root,root)
%endif

%files -n %{lib_nspr_name} -f %{_tmppath}/mozilla-nspr.list
%defattr(-, root, root)

%files -n %{lib_nspr_name}-devel -f %{_tmppath}/mozilla-nspr-devel.list
%defattr(-, root, root)
%dir %{mozillaincludedir}
%dir  %{mozillaincludedir}/nspr
%dir  %{mozillaincludedir}/nspr/private
%dir  %{mozillaincludedir}/nspr/md
%dir  %{mozillaincludedir}/nspr/obsolete
%{_libdir}/pkgconfig/mozilla-nspr.pc
%{_datadir}/aclocal/nspr.m4

%files -n %{lib_nss_name} -f  %{_tmppath}/mozilla-nss.list
%defattr(-, root, root)
%{_libdir}/*.chk

%files -n %{lib_nss_name}-devel -f %{_tmppath}/mozilla-nss-devel.list
%defattr(-, root, root)
%dir  %{mozillaincludedir}/nss
%{_libdir}/pkgconfig/mozilla-nss.pc


%changelog
* Fri Nov 19 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-12.5.100mdk
- Disable mdk bookmarks for OEM mode
- Patch201 (Fedora): Fix JS math on AMD64
- Patch202 (CVS): fix crash in accessibility on 64bit arch (Moz bug #256603)
- Patch203 (gb): fix dynamic library loading on 64bit system
- Patch204 (gb): fix nspr-config script to be 64bit friendly

* Wed Nov  3 2004 Frederic Lepied <flepied@mandrakesoft.com> 1.6-12.4.100mdk
- Patch200: initial start as maximized

* Mon Oct 25 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-12.3.100mdk
- Patch199: autoload Castella PKCS#11 module if available

* Fri Oct 08 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-12.2.100mdk
- Security fixes :
  - Patch194 (CVS): fix malicious POP3 server vulnerability (Moz bug #245066, 226669)
  - Patch195 (CVS): fix vcard crash (Moz bug #257314)
  - Patch196 (CVS): fix clipbard scripting (Moz bug #257523) 
  - Patch197 (CVS): fix heap overflow in send page (Moz bug #258005)
  - Patch198 (CVS): fix BMP overflow (Moz bug #255067)

* Fri Aug 06 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-12.1.100mdk
- Security fixes :
  - use system libpng and libjpeg
  - Patch182 (CVS): fix frame spoofing (Moz bug #246448) 
  - Patch183 (CVS): fix popup XPInstall/security dialog 
    when user is about to click (Moz bug #162020 + #149478 + #239580)
  - Patch184 (CVS): fix untrusted chrome call (Moz bug #244965)
  - Patch185 (CVS): guard against malicious POP3 server (Moz bug #229374)
  - Patch186 (CVS): fix SSL certificate spoofing (Moz bug #240053)
  - Patch187 (CVS): fix stealing secure HTTP Auth passwords via DNS spoof 
    (Moz #226278) 
  - Patch188 (CVS): fix unsecure matching cert name for non-FQDNs (Moz bug #234058)
  - Patch189 (CVS): fix focus redefinition from another domain (Moz bug #86028)
  - Patch190 (CVS): fix SOAP parameter overflow (Moz bug #236618)
  - Patch191 (CVS): fix text drag on file entry (Moz bug #206859)
  - Patch192 (CVS): fix certificate DoS (Moz bug #249004)
  - Patch193 (CVS): fix lock icon and cert spoof (Moz bug #253121)

* Mon Mar 22 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-12mdk
- Fix typo in trigger (Mdk bug # 9099)

* Fri Mar 19 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-11mdk
- Update source 10: set FLASH_GTK_LIBRARY variable to workaround buggy flash 
  plugin and get correct performance (Mdk bug #8325)
- Update patch 180 (CVS): don't set black border around Xt plugins
- Tweak files list so verify rpm doesn't complain too much (Mdk bug #9039)

* Mon Mar 08 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-10mdk
- Fix build
- Patch181: Fix KP_Separator key (Mdk bug #376)
- Add more languages
- Update source10 to correct detect lang to use

* Fri Feb 27 2004 Frederic Crozat <fcrozat@mandrakesoft.com 1.6-9mdk
- Fix enigmail postun script when upgrading (Mdk bug #8380)
- Update source5 with new bookmarks for Mdk 10.0
- Fix distriblint errors
- Fix triggers when upgrading java package

* Fri Feb 20 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-8mdk
- Update source10 to set LOGNAME and behave fine with Firefox/Thunderbird
  (Mdk bug 8117)

* Mon Feb 16 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-7mdk
- Put mozilla composer in Internet/Web editors (Mdk bug #7928)

* Fri Feb 13 2004  Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-6mdk
- enigmail 0.83.3
- enable l10n (Mdk bug #7285)
- really fix enigmail install (Mdk bug #6789) <tobbe@nyvalls.se>
- Own more directories
- Patch180 (CVS) : various gtk2 fixes
- Update patch7 + source 24 : change default mail splash
- gcc optimisations are back, thanks to latest gcc package.

* Fri Jan 30 2004  Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-5mdk
- Enigmail 0.83.1
- Fix enigmail install (Mdk bug #6789) by (tobbe@nyvalls.se)
- Update patches 46 & 104 (tobbe@nyvalls.se)
- Patch179 (tobbe@nyvalls.se): add missing files for gtk2 build
- Move Composer to Applications/Editors (Mdk bug #7197)

* Fri Jan 23 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-4mdk
- I promise, this time, epoch is fixed everywhere..

* Thu Jan 22 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-3mdk
- Really fixes epoch 

* Mon Jan 19 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-2mdk
- Add missing epoch to requires (needed for latest rpm) (Mdk bug #6905)

* Fri Jan 16 2004 Frederic Crozat <fcrozat@mandrakesoft.com> 1.6-1mdk
- Release 1.6
- Enigmail 0.83.0 / IPC 1.0.5
- Disable l10n for now, no language pack available
- Regenerate patch 12, 42, 54 & 59 (partially merged),
- Remove patches 63, 133, 163, 171, 172, 173, 176 (merged upstream)
- Lower optimizations

* Tue Dec 02 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.5-1mdk
- Release 1.5
- Enigmail 0.82 / IPC 1.0.4
- Remove patches 45, 112, 115, 116, 117, 125, 128, 129, 179
- Regenerate patches 7, 132 

* Fri Nov 28 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4.1-1mdk
- Release 1.4.1
- Remove source 20, patch 40 (spellchecker is now part of official source)
- Remove patches 110, 111, 114, 118, 119, 120, 121, 122, 123, 124, 126, 127, 130, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 164, 165, 166, 167, 168, 169, 170, 175 (merged upstream)
- Regenerate patches 7, 131
- Disable l10n

* Thu Nov 13 2003 Giuseppe Ghibò <ghibo@mandrakesoft.com> 1.4-17mdk
- Added Patch179 (for fixing problem with download dialog to be always on
  top, bug MOZ#204671, MDK#6345).

* Fri Nov 07 2003 Giuseppe Ghibò <ghibo@mandrakesoft.com> 1.4-16mdk
- Renamed Patch176 to Patch177.
- Use Patch177 (execshield), 178 (pie) only '--with pie' enabled,
  so to prevent crashing with enigmail.

* Thu Nov 06 2003 Giuseppe Ghibò <ghibo@mandrakesoft.com> 1.4-15mdk
- Triggers to RealPlayer-rpnp.
- Enigmail to release 0.76.7.
- Patched enigmail locales (Patch45).
- Updated Patch43 (mathml).
- Added Patch42 (use Standard Symbols L too for MathML).
- Added Patch134 (correctness fixes for newer g++, #216926).
- Added Patch135 (avoiding printing overlapping of text in XML, #198506).
- Added Patch136 (fix hang when STARTTLS returns failure, #98399).
- Added Patch137 (fix error occurred while creating a message compose window, #162640)
- Added Patch138 (fix url box too close to personal toolbar in modern theme, #181453).
- Added Patch139 (fix problems with "last page visited" which cannot handle framed pages properly, #58613).
- Added Patch140 (fix crash when selecting data overflowing vertically in a textarea, #175896).
- Added Patch141 (fix caret placed on invalid position in composer, #202166).
- Added Patch142 (fix for allowing S/Mime messages to use larger encrypted strings to increase strength of security, #205702).
- Added Patch143 (added Korean font KSC5601.1987-1 support, #213880).
- Added Patch144 (fix crash in Bookmarks if nsIProfile impl is not present, #210541).
- Added Patch145 (fix about:blank URI in DOMParser produced documents, #208912).
- Added Patch146 (fix error Invalid codepoint encoded in ACE label, #210734).
- Added Patch147 (fix problem with SSL being extremely flaky if Ask for Master Password is 'Every time', #195574).
- Added Patch148 (fix problems with Secure JavaScript which doesn't work from https JARs, #209560).
- Added Patch149 (fix crash when reading a posting in a newsgroup containing a "&" in its name, #210089)
- Added Patch150 (fix a regression from patch for bug #86947, see #216736).
- Added Patch151 (fix a problem with wrapping TR in tbody in XHTML, #68061).
- Added Patch152 (fix missed domstubs.h from Gecko SDK, #208460).
- Added Patch153 (removing comma at end of enumerator list, #216285).
- Added Patch154 (fix autoproxy when is used the first time browser is started, #215457).
- Added Patch155 (fix a crash occurring after 3 or more times getting an XML error page, #209539).
- Added Patch156 (fix buttons out of the dialog box when entering a new profile, #123370).
- Added Patch157 (get rid of the msg folder flag trash error, #195733).
- Added Patch158 (fix problems with "Reload all tabs" doesn't reloading all tabs after canceling/resending postdata, #210760).
- Added Patch159 (fix mail&news not closing summary files for newsgroups, #210985).
- Added Patch160 (fix crash when "@mozilla.org/nsCMSEncoder;1" is created and then deleted, MOZ#204067).
- Added Patch161 (fix a problem with download not working with non-ASCII file names, #208903).
- Added Patch162 (fix a crash on utf8 locales [OK, on HP-UX but apply anyway], #200732).
- Added Patch163 (fix bug about "paste" not possible in bookmark after a "cut", #209496).
- Added Patch164 (fix "Install error -239" registering chrome, #109044).
- Added Patch165 (fix smiley into editor, #207183).
- Added Patch166 (fix bug in Bookmark Manager/View/Show Columns menu, #207779).
- Added Patch167 (fix bug with cursor at off position before and after text is committed in JA IME, #207936).
- Added Patch168 (fix crash while opening a broken GIF, #209079).
- Added Patch169 (fix bug causing page 2-8 missed from preview after printing only page 1, #212821).
- Added Patch170 (fix bug in editor with css styles which are not used after publishing, #209086).
- Added Patch171 (fix mouse events generated by window manager, #102578).
- Added Patch172 (fix crash with Xft, ensuring to use the real size of the buffer, not the full length of the string, #213734).
- Added Patch173 (fix javascript silent failure with frames, #217000).
- Added Patch174 (workaround problems with prdtoa, merged from RH).
- Added Patch175 (security bug #221526, merged from RH).
- Added Patch176 (patch for asm files to get execshield working, merged from RH).
- Added Patch177 (fix for childwindow, bug #205492, merged from RH).
- Added Patch178 (patch for using -pie for linking mozilla-bin, merged from RH).
- Added conditional building flag for --enable-pie.

* Fri Oct 03 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4-14mdk
- Don't use soundwrapper for mozilla, java + artsdsp doesn't mix 
  very well (Mdk bug 5975)

* Thu Sep 18 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4-13mdk
- Fix french translation to not use "*.*" for all files (Mdk bug 5797)

* Thu Sep 11 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4-12mdk
- Patch133 (CVS): set cursor correct on popup (moz bug 215951)

* Wed Sep 10 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4-11mdk
- Update patch125 to also fix Moz bug #218203

* Wed Sep 10 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4-10mdk
- Patch132: use xvt instead of xterm (chmouel)
- Fix j2sdk uninstall trigger

* Tue Sep 09 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4-9mdk
- Patch131 : add Brasil IGP CA certificate

* Fri Sep 05 2003 Giuseppe Ghibò <ghibo@mandrakesoft.com> 1.4-8mdk
- Updated Patch43 (MathML).
- Added Patch130 (fixed problems with event propagation & group handlers, #216237).

* Fri Sep 05 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4-7mdk
- Fix acroread-nppdf and FlashPlayer postun trigger

* Wed Sep 03 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 1.4-6mdk
- Patch128 (CVS): fix handling of unicode key
- Patch129 (CVS): don't crash when shutting down a11y
- Fix (libnss/libnspr)-devel provides
- Add more translations

* Tue Sep 02 2003 David Baudens <baudens@mandrakesoft.com> 1.4-5mdk
- New bookmarks

* Wed Aug 20 2003 Frederic Crozat <fcrozat@mandrakesoft.com>
- From Giuseppe Ghibò <ghibo@mandrakesoft.com> :
 - Merged changes to SPEC file made for mozilla-1.3.1-4mdk for updates-9.1.
 - Use --enable-default-toolkit=%{toolkit} in both %configure places.
 - Added conditional building for gtk toolkit (--with gtk).
 - Added Patch114 (MathML bug on Gfx:GTK & freetype2, #212400).
 - Added Patch115 (fix crash when closing a javascript opened window, #212415).
 - Added Patch116 (stretch MathML frames, #214989).
> ok :)
 - Added Patch117 (long timeout after IMAP lost of connection, #215371)
 - Added Patch118 (fixing crash when reading signed messages with some certs,
   #213084).
 - Added Patch119 (fixing crash when trying to print a certain page, #214191).
 - Added Patch120, 121 (nsSound::Play, #179138)
 - Added Patch122 (fixing some animated GIF not displayed properly, #208622).
 - Added Patch123 (fixing use of bookmarks root/top root as a target, #210196).
 - Added Patch124 (fixing crash when accessing TR.rowIndex, #211357).
 - Added Patch125 (fixing crash with prompts without a parent window, #211834).
 - Added Patch126 (fixing a problem with <head> and file://, #213416).
 - Added Patch127 (fixing return receipts in newsgroups, #209516).
 - Updated l10n archive.

* Fri Aug  8 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.4-3mdk
- Fix amd64 bridges
- Patch63: Workaround bogus code that happily breaks C++ aliasing
  rules (aka fix miscompilation on AMD64, Mozilla bug #212082)

* Mon Jul  7 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0:1.4-2mdk
- Really enable l10n
- Use RPM_OPT_CFLAGS

* Fri Jul  4 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0:1.4-1mdk
- Release 1.4.0
- Lower optimizations, mozilla doesn't like -O3 on gcc 3.3
- Remove patches 34, 61 (merged upstream)
- Regenerate patch33
- Fix gre.conf file
- Enable l10n

* Tue May 13 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.4-0.beta.1mdk
- Release 1.4 beta
- Enigmail 0.75.0
- Regenerate patches 33, 40
- Remove patches 8 (no longer needed), 51, 60 (merged upstream)
- mklibnamification

* Tue Apr  8 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0:1.4-0.alpha.1mdk
- Release 1.4 alpha
- Enigmail 0.74.1 - ipc 1.0.3
- Update spellchecker CVS snapshot
- Regenerate patch33, patch34 (partially merged), patch36, patch60 (partially merged)
- Remove patch11 (no longer needed)
- Regenerate patch40
- Patch62 (rawhide + ghibo): allow to override UI fonts
- Switch to gcc 3.2..  Only GCC 3.2 Java are supported now (ie Blackdown and Sun 1.4.2beta ATM)

* Thu Mar 13 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0:1.3-1mdk
- Update source0, remove patch 62 (merged upstream)

* Thu Mar 13 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0:1.3-0.2mdk
- Update patch60 to fix Mdk bug 
- Patch62 : Fix IMAP folder moving (Mozilla bug #160586)

* Tue Mar 11 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0:1.3-0.1mdk
- Fix Mandrake bug 3076
- Update patch 60 to fix crash #196008
- Fix bookmarks

* Tue Mar  4 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0:1.3-0.final.20020228.2mdk
- Update patch 60 to fix XIM in embedded mozilla (Galeon).. Finally fixes Mdk #2476
- Enforce devel package dependencies

* Fri Feb 28 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0:1.3-0.final.20020228.1mdk
- CVS Snapshot of 1.3 final branch
- Update Patch 60 (merged partially), enable XIM and add support for fullscreen mode (fix #2476, #2570)
- Remove patch 35, 57 (merged upstream)
- Patch61 (rawhide): allow settings UI font using prefs.

* Mon Feb 24 2003 Frederic Crozat <fcrozat@mandrakesoft.com> - 0:1.3-0.beta.3mdk
- Add some translations
- Update patch 59 (fix mdk bug 1915)
- Update source10 to not report file not found when no l10n is available
- Patch60 (CVS): update GTK2 code (fix mdk bugs 1678, 1721) 

* Mon Feb 17 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.3-0.beta.2mdk
- Enigmail 0.73.1, IPC 1.0.2

* Tue Feb 11 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.3-0.beta.1mdk
- Release 1.3beta
- Disable Enigmail, it is not ported to mozilla 1.3beta yet
- Update spellcheck snapshot
- Remove patch58 (merged upstream)

* Thu Jan  9 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.3-0.alpha.3mdk
- Update Enigmail to 0.71.1 (thanks to Buchan Milne)

* Tue Jan  7 2003 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.3-0.alpha.2mdk
- Enforce dependecy on GTK+ >= 2.2.0
- Add some localizations (source7)
- Update patch58 to fix bugs 186621 & 183841
- Patch59, Source23 : add mdk bugzilla to search engines, default search engine is now Google

* Mon Dec 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.3-0.alpha.1mdk
- Release 1.3alpha
- Fix ppc build options
- Regenerate patch 33 (partially merged), 34, 0 (patches 6 & 7 merged inside)
- Fix Java detection for version >= 1.4.0
- Remove patch58 (merged upstream)
- Patch58 (CVS): fix gtk2 gtkxtbin for plugins

* Thu Dec  5 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.2.1-1mdk
- Release 1.2.1
- Fix configure options for stripping

* Fri Nov 29 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.2-3mdk
- Update patch59 to really allow galeon compilation (bug #180700)

* Fri Nov 29 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.2-2mdk
- Patch 59 (CVS): gtk2 port of gtkmozembed
- put back gcc32 version of mozilla libs for OOo

* Thu Nov 28 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.2-1mdk
- Release 1.2
- Enigmail 0.71.0/ipc 1.0.1
- Update source2
- Regenerate patches 34, 47
- Remove source1 & patch22 : we don't ship libjs anymore
- Remove patches 44 & 45 (we now use xft)
- Remove patches 32, 49, 50, 52, 55, 56, 58 (merged upstream)
- Disable xmlterm (not supported with gtk2)

* Wed Nov 27 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0:1.1-10mdk

* Tue Sep 17 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-10mdk
- Patch58: security fix for referrer (bug #145579)

* Wed Sep 11 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-9mdk
- Add more translations

* Fri Sep  6 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-8mdk
- Add more translations
- Add mimetype info to menu entry

* Wed Sep  4 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-7mdk
- Fix typo in patch46. Fix enigmail startup

* Tue Sep  3 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-6mdk
- Patch57 (Rawhide) : ensure mozilla-rebuild-databases doesn't leave child threads hanging around
- Fix triggers for jdk/jre 1.4.0_01
- Fix symlink removal when uninstalling triggered packages
- Fix duplicated menu entry
- Update patch 42 to official fix => Linux/PPC g++-3 ABI support for XPCOM (bug #142594)

* Fri Aug 30 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-5mdk
- Remove patch42 since paper detection is done at %post install time
- Patch55 (CVS): fix selection in right-to-left languages (bug #167)
- Patch56 (CVS): fix transparent border being not transparent (bug #45557)

* Thu Aug 29 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.1-4mdk
- Default to paper size from locale setting, in %%post scriptlet
- Requires: myspell-dictionary for mozilla-spellchecker package
- Patch53: Our MySpell dictionaries are in /usr/share/dict/ooo/
- Patch54: Hack to handle OOo myspell dictionaries file names. Aka get
  dictionaries list and tr/_/-/ filenames. They will be translated
  back at dictionary load time. May fallback/try with original file
- Move generation of tarball of gcc3.2 compiled Mozilla libs in the
  %%build section. Also ship with regxpcom to regenerate compreg.dat

* Thu Aug 29 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-3mdk
- Update to enigmail 0.65.2 
- Add languages

* Wed Aug 28 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-2mdk
- Requires mailcap to have some predefined applications for known mimetypes
- Remove patch 48, it was breaking JS submit buttons
- Patch51 (CVS): fix pref crash (bug #160656)
- Patch52 (CVS): fix icon install (bug #163237)

* Tue Aug 27 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-1mdk
- Release 1.1 (source grabbed from CVS, no tarball available yet)
- add tarball of Mozilla libs compiled with gcc 3.2 in -devel package for OpenOffice.org package (rawhide)
- Update bookmarks for Mdk 9.0
- Regenerate patch40
- Disable patches 0, 1, 6 1 23 (not needed for final release of Mozilla)
- Remove patch41 (merged upstream)
- Patch48 (CVS): fix crash with simple table/css/form (bug #159359)
- Patch49 (CVS): fix crash on XUL/DOM (bug #119044)
- Patch50 (CVS): fix crash if invalid setStart is set on a Range (bug #149320)

* Mon Aug 19 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.1-0.branch.3mdk
- Patch36: Add more xptcall tests from Patch32 + new AddMixedFloats test
- Remove from xptcall tests from Patch32 (gcc31-powerpc-fixes)
- Update Patch33 (x86_64) with the following fixes:
  - Forward float values from registers verbatim, without conversion
  - Save FP registers as double values. Aka use "movsd" instructions
  - Correctly define architecture name as "x86-64"

* Mon Aug 12 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.1-0.branch.2mdk
- Update Source10 (mozilla script) to be lib64 aware
- Patch33: Add initial port to AMD x86-64 architecture
- Patch34: Fix javascript build on x86-64, we need PIC for DSO
- Patch35: Make the rebuild-databases script lib64 aware
- Remove Patch31 (asmfixes) since Mozilla 1.1 now uses #140412
- Explicitly use gcc2 on ix86 only
- Fix typos in --with[out] gcc2 features
- Use gcc2-version script to get correct version. Aka. don't forcibly
  call gcc-2.96, by default, that's silly

* Tue Aug  6 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-0.branch.1mdk
- snapshot from 1.1 final branch
- Remove patches 26 (no longer needed), 29 (merged upstream)
- Remove source8 (merged upstream)
- Regenerate patch41, part has been merged, part is not merged yet
- Regenerate patch40
- Fix typo in freetype2 switch (Buchan Milne)
- New version of ipc + enigmail (Buchan Milne)
- Patch 42 is bach + add switch for the A4 stuff (disabled by default)
- Patch 46: use standard packaging method for enigmail/enigmime (Giuseppe)
- Patch 47: fix include in spellchecker

* Thu Aug  1 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-0.beta.2mdk
- Use icons for official packages
- Add missing dir in -devel packages
- Java support is BACK (package build with gcc 2.96)
- remove patch42 (a4 format)

* Wed Jul 31 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.1-0.beta.1mdk
- Release 1.1beta
- Regenerate patches 7, 23
- Update source8 since chrome registry has changed name
- Remove patches 28, 30 (merged upstream)
- Remove libc++mem hack (and update source10), it has been merged upstream
- Clean triggers (Giuseppe)
- Patches 0, 1 & 6 are back (remove Debug menu entries)
- Patch42 (Giuseppe): set A4 as default format for printing
- Patch43 (Giuseppe): Fix problem with time font and MathML
- Patch44 & 45 (Giuseppe): enable freetype2 backend by default

* Tue Jul 30 2002 Jeff Garzik <jgarzik@mandrakesoft.com> 1.0.0-10mdk
- BuildRequires: tcsh

* Thu Jul 25 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.0.0-9mdk
- Automated rebuild with gcc3.2

* Wed Jul 17 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.0-8mdk
- Add more translations
- Disable SVG support, it crashes mozilla on W3 SVG test suite 
- From Buchan Milne <bgmilne@cae.co.za> :
  add enigmail (GPG support) and spellchecker

* Thu Jun 27 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.0-7mdk
- Fix plugin trigger when upgrading
- Update source9 to fix real player plugin support (Pixel)

* Thu Jun 27 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.0-6mdk
- Remove NO_XALF from menu entries
- Replace icons with png versions
- Fix group for dom inspector

* Wed Jun 12 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.0.0-5mdk
- Patch31: Fix bogus assembly code in xptcall/i386. Leaf frame pointer
  elimination can be reactivated.
- Patch32: Fix PowerPC support for gcc3.1. Also add new xptcall/tests.
  (Kevin Hendricks)

* Tue Jun 11 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.0-4mdk
- Put nspr and nss librairies back in /usr/lib. This /usr/lib/mozilla-1.0.0
  schemas is really not good at all for these two libs since they are used
  outside mozilla (Evolution for instance)

* Tue Jun 11 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.0-3mdk
- Add -mno-omit-leaf-frame-pointer needed since gcc 3.1.1-0.4mdk 
- Update source 10 to fix libc.so.6 errors when JRE 1.3.x is installed (Geoffrey)
- Add missing files from psm to main package
- Update patch 29 (from Mozilla.org rpm)
- Update patch 30 to fix missing headers (from Mozilla.org rpm 1.0.0-9)

* Fri Jun  7 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.0-2mdk
- Patch30 (Mozilla.org RPM): export SDK headers too

* Thu Jun  6 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.0-1mdk
- Release 1.0.0
- New directory structure (from Mozilla.org RPM)
- Patch 28 (Mozilla.org RPM): add pkgconfig file for nss
- Remove patches 0 & 6 (merged upstream)
- Replace patch 25 with Source9

* Tue May 21 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.0-0.rc2.2mdk
- Rebuild with gcc 3.1-1mdk which has the builtin memset() fix
- Fix Source9 (libc++mem) thus enabling rebuild to actually work

* Mon May 13 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-0.rc2.1mdk
- Release 1.0rc2
- Java support is BROKEN (because of gcc 3.1 switch).. No need to complain..
- Plugins support is broken for plugins compiled with gcc < 3.x.y 
- Add source 9 + update patch 25 : ugly hack to get some old plugins 
  to work (see bug 124006)
- Fix trigger scripts (Abel Cheung)
- Update patch 7
- Patch 27 (Mozilla.org RPM): make default plugin popup less annoying
- Add source 8 (Mozilla.org RPM): perl version of rebuild-databases

* Wed Apr 24 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-0.rc1.2mdk
- Enable IPv6 support

* Fri Apr 19 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-0.rc1.1mdk
- Release 1.0rc1
- Regenerate patches 3, 12
- Remove patch1 (merged upstream)
- Disable translation support, none available yet..

* Wed Mar 20 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.9-2mdk
- Grr, really add headers for nspr-devel

* Wed Mar 20 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.9-1mdk
- Release 0.9.9
- Fix build problem when tmppath doesn't end with /
- Add provides/obsoletes for nspr/nss (compatibility with Blizzard rpms)
- Remove patches 27, 28, 29, 30, 31, 32, 33, 34, 35, 36 (merged upstream)
- Patch13 (CVS): use standard mecanism to generate nspr/nss package
- Update patch 25 to set l10n if only no profile is registered

* Sat Mar 16 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-10mdk
- Update patch25: don't use -splash at all, it has some strange issues

* Thu Mar 14 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-9mdk
- Update Basque translation and fix language registration (pablo)
- Update patch25 : don't run with -splash when called with arguments

* Wed Mar 13 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-8mdk
- Fix errors in bookmark file
- Patch 35 (CVS): fix crash with animated GIF (bug 94336)
- Patch 36 (CVS): fix crash with DOM tree (bug 104310)
- Add Basque translation
- Update patch25 to not autodetect locale if if is given on the command line

* Mon Mar 11 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-7mdk
- Fix JRE link not removed at uninstallation
- Fix menu entries
- Add some translations
- Update patch 25 to autodetect lang and use l10n if available and add
  -splash when starting mozilla

* Tue Feb 26 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-6mdk
- Update patch 25 to set MOZ_PLUGIN_PATH to $HOME/.mozilla/plugins
- Patch27 (CVS): fix url bar not responsive (bug 90337) and make Warly happy
- Patch28 (CVS): fix intermittent HTTP connection error (bug 91429)
- Patch29 (CVS): fix Java plugin not scriptable (bug 120390)
- Patch30 (CVS): fix crash when editing text in textarea (bug 115350)
- Patch31 (CVS): fix crash when resizing frame using JS (bug 125124)
- Patch32 (CVS): fix crash in SSL site (bug 121822)
- Patch33 (CVS): fix crash when editing/scrolling To: entries (bug 110165)
- Patch34 (CVS): fix crash in JS regexp (bug 119909)
- Add MandrakeSecure to default bookmark
- Let's try to fix the PSM error again..

* Thu Feb 14 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-5mdk
- Add trigger for FlashPlayer package

* Tue Feb 12 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-4mdk
- Update bookmarks for Mdk 8.2
- Add alternatives for simplified menu

* Fri Feb  8 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-3mdk
- Grr, fix database rebuilding at first time (fix PSM error)

* Wed Feb  6 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-2mdk
- Clean post/postun scripts
- Fix database rebuilding when upgrading
- Add missing svg dtd
- Add some directories to rpm database

* Tue Feb  5 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.8-1mdk
- Release 0.9.8
- Disable french policy
- Remove patch25, fix registration of Java 1.4 (conflict with beta3, must be
  1.4.0-rc or better)
- Remove patch26 (merged upstream)
- Patch25: fix startup script to handle file on command link (thanks Chmouel)
- Patch26: use POSIX compliant options for cp (needed with latest fileutils)
- Regenerate patch6

* Fri Jan 25 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.7-5mdk
- Provides webclient

* Tue Jan 22 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.7-4mdk
- Patch26: fix detection of Java 1.4 (use standard method)

* Tue Jan 15 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.7-3mdk
- Patch25: fix bug 116829 (File form submission). Thanks to Dan Allen

* Tue Jan  8 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.7-2mdk
- Fix compilation problem with /bin/cat

* Wed Jan  2 2002 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.7-1mdk
- Release 0.9.7
- Add DOM inspector package
- Regenerate patch 0
- Use soundwrapper to run mozilla (should fix freeze with flash plugin)
- Optimizations are back
- Fix mathML

* Mon Dec 10 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.6-4mdk
- Fix epoch problem (grr, should use rpm -Fvh to test upgrade)

* Wed Dec  5 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.6-3mdk
- Patch23 (Ximian) : remove buildid from titlebar 
- Patch24 : fix French policy
- Generate libnspr4 and libnss3 from mozilla srpm now
- Remove patch21 (no longer needed)
- Regenerate patch 22 by modifying Makefile include only

* Thu Nov 29 2001 Stew Benedict <sbenedict@mandrakesoft.com> 0.9.6-2mdk
- patch to fix js build on PPC (patch22)

* Thu Nov 22 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.6-1mdk
- Release 0.9.6
- Regenerate patches 0, 7
- Remove patches 25 (merged upstream) & 27 (no longer needed)
- Patch12 (Blizzard) : set ps default fonts for some asiatic languages
- Lower optimizations
- Add triggers for Java 1.4 packages

* Wed Nov  7 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-2mdk
- MathML is back
- Add venckman package (Javascript debugger)

* Tue Oct 23 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.5-1mdk
- Release 0.9.5
- Remove patches 23, 24, 26 (merged upstream)
- Update patch 25 with reviewed fix
- Add mozilla composer menu entry
- Add support for Acroread rpm plugin

* Sun Oct 14 2001 Stew Benedict <sbenedict@mandrakesoft.com> 0.9.4-6mdk
- PPC patches for javascript

* Fri Oct 12 2001 Frederic Lepied <flepied@mandrakesoft.com> 0.9.4-5mdk
- rebuild for libpng3

* Mon Oct  1 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.4-4mdk
- Patch25: fix detection of euro locales
- Patch26: don't complain when loading plugin (Mozilla CVS)

* Fri Sep 21 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.4-3mdk
- Update source5

* Thu Sep 20 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.4-2mdk
- Fix triggers for java/flash/Realplayer
- Patch24: fix topcrash with flash and java

* Sat Sep 15 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.4-1mdk
- Release 0.9.4
- Regenerate patches 0, 1 and 7
- Remove patches 20 & 22 (merged upstream)

* Mon Sep  3 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-8mdk
- Add trigger for j2re (new name of jre package)
- Add Mandrake bookmarks

* Wed Aug 22 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-7mdk
- Argg, apply patch23 for xinerama

* Wed Aug 22 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-6mdk
- Regenerate patch7: use local index.html page also at first startup 

* Tue Aug 21 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-5mdk
- Fix error in Real plugin trigger

* Tue Aug 21 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-4mdk
- Patch23: don't query Xinerama if it is not activated
- Enable Xinerama
- To keep it safe, lower optimizations

* Mon Aug  6 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-3mdk
- This time, optimisations should be ok (remove omit-frame-pointer)
- Fix triggers on package upgrade

* Sun Aug  5 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-2mdk
- Remove some optimizations (was breaking preferences)

* Fri Aug  3 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.3-1mdk
- Release 0.9.3
- Remove patches 12, 22, 23, 24 (merged upstream)
- Regenerate patches 0
- Enable more optimizations
- Patch22: fix build (some static lib were not found)

* Wed Aug  1 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.2-8mdk
- Modify verify options for generated files
- Disable mathml (fix crash reported by Brian J. Murrel)

* Mon Jul 23 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.2-7mdk
- Fix bad buildid when recompiling package
- new subpackage for javascript library
- resync with Blizzard specfile :
  - Add verify options to three files that change when you install.
  - use official patch for Patch23


* Fri Jul 13 2001 Stefan van der Eijk <stefan@eijk.ni> 0.9.2-6mdk
- BuildRequires:	gtk+-devel
- Removed BuildRequires:	perl
- Removed BuildRequires:	zlib-devel

* Thu Jul  5 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.2-5mdk
- Patch24: use POSIX compliant switch for cp
- Re-add test on POSIX compliance for cp

* Tue Jul  3 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.2-4mdk
- Patch22: move umask fix in this patch
- Patch23: don't use readlink in mozilla.sh
- Patch12: fix segfault when exiting with some plugins
- Remove a lot of source file, they are in main tarball

* Mon Jul  2 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.2-3mdk
- Fix detection of j2sdk 1.4

* Mon Jul  2 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.2-2mdk
- Fix source 6 to comply with latest cp
- Ooops, fix bad devel package

* Mon Jul  2 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.2-1mdk
- Release 0.9.2
- Remove patch 12 (merged upstream)

* Thu Jun 28 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.1-3mdk
- Fix rebuild-database script with non-standard umask (thanks to Ralf_Ahlbrink)

* Mon Jun 11 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.1-2mdk
- Patch12: fix problem with Galeon and Nautilus (bug 83157)

* Fri Jun  8 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9.1-1mdk
- Release 0.9.1
- Regenerate patches 0, 1, 6
- Remove patch 9 & 12 (merged upstream)

* Wed Jun  6 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9-5mdk
- Workaround for default CA not loaded : add dependency on libnss3 + symlink

* Mon May 21 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9-4mdk
- Add PreReq on libnspr4 (otherwhise mozilla registry are not created 
  at install time)

* Thu May 17 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9-3mdk
- Merge psm back in main package 
- Add xmlterm package
- Use libnspr3 and libnss3 for building mozilla

* Tue May 15 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9-2mdk
- Remove patch10 (we only have /usr/share/doc/HTML)

* Mon May 14 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.9-1mdk
- Release 0.9
- Sync with Mozilla official specfile (0.9-0)
  - Add rebuild-database script
  - Regenerate patches 0, 1, 6
  - Remove patches 12, 13, 21 (merged upstream)
  - Update make package script to put shared libraries in %_libdir

* Mon Apr 30 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.8.1-5mdk
- Add trigger for RealPlayer plugin

* Fri Apr 27 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.8.1-4mdk
- Add triggers to detect when Sun Java RPM are installed to install Java plugin
- Resync with Blizzard specfile (0.8.1-3) :
	patch12 : links nspr and other base libraries with libc explicitly
	patch13 : disable rpath => no longer requires to uninstall mozilla rpm to rebuild it

* Fri Apr 20 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.8.1-3mdk
- resync with Blizzard specfile (0.8.1-0 and 2001041017)
- resync with Mdk 0.8-7mdk specfile
- patch for bug 73947 to prevent bug in Nautilus

* Wed Mar 28 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.8.1-2mdk
- Use official source tarball

* Tue Mar 27 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.8.1-1mdk
- Release 0.8.1
- resync with Blizzard specfile (pre-0.8.1-6)
- use CVS snapshot since source tarball is not yet available)
- Update mozilla.sh
- Regenerate patch0, patch7, patch8, patch10
- Remove patch 1 (merged upstream)

* Tue Mar 13 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.8-2mdk
- Switch to standard theme by default
- Remove focus patch 
- Add specific menu entry for GNOME (workaround for interaction with xalf)
- resync with Blizzard specfile (0.8-2)

* Fri Feb 16 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.8-1mdk
- Relese 0.8
- resync with Blizzard specfile (0.8-1)

* Wed Feb  7 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.7-3mdk
- Resync with Blizzard specfile (0.7-11)
- Correct postun script => upgrading mozilla should be smooth with future version
  

* Wed Jan 17 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.7-2mdk
- Resync with Blizzard specfile (0.7-3)
- Add missing library for galeon

* Wed Jan 10 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.7-1mdk
- Release 0.7

* Mon Jan  8 2001 Frederic Crozat <fcrozat@mandrakesoft.com> 0.7-0.2001010614.1mdk
- Prerelease based on CVS (contains crypto support)
- Merge new patches from Christopher Blizzard (2001010614-0)
- Try to use Java and Flash plugin (need JDK 1.3.0_1 and netscape 4.76 installed)

* Wed Nov  8 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 5.0.0-0.M18.4mdk
- Rebuild with new libstdc++
- merge new patches from Christopher Blizzard specfile (M18-4) :
		- Add patch for bug 54860 (Linux-psm warning dialog hangs browser)
		- Add patches for bugs 56793 and 56753.

* Mon Oct 16 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 5.0.0-0.M18.3mdk
- Merge patches from Alexander Skwar :
	-Add missing menu file and icons
	-Add missing dependency

* Fri Oct 13 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 5.0.0-0.M18.2mdk
- Merge Christopher Blizzard (RedHat) specfile

* Fri Oct 13 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 5.0.0-0.M18.1mdk
- Release M18
- Remove old patches

* Wed Aug 30 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 5.0.0-0.M17.4mdk
- Merge specfile and fixes from Christopher Blizzard 
- change again page numbering (should be stable now)..

* Fri Aug 25 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 5.0_M17-3mdk
- Provide non-corrupted icons

* Fri Aug 25 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 5.0_M17-2mdk
- Add correct icons

* Fri Aug 18 2000 Frederic Crozat <fcrozat@mandrakesoft.com> 5.0_M17-1mdk
- Release M17

* Fri May 05 2000 Lenny Cartier <lenny@mandrakesoft.com> 5.0_M13-3mdk
- fix menu file

* Fri Mar 03 2000 Lenny Cartier <lenny@mandrakesoft.com> 5.0_M13-2mdk
- add menu entry for sub package mozilla browser

* Fri Feb 25 2000 Stefan van der Eijk <s.vandereijk@chello.nl> 5.0_M13-1mdk
- fixed version-naming --> mozilla-browser needs mozilla-install, not
  mozilla-M13-install.

* Sun Feb 13 2000 Stefan van der Eijk <s.vandereijk@chello.nl>
- M13

* Wed Jan 05 2000 Lenny Cartier <lenny@mandrakesoft.com>
- used srpm from mozilla.org
- bz2 archive
- remove the paths in the post sections
- modified the install section