SUNWgnome-text-editor.spec revision 19013
#
# spec file for package SUNWgnome-text-editor
#
# includes module(s): gedit gtksourceview
#
# 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 gedit = gedit.spec
Version: %{gedit.version}
SUNW_BaseDir: %{_basedir}
%if %build_l10n
SUNW_BaseDir: %{_basedir}
SUNW_BaseDir: /
SUNW_BaseDir: %{_basedir}
#Requires: %{name} = %{version}
%prep
export LDFLAGS="%_ldflags -norunpath"
export CFLAGS="%optflags"
export LD_LIBRARY_PATH="/usr/sfw/lib:$LD_LIBRARY_PATH"
%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/*
%if %build_l10n
%{_includedir}/*