Sophie

Sophie

distrib > Mandriva > 10.2 > x86_64 > by-pkgid > 8b60925ab009b61efa8917f54a2d5ed3 > files > 131

mozilla-firefox-1.0.2-10.1.102mdk.src.rpm

%define name		mozilla-firefox
%define version 1.0.2
%define advertised_version 1.0.7
%define fversion %version

#warning : always end release date with 00 
# (it should be the hour of build but it is not significant for rpm)
%define date 2005031700

%define rel 10.1

%define subrel 2
%{?!distversion:%define distversion %(echo $[%{mdkversion}/10])}
%define release %{rel}mdk
%ifarch i586 x86_64
%{?!_with_official: %define release %(echo $[%rel-1].%{subrel}.%{distversion}mdk)}
%{?!_with_official: %{error:%(echo -e "\n\n\nYou are building an unofficial package, please see \nhttp://qa.mandrakesoft.com/twiki/bin/view/Main/DistroSpecificReleaseTag\nif you think this is incorrect\n\n\n ")}%(sleep 4)}
%endif

%define exec_name	mozilla-firefox
%define up_ca_name	firefox
%define lib_name	%exec_name-%version
%define mozillalibdir   %_libdir/%lib_name
%define mozillaincludedir %{_includedir}/%{lib_name}

%define section Networking/WWW
%define title   Mozilla Firefox

%define summ Mozilla Firefox Web Browser

%define major_nspr 4
%define epoch_nspr 2
%define lib_nspr_name %mklibname nspr %{major_nspr}
%define major_nss 3
%define epoch_nss 2
%define epoch_mozilla 0
%define lib_nss_name %mklibname nss %{major_nss}


Summary:        %summ
Name:           %name
Version:        %version
Release:        10.1.102mdk
Epoch:		0
License:        MPL/GPL/LGPL
Group:          Networking/WWW
URL:            http://www.mozilla.org/projects/firefox
Source0:        ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%fversion/source/%up_ca_name-%fversion-source.tar.bz2
Source2:	ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/%fversion/source/%up_ca_name-%fversion-source.tar.bz2.asc
Source26:  	mozilla-rebuild-databases.pl.in.generatechrome
Source27:  	generate-chrome.sh
Source28:	mozilla-firefox.1
Source29:	firefox-gnomestripe-0.2.tar.bz2
Source30:	firefox-kdestripe-0.1.tar.bz2
Source31:	mozilla-firefox-1.0-migrationscript.sh

# set default homepage
Patch0:		mozilla-firefox-home-page.patch.bz2
# set default plugin dir
Patch1:		mozilla-firebird-0.6.1-plugindirs.patch.bz2
# don't check default browser at startup
Patch2:		mozilla-firefox-check-default-browser.patch.bz2
# set environment variable for old version of flash to get full speed
Patch3:		mozilla-firefox-0.8-gtk-flash.patch.bz2
# set browser name to mozilla-firefox
Patch4:		mozilla-firefox-1.0.1-browsername.patch.bz2
# fix compilation with latest freetype
Patch5:         mozilla-firefox-0.7.3-freetype-compile.patch.bz2
# fix loading of libXext.so.6 and libXt.so.6 
Patch6:		mozilla-firefox-load-full-dso.patch.bz2
# fix language detection at startup
Patch11:	mozilla-firefox-1.0-lang.patch.bz2
# (fc) 1.0-9mdk set ps default fonts for some asiatic languages (moz patch12)
Patch12:	mozilla-firefox-1.0-psfonts.patch.bz2
# (fc) 1.0-9mdk make default plugin less annoying (moz patch 27)
Patch13:	mozilla-firefox-1.0-default-plugin-less-annoying.patch.bz2
# (fc) 1.0-9mdk use Standard Symbols L too for MathML (moz patch 42)
Patch14:	mozilla-firefox-1.0-mathml-standardsymbolsl.patch.bz2
# (fc) 1.0-9mdk fix problem with time font in MathML (moz patch 43)
Patch15:	mozilla-firefox-1.0-mathml-times.patch.bz2
# (fc) 1.0-9mdk patches for MathML (bug #176290) (moz patch 113)
Patch16:	mozilla-firefox-1.0-mathmlfixes.patch.bz2
# (fc) 1.0-9mdk Add IGP Brasil CA certificate (moz patch 131)
Patch17:	mozilla-firefox-1.0-igp-brasil.patch.bz2
# (fc) 1.0-9mdk Workaround problems with prdtoa (fedora)
Patch18:	mozilla-firefox-1.0-prdtoa.patch.bz2
# (fc) 1.0-9mdk fix separator key (moz patch181)
Patch19:	mozilla-firefox-1.0-separator.patch.bz2
# (fc) 1.0-9mdk fix frame loading in gecko (moz patch 183)
Patch20:	mozilla-firefox-1.0-frameload.patch.bz2
# (fc) 1.0-9mdk fix include path in mozilla-xpcom.pc (moz patch 183)
Patch21:	mozilla-firefox-1.0-includepath.patch.bz2
# (fc) 1.0-9mdk fix parent window level with modal dialogs (moz patch 191)
Patch22:	mozilla-firefox-1.0-parent.patch.bz2
# (fc) 1.0-9mdk fix repaint over settimeout (moz patch 192)
Patch23:	mozilla-firefox-1.0-repaint.patch.bz2
# (fc) 1.0-9mdk don't access freed rendering context (moz patch201)
Patch24:	mozilla-firefox-1.0-renderingfreed.patch.bz2
# (fc) 1.0-9mdk try to load castella PKCS#11 module if available (moz patch257)
Patch25:  	mozilla-firefox-1.0-castella.patch.bz2
# (fc) 1.0-9mdk fix and enable GTK2 filechooser (Fedora)
Patch26:	mozilla-firefox-1.0-gtkfilechooser.patch.bz2
# (fc) 1.0-9mdk fix pkgconfig calls (Moz patch262)
Patch27:	mozilla-firefox-1.0-pkgconfig.patch.bz2
# (fc) 1.0-9mdk prevent inlining of stack direction detection (moz patch267)
Patch28:	mozilla-firefox-1.0-stack-direction.patch.bz2
# (fc) 1.0-9mdk Fix problem where default apps aren't showing up in the download dialog (moz patch268)
Patch29:	mozilla-firefox-1.0-gnome-vfs-default-app.patch.bz2
# (fc) 1.0-9mdk Pango rendering (moz patch269)
Patch30:	mozilla-firefox-1.0-pango-render.patch.bz2
# (fc) 1.0-9mdk fix dynamic library loading on 64bit system (moz patch270)
Patch31:	mozilla-firefox-1.0-lib64.patch.bz2
# (fc) 1.0-9mdk fix nspr-config script to be 64bit friendly (moz patch271)
Patch32:	mozilla-firefox-1.0-lib64-nspr.patch.bz2
# (fc) 1.0-9mdk use pango for selection (moz patch272)
Patch33:	mozilla-firefox-1.0-pango-selection.patch.bz2
# (fc) 1.0-9mdk fix spacing in textarea when using pango for rendering (moz patch273)
Patch34:	mozilla-firefox-1.0-pango-space-width.patch.bz2
# (fc) 1.0-9mdk fix default apps in download dialog and kill check browser at startup UI (Fedora)
Patch35:	mozilla-firefox-1.0-default-applications.patch.bz2
# (fc) 1.0-9mdk disable software update (Fedora)
Patch36:	mozilla-firefox-1.0-software-update.patch.bz2
# (fc) 1.0-9mdk add support for GNOME icons (Fedora)
Patch37:	mozilla-firefox-1.0-stock-icons.patch.bz2
# (fc) 1.0-9mdk set icons in buttons if available (Fedora)
Patch38:	mozilla-firefox-1.0-stock-icons-fe.patch.bz2
# (fc) 1.0-9mdk fix useragent (Fedora)
Patch39:	mozilla-firefox-1.0-useragent.patch.bz2
# (fc) 1.0-9mdk change default theme
Patch40:	mozilla-firefox-1.0-stock-icons-gnomestripe-0.2.patch.bz2
# (fc) 1.0-9mdk fix destdir in makefile (Debian)
Patch43:	mozilla-firefox-1.0-destdir.patch.bz2
# (fc) 1.0-9mdk fix about size (Debian)
Patch44:	mozilla-firefox-1.0-fixaboutsize.patch.bz2
# (fc) 1.0-9mdk don't call netstat to set entropy (Debian) (Mdk bug #9427)
Patch45:	mozilla-firefox-1.0-fixrandom.patch.bz2
# (fc) 1.0-9mdk ignore unknown mouse button even (Debian)
Patch46:	mozilla-firefox-1.0-unknownmousebutton.patch.bz2
# (fc) 1.0-9mdk download to desktop by default (Fedora)
Patch47:	mozilla-firefox-1.0-download-to-desktop.patch.bz2
# (fc) 1.0-9mdk quiet extension manager (Debian)
Patch48:	mozilla-firefox-1.0-quietextensions.patch.bz2
# (fc) 1.0-9mdk typeahead extension no longer conflicts with FF one (Christian)
Patch49:	mozilla-firefox-1.0-typeaheadextension.patch.bz2
# (fc) 1.0-9mdk fix extension manager to be multi-user (Debian)
Patch50:	mozilla-firefox-1.0-fixextensionmanager.patch.bz2
# (fc) 1.0-9mdk set kdestripe theme when running KDE
Patch51:	mozilla-firefox-1.0-kdestripe.patch.bz2
# (fc) 1.0-9mdk add -nox to allow theme registration without X running (Moz bug #265859)
Patch52:	mozilla-firefox-1.0-nox.patch.bz2
# (fc) 1.0.1-1mdk fix startup-script to open new url in new tab
Patch53:	mozilla-firefox-1.0.1-remote.patch.bz2
# (fc) 1.0.1-3mdk call g_set_application_name (CVS)
Patch54:	mozilla-firefox-1.0.1-g-application-name.patch.bz2
# (fc) 1.0.1-3mdk call g_set_application_name (CVS)
Patch55:	mozilla-firefox-1.0.1-remote-intern-atoms.patch.bz2
# (fc) 1.0.1-3mdk use gtk system colors (CVS)
Patch56:	mozilla-firefox-1.0.1-gtk-system-colors.patch.bz2
# (fc) 1.0.1-6mdk fix crash in prompt service (Moz bug #265599)
Patch57:	mozilla-firefox-1.0.1-gtkpromptservice.patch.bz2
# (fc) 1.0.1-6mdk fix modality of prompt service (Moz bug #224454)
Patch58:	mozilla-firefox-1.0.1-embedprompter-modal.patch.bz2
# (fc) 1.0.1-6mdk fix tooltip drawing in web page for embed (Moz bug #238052)
Patch59:	mozilla-firefox-1.0.1-embedtooltip.patch.bz2 
# (fc) 1.0.1-6mdk give access to DOM window for nsSecureBrowserUIImpl request (Moz bug #277587)
Patch60:	mozilla-firefox-1.0.1-securebrowserui-iirq.patch.bz2
# (fc) 1.0.1-7mdk fix detection on x86-64 (Moz bug #265536) (CVS)
Patch61:	mozilla-firefox-1.0.1-detectx8664.patch.bz2
# (fc) 1.0.1-7mdk fix tab memleaks (Moz bug #131456, 283063) (CVS)
Patch62:	mozilla-firefox-1.0.1-tabmemleaks.patch.bz2
# (fc) 1.0.2-3mdk add env variable to disable GNOME uri handler (Fedora)
Patch63:	mozilla-firefox-1.0-gnome-uriloader.patch.bz2
# (fc) 1.0.2-3mdk fix JS vulnerability (CVS) (Moz bug #288688)
Patch64:	mozilla-firefox-1.0.2-jsvulnerability.patch.bz2
# (fc) 1.0.2-3mdk fix chrome vulnerability (CVS) (Moz bug #288556)
Patch65:	mozilla-firefox-1.0.2-chromevulnerability.patch.bz2
# (fc) 1.0.2-4mdk fix showing a blocked popup has chrome privs (Moz bug #289204)
Patch66:	mozilla-firefox-1.0.2-289204.patch.bz2
# (fc) 1.0.2-4mdk fix XSS attack with getter/setter (Moz bug #289675)
Patch67:	mozilla-firefox-1.0.2-289675.patch.bz2
# (fc) 1.0.2-4mdk fix link tag allows to execute arbitrary code without user interaction (Moz bug #290036)
Patch68:	mozilla-firefox-1.0.2-290036.patch.bz2
# (fc) 1.0.2-4mdk fix search plugins can get javascript access to currently active tab (Moz bug #290037)
Patch69:	mozilla-firefox-1.0.2-290037.patch.bz2
# (fc) 1.0.2-4mdk fix arbitrary code execution via sidebar (Moz bug #290079)
Patch70:	mozilla-firefox-1.0.2-290079.patch.bz2
# (fc) 1.0.2-4mdk fix crash in xpinstall (Moz bug #290162)
Patch71:	mozilla-firefox-1.0.2-290162.patch.bz2
# (fc) 1.0.2-4mdk fix privilege escalation via DOM property overrides part1 (Moz bug #289083)
Patch72:	mozilla-firefox-1.0.2-289083.patch.bz2
# (fc) 1.0.2-4mdk fix privilege escalation via DOM property overrides part2 (Moz bug #289961)
Patch73:	mozilla-firefox-1.0.2-289961.patch.bz2
# (fc) 1.0.2-4mdk fix regression caused by security fix in 1.0.2 (Moz bug #287459)
Patch74:	mozilla-firefox-1.0.2-287459.patch.bz2
# (fc) 1.0.2-4mdk fix crash in typeahead (Moz bug #274625)
Patch75:	mozilla-firefox-1.0.2-274625.patch.bz2
# (fc) 1.0.2-4mdk fix privilege escalation via DOM property overrides part3 (Moz bug #289074)
Patch76:	mozilla-firefox-1.0.2-289074.patch.bz2
# (fc) 1.0.2-4mdk fix scanner overflow (Moz bug #244177)
Patch77:	mozilla-firefox-1.0.2-244177.patch.bz2
# (fc) 1.0.2-5mdk allow user to add search engine (Moz bug #123315)
Patch78:	mozilla-firefox-1.0.2-searchplugins.patch.bz2
# (fc) 1.0.2-6mdk fix Moz bug #290949
Patch79:	mozilla-firefox-1.0.3-290949.patch.bz2
# (fc) 1.0.2-6mdk fix Moz bug #292691
Patch80:	mozilla-firefox-1.0.3-292691.patch.bz2
# (fc) 1.0.2-6mdk clear memory after freeing it (Moz bug #290476)
Patch81:	mozilla-firefox-1.0.3-290476.patch.bz2
# (fc) 1.0.2-6mdk fix Moz bug #290908
Patch82:	mozilla-firefox-1.0.3-290908.patch.bz2
# (fc) 1.0.2-6mdk fix Moz bug #290777
Patch83:	mozilla-firefox-1.0.3-290777.patch.bz2
# (fc) 1.0.2-6mdk fix Moz bug #290982
Patch84:	mozilla-firefox-1.0.3-290982.patch.bz2
# (fc) 1.0.2-6mdk fix compilation with gcc4 (Fedora)
Patch85:	mozilla-firefox-1.0-gcc4-compile.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #294074
Patch86:        mozilla-firefox-1.0.2-294074.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #292774
Patch87:	mozilla-firefox-1.0.2-292774.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #297038
Patch88:	mozilla-firefox-1.0.2-297038.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #292737
Patch89:	mozilla-firefox-1.0.2-292737.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #298892
Patch90:	mozilla-firefox-1.0.2-298892.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #298255
Patch91:	mozilla-firefox-1.0.2-298255.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #292591
Patch92:	mozilla-firefox-1.0.2-292591.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #288006
Patch93:	mozilla-firefox-1.0.2-288006.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #289940
Patch94:	mozilla-firefox-1.0.2-289940.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #295457
Patch95:	mozilla-firefox-1.0.2-295457.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #245631
Patch96:	mozilla-firefox-1.0.2-245631.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #283777
Patch97:	mozilla-firefox-1.0.2-283777.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #299901
Patch98:	mozilla-firefox-1.0.2-299901.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #291094
Patch99:	mozilla-firefox-1.0.2-291094.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #297603
Patch100:	mozilla-firefox-1.0.2-297603.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #217967
Patch101:	mozilla-firefox-1.0.2-217967.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #296850
Patch102:	mozilla-firefox-1.0.2-296850.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #295093
Patch103:	mozilla-firefox-1.0.2-295093.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #296764
Patch104:	mozilla-firefox-1.0.2-296764.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #298478
Patch105:	mozilla-firefox-1.0.2-298478.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #294795
Patch106:	mozilla-firefox-1.0.2-294795.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #272336
Patch107:	mozilla-firefox-1.0.2-272336.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #296467
Patch108:	mozilla-firefox-1.0.2-296467.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #296397
Patch109:	mozilla-firefox-1.0.2-296397.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #299209
Patch110:	mozilla-firefox-1.0.2-299209.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #295052
Patch111:	mozilla-firefox-1.0.2-295052.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #295854
Patch112:	mozilla-firefox-1.0.2-295854.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #293331
Patch113:	mozilla-firefox-1.0.2-293331.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #295210
Patch114:	mozilla-firefox-1.0.2-295210.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #296704
Patch115:	mozilla-firefox-1.0.2-296704.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #141818
Patch116:	mozilla-firefox-1.0.2-141818.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #296830
Patch117:	mozilla-firefox-1.0.2-296830.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #292589
Patch118:	mozilla-firefox-1.0.2-292589.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #298934
Patch119:	mozilla-firefox-1.0.2-298934.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #297543
Patch120:	mozilla-firefox-1.0.2-297543.patch.bz2
# (fc) 1.0.2-8mdk fix Moz bug #300008
Patch121:	mozilla-firefox-1.0.2-300008.patch.bz2
# (fc) 1.0.2-9.1mdk fix Moz bug #293424
Patch122:	mozilla-firefox-1.0.2-293424.patch.bz2
# (fc) 1.0.2-9.1mdk security fix for MSFA2005-57
Patch123:	mozilla-firefox-1.0.6-mfsa2005-57.patch.bz2
# (fc) 1.0.2-9.1mdk security fix for MSFA2005-58
Patch124:	mozilla-firefox-1.0.6-mfsa2005-58.patch.bz2
# (fc) 1.0.2-9.1mdk fix command line parsing vulnerability (CVS)
Patch125:	mozilla-firefox-1.0.6-cmdlineparse.patch.bz2
# (fc) 1.0.2-9.1mdk fix pango crash (Mdk bug #18203)
Patch126:	mozilla-firefox-1.0.6-pangocrash.patch.bz2
# (fc) 1.0.2-10.1mdk fix Moz bug #293671 (CVS)
Patch127:	mozilla-firefox-1.0.2-293671.patch.bz2
# (fc) 1.0.2-10.1mdk fix CAN-2005-2353 (CVS)
Patch128:	mozilla-firefox-1.0.6-can2005-2353.patch.bz2


BuildRoot:      %_tmppath/%name-%version-buildroot
Requires:	gtk+2 >= 0:2.2.0
Requires:	indexhtml
BuildRequires:  pango-devel >= 1.5.90
BuildRequires:	libpng-devel
BuildRequires:	libgnome2-devel
BuildRequires:	libgnomeui2-devel
BuildRequires:	gtk+2-devel
BuildRequires:  zip
BuildRequires:  libIDL2-devel
BuildRequires:  ImageMagick
#BuildRequires:  cairo-devel
%if %mdkversion > 1000
BuildRequires:  autoconf2.1
%endif
Provides:	mozilla-firebird
Obsoletes:	mozilla-firebird
Provides:	webclient

%description
The Mozilla Firefox project aims to build the most useful web browser
for all platforms.

Mozilla Firefox features:

- Popup blocking built-in
- Tabbed browsing, to view more than one web page in a single window
- A comprehensive set of privacy options
- Search tools built right into the toolbar
- Live bookmarks, using RSS
- "Hassle-free" downloading, with fewer prompts

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

%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_nspr}:%{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
Requires:	%{name} = %{epoch_mozilla}:%{version}-%{release}
Summary:        Mozilla Firefox development files
Group:          Development/Other
Provides:	mozilla-firebird-devel
Obsoletes:	mozilla-firebird-devel
Requires:	%{lib_nss_name}-devel = %{epoch_nss}:%{version}-%{release}

%description devel
Mozilla Firefox development files.

%prep
%setup -q -c %{name}-%{version}
%setup -T -D -n %{name}-%{version}/mozilla
%{__tar} -xjf %{SOURCE29}
%{__tar} -xjf %{SOURCE30}
%patch0 -p1 -b .browser-home-page
%patch1 -p1 -b .plugindirs
%patch2 -p1 -b .check-default-browser
%patch3 -p1 -b .flash
%patch4 -p1 -b .browser-name
%patch5 -p1 -b .freetype2
%patch6 -p1 -b .load-full-dso
%patch11 -p1 -b .langdetect

%patch12 -p1 -b .psfonts
%patch13 -p1 -b .defaultplugin

# MathML patches
%patch14 -p1 -b .standardsym
%patch15 -p1 -b .mathmltimes
%patch16 -p1 -b .mathmlfixes

#Other patches
%patch17 -p1 -b .brazil-igp

%patch18 -p1 -b .prdtoa
%patch19 -p1 -b .separator
%patch20 -p1 -b .frameload
%patch21 -p1 -b .includepath
%patch22 -p1 -b .parent
%patch23 -p1 -b .repaint
%patch24 -p1 -b .renderingfreed
%patch25 -p1 -b .castella
%patch26 -p1 -b .gtkfilechooser
%patch27 -p1 -b .pkgconfig
%patch28 -p1 -b .stackdirection
%patch29 -p1 -b .gnomevfsdefaultapp
%patch30 -p1 -b .pangorender
%patch31 -p1 -b .lib64
%patch32 -p1 -b .nsprlib64
%patch33 -p1 -b .pango-selection
%patch34 -p1 -b .pango-space-width
%patch35 -p1 -b .defaultapplications
%patch36 -p1 -b .disable-software-update
%patch37 -p1 -b .stock-icons
%patch38 -p1 -b .stock-icons-fe
%patch39 -p1 -b .useragent
%patch40 -p1 -b .gnomestripe
#needed by patch40
chmod +x toolkit/themes/gnomestripe/global/generate-initial-jar.sh

%patch43 -p1 -b .destdir
%patch44 -p1 -b .aboutsize
%patch45 -p1 -b .fixrandom
%patch46 -p1 -b .unknownmousebutton
%patch47 -p1 -b .download-to-desktop
%patch48 -p1 -b .quietextensions
%patch49 -p1 -b .typeaheadextension
%patch50 -p1 -b .fixextensionmanager
%patch51 -p1 -b .kdestripe
%patch52 -p1 -b .nox
%patch53 -p1 -b .remote
%patch54 -p1 -b .g_set_application_name
%patch55 -p1 -b .remote_round_trip
%patch56 -p1 -b .gtk-system-color
%patch57 -p1 -b .gtkpromptservice
%patch58 -p1 -b .embedprompter-modal
%patch59 -p1 -b .embedtooltip
%patch60 -p1 -b .securebrowserui
%patch61 -p1 -b .detectx8664
%patch62 -p1 -b .tabmemleaks
%patch63 -p1 -b .gnome-uriloader
%patch64 -p1 -b .jsvulnerability
%patch65 -p1 -b .chromevulnerability
%patch66 -p1 -b .289204
%patch67 -p1 -b .289675
%patch68 -p1 -b .290036
%patch69 -p1 -b .290037
%patch70 -p1 -b .290079
%patch71 -p1 -b .290162
%patch72 -p1 -b .289083
%patch73 -p1 -b .289961
%patch74 -p1 -b .287459
%patch75 -p1 -b .274625
%patch76 -p1 -b .289074
%patch77 -p1 -b .244177
%patch78 -p1 -b .searchplugins
%patch79 -p1 -b .290949
%patch80 -p1 -b .292691
%patch81 -p1 -b .290476
%patch82 -p1 -b .290908
%patch83 -p1 -b .290777
%patch84 -p1 -b .290982
%patch85 -p1 -b .gcc4
%patch86 -p1 -b .294074
%patch87 -p1 -b .292774
%patch88 -p1 -b .297038
%patch89 -p1 -b .292737
%patch90 -p1 -b .298892
%patch91 -p1 -b .298255
%patch92 -p1 -b .292591
%patch93 -p1 -b .288006
%patch94 -p1 -b .289940
%patch95 -p1 -b .295457
%patch96 -p1 -b .245631
%patch97 -p1 -b .283777
%patch98 -p1 -b .299901
%patch99  -p1 -b .291094
%patch100 -p1 -b .297603
%patch101 -p1 -b .217967
%patch102 -p1 -b .296850
%patch103 -p1 -b .295093
%patch104 -p1 -b .296764
%patch105 -p1 -b .298478
%patch106 -p1 -b .294795
%patch107 -p1 -b .272336
%patch108 -p1 -b .296467
%patch109 -p1 -b .296397
%patch110 -p1 -b .299209
%patch111 -p1 -b .295052
%patch112 -p1 -b .295854
%patch113 -p1 -b .293331
%patch114 -p1 -b .295210
%patch115 -p1 -b .296704
%patch116 -p1 -b .141818
%patch117 -p1 -b .296830
%patch118 -p1 -b .292589
%patch119 -p1 -b .298934
%patch120 -p1 -b .297543
%patch121 -p1 -b .300008
%patch122 -p1 -b .293424
%patch123 -p1 -b .msfa2005-57
%patch124 -p1 -b .msfa2005-58
%patch125 -p1 -b .cmdlineparse
%patch126 -p1 -b .pangocrash
%patch127 -p1 -b .293671
%patch128 -p1 -b .can2005-2353

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

# gw the configure script doesn't substitude LIBDIR
%__sed -i -e "s!LIBDIR!%_libdir!" browser/app/mozilla.in 
autoconf

%build
%define __cputoolize	/bin/true
%if %mdkversion <= 1000
%define __libtoolize	/bin/true
%endif

# Build with -fabi-version=1 when compiling with gcc3.4+ so that a
# certain level of compatibility is kept to run Sun's Java plugin
GCC_VERSION=`gcc -dumpversion | perl -pe '/(\d+)\.(\d)\.?(\d)?/; $_="$1$2".($3||0)'`
[[ $GCC_VERSION -ge 340 ]] && export CXXFLAGS="-fabi-version=1"

export MOZ_BUILD_DATE="%{date}"
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
export MOZ_PHOENIX=1
%configure \
	--disable-pedantic \
	--without-system-nspr --enable-nspr-autoconf \
	--enable-optimize="%optflags" \
	--disable-debug	--disable-ldap --disable-tests \
	--disable-mailnews --disable-composer \
	--disable-strip \
	--disable-freetype2 \
	--enable-pango \
	--enable-crypto --enable-xinerama \
	--with-system-jpeg --with-system-png --with-system-zlib \
	--enable-default-toolkit=gtk2 --enable-xft \
	--enable-extensions=cookie,xml-rpc,xmlextras,pref,transformiix,universalchardet,webservices,inspector,negotiateauth,typeaheadfind \
	--enable-single-profile --disable-profilesharing \
	--enable-ipv6 \
	--disable-installer \
	--with-default-mozilla-five-home=%{_libdir}/%{lib_name}
# let jars get compressed
%__perl -p -i -e 's|\-0|\-9|g' config/make-jars.pl
%make

%install
%__rm -rf %buildroot
%makeinstall_std 

#replace browser version in user agent string
sed -i -e '/general\.useragent\.appSub/{N;s/%{version}/%{advertised_version}/g;}'  %buildroot%{_libdir}/%{lib_name}/defaults/pref/firefox.js 
mv %buildroot%_bindir/defaults/profile/prefs.js %buildroot%{_libdir}/%{lib_name}/defaults/profile/

#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}

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

# 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/ \;

#fix nspr location in nspr-config
cat nsprpub/config/nspr-config | sed -e "s|-I.*/nspr|-I\${prefix}/include/%{lib_name}/nspr|g" > $RPM_BUILD_ROOT%{_bindir}/nspr-config
chmod a+x $RPM_BUILD_ROOT%{_bindir}/nspr-config

ln -s -f %{exec_name}-nspr.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/mozilla-nspr.pc
ln -s -f %{exec_name}-nss.pc $RPM_BUILD_ROOT%{_libdir}/pkgconfig/mozilla-nss.pc

%__mkdir_p $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/

cp -f browser/app/profile/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/install.rdf $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/

#copy migration script
cp %{SOURCE31} $RPM_BUILD_ROOT/%{mozillalibdir}/init.d/S01migration.sh
chmod +x $RPM_BUILD_ROOT/%{mozillalibdir}/init.d/S01migration.sh


# Menu
%__mkdir_p %buildroot/%_menudir
cat > %buildroot/%_menudir/%{name} << EOF
?package(%{name}): \
command="%_bindir/mozilla-firefox" \
needs="X11" \
icon="%{name}.png" \
section="%section" \
title="%title" \
startup_notify="true" \
longtitle="%{summ}" \
mimetypes="text/html,text/xml,application/xhtml+xml,application/vnd.mozilla.xul+xml,text/mml"
EOF

# icons
%__mkdir_p %buildroot{%_liconsdir,%_iconsdir,%_miconsdir}
convert browser/app/default.xpm %buildroot/%_liconsdir/%{name}.png
convert -scale 32x32 browser/app/default.xpm %buildroot/%_iconsdir/%{name}.png
convert -scale 16x16 browser/app/default.xpm %buildroot/%_miconsdir/%{name}.png


# move Firefox stuff
%__mv %buildroot%_bindir/%up_ca_name %buildroot%_bindir/%exec_name
rm -f 
ln -s %_bindir/%exec_name %buildroot%_bindir/mozffremote


# install our rebuild file
cat %{SOURCE26} | sed -e "s|mozilla-MOZILLA_VERSION|%{lib_name}|g;s|LIBDIR|%{_libdir}|g;s|MOZILLA_NAME|%{exec_name}|g" > \
  $RPM_BUILD_ROOT%{mozillalibdir}/mozilla-rebuild-databases.pl

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

# install our file to rebuild the chrome registry so that we can
# produce firefox extensions in RPM
%__mkdir_p $RPM_BUILD_ROOT%{mozillalibdir}/chrome/rc.d
cat %{SOURCE27} > \
  $RPM_BUILD_ROOT%{mozillalibdir}/chrome/rc.d/generate-chrome.sh

chmod 755 $RPM_BUILD_ROOT%{mozillalibdir}/chrome/rc.d/generate-chrome.sh

%{__install} -p -D %{SOURCE28} $RPM_BUILD_ROOT%{_mandir}/man1/%{exec_name}.1

# remove unpackaged files
rm -rf $RPM_BUILD_ROOT%{mozillalibdir}/chrome/{browser,classic,comm,embed-sample,en-US,inspector,modern,pipnss,pippki,svg,toolkit,kdestripe,gnomestripe,help}

#multiarch 
%multiarch_binaries $RPM_BUILD_ROOT%{_bindir}/%{exec_name}-config
%multiarch_binaries $RPM_BUILD_ROOT%{_bindir}/nspr-config
%multiarch_includes $RPM_BUILD_ROOT%{mozillaincludedir}/{mozilla-config.h,js/jsautocfg.h}

#ghost files

touch $RPM_BUILD_ROOT%{mozillalibdir}/chrome/chrome.rdf
for overlay in {"browser","communicator","inspector","messenger","navigator"}; do
  %{__mkdir_p} $RPM_BUILD_ROOT%{mozillalibdir}/chrome/overlayinfo/$overlay/content
  touch $RPM_BUILD_ROOT%{mozillalibdir}/chrome/overlayinfo/$overlay/content/overlays.rdf
done
%__mkdir_p $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/uninstall
%__mkdir_p $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/chrome
touch $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/uninstall/Uninstall
%__mkdir_p $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{7f6759ff-489d-4bb3-8a11-a570ac184158}/chrome
%__mkdir_p $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{7f6759ff-489d-4bb3-8a11-a570ac184158}/uninstall
%__mkdir_p $RPM_BUILD_ROOT%{mozillalibdir}/extensions/temp
touch $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{7f6759ff-489d-4bb3-8a11-a570ac184158}/chrome/kdestripe.jar
touch $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{7f6759ff-489d-4bb3-8a11-a570ac184158}/uninstall/Uninstall
%__mkdir_p $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{47a62137-7705-400d-8226-7f633ce1455c}/chrome
%__mkdir_p $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{47a62137-7705-400d-8226-7f633ce1455c}/uninstall
touch $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{47a62137-7705-400d-8226-7f633ce1455c}/chrome/gnomestripe.jar
touch $RPM_BUILD_ROOT%{mozillalibdir}/extensions/{47a62137-7705-400d-8226-7f633ce1455c}/uninstall/Uninstall
touch $RPM_BUILD_ROOT%{mozillalibdir}/components.ini
touch $RPM_BUILD_ROOT%{mozillalibdir}/defaults.ini
touch $RPM_BUILD_ROOT%{mozillalibdir}/components/compreg.dat
touch $RPM_BUILD_ROOT%{mozillalibdir}/components/xpti.dat
touch $RPM_BUILD_ROOT%{mozillalibdir}/extensions/installed-extensions-processed.txt
touch $RPM_BUILD_ROOT%{mozillalibdir}/extensions/Extensions.rdf
touch $RPM_BUILD_ROOT%{mozillalibdir}/chrome/rc.d/installed-chrome.txt
touch $RPM_BUILD_ROOT%{mozillalibdir}/chrome/installed-chrome.txt.rc.d.old

%post
%update_menus
unset DISPLAY
%{mozillalibdir}/mozilla-rebuild-databases.pl
export MOZ_DISABLE_GNOME=1
export HOME="/root"
%name -- -nox -install-global-theme %{mozillalibdir}/chrome/kdestripe.jar
%name -- -nox -install-global-theme %{mozillalibdir}/chrome/gnomestripe.jar

if [ "$1" = "2" ]; then
    update-alternatives --remove webclient-gnome %{_bindir}/mozffremote
    update-alternatives --remove webclient-kde %{_bindir}/mozffremote
fi

%preun
# is an upgrade
if [ "$1" == "1" ]; then
    unset DISPLAY
    %{mozillalibdir}/mozilla-rebuild-databases.pl
fi

%postun
%clean_menus

%post devel
if [ "$1" = "2" ]; then
    update-alternatives --remove mozilla-config %_bindir/%exec_name-config
fi

%clean
%__rm -rf %buildroot

%files
%defattr(-,root,root)
%doc README.txt LEGAL LICENSE
%_bindir/%exec_name
%_bindir/mozffremote
%dir %mozillalibdir
%mozillalibdir/*
%ghost %{mozillalibdir}/chrome/chrome.rdf
%ghost %{mozillalibdir}/chrome/rc.d/installed-chrome.txt
%ghost %{mozillalibdir}/chrome/installed-chrome.txt.rc.d.old
%ghost %{mozillalibdir}/chrome/overlayinfo/browser/content/overlays.rdf
%ghost %{mozillalibdir}/chrome/overlayinfo/communicator/content/overlays.rdf
%ghost %{mozillalibdir}/chrome/overlayinfo/inspector/content/overlays.rdf
%ghost %{mozillalibdir}/chrome/overlayinfo/messenger/content/overlays.rdf
%ghost %{mozillalibdir}/chrome/overlayinfo/navigator/content/overlays.rdf
%ghost %{mozillalibdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}/uninstall/Uninstall
%ghost %{mozillalibdir}/extensions/{7f6759ff-489d-4bb3-8a11-a570ac184158}/chrome/kdestripe.jar
%ghost %{mozillalibdir}/extensions/{7f6759ff-489d-4bb3-8a11-a570ac184158}/uninstall/Uninstall
%ghost %{mozillalibdir}/extensions/{47a62137-7705-400d-8226-7f633ce1455c}/chrome/gnomestripe.jar
%ghost %{mozillalibdir}/extensions/{47a62137-7705-400d-8226-7f633ce1455c}/uninstall/Uninstall
%ghost %{mozillalibdir}/extensions/Extensions.rdf
%ghost %{mozillalibdir}/extensions/installed-extensions-processed.txt
%ghost %{mozillalibdir}/components.ini
%ghost %{mozillalibdir}/defaults.ini
%ghost %{mozillalibdir}/components/compreg.dat
%ghost %{mozillalibdir}/components/xpti.dat

%defattr(0644,root,root,0755)
%_menudir/*
%_miconsdir/*.png
%_iconsdir/*.png
%_liconsdir/*.png
%_mandir/man1/*

%files -n %{lib_nspr_name} 
%defattr(-, root, root)
%{_libdir}/libnspr4.so
%{_libdir}/libplc4.so
%{_libdir}/libplds4.so

%files -n %{lib_nspr_name}-devel 
%defattr(-, root, root)
%{_bindir}/nspr-config
%multiarch %{multiarch_bindir}/nspr-config
%dir %{mozillaincludedir}
%{mozillaincludedir}/nspr
%{_libdir}/pkgconfig/*-nspr.pc
%{_datadir}/aclocal/nspr.m4

%files -n %{lib_nss_name} 
%defattr(-, root, root)
%{_libdir}/libnssckbi.so
%{_libdir}/libnss3.so
%{_libdir}/libsmime3.so
%{_libdir}/libsoftokn3.so
%{_libdir}/libssl3.so

%{_libdir}/*.chk

%files -n %{lib_nss_name}-devel 
%defattr(-, root, root)
%{mozillaincludedir}/nss
%{_libdir}/pkgconfig/*-nss.pc

%files devel
%defattr (-,root,root)
%{_bindir}/%exec_name-config
%multiarch %{multiarch_bindir}/%exec_name-config
%multiarch %{multiarch_includedir}/%lib_name/js/jsautocfg.h
%multiarch %{multiarch_includedir}/%lib_name/mozilla-config.h
%mozillaincludedir/*
%exclude %mozillaincludedir/nss
%exclude %mozillaincludedir/nspr
%dir %_datadir/idl/%lib_name
%_datadir/idl/%lib_name/*
%_libdir/pkgconfig/*gtkmozembed.pc
%_libdir/pkgconfig/*js.pc
%_libdir/pkgconfig/*plugin.pc
%_libdir/pkgconfig/*xpcom*.pc

%changelog
* Mon Oct 03 2005 Frederic Crozat <fcrozat@mandriva.com> 1.0.2-10.1mdk 
- Update patches 76 & 79, some part were missing
- Update patch126 to fix regression in cursor positioning (Mdk bug #18980)
- Patch127: fix Moz bug #293671
- Patch128: fix CAN-2005-2353

* Thu Sep 22 2005 Frederic Crozat <fcrozat@mandriva.com> 1.0.2-9.1mdk
- Security update to sync with FF 1.0.7 :
  - Patch122: Fix moz bug #293424
  - Patch123: Security fix for MFSA2005-57
  - Patch124: Security fix for MFSA2005-58
  - Patch125: fix command line vulnerability
  - Update source26 : fix install when using sudo (Mdk bug #14715)
  - Patch126: fix pango crash (Mdk bug #18203)

* Thu Jul 21 2005 Frederic Crozat <fcrozat@mandriva.com> 1.0.2-9mdk 
- Fix regression from 1.0.5, resync with 1.0.6
 - update Patch120 from CVS, fixing API changes (Moz bug #300964)
 - update Patch94 from CVS, fix API regression (Moz bug #300852)
 - use %%mkrel on x86_64 as well (vdanen)

* Wed Jul 13 2005 Frederic Crozat <fcrozat@mandriva.com> 1.0.2-8mdk 
- Security update to sync with 1.0.5 :
 - Patch86 (CVS) : fix Moz bug #294074
 - Patch87 (CVS) : fix Moz bug #292774
 - Patch88 (CVS) : fix Moz bug #297038
 - Patch89 (CVS) : fix Moz bug #292737
 - Patch90 (CVS) : fix Moz bug #298892
 - Patch91 (CVS) : fix Moz bug #298255
 - Patch92 (CVS) : fix Moz bug #292591
 - Patch93 (CVS) : fix Moz bug #288006
 - Patch94 (CVS) : fix Moz bug #289940
 - Patch95 (CVS) : fix Moz bug #295457
 - Patch96 (CVS) : fix Moz bug #245631
 - Patch97 (CVS) : fix Moz bug #283777
 - Patch98 (CVS) : fix Moz bug #299901
 - Patch99  (CVS) : fix Moz bug #291094
 - Patch100 (CVS) : fix Moz bug #297603
 - Patch101 (CVS) : fix Moz bug #217967
 - Patch102 (CVS) : fix Moz bug #296850
 - Patch103 (CVS) : fix Moz bug #295093
 - Patch104 (CVS) : fix Moz bug #296764
 - Patch105 (CVS) : fix Moz bug #298478
 - Patch106 (CVS) : fix Moz bug #294795
 - Patch107 (CVS) : fix Moz bug #272336
 - Patch108 (CVS) : fix Moz bug #296467
 - Patch109 (CVS) : fix Moz bug #296397
 - Patch110 (CVS) : fix Moz bug #299209
 - Patch111 (CVS) : fix Moz bug #295052
 - Patch112 (CVS) : fix Moz bug #295854
 - Patch113 (CVS) : fix Moz bug #293331
 - Patch114 (CVS) : fix Moz bug #295210
 - Patch115 (CVS) : fix Moz bug #296704
 - Patch116 (CVS) : fix Moz bug #141818
 - Patch117 (CVS) : fix Moz bug #296830
 - Patch118 (CVS) : fix Moz bug #292589
 - Patch119 (CVS) : fix Moz bug #298934
 - Patch120 (CVS) : fix Moz bug #297543
 - Patch121 (CVS) : fix Moz bug #300008

* Tue May 17 2005 Frederic Crozat <fcrozat@mandriva.com> 1.0.2-7mdk 
- Patch default user agent string to say this is version 1.0.4 of 
  Firefox, need to circonvent addons.mozilla.org browser detection
  (Mdk bug #15987)

* Fri May 13 2005 Frederic Crozat <fcrozat@mandriva.com> 1.0.2-6mdk 
- Security update to sync with 1.0.4 :
 - Patch79 (CVS): fix Moz bug #290949
 - Patch80 (CVS): fix Moz bug #292691 
 - Patch81 (CVS): clear memory after freeing it (Moz bug #290476)
 - Patch82 (CVS): fix Moz bug #290908
 - Patch83 (CVS): fix Moz bug #290777
 - Patch84 (CVS): fix Moz bug #290982
- Patch85 (Fedora): fix build with gcc 4

* Tue Apr 19 2005 Frederic Crozat <fcrozat@mandriva.com> 1.0.2-5mdk 
- Patch78 (Debian) : allow adding search engines as user (Moz bug 123315)

* Mon Apr 18 2005 Frederic Crozat <fcrozat@mandriva.com> 1.0.2-4mdk
- Security update to sync with 1.0.3 :
  - Update patch64 with fix for Moz bug #288818
  - Update patch65 with fix for Moz bug #289171
  - Patch66 (CVS): fix showing a blocked popup has chrome privs (Moz bug #289204)
  - Patch67 (CVS): fix XSS attack with getter/setter (Moz bug #289675)
  - Patch68 (CVS): fix link tag allows to execute arbitrary code without user interaction (Moz bug #290036)
  - Patch69 (CVS): fix search plugins can get javascript access to currently active tab (Moz bug #290037)
  - Patch70 (CVS): fix arbitrary code execution via sidebar (Moz bug #290079)
  - Patch71 (CVS): fix crash in xpinstall (Moz bug #290162)
  - Patch72 (CVS): fix privilege escalation via DOM property overrides part1 (Moz bug #289083)
  - Patch73 (CVS): fix privilege escalation via DOM property overrides part2 (Moz bug #289961)
  - Patch74 (CVS): fix regression caused by security fix in 1.0.2 (Moz bug #287459)
  - Patch75 (CVS): fix crash in typeahead (Moz bug #274625)
  - Patch76 (CVS): fix privilege escalation via DOM property overrides part3 (Moz bug #289074)
  - Patch77 (CVS): fix scanner overflow (Moz bug #244177)

* Tue Apr 05 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.2-3mdk 
- Update patch26 to really really register FF (Mdk bug #14987), 
  set HOME if it isn't set (fix segfault in mandrake_firstime) and 
  fix perl syntax (rafael)
- Patch63 (Fedora) : add env variable to disable GNOME url handler 
- Patch64 (CVS): fix JS vulnerability (Moz bug #288688)
- Patch65 (CVS): fix chrome vulnerability (Moz bug #288556)

* Thu Mar 24 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.2-2mdk 
- Update source31 to not complain when profile directory doesn't exist (laurent)
- Update source30/31 : fix bad appeareance for about:plugins in KDE/GNOME themes (gb)
- Update source30 : fix wrong sizing for Crystal buttons (Nikos Platis)
- Update source26 to really register FF 
- Update patch40 to use original version of gnomestripe for classic theme

* Thu Mar 24 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.2-1mdk 
- Security release : 1.0.2

* Wed Mar 23 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-11mdk 
- Fix source26 and correctly replace exec name in it 
- Update source30/patch40 to fix Mdk bug #14929

* Tue Mar 22 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-10mdk 
- Update source26 to not delete chrome.rdf, fixes Mdk bug #14795

* Fri Mar 18 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-9mdk 
- Update source30, patch40/remove source31, patch41 to generate gnomestripe in a separate jar
- Update source26 to not crash when using sudo to install package
- Update patch51 to use gnomestripe for GNOME, kdestripe for KDE or classic for others
- add Source31: migration script, fix missing icons when using old profile

* Tue Mar 15 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-8mdk 
- Fix nspr header location in nspr-config

* Tue Mar 15 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-7mdk 
- Patch61 (CVS): fix x86-64 detection (Moz bug #265536)
- Patch62 (CVS): fix tab memleaks (Moz bug #283063)
- Force generation of cert infos (fix Mdk bug #14155)
- Update patch36 to enable update for extensions/themes (Mdk bug #14235)

* Mon Mar 14 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-6mdk 
- Patch57: fix crash in prompt service (Moz bug #265599)
- Patch58: fix modality of prompt service (Moz bug #224454)
- Patch59: fix tooltip drawing in web page for embed (Moz bug #238052)
- Patch60: give access to DOM window for nsSecureBrowserUIImpl request (Moz bug #277587)

* Wed Mar  9 2005 Götz Waschk <waschk@linux-mandrake.com> 1.0.1-5mdk
- fix menu longtitle (mdk bug #13880)

* Wed Mar 02 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-4mdk 
- Update patch53 to fix Mdk bug #14195

* Wed Mar 02 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-3mdk 
- Patch54 (CVS): call g_set_application_name
- Patch55 (CVS): reduce round trips to xserver during remote control
- Patch56 (CVS): Request the correct system colors from gtk 

* Wed Mar 02 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-2mdk 
- Update patch4 to fix Mdk bug 14186 

* Fri Feb 25 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0.1-1mdk
- Release 1.0.1
- Remove patch 42 (merged upstream)
- put nss and nspr in their own subpackages, to replace mozilla ones
- Patch53 : open new urls on CLI in new-tab, duplicating mozffremote feature
- Drop devel alternatives, firefox devel packages is not the exactly same
  beast as mozilla devel packages.

* Tue Feb 22 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-13mdk 
- Remove some dependency exceptions
- Drop webclient-gnome/kde alternative

* Tue Feb 22 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-12mdk 
- Update patch49, should fix Mdk bug 12537

* Wed Feb 16 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-11mdk 
- Build typeaheadfind extension
- Disable SVG support (not stable enough)
- multiarch

* Sun Jan 23 2005 Guillaume Rousse <guillomovitch@mandrake.org> 1.0-10mdk 
- fix buildrequires

* Thu Jan 20 2005 Frederic Crozat <fcrozat@mandrakesoft.com> 1.0-9mdk 
- Include mozilla package patches :
 - Patch12: set ps default fonts for some asiatic languages
 - Patch13: make default plugin less annoying 
 - Patch14: use Standard Symbols L too for MathML
 - Patch15: fix problem with time font in MathML
 - Patch16: patches for MathML
 - Patch17: Add IGP Brasil CA certificate
 - Patch18: Workaround problems with prdtoa
 - Patch19: fix separator key
 - Patch20: fix frame loading in gecko
 - Patch21: fix include path in mozilla-xpcom.pc
 - Patch22: fix parent window level with modal dialogs
 - Patch23: fix repaint over settimeout 
 - Patch24: don't access freed rendering context
 - Patch25: try to load castella PKCS#11 module if available 
 - Patch26: fix and enable GTK2 filechooser
 - Patch27: fix pkgconfig calls
 - Patch28: prevent inlining of stack direction detection
 - Patch30: Pango rendering
 - Patch31: fix dynamic library loading on 64bit system
 - Patch32: fix nspr-config script to be 64bit friendly
 - Patch33: use pango for selection
 - Patch34: fix spacing in textarea when using pango for rendering

- Patch29 (Fedora): Fix problem where default apps aren't showing up in the download dialog (Fedora)
- Patch35 (Fedora): fix default apps in download dialog and kill check browser at startup UI
- Patch36 (Fedora): disable software update
- Patch37 (Fedora): add support for GNOME icons 
- Patch38 (Fedora): set icons in buttons if available
- Patch39 (Fedora): fix useragent
- Patch40 (Fedora): change default theme 
- Patch41 (Fedora): various fixes for gnomestripes
- Patch42 (CVS): fix crash when fonts are no longer available (Moz bug #180309)
- Patch43 (Debian): fix destdir in makefile 
- Patch44 (Debian): fix about size 
- Patch45 (Debian): don't call netstat to set entropy (Mdk bug #9427)
- Patch46 (Debian): ignore unknown mouse button even
- Patch47 (Fedora): download to desktop by default
- Patch48 (Debian): quiet extensions manager
- Patch49 (Christian): typeahead extension no longer conflicts with FF one
- Patch50 (Debian): fix extension manager to be multi-user
- Patch51: set kdestripe theme when running under KDE
- Patch52: allow theme registration without X running (Moz bug #265859)
- Update patch11 with more simple version from Debian
- Source30 : KDE CrystalSVG icons for Firefox
- Source31 : missing icons for gnomestripe

- Clean specfile :
 - Use fixed release date as build date
 - Don't let build system strip files, let rpm handle it (fedora)
 - Use a subdirectory for storing sources, allowing parallel build with seamonkey
 - disable freetype2 build
 - enable pango rendering

* Tue Dec 14 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-8mdk
- patches from Yuri Bugelli:
  - don't try to register as default browser on startup
  - fix default home page

* Fri Dec 10 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-7mdk
- add the releasetag stuff

* Fri Dec 10 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-6mdk
- fix language detection again, thanks to Yuri Bugelli)

* Mon Dec  6 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-5mdk
- fix bug 12588 (language detection, thanks to Eric Pielbug)

* Sat Nov 27 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-4mdk
- fix buildrequires

* Wed Nov 24 2004 Jean-Michel Dault <jmdault@revolutionlinux.com> 1.0-3mdk
- rebuild with new cairo and pixman libs
- export HOME before running mozilla-register otherwise we get segfaults
  when installing under drakX
- do not use soundwrapper, it doesn't work with Java and Flash supports 
  esd natively.

* Tue Nov 16 2004 Jean-Michel Dault <jmdault@revolutionlinux.com> 1.0-2mdk
- merge patches from MDK and RVLX

* Tue Nov  9 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-1mdk
- fix buildrequires
- new version

* Fri Nov  5 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-0.rc2.1mdk
- fix source URL
- new version

* Wed Nov  3 2004 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 1.0-0.rc1.2mdk
- really load libXext.so.6 and libXt.so.6

* Thu Oct 28 2004 Götz Waschk <waschk@linux-mandrake.com> 1.0-0.rc1.1mdk
- drop patch 10
- drop merged patches 6,7,8,9
- rediff patch 4
- add gpg signature
- new version

* Mon Oct 11 2004 Benoit des Ligneris <bdesligneris@revolutionlinux.com> 0.10.1-6mdk
- patch for langage detection (use the locales of the user)
- update the patch to accomodate the new naming schemes of langages files

* Mon Oct 11 2004 Benoit des Ligneris <bdesligneris@revolutionlinux.com> 0.10.1-5mdk
- update mozilla-rebuildatabase.pl.in so that it rebuild the installed-chrome.txt
  according to the rc.d directory (source26)
- put the script to do this in source27 (generate-chrome.sh)
- remove the debug infor of the generate-chrome.sh script

* Thu Oct  7 2004 Götz Waschk <waschk@linux-mandrake.com> 0.10.1-4mdk
- update from Crispin Boylan:
  - clean up build options, remove old or obsolete configure switches 
  - use mozilla standard enable-extensions list
 
* Mon Oct  4 2004 Götz Waschk <waschk@linux-mandrake.com> 0.10.1-3mdk
- update menu entry
- simplify post script
- reenable freetype
- port some patches from fedora

* Mon Oct  4 2004 Götz Waschk <waschk@linux-mandrake.com> 0.10.1-2mdk
- enable optimization (Giuseppe Ghibò)

* Sun Oct  3 2004 Goetz Waschk <waschk@linux-mandrake.com> 0.10.1-1mdk
- New release 0.10.1

* Wed Sep 22 2004 Götz Waschk <waschk@linux-mandrake.com> 0.10-3mdk
- fix mozilla-firefox script (bug 11674)

* Sun Sep 19 2004 Götz Waschk <waschk@linux-mandrake.com> 0.10-2mdk
- replace Xvfb hack by mozilla-firefox -register call (bug #11604)

* Tue Sep 14 2004 Götz Waschk <waschk@linux-mandrake.com> 0.10-1mdk
- fix installation
- fix menu section to make builds on older distributions simple
- new version

* Sat Aug 21 2004 Jerome Soyer <saispo@mandrake.org> 0.9.3-3mdk
- fix menu entry

* Fri Aug 06 2004 Buchan Milne <bgmilne@linux-mandrake.com> 0.9.3-2mdk
- run scripts this package owns in preun (so they are actually present)

* Thu Aug  5 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9.3-1mdk
- New release 0.9.3

* Fri Jul 16 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9.2-3mdk
- from debian package
  - sleep 15 seconds
  - disable installer configure option
  - use cairo for svg

* Thu Jul 15 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9.2-2mdk
- enable svg

* Mon Jul 12 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9.2-1mdk
- use hacks from the fedora package to run mozilla-firefox as root first
- update mozffremote script
- fix source URL
- New release 0.9.2

* Tue Jun 29 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9.1-1mdk
- fix buildrequires for 10.0
- fix startup script again
- New release 0.9.1

* Sun Jun 27 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9-3mdk
- fix mozffremote startup script

* Fri Jun 25 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9-2mdk
- fix buildrequires

* Thu Jun 24 2004 Götz Waschk <waschk@linux-mandrake.com> 0.9-1mdk
- patch 4: rename firefox to mozilla-firefox everywhere
- drop patch 2
- add rebuild databases script
- simplify installation
- disable profile sharing
- Rebuild with -fabi-version=1 to retain compatibility with statically
  linked Sun's JRE 1.4.2 plugin
- disable freetype2 build
- fix source URL
- New release 0.9

* Fri Apr  2 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-15mdk
- patch3: fix flash plugin
- fix menu entry

* Mon Mar 01 2004 David Walluck <walluck@linux-mandrake.com> 0:0.8-14mdk
- move alternatives scripts to devel package %%post/%%postun
- install mozilla-rebuild-databases.pl

* Tue Feb 24 2004 David Walluck <walluck@linux-mandrake.com> 0:0.8-13mdk
- don't own mozilla-config

* Tue Feb 24 2004 David Walluck <walluck@linux-mandrake.com> 0:0.8-12mdk
- more exact regex to match mozilla-<version>
- use macros where possible
- own %%_includedir/%{lib_name} directory
- alternativize mozilla-config and pkgconfig files
- export MOZ_BUILD_DATE
- use %%configure

* Mon Feb 23 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-11mdk
- fix webclient-kde alternative
- don't set the mozilla version to the firefox version
- use the makeinstall_std macro
- simplify the build

* Sun Feb 22 2004 David Walluck <walluck@linux-mandrake.com> 0:0.8-10mdk
- symlink %%exec_name-config to mozilla-config
- fix paths in mozilla-config

* Fri Feb 20 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-9mdk
- fix patch 2 (--short-circuit is evil)

* Fri Feb 20 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-8mdk
- fix conflict with other mozillas (Dank an Frederik Himpe)

* Wed Feb 18 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-7mdk
- compress the jar files
- revert to the free icons

* Sat Feb 14 2004 David Walluck <walluck@linux-mandrake.com> 0:0.8-6mdk
- add epochs
- update menu section for 10.0
- merge icons provided by Mark Baas <m.baas@zarb.org>

* Fri Feb 13 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-5mdk
- revert icon change

* Fri Feb 13 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-4mdk
- replace the icon

* Thu Feb 12 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-3mdk
- update the mozffremote script to open a new window if started without an URL
- use the mozffremote script in the menu

* Tue Feb 10 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-2mdk
- register firefox as gnome webclient
- add mozffremote script from kk1

* Mon Feb  9 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8-1mdk
- use Imagemagick for the icons
- renamed from mozilla-firebird
- new version

* Wed Oct 15 2003 Götz Waschk <waschk@linux-mandrake.com> 0.7-1mdk
- new version

* Fri Sep  5 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.1-6mdk
- patch1: set the plugin dir to %_libdir/mozilla/plugins and ~/.mozilla/plugins

* Wed Sep  3 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.1-5mdk
- arrgh, fix the spec file 

* Wed Sep  3 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.1-4mdk
- don't provide libnspr and libnss

* Mon Sep 1 2003 Tibor Pittich <Tibor Pittich@phuture.sk> 0.6.1-3mdk
- requires indexhtml

* Mon Sep 1 2003 Tibor Pittich <Tibor.Pittich@phuture.sk> 0.6.1-2mdk
- merged patch from mozilla to set default home page as other browsers
  included in mandrake distro (#5029)

* Wed Jul 30 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6.1-1mdk
- moz_name is 1.5a
- source url
- new version

* Mon Jul 28 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6-0.7mdk
- fix typo in the devel conflicts

* Mon Jul 21 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6-0.6mdk
- disable pedantic flag to fix build

* Thu Jul 17 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6-0.5mdk
- add some more conflicts
- fix dir ownership

* Tue Jul 15 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6-0.4mdk
- remove redundant buildrequires
- the devel package conflicts with mozilla-devel (pkgconfig files)
- don't own %_libdir/pkgconfig
- move pkgconfig files to the devel package 

* Tue Jul 15 2003 Götz Waschk <waschk@linux-mandrake.com> 0.6-0.3mdk
- fix buildrequires

* Mon May 27 2003 Tibor Pittich <Tibor.Pittich@phuture.sk> 0.6-0.2mdk
- change package name - all characters now are lowercase
- mixed numeric and and alphanumeric characters in release name isn't good
  idea (Guillaume Rousse)
- import icons from Han's rpm - http://iconpacks.mozdev.org/phoenix/
  credit to J.A. Magallon
- build with separated lib home - this can allow coexist together with mozilla
- disable ldap stuff
- improved description

* Sat May 24 2003 Tibor Pittich <Tibor.Pittich@phuture.sk> 0.6-0.UNTESTED.1mdk
- WOW! now we have MozillaFirebird package in Cooker :-)
- based on mozilla.spec
- this is pre-alfa testing rpm build!! - new versions of rpm package will be
  released soon.. Please test it and report problems..
- libnspr and libnss is packaged with MozillaFirebird package due to mozilla's
  libraries, now only devel package is separated