SUNWfirefox.spec revision 19195
#
# spec file for package SUNWfirefox
#
# includes module(s): firefox
#
# Copyright 2009 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#
# DO NOT REMOVE NEXT LINE
# PACKAGE NOT INCLUDED IN GNOME UMBRELLA ARC
#
%use firefox = firefox.spec
#####################################
## Package Information Section ##
#####################################
SUNW_BaseDir: %{_basedir}
#####################################
## Package Requirements Section ##
#####################################
#%if %option_with_indiana_branding
# comment this out until I can find where to get it
# to install it on the build machines
#Requires: SUNWgetting-started-guide
#%endif
#####################################
## Package Description Section ##
#####################################
SUNW_BaseDir: %{_basedir}
#####################################
## Package Preparation Section ##
#####################################
%prep
#####################################
## Package Build Section ##
#####################################
export LDFLAGS="-B direct -z ignore"
export CFLAGS="-xlibmopt"
%if %option_with_debug
export CXXFLAGS="-xlibmil -xlibmopt -lCrun -lCstd -features=tmplrefstatic"
%else
export CXXFLAGS="-DNDEBUG -xlibmil -xlibmopt -lCrun -lCstd -features=tmplrefstatic"
# create file list for SUNWfirefox to separate .autoreg(marked as 'v')
cd $RPM_BUILD_ROOT%{_libdir}
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
#########################################
## Package Post[Un] Install Section ##
#########################################
%post
test -x $PKGCOND || exit 0
done
fi
exit 0
test -x $PKGCOND || exit 0
done
fi
exit 0
test -x $PKGCOND || exit 0
done
fi
exit 0
test -x $PKGCOND || exit 0
done
fi
exit 0
%{_includedir}/%{firefox.name}
- Remove /usr/lib/firefox/components/compreg.dat and /usr/lib/firefox/components/xpti.dat in postinstall and postremove
- Remove -xldscope=symbolic in CFLAGS, CXXFLAGS, use -xldscope=hidden in libpixman Makefile.in instead
- Rename SUNWfirefox3.spec to SUNWfirefox.spec since FF2 has been replaced by FF3 in Nevada and OS for several builds
* Thu Jul 17 2008 - dave.lin@sun.com
- Removed the unnecessary dependency SUNWsolaris-devel-docs(CR6700877),
SUNWfirefox.
* Thu May 22 2008 - dave.lin@sun.com
- Change to build pkg only if "--with-ff3" is specified, otherwise build nothing
- change to build as "SUNWfirefox" and as default browser
* Fri May 16 2008 - damien.carbery@sun.com
- Disable creation of symlink for firefox 3. This means that ff2 is left as
default browser.
* Thu Mar 13 2008 - damien.carbery@sun.com
* Mon Feb 25 2008 - alfred.peng@sun.com
- Add "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" in CXXFLAGS to fix CR#6516110
* Thu Feb 21 2008 - damien.carbery@sun.com
- Rename SUNWsqlite dependency to SUNWsqlite3 to match pkg from SFW.
* Wed Jan 09 2008 - dave.lin@sun.com
- renamed FF 3 spec to *firefox3 to let FF 3 coexist with FF 2
* Fri Dec 28 2007 - dave.lin@sun.com
- deliver .autoreg no matter apoc enabled or not
* Thu Dec 27 2007 - dave.lin@sun.com
- move to 3.0 beta2
- set not building apoc adapter as default
- remove SUNWfirefox-root pkg
- add %if %with_apoc_adapter to conditinoally disable apoc adapter,
* Tue Sep 05 2006 - Matt.Keenan@sun.com
* Thu Jul 27 2006 - damien.carbery@sun.com
* Tue Jun 20 2006 - damien.carbery@sun.com
* Fri Jun 09 2006 - damien.carbery@sun.com
* Mon Feb 20 2006 - damien.carbery@sun.com
* Thu Jan 19 2006 - damien.carbery@sun.com
* Fri Dec 02 2005 - damien.carbery@sun.com
- Add .autoreg file introduced in 1.5.
* Mon Oct 24 2005 - damien.carbery@sun.com
* Mon Sep 26 2005 - halton.huo@sun.com
* Fri Sep 02 2005 - damien.carbery@sun.com