SUNWgnome-im-client.spec revision 19078
#
# # spec file for package SUNWgnome-im-client
#
# includes module(s): pidgin, pidgin-otr, libotr
#
# 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 pidgin = pidgin.spec
%use libotr = libotr.spec
%use pidginotr = pidgin-otr.spec
#Patch1: pidgin-12-libpurple-py26.diff
SUNW_BaseDir: %{_basedir}
#BuildRequires: SUNWpr
#BuildRequires: SUNWtls
SUNW_BaseDir: /
SUNW_BaseDir: %{_basedir}
%if %build_l10n
SUNW_BaseDir: %{_basedir}
%prep
#date:2009-12-4 owner:elaine type:bug :explicitly use python2.6 in purple-remote and pruple-url-handler
#%patch1 -p0
%{!?perl_installarchlib: %define perl_installarchlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib)}
%{!?perl_installvendorlib: %define perl_installvendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)}
export PKG_CONFIG_PATH=../pidgin-%{pidgin.version}/libpurple:../pidgin-%{pidgin.version}:%{_pkg_config_path}
export CFLAGS="%optflags -DHAVE_ALLOCA_H"
export RPM_OPT_FLAGS="$CFLAGS"
export LDFLAGS="%_ldflags"
echo BrianXX %{perl_installarchlib}
export ACLOCAL_FLAGS="-I %{_builddir}/%name-%version/libotr-%{libotr.version}"
export CFLAGS="$CFLAGS -I %{_builddir}/%name-%version/libotr-%{libotr.version}/my_build_tmp"
export RPM_OPT_FLAGS="$CFLAGS"
export LDFLAGS="$LDFLAGS -L%{_builddir}/%name-%version/libotr-%{libotr.version}/src/.libs -lotr"
# Delete .a and .la files.
%if %build_l10n
%else
# REMOVE l10n FILES
# install man page
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%post
%{_bindir}/*
#%attr(755, root, bin) %{perl_installarchlib}/perllocal.pod
%{_datadir}/applications/*
%if %build_l10n
* Mon Feb 5 2007 - damien.carbery@sun.com
- Add gaim-otr.spec.
* Fri May 12 2006 - damien.carbery@sun.com
* Mon Sep 04 2006 - Matt.Keenan@sun.com
* Fri May 12 2006 - damien.carbery@sun.com
* Thu May 11 2006 - brian.cameron@sun.com
* Thu May 11 2006 - halton.huo@sun.com
* Wed May 10 2006 - brian.cameron@sun.com
* Mon Feb 20 2006 - damien.carbery@sun.com
* Thu Feb 16 2006 - damien.carbery@sun.com
* Wed Jan 18 2006 - damien.carbery@sun.com
* Fri Nov 12 2004 - kazuhiko.maekawa@sun.com
- Added workaround fix for 6193354
* Wed Nov 3 2004 - damien.carbery@sun.com
* Tue Oct 05 2004 - matt.keenan@sun.com
* Thu Sep 23 2004 - damien.carbery@sun.com
* Mon Sep 06 2004 - matt.keenan@sun.com
* Fri Sep 03 2004 - damien.carbery@sun.com
* Mon Jul 12 2004 - damien.carbery@sun.com
* Sat Jul 10 2004 - damien.carbery@sun.com
* Tue Jun 22 2004 - shirley.woo@sun.com
* Wed Jun 2 2004 - takao.fujiwara@sun.com
* Wed Mar 24 2004 - brian.cameron@sun.com