#
# spec file for package SUNWgtk3
#
# includes module(s): gtk3
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#
Version: %{gtk.version}
License: %{gtk.license}
#Source: %{name}-manpages-0.1.tar.gz
SUNW_BaseDir: %{_basedir}
SUNW_BaseDir: /
SUNW_BaseDir: %{_basedir}
SUNW_BaseDir: %{_basedir}
# static dependencies needed in this package as some of the libraries
# needed to detect the dependencies are built in the same spec but are
# not in the same package (e.g. libatk)
%if %build_l10n
%prep
#cd %{_builddir}/%name-%version
#gzcat %SOURCE0 | tar xf -
export RPM_OPT_FLAGS="$CFLAGS"
export PKG_CONFIG_PATH="%{_pkg_config_path64}"
export RPM_OPT_FLAGS="$CFLAGS"
export LDFLAGS="%_ldflags"
export PKG_CONFIG_PATH="%{_pkg_config_path}"
#rm -rf $RPM_BUILD_ROOT%{_mandir}
#cd %{_builddir}/%name-%version/sun-manpages
#make install DESTDIR=$RPM_BUILD_ROOT
# Move demo to demo directory.
#
# on linux, these config files are created in %post
# that would be more complicated on Solaris, especially
# during jumpstart or live upgrade, so it's better to do
# it during the build
| sed -e "s%%$RPM_BUILD_ROOT%%%%" \
| sed -e "s%%$RPM_BUILD_ROOT%%%%" \
%if %build_l10n
%else
# REMOVE l10n FILES
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%post
%{_includedir}/*
#%dir %attr(0755, root, bin) %{_mandir}
#%dir %attr(0755, root, bin) %{_mandir}/man3
#%{_mandir}/man3/*
%ghost %ips_tag(original_name=SUNWgtk3:%{@} preserve=true) %{_sysconfdir}/%{_arch64}/gtk-3.0/gtk.immodules
%ips_tag(original_name=SUNWgtk3:%{@} preserve=true) %{_sysconfdir}/%{_arch64}/gtk-3.0/im-multipress.conf
%if %build_l10n
- Created.