#
# spec file for package SUNWopenjade
#
# includes module(s): openjade
#
# Copyright (c) 2003 Sun Microsystems, Inc.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#
SUNW_BaseDir: %{_basedir}
# date:2004-01-09 owner:laca type:bug state:upstream
# autoconf macros takes from upstream sources
# date:2004-01-09 owner:laca type:feature
# marked as a feature patch because upstream development stopped years ago
# but it's really a bug fix
# date:2009-02-20 owner:mattman type:branding
SUNW_BaseDir: %{_basedir}
SUNW_BaseDir: /
%prep
export CXXFLAGS="%cxx_optflags"
--localstatedir=%{_localstatedir} \
pushd dsssl
cd $RPM_BUILD_ROOT%{sgml_dir} \
popd
(cd $RPM_BUILD_ROOT%{sgml_dir}/James_Clark/dtd \
&& ln -sf ../../%{orig_name}/jade_style-sheet.dtd DSSSL_Style_Sheet \
&& ln -sf ../../%{orig_name}/fot.dtd DSSSL_Flow_Object_Tree)
(cd $RPM_BUILD_ROOT%{sgml_dir}/OpenJade/dtd \
&& ln -sf ../../%{orig_name}/style-sheet.dtd DSSSL_Style_Sheet)
(cd $RPM_BUILD_ROOT%{sgml_dir}/ISO_IEC_10179:1996/dtd \
&& ln -sf ../../%{orig_name}/dsssl.dtd DSSSL_Architecture)
# for compatibility with SL <= 8.1
pushd $RPM_BUILD_ROOT%{sgml_dir}
pushd %{orig_name}
done
popd
popd
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%{_bindir}/*
%{_mandir}/*/*
%{_localstatedir}/lib/*
%{_includedir}/*
- use cxx_optflags