evolution-exchange.spec revision 10139
10139N/A#
16398N/A# spec file for package evolution-exchange
10139N/A#
10139N/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.
15573N/A#
10139N/A# Owner: jedy
10139N/A#
15291N/AName: evolution-exchange
16569N/ALicense: GPL
10139N/AGroup: System/Libraries/GNOME
10139N/AVersion: 2.9.92
10139N/ARelease: 1
10139N/ADistribution: Java Desktop System
10139N/AVendor: Sun Microsystems, Inc.
10139N/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
14355N/AURL: http://www.gnome.org
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
14355N/ADocdir: %{_defaultdocdir}/ximian-connector
10139N/AAutoreqprov: on
16569N/APrereq: /sbin/ldconfig
16569N/A
16569N/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
10139N/A%prep
10139N/A%setup -q
16569N/A%patch1 -p0
10139N/A
10139N/A%build
10139N/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}
10139N/A%define krb5_option --with-krb5=no
10139N/A%endif
10139N/A
10139N/Aexport CFLAGS="$CFLAGS $RPM_OPT_FLAGS"
10139N/A
10374N/Aaclocal $ACLOCAL_FLAGS
10374N/Alibtoolize --force
10374N/Aglib-gettextize --force --copy
12298N/Aintltoolize --force --automake
14355N/Aautoheader
14355N/Aautomake -a -f -c --gnu
14355N/Aautoconf
16569N/A
10374N/A./configure --prefix=%{_prefix} \
10374N/A --sysconfdir=%{_sysconfdir} \
10374N/A %ldap_option \
10374N/A %krb5_option
10374N/A
10374N/Amake
10374N/A
10374N/A%install
13389N/A#? export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
10374N/Amake -i install DESTDIR=$RPM_BUILD_ROOT
10374N/A#? unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
10139N/A
10139N/A%clean
10374N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/A#? export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
10139N/A#? SCHEMAS="apps_evolution_exchange.schemas"
10374N/A#? for S in $SCHEMAS; do
10374N/A#? gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
10374N/A#? done
10374N/A
10139N/A%postun
10374N/A
10374N/A%files
10374N/A%defattr (-, root, root)
10374N/A%doc AUTHORS COPYING ChangeLog NEWS README
10374N/A%{_bindir}/*
10374N/A%{_libdir}/bonobo/servers/*
10374N/A%{_libdir}/evolution-data-server-1.2/camel-providers/*.so*
10374N/A%{_libdir}/evolution-data-server-1.2/camel-providers/*.urls
10374N/A%{_libexecdir}/evolution/2.6/*
10139N/A%{_datadir}/gtk-doc/*
10139N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
16569N/A%{_datadir}/evolution-exchange/*
16569N/A%config %{_sysconfdir}/gconf/schemas/*
16569N/A
16455N/A%changelog
16455N/A* Tue Feb 28 2007 - simon.zheng@sun.com
16398N/A- Bump to 2.17.92.
16398N/A- Rework evolution-exchanged-01-sun-ldap.diff.
15823N/A
15823N/A* Tue Feb 13 2007 - damien.carbery@sun.com
15823N/A- Bump to 2.17.91.
15748N/A
15748N/A* Mon Jan 22 2007 - damien.carbery@sun.com
15573N/A- Bump to 2.9.6.
15573N/A
15340N/A* Tue Jan 9 2007 - jeff.cai@sun.com
15340N/A- Bump version to 2.9.5
15340N/A
15340N/A* Tue Dec 19 2006 - jeff.cai@sun.com
15291N/A- Bump version to 2.9.4
15291N/A
13702N/A* Mon Dec 18 2006 - jedy.wang@sun.com
13702N/A- 01-solaris-eutil.diff removed.
13405N/A- 02-sun-ldap renamed to 01-sun-ldap.
13405N/A
13389N/A* Mon Dec 18 2006 - jedy.wang@sun.com
13389N/A- Update patch comments.
13351N/A
13389N/A* Thu Dec 14 2006 - jedy.wang@sun.com
12314N/A- Set sysconfdir to /etc.
13389N/A
12298N/A* Wed Dec 13 2006 - jedy.wang@sun.com
12299N/A- Ship schema.
12299N/A- 02-sol-macros replaced by 03-sun-ldap.
11998N/A
11998N/A* Wed Dec 13 2006 - damien.carbery@sun.com
11998N/A- Add patch, 03-sun-ldap, to build with Solaris LDAP defines. Bugzilla 385354.
11865N/A
11865N/A* Wed Dec 13 2006 - jeff.cai@sun.com
11860N/A- Change patch comments.
11861N/A
11861N/A* Thu Dec 07 2006 - damien.carbery@sun.com
11860N/A- Add patch 02-sol-macros to use portable macros (G_GNUC_PRETTY_FUNCTION).
11860N/A Bugzilla 383064.
10894N/A
10894N/A* Tue Dec 05 2006 - damien.carbery@sun.com
10374N/A- Bump to 2.9.3. Remove obsolete patch, 02-evo-api-ver-hack.
10374N/A
10139N/A* Wed Nov 29 2006 - jeff.cai@sun.com
10139N/A- Add patch 02-evo-api-ver-hack so that the evolution 2.9 module can be found.
10139N/A It will be removed when evolution-exchange is bumped to 2.9.
10139N/A
10139N/A* Tue Nov 28 2006 - jeff.cai@sun.com
10139N/A- Should be 2.8.1 on trunk.
10139N/A
10139N/A* Mon Nov 27 2006 - damien.carbery@sun.com
10139N/A- Bump to 2.8.2.
10139N/A
10139N/A* Mon Oct 23 2006 - irene.huang@sun.com
10139N/A- Moved evolution-exchange-01-solaris-eutil.diff
10139N/Afrom Solaris/patches
10139N/A
10139N/A* Fri Oct 20 2006 - damien.carbery@sun.com
10139N/A- Remove 'find' call that remove .a/.la files because none are installed.
10139N/A
10139N/A* Mon Oct 02 2006 - damien.carbery@sun.com
10139N/A- Bump to 2.8.1.
10139N/A
10139N/A* Mon Sep 04 2006 - damien.carbery@sun.com
10139N/A- Bump to 2.8.0.
10139N/A
10139N/A* Tue Aug 08 2006 - damien.carbery@sun.com
10139N/A- Bump to 2.7.91.
10139N/A
10139N/A* Mon Jul 24 2006 - damien.carbery@sun.com
10139N/A- Bump to 2.7.90.
10139N/A
10139N/A* 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