firefox.spec revision 10544
#
# Copyright (c) Sun Microsystems, Inc.
#
# Owner: davelam
#
#####################################
## Package Information Section ##
#####################################
Release: 1
Source: http://ftp.mozilla.org/pub/mozilla.org/%{name}/releases/%{tarball_version}/source/%{name}-%{tarball_version}-source.tar.bz2
%if %with_apoc_adapter
# owner:davelam date:2005-08-22 type:branding
# change install dir from 'name-version' to 'name'
# owner:laca date:2005-10-14 type:branding
# add -lxpcom_core to libs which fixes the build of yelp
# owner:davelam date:2006-03-31 type:branding
# change startup script to support multi-language
# owner:davelam date:2006-06-12 type:bug
# bugster:6428445
# owner:davelam date:2005-09-01 type:branding
# let moz patch checker support S10 and S11
# owner:davelam date:2005-09-05 type:branding
# remove gtar specific options
# owner:davelam date:2006-02-24 type:branding
# enable firefox preload mechanism
# owner:davelam date:2006-01-13 type:branding
# let firefox use system bundled nss,nspr
# owner:davelam date:2006-07-07 type:branding
# comment LD_LIBRARY_PATH setting
# owner:davelam date:2006-09-07 type:branding
# remove moz patch checker from package
%if %with_apoc_adapter
# owner:hawklu date:2006-11-27 type:bug bugster:6478680
# change to enable apoc adapter
# owner:hawklu date:2006-12-07 type:branding
# add "solaris user guide" to bookmark and default homepage
# owner:dcarbery date:2007-02-12 type:branding
%if %with_apoc_adapter
# owner:hawklu date:2007-03-20 type:branding bugster: 6521792
# owner:hawklu date:2007-04-04 type:bug state:upstream
# bugster: CR6331694 partly fixed
# owner:hawklu date:2007-04-27 type:branding
# bugster:6542910
#####################################
## Package Defines Section ##
#####################################
#####################################
## Package Requirements Section ##
#####################################
#####################################
## Package Description Section ##
#####################################
#####################################
## Package Preparation Section ##
#####################################
%prep
%if %with_apoc_adapter
%else
cd ..
cd %{name}
%if %with_apoc_adapter
#####################################
## Package Build Section ##
#####################################
fi
%else
CPUS=1
fi
%if %with_apoc_adapter
echo "ac_add_options --enable-extensions=default,apoc" >> .mozconfig
# Enable timeline (profiling) features in nightly builds, per Brian Lu.
make export
# FIXME: disabled parallel build as it seems to break the build sometimes
BUILDDIR=`pwd`
cd $RPM_BUILD_ROOT%{_libdir}
# Don't deliver nss, nspr header files on Solaris
# copy the nss files to the right place
cd ${BUILDDIR}
%else
# install the man page
# install preloaded library list that would be picked up by gdmprefetch
-e 's,FIREFOX_LIB_DIR,%{_ffdir},g' %{SOURCE6} > \
echo "%{nss_nspr_dir}/cpu/sparcv8plus/libnspr_flt4.so" >> \
# create symbol link libnssckbi.so -> /usr/lib/mps/libnssckbi.so
# to fix bug CR#6459752
# remove the empty directories
# cpu/sparcv8plus/libnspr_flt4.so is not packaged
# install firefox.cfg
#########################################
## Package Post[Un] Install Section ##
#########################################
%post
# run ldconfig before regxpcom
#####################################
## Package Files Section ##
#####################################
%{_ffdir}/*
* Thu Apr 12 2007 - dave.lin@sun.com
- # bugster: CR6331694 partly fixed, the patch has been upstreamed
upstreamed in 2.0.0.2
* Mon Feb 12 2007 - damien.carbery@sun.com
* Thu Jan 18 2007 - damien.carbery@sun.com
* Wed Jan 17 2007 - damien.carbery@sun.com
Firefox 2.0
* Thu Dec 28 2006 - dave.lin@sun.com
- change the patch type to branding for some patches in patch comments
- bump version to 2.0.0.1
* Thu Dec 07 2006 - brian.lu@sun.com
- Add "solaris developer guide" to bookmark and default home page etc
* Wed Nov 29 2006 - damien.carbery@sun.com
* Tue Nov 28 2006 - dave.lin@sun.com
- add %if %with_apoc_adapter to conditinoally disable building apoc
adapter, default: build apoc adapter, use
--without-apoc-adapter to disable it
- remove empty firefox/cpu/sparcv8plus and firefox/cpu
* Mon Nov 27 2006 - dave.lin@sun.com
- enable apoc adapter(CR#6478680)
- move manpage related part in "%ifos linux" since SUNWfirefox.spec
would cover that on Solaris
* Fri Nov 17 2006 - dave.lin@sun.com
- add patch comments
* Wed Oct 25 2006 - dave.lin@sun.com
- bump verion to 2.0(official release)
* Fri Oct 20 2006 - dave.lin@sun.com
- bump version to 2.0rc3
* Mon Oct 09 2006 - dave.lin@sun.com
- bump version to 2.0rc2
* Thu Sep 07 2006 - dave.lin@sun.com
- add patch firefox-09-no-pkg-files.diff to remove patch checker scripts
- create symbol link libnssckbi.so -> /usr/lib/mps/libnssckbi.so
* Thu Jul 27 2006 - damien.carbery@sun.com
* Wed Jul 26 2006 - matt.keenan@sun.com
* Fri Apr 14 2006 - dave.lin@sun.com
- removed firefox-chrome-lang.txt per l10n team's request, firefox uses new
for Linux
- Remove useless sources and patch
* Thu Dec 15 2005 - dave.lin@sun.com
- Add patch firefox-09-yelp-hang.diff to fix yelp hang problem.
* Fri Dec 02 2005 - damien.carbery@sun.com
- Add Makefile.in patch to link fontconfig and Xft libraries.
- make from top directory to build nsIconChannel.o.
* Fri Dec 02 2005 - dave.lin@sun.com
- Bump tarball version to 1.5.
- Modify the configuration options
* Fri Nov 11 2005 - dave.lin@sun.com
- Bump tarball version to 1.5rc3.
* Fri Nov 11 2005 - halton.huo@sun.com
- Bump tarball version to 1.5rc2.
* Tue Nov 08 2005 - dave.lin@sun.com
- Bump tarball version to 1.5rc1
- Remove the patch mozilla-07-bz307041.diff since it's upstreamed in 1.5rc1 already
* Mon Sep 26 2005 - <halton.huo@sun.com>
* Thu Sep 08 2005 - damien.carbery@sun.com
* Fri Sep 01 2005 - damien.carbery@sun.com
* Mon Aug 22 2005 Dave Lin <dave.lin@sun.com>
- initial version of the spec file created