1 # 2 # spec file for package evolution-exchange 3 # 4 # Copyright (c) 2005 Sun Microsystems, Inc. 5 # This file and all modifications and additions to the pristine 6 # package are under the same license as the package itself. 7 # 8 # Owner: jedy 9 # 10 Name: evolution-exchange 11 License: GPL 12 Group: System/Libraries/GNOME 13 Version: 2.8.1 14 Release: 1 15 Distribution: Java Desktop System 16 Vendor: Sun Microsystems, Inc. 17 Summary: Evolution connector for Microsoft Exchange 18 Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.8/%{name}-%{version}.tar.bz2 19 # date:2005-09-15 bugzilla:n/a owner:jedy type:bug 20 Patch1: evolution-exchange-01-solaris-eutil.diff 21 URL: http://www.gnome.org 22 BuildRoot: %{_tmppath}/%{name}-%{version}-build 23 Docdir: %{_defaultdocdir}/ximian-connector 24 Autoreqprov: on 25 Prereq: /sbin/ldconfig 26 27 %define evolution_version 2.2 28 %define libgnomeui_version 2.10.0 29 %define libglade_version 2.5.0 30 %define libsoup_version 2.2.3 31 %define GConf_version 2.10.0 32 %define openldap2_version 2.2.6 33 %define gtk_doc_version 1.3 34 %define oxygen2_version 1.4 35 36 Requires: evolution >= %{evolution_version} 37 Requires: libgnomeui >= %{libgnomeui_version} 38 Requires: libglade >= %{libglade_version} 39 Requires: libsoup >= %{libsoup_version} 40 Requires: GConf >= %{GConf_version} 41 Requires: openldap2-client >= %{openldap2_version} 42 43 BuildRequires: evolution-devel >= %{evolution_version} 44 BuildRequires: libgnomeui-devel >= %{libgnomeui_version} 45 BuildRequires: libglade-devel >= %{libglade_version} 46 BuildRequires: libsoup-devel >= %{libsoup_version} 47 BuildRequires: GConf-devel >= %{GConf_version} 48 BuildRequires: openldap2-devel >= %{openldap2_version} 49 BuildRequires: gtk-doc >= %{gtk_doc_version} 50 51 Obsoletes: oxygen2 <= %{oxygen2_version} 52 Obsoletes: ximian-connector <= 2.2.2 53 Provides: ximian-connector = 2.2.2 54 55 %description 56 Provides a connector library for Evolution to access Microsoft Exchange. 57 58 %prep 59 %setup -q 60 %patch1 -p0 61 62 %build 63 64 %ifos linux 65 %define ldap_option --with-openldap=%{_prefix} 66 %define krb5_option --with-krb5=%{_prefix} 67 %else 68 %define ldap_option --with-sunldap=%{_prefix} 69 %define krb5_option --with-krb5=no 70 %endif 71 72 export CFLAGS="$CFLAGS $RPM_OPT_FLAGS" 73 74 aclocal $ACLOCAL_FLAGS 75 libtoolize --force 76 glib-gettextize --force --copy 77 intltoolize --force --automake 78 autoheader 79 automake -a -f -c --gnu 80 autoconf 81 82 ./configure --prefix=%{_prefix} \ 83 %ldap_option \ 84 %krb5_option 85 86 make 87 88 %install 89 #? export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 90 make -i install DESTDIR=$RPM_BUILD_ROOT 91 #? unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 92 93 %clean 94 rm -rf $RPM_BUILD_ROOT 95 96 %post 97 #? export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` 98 #? SCHEMAS="apps_evolution_exchange.schemas" 99 #? for S in $SCHEMAS; do 100 #? gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null 101 #? done 102 103 %postun 104 105 %files 106 %defattr (-, root, root) 107 %doc AUTHORS COPYING ChangeLog NEWS README 108 %{_bindir}/* 109 %{_libdir}/bonobo/servers/* 110 %{_libdir}/evolution-data-server-1.2/camel-providers/*.so* 111 %{_libdir}/evolution-data-server-1.2/camel-providers/*.urls 112 %{_libexecdir}/evolution/2.6/* 113 %{_datadir}/gtk-doc/* 114 %{_datadir}/locale/*/LC_MESSAGES/*.mo 115 %{_datadir}/evolution-exchange/* 116 #? %config %{_sysconfdir}/gconf/schemas/* 117 118 %changelog 119 * Mon Oct 23 2006 - irene.huang@sun.com 120 - Moved evolution-exchange-01-solaris-eutil.diff 121 from Solaris/patches 122 123 * Fri Oct 20 2006 - damien.carbery@sun.com 124 - Remove 'find' call that remove .a/.la files because none are installed. 125 126 * Mon Oct 02 2006 - damien.carbery@sun.com 127 - Bump to 2.8.1. 128 129 * Mon Sep 04 2006 - damien.carbery@sun.com 130 - Bump to 2.8.0. 131 132 * Tue Aug 08 2006 - damien.carbery@sun.com 133 - Bump to 2.7.91. 134 135 * Mon Jul 24 2006 - damien.carbery@sun.com 136 - Bump to 2.7.90. 137 138 * Sun Jul 23 2006 - Jeff.Cai@sun.com 139 - Bump to 2.7.4 140 Remove patch evolution-exchange-01-rename.diff 141 142 * Thu Jun 02 2006 - Irene.Huang@sun.com 143 - Add patch evolution-exchange-01-rename.diff 144 145 * Tue May 30 2006 - halton.huo@sun.com 146 - Bump to 2.6.2. 147 148 * Mon Apr 10 2006 - damien.carbery@sun.com 149 - Bump to 2.6.1. 150 151 * Tue Apr 04 2006 - halton.huo@sun.com 152 - Remove .a/.la files in linux spec. 153 154 * Thu Mar 30 2006 - halton.huo@sun.com 155 - Alter "remove *.a/*.la files part" to SUNWevolution-exchange.spec 156 157 * Mon Mar 13 2006 - damien.carbery@sun.com 158 - Bump to 2.6.0. 159 160 * Tue Feb 28 2006 - halton.huo@sun.com 161 - Bump to 2.5.92. 162 163 * Tue Feb 14 2006 - damien.carbery@sun.com 164 - Bump to 2.5.91. 165 166 * Mon Jan 30 2006 - damien.carbery@sun.com 167 - Bump to 2.5.9.0. 168 169 * Thu Jan 19 2006 - halton.huo@sun.com 170 - Bump to 2.5.5. 171 172 * Wed Jan 04 2006 - halton.huo@sun.com 173 - Bump to 2.5.4. 174 175 * Wed Dec 21 2005 - halton.huo@sun.com 176 - Correct Source filed. 177 178 * Mon Dec 19 2005 - damien.carbery@sun.com 179 - Bump to 2.5.3. 180 181 * Tue Nov 29 2005 - damien.carbery@sun.com 182 - Bump to 2.4.2. 183 184 * Wed Oct 12 2005 - halton.huo@sun.com 185 - change --with-ldap to --with-sunldap. 186 187 * Mon Oct 10 2005 - halton.huo@sun.com 188 - Bum to 2.4.1. 189 190 * Thu Sep 15 2005 - halton.huo@sun.com 191 - Use aclocal, ..., ./configure steps, not ./autogen, 192 because download tarball does not have autogen.sh. 193 - Add define krb5_option, disable Kerberos 5 on Solaris. 194 195 * Wed Sep 7 2005 - halton.huo@sun.com 196 - Bump to 2.4.0. 197 198 * Fri Sep 2 2005 - halton.huo@sun.com 199 - Use --with-openldap=no on solaris with %ldap_option because patch is not ready. 200 - Use ./autogen.sh to replace libtoolize aclocal automake autoconf ./configure 201 steps, because we need build code that checked out from community HEAD. 202 203 * Wed Aug 24 2005 - glynn.foster@sun.com 204 - Move the ximian-connector component over to evolution-exchange 205 and bump to 2.3.8 206 207 * Tue Aug 16 2005 - damien.carbery@sun.com 208 - Bump to 2.2.3. 209 210 * Thu Jul 21 2005 - damien.carbery@sun.com 211 - Turn off OpenLDAP support on Solaris as it is too old. 212 213 * Thu Jul 14 2005 - damien.carbery@sun.com 214 - Remove obsolete gnome2-macros dir from aclocal call. 215 216 * Mon Jun 27 2005 - matt.keenan@sun.com 217 - Bump to 2.2.2 218 219 * Thu Jun 17 2004 - glynn.foster@sun.com 220 - Initial spec file for ximian-connector 1.5.9 221