firefox.spec revision 16801
#
# Copyright (c) Sun Microsystems, Inc.
#
# Owner: davelam
# bugdb: bugzilla.mozilla.org
#
#####################################
## Package Information Section ##
#####################################
Release: 1
Source: http://ftp.mozilla.org/pub/mozilla.org/%{name}/releases/%{tarball_version}/source/%{name}-%{tarball_version}-source.tar.bz2
# owner:hawklu date:2007-11-28 type:branding
# change preference to support multi-language
# owner:davelam date:2006-02-24 type:branding
# enable firefox preload mechanism
# owner:hawklu date:2007-04-27 type:branding
# bugster:6542910
# owner:ginnchen date:2009-04-27 type:bug
# bugzilla:487197
# owner:fujiwara date:2008-04-10 type:bug
# bugster:6686579 bugzilla:285267
# owner:ginnchen date:2008-08-19 type:bug
# bugster:6724471 bugzilla:451007
# owner:ginnchen date:2008-09-19 type:bug
# bugzilla:442231 bugzilla:499660 status:upstream
# owner:alfred date:2008-10-10 type:bug bugster:6750518 bugzilla:456719
# owner:ginnchen date:2008-10-15 type:feature
# bugzilla:457196
# owner:ginnchen date:2008-11-27 type:bug bugzilla:464443
# owner:ginnchen date:2009-05-21 type:branding
# owner:ginnchen date:2009-06-05 type:bug bugzilla:492720 status:upstream
# owner:hawklu date:2008-12-12 type:bug bugzilla:468041 status:upstream
# owner:ginnchen date:2009-03-04 type:feature bugzilla:478390 bugster:6805829
# owner:hawklu date:2008-12-16 type:branding
# owner:hawklu date:2008-04-20 type:branding bugster:664645
# owner:brian.lu date:2009-02-04 type:branding bugster:6801006
# owner:brian.lu date:2009-02-04 type:branding bugster:6478680
# owner:leon.sha date:2009-07-16 type:bug bugzilla:504043 status:upsteam
# owner:ginnchen date:2009-03-30 type:branding
# disable sessionstore for form by default
# owner:alfred date:2009-03-02 type:branding
# owner:hawklu date:2009-05-19 type:bug doo:8471 status:upstream
# owner:hawklu date:2009-05-22 type:bug doo:9112
# owner:hawklu date:2009-07-13 type:bug doo:10012
# owner:chrisk date:2009-07-19 type:bug
#####################################
## Package Defines Section ##
#####################################
%else
#####################################
## Package Requirements Section ##
#####################################
#####################################
## Package Description Section ##
#####################################
#####################################
## Package Preparation Section ##
#####################################
%prep
%else
cd ..
then
fi
then
fi
cd %{name}
#####################################
## Package Build Section ##
#####################################
fi
%else
CPUS=1
fi
%if %option_with_debug
echo "ac_add_options --enable-extensions=default,apoc" >> .mozconfig
#Build in a separated directory
cd ../obj
# install firefox.cfg (make debugging easier in obj/dist/bin)
cd firefox*
# Fix *.h *.idl attribute issue
# install preloaded library list that would be picked up by gdmprefetch
-e 's,FIREFOX_LIB_DIR,%{_ffdir},g' %{SOURCE3} > \
# install firefox.cfg
# install firefox-xpcom.pc
-e "s,LIBDIR,%{_libdir},g" \
-e "s,DATADIR,%{_datadir},g"\
-e "s,IDLDIR,%{_datadir}/idl/%{name},g"\
-e "s,INCLUDEDIR,%{_includedir},g" \
-e "s,NAME,%{name},g" \
-e "s,REQUIRES_NSPR,Requires: nspr >= 4.7,g" \
-e "s,NSPR_LIB,,g" \
-e "s,NSPR_INCLUDE,,g" \
%else
-e "s,REQUIRES_NSPR,,g" \
-e "s,NSPR_RUNPATH,,g" \
-e "s,NSPR_LIB,-lnspr4,g" \
-e "s,NSPR_INCLUDE,-I\$\{includedir\}/nspr,g" \
-e "s,LIBDIR,%{_libdir},g" \
-e "s,DATADIR,%{_datadir},g"\
-e "s,INCLUDEDIR,%{_includedir},g" \
-e "s,NAME,%{name},g" \
-e "s,LIBDIR,%{_libdir},g" \
-e "s,DATADIR,%{_datadir},g"\
-e "s,INCLUDEDIR,%{_includedir},g" \
-e "s,NAME,%{name},g" \
-e "s,REQUIRES_NSPR,Requires: nspr >= 4.7,g" \
-e "s,NSPR_LIB,,g" \
-e "s,NSPR_INCLUDE,,g" \
%else
-e "s,REQUIRES_NSPR,,g" \
-e "s,NSPR_RUNPATH,,g" \
-e "s,NSPR_LIB,-lnspr4,g" \
-e "s,NSPR_INCLUDE,-I\$\{includedir\}/nspr,g" \
# remove local dictionary and share the one that delivered
# by myspell-dictionary
# move the default bookmarks file to a separated package: SUNWfirefox-bookmark
# remove this one
#########################################
## Package Post[Un] Install Section ##
#########################################
%post
# run ldconfig before regxpcom
#####################################
## Package Files Section ##
#####################################
%{_ffdir}/*
- Rename firefox3.spec to firefox.spec since FF2 has been replaced by FF3 in Nevada and OS for several builds
* 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
* 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