#
# spec file for package SUNWgnome-help-viewer
#
# includes module(s): yelp
#
# 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.
#
#
Version: %{yelp.version}
SUNW_BaseDir: %{_basedir}
SUNW_BaseDir: /
%prep
export CFLAGS="%optflags -I%{_includedir}/mps -DANSICPP -DI_KNOW_RARIAN_0_8_IS_UNSTABLE"
export RPM_OPT_FLAGS="$CFLAGS"
export CXXFLAGS="%cxx_optflags -I%{_includedir}/mps"
export ACLOCAL_FLAGS="-I ./m4"
%if %cc_is_gcc
%else
export CXX="${CXX} -norunpath"
export LDFLAGS="%_ldflags -lgthread-2.0"
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%post
%{_bindir}/*
%{_datadir}/applications/*
%{_mandir}/*/*
* Fri Jun 05 2009 - dave.lin@sun.com
- Add -L%{_libdir}/mps in LDFLAGS to make sure the bundled version of nspr is used.
* Fri Apr 3 2009 - laca@sun.com
- use desktop-cache instead of postrun
* Thu Sep 11 2008 - matt.keenn@sun.com
- Update copyright
* Fri Jul 18 2008 - dave.lin@sun.com
- Removed the self-dependency
* Fri May 16 2008 - evan.yan@sun.com