firefox.spec revision 16643
12258N/A# Copyright (c) Sun Microsystems, Inc. 12258N/A##################################### 13305N/A## Package Information Section ## 12258N/A##################################### 12258N/A# owner:hawklu date:2007-11-28 type:branding 12517N/A# change preference to support multi-language 15234N/A# owner:davelam date:2006-02-24 type:branding 13759N/A# enable firefox preload mechanism 15234N/A# owner:hawklu date:2007-04-27 type:branding 15259N/A# owner:ginnchen date:2009-04-27 type:bug 15856N/A# owner:fujiwara date:2008-04-10 type:bug 15856N/A# bugster:6686579 bugzilla:285267 12258N/A# owner:ginnchen date:2008-08-19 type:bug 12258N/A# bugster:6724471 bugzilla:451007 12258N/A# owner:ginnchen date:2008-09-19 type:bug bugzilla:442231 12258N/A# owner:alfred date:2008-10-10 type:bug bugster:6750518 12258N/A# owner:ginnchen date:2008-10-15 type:feature 12258N/A# owner:ginnchen date:2008-11-27 type:bug bugzilla:464443 12258N/A# owner:ginnchen date:2009-05-21 type:branding 12258N/A# owner:ginnchen date:2009-06-05 type:bug bugzilla:492720 status:upstream 12258N/A# owner:hawklu date:2008-12-12 type:bug bugzilla:468041 status:upstream 12258N/A# owner:ginnchen date:2009-03-04 type:feature bugzilla:478390 bugster:6805829 12258N/A# owner:hawklu date:2008-12-16 type:branding 12258N/A# owner:hawklu date:2008-04-20 type:branding bugster:664645 13875N/A# owner:ginnchen date:2009-03-30 type:branding 13708N/A# disable sessionstore for form by default 12517N/A# owner:alfred date:2009-03-02 type:branding 14295N/A# owner:ginnchen date:2009-04-27 type:bug bugzilla:489812 15856N/A# owner:hawklu date:2009-05-19 type:bug doo:8471 12258N/A# owner:hawklu date:2009-05-22 type:bug doo:9112 12258N/A##################################### 12258N/A##################################### 12258N/A##################################### 12258N/A## Package Requirements Section ## 12258N/A##################################### 12258N/A##################################### 12258N/A## Package Description Section ## 12258N/A##################################### 12258N/A##################################### 12258N/A## Package Preparation Section ## 12258N/A##################################### 12258N/A##################################### 12258N/A##################################### echo "ac_add_options --enable-extensions=default,apoc" >> .
mozconfig #Build in a separated directory # Fix *.h *.idl attribute issue # install preloaded library list that would be picked up by gdmprefetch /
usr/
bin/
sed -e
's,NSS_NSPR_DIR,%{nss_nspr_dir},g' \
-e
's,FIREFOX_LIB_DIR,%{_ffdir},g' %{
SOURCE3} > \
-e
"s,LIBDIR,%{_libdir},g" \
-e
"s,DATADIR,%{_datadir},g"\
-e
"s,IDLDIR,%{_datadir}/idl/%{name},g"\
-e
"s,INCLUDEDIR,%{_includedir},g" \
-e
"s,REQUIRES_NSPR,Requires: nspr >= 4.7,g" \
-e
"s,REQUIRES_NSPR,,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,LIBDIR,%{_libdir},g" \
-e
"s,DATADIR,%{_datadir},g"\
-e
"s,INCLUDEDIR,%{_includedir},g" \
-e
"s,REQUIRES_NSPR,Requires: nspr >= 4.7,g" \
-e
"s,REQUIRES_NSPR,,g" \
-e
"s,NSPR_LIB,-lnspr4,g" \
-e
"s,NSPR_INCLUDE,-I\$\{includedir\}/nspr,g" \
# remove local dictionary and share the one that delivered # move the default bookmarks file to a separated package: SUNWfirefox-bookmark ######################################### ## Package Post[Un] Install Section ## ######################################### # run ldconfig before regxpcom ##################################### ## Package Files Section ## ##################################### * Thu Apr 12 2007 - dave.lin@sun.com - disable update feature in Firefox menu since it's
not supported - # bugster: CR6331694 partly fixed, the patch has been upstreamed * 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 - Correct path to sparcv8plus dir. Enclose code within '%ifarch sparc'. * 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 * Mon Nov 27 2006 - dave.lin@sun.com - enable apoc adapter(CR#6478680) would cover that on Solaris * Fri Nov 17 2006 - dave.lin@sun.com * Wed Oct 25 2006 - dave.lin@sun.com - bump verion to 2.0(official release) * Fri Oct 20 2006 - dave.lin@sun.com * Mon Oct 09 2006 - dave.lin@sun.com * Thu Sep 07 2006 - dave.lin@sun.com * Fri Apr 14 2006 - dave.lin@sun.com - Remove useless sources and patch * Thu Dec 15 2005 - dave.lin@sun.com * Fri Dec 02 2005 - damien.carbery@sun.com - Add Makefile.in patch to link fontconfig and Xft libraries. * 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 * Mon Aug 22 2005 Dave Lin <dave.lin@sun.com> - initial version of the spec file created