evolution-exchange.spec revision 10273
10139N/A#
10139N/A# spec file for package evolution-exchange
10139N/A#
18595N/A# Copyright (c) 2005 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17836N/A# Owner: jedy
17836N/A#
10139N/AName: evolution-exchange
17178N/ALicense: GPL
17178N/AGroup: System/Libraries/GNOME
17178N/AVersion: 2.9.92
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
18595N/ASummary: Evolution connector for Microsoft Exchange
10139N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.9/%{name}-%{version}.tar.bz2
10139N/A# date:2006-12-13 bugzilla:385354 owner:jedy type:bug
10139N/APatch1: evolution-exchange-01-sun-ldap.diff
10139N/AURL: http://www.gnome.org
18595N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/ximian-connector
10139N/AAutoreqprov: on
10139N/APrereq: /sbin/ldconfig
10139N/A
10139N/A%define evolution_version 2.2
10139N/A%define libgnomeui_version 2.10.0
10139N/A%define libglade_version 2.5.0
10139N/A%define libsoup_version 2.2.3
10139N/A%define GConf_version 2.10.0
10139N/A%define openldap2_version 2.2.6
10139N/A%define gtk_doc_version 1.3
10139N/A%define oxygen2_version 1.4
10139N/A
10139N/ARequires: evolution >= %{evolution_version}
10139N/ARequires: libgnomeui >= %{libgnomeui_version}
10139N/ARequires: libglade >= %{libglade_version}
10139N/ARequires: libsoup >= %{libsoup_version}
10139N/ARequires: GConf >= %{GConf_version}
10139N/ARequires: openldap2-client >= %{openldap2_version}
10139N/A
10139N/ABuildRequires: evolution-devel >= %{evolution_version}
10139N/ABuildRequires: libgnomeui-devel >= %{libgnomeui_version}
10139N/ABuildRequires: libglade-devel >= %{libglade_version}
10139N/ABuildRequires: libsoup-devel >= %{libsoup_version}
10139N/ABuildRequires: GConf-devel >= %{GConf_version}
10139N/ABuildRequires: openldap2-devel >= %{openldap2_version}
10139N/ABuildRequires: gtk-doc >= %{gtk_doc_version}
10139N/A
10139N/AObsoletes: oxygen2 <= %{oxygen2_version}
10139N/AObsoletes: ximian-connector <= 2.2.2
10139N/AProvides: ximian-connector = 2.2.2
10139N/A
10139N/A%description
10139N/AProvides a connector library for Evolution to access Microsoft Exchange.
10139N/A
18595N/A%prep
18595N/A%setup -q
12556N/A%patch1 -p0
18595N/A
12053N/A%build
12053N/A
10139N/A%ifos linux
10139N/A%define ldap_option --with-openldap=%{_prefix}
10139N/A%define krb5_option --with-krb5=%{_prefix}
10139N/A%else
10139N/A%define ldap_option --with-sunldap=%{_prefix}
18595N/A%define krb5_option --with-krb5=no
10139N/A%endif
18595N/A
10139N/Aexport CFLAGS="$CFLAGS $RPM_OPT_FLAGS"
18595N/A
18595N/Aaclocal $ACLOCAL_FLAGS
libtoolize --force
glib-gettextize --force --copy
intltoolize --force --automake
autoheader
automake -a -f -c --gnu
autoconf
./configure --prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
%ldap_option \
%krb5_option
make
%install
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/camel-providers/*.la
rm $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/camel-providers/*.a
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_libdir}/bonobo/servers/*
%{_libdir}/evolution-data-server-1.2/camel-providers/*.so*
%{_libdir}/evolution-data-server-1.2/camel-providers/*.urls
%{_libexecdir}/evolution/2.6/*
%{_datadir}/gtk-doc/*
%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_datadir}/evolution-exchange/*
%config %{_sysconfdir}/gconf/schemas/*
%changelog
* Tue Feb 28 2007 - simon.zheng@sun.com
- Bump to 2.17.92.
- Rework evolution-exchanged-01-sun-ldap.diff.
* Tue Feb 13 2007 - damien.carbery@sun.com
- Bump to 2.17.91.
* Mon Jan 22 2007 - damien.carbery@sun.com
- Bump to 2.9.6.
* Tue Jan 9 2007 - jeff.cai@sun.com
- Bump version to 2.9.5
* Tue Dec 19 2006 - jeff.cai@sun.com
- Bump version to 2.9.4
* Mon Dec 18 2006 - jedy.wang@sun.com
- 01-solaris-eutil.diff removed.
- 02-sun-ldap renamed to 01-sun-ldap.
* Mon Dec 18 2006 - jedy.wang@sun.com
- Update patch comments.
* Thu Dec 14 2006 - jedy.wang@sun.com
- Set sysconfdir to /etc.
* Wed Dec 13 2006 - jedy.wang@sun.com
- Ship schema.
- 02-sol-macros replaced by 03-sun-ldap.
* Wed Dec 13 2006 - damien.carbery@sun.com
- Add patch, 03-sun-ldap, to build with Solaris LDAP defines. Bugzilla 385354.
* Wed Dec 13 2006 - jeff.cai@sun.com
- Change patch comments.
* Thu Dec 07 2006 - damien.carbery@sun.com
- Add patch 02-sol-macros to use portable macros (G_GNUC_PRETTY_FUNCTION).
Bugzilla 383064.
* Tue Dec 05 2006 - damien.carbery@sun.com
- Bump to 2.9.3. Remove obsolete patch, 02-evo-api-ver-hack.
* Wed Nov 29 2006 - jeff.cai@sun.com
- Add patch 02-evo-api-ver-hack so that the evolution 2.9 module can be found.
It will be removed when evolution-exchange is bumped to 2.9.
* Tue Nov 28 2006 - jeff.cai@sun.com
- Should be 2.8.1 on trunk.
* Mon Nov 27 2006 - damien.carbery@sun.com
- Bump to 2.8.2.
* Mon Oct 23 2006 - irene.huang@sun.com
- Moved evolution-exchange-01-solaris-eutil.diff
from Solaris/patches
* Fri Oct 20 2006 - damien.carbery@sun.com
- Remove 'find' call that remove .a/.la files because none are installed.
* Mon Oct 02 2006 - damien.carbery@sun.com
- Bump to 2.8.1.
* Mon Sep 04 2006 - damien.carbery@sun.com
- Bump to 2.8.0.
* Tue Aug 08 2006 - damien.carbery@sun.com
- Bump to 2.7.91.
* Mon Jul 24 2006 - damien.carbery@sun.com
- Bump to 2.7.90.
* Sun Jul 23 2006 - Jeff.Cai@sun.com
- Bump to 2.7.4
Remove patch evolution-exchange-01-rename.diff
* Thu Jun 02 2006 - Irene.Huang@sun.com
- Add patch evolution-exchange-01-rename.diff
* Tue May 30 2006 - halton.huo@sun.com
- Bump to 2.6.2.
* Mon Apr 10 2006 - damien.carbery@sun.com
- Bump to 2.6.1.
* Tue Apr 04 2006 - halton.huo@sun.com
- Remove .a/.la files in linux spec.
* Thu Mar 30 2006 - halton.huo@sun.com
- Alter "remove *.a/*.la files part" to SUNWevolution-exchange.spec
* Mon Mar 13 2006 - damien.carbery@sun.com
- Bump to 2.6.0.
* Tue Feb 28 2006 - halton.huo@sun.com
- Bump to 2.5.92.
* Tue Feb 14 2006 - damien.carbery@sun.com
- Bump to 2.5.91.
* Mon Jan 30 2006 - damien.carbery@sun.com
- Bump to 2.5.9.0.
* Thu Jan 19 2006 - halton.huo@sun.com
- Bump to 2.5.5.
* Wed Jan 04 2006 - halton.huo@sun.com
- Bump to 2.5.4.
* Wed Dec 21 2005 - halton.huo@sun.com
- Correct Source filed.
* Mon Dec 19 2005 - damien.carbery@sun.com
- Bump to 2.5.3.
* Tue Nov 29 2005 - damien.carbery@sun.com
- Bump to 2.4.2.
* Wed Oct 12 2005 - halton.huo@sun.com
- change --with-ldap to --with-sunldap.
* Mon Oct 10 2005 - halton.huo@sun.com
- Bum to 2.4.1.
* Thu Sep 15 2005 - halton.huo@sun.com
- Use aclocal, ..., ./configure steps, not ./autogen,
because download tarball does not have autogen.sh.
- Add define krb5_option, disable Kerberos 5 on Solaris.
* Wed Sep 7 2005 - halton.huo@sun.com
- Bump to 2.4.0.
* Fri Sep 2 2005 - halton.huo@sun.com
- Use --with-openldap=no on solaris with %ldap_option because patch is not ready.
- Use ./autogen.sh to replace libtoolize aclocal automake autoconf ./configure
steps, because we need build code that checked out from community HEAD.
* Wed Aug 24 2005 - glynn.foster@sun.com
- Move the ximian-connector component over to evolution-exchange
and bump to 2.3.8
* Tue Aug 16 2005 - damien.carbery@sun.com
- Bump to 2.2.3.
* Thu Jul 21 2005 - damien.carbery@sun.com
- Turn off OpenLDAP support on Solaris as it is too old.
* Thu Jul 14 2005 - damien.carbery@sun.com
- Remove obsolete gnome2-macros dir from aclocal call.
* Mon Jun 27 2005 - matt.keenan@sun.com
- Bump to 2.2.2
* Thu Jun 17 2004 - glynn.foster@sun.com
- Initial spec file for ximian-connector 1.5.9