SUNWgnome-pdf-viewer.spec revision 18688
# spec file for package SUNWgnome-pdf-viewer
#
# includes module(s): poppler, poppler-data, evince
#
# 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.
#
#
%use popplerdata = poppler-data.spec
%use poppler = poppler.spec
%use libspectre = libspectre.spec
%use evince = evince.spec
SUNW_BaseDir: %{_basedir}
SUNW_BaseDir: %{_basedir}
%if %build_l10n
SUNW_BaseDir: %{_basedir}
SUNW_BaseDir: /
%prep
# There seems to be an issue with the version of libtool that GStreamer is
# now using. The libtool script uses the echo and RM variables but does not
# define them, so setting them here addresses this.
export PKG_CONFIG_PATH=%{_pkg_config_path}
%if %cc_is_gcc
%else
export CXX="${CXX} -norunpath"
export CXXFLAGS="%cxx_optflags"
export RPM_OPT_FLAGS="$CFLAGS"
export PKG_CONFIG_PATH=../poppler-%{poppler.version}:../libspectre-%{libspectre.version}:%{_pkg_config_path}
# There seems to be an issue with the version of libtool that GStreamer is
# now using. The libtool script uses the echo and RM variables but does not
# define them, so setting them here addresses this.
# Remove *.a and *.la
# Remove unneeded scrollkeeper dirs
cd $RPM_BUILD_ROOT%{_bindir}
# Never install English locales because should support full functions
# on English locales as same as Solaris.
%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
%{_bindir}/*
%{_datadir}/applications/*
%{_mandir}/*/*
%if %build_l10n
%{_includedir}/*
* Fri Jul 23 2004 - damien.carbery@sun.com