File evolution-exchange.spec of Package evolution-exchange

#
# spec file for package evolution-exchange (Version 2.8.2)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild
# usedforbuild    Mesa Mesa-devel PolicyKit aaa_base acl alsa alsa-devel aspell atk atk-devel attr audiofile audiofile-devel audit-libs autoconf automake bash bind-libs bind-utils binutils bison bzip2 cairo cairo-devel coreutils cpio cpp cpp41 cracklib cups-libs cvs cyrus-sasl cyrus-sasl-devel db dbus-1 dbus-1-devel dbus-1-glib dbus-1-glib-devel dbus-1-x11 diffutils docbook-dsssl-stylesheets docbook-xsl-stylesheets docbook_3 docbook_4 e2fsprogs e2fsprogs-devel esound esound-devel evolution evolution-data-server evolution-data-server-devel evolution-devel expat file filesystem fillup findutils flex fontconfig fontconfig-devel freetype2 freetype2-devel gail gail-devel gawk gcc gcc41 gconf2 gconf2-devel gdbm gdbm-devel gettext gettext-devel glib2 glib2-devel glibc glibc-devel glibc-locale glitz glitz-devel gnome-common gnome-filesystem gnome-icon-theme gnome-keyring gnome-keyring-devel gnome-spell2 gnome-vfs2 gnome-vfs2-devel gnutls gnutls-devel gpm grep groff gtk2 gtk2-devel gtkdoc gtkhtml2 gtkhtml2-devel gzip hal hal-devel info insserv intltool iso-codes iso_ent klogd krb5 krb5-devel less libacl libart_lgpl libart_lgpl-devel libattr libbonobo libbonobo-devel libbonoboui libbonoboui-devel libcom_err libdrm libgcc41 libgcrypt libgcrypt-devel libglade2 libglade2-devel libgnome libgnome-devel libgnomecanvas libgnomecanvas-devel libgnomeprint libgnomeprint-devel libgnomeprintui libgnomeprintui-devel libgnomesu libgnomeui libgnomeui-devel libgpg-error libgpg-error-devel libjpeg libjpeg-devel libltdl libmudflap41 libnotify libnotify-devel libnscd libpng libpng-devel libsexy libsoup libsoup-devel libstdc++41 libtiff libtool libusb libvolume_id libwnck libxcrypt libxml2 libxml2-devel libxslt libzio linux-kernel-headers lzo lzo-devel m4 mDNSResponder-lib make man mktemp module-init-tools mozilla-nspr mozilla-nss ncurses ncurses-devel net-tools netcfg notification-daemon openjade openldap2 openldap2-client openldap2-devel openslp opensp openssl openssl-devel orbit2 orbit2-devel pam pam-modules pango pango-devel patch perl perl-Digest-HMAC perl-Digest-SHA1 perl-HTML-Parser perl-HTML-Tagset perl-IO-Zlib perl-Net-DNS perl-Net-IP perl-URI perl-XML-Parser perl-libwww-perl perl-spamassassin permissions pkgconfig pm-utils pmtools popt popt-devel procinfo procps psmisc pwdutils rcs readline resmgr rpm scrollkeeper sed sgml-skel shared-mime-info spamassassin strace sysvinit tar tcpd texinfo timezone unzip util-linux vim xorg-x11-devel xorg-x11-fonts-devel xorg-x11-libICE xorg-x11-libICE-devel xorg-x11-libSM xorg-x11-libSM-devel xorg-x11-libX11 xorg-x11-libX11-devel xorg-x11-libXau xorg-x11-libXau-devel xorg-x11-libXdmcp xorg-x11-libXdmcp-devel xorg-x11-libXext xorg-x11-libXext-devel xorg-x11-libXfixes xorg-x11-libXfixes-devel xorg-x11-libXmu xorg-x11-libXmu-devel xorg-x11-libXp xorg-x11-libXp-devel xorg-x11-libXpm xorg-x11-libXpm-devel xorg-x11-libXprintUtil xorg-x11-libXprintUtil-devel xorg-x11-libXrender xorg-x11-libXrender-devel xorg-x11-libXt xorg-x11-libXt-devel xorg-x11-libXv xorg-x11-libXv-devel xorg-x11-libfontenc xorg-x11-libfontenc-devel xorg-x11-libs xorg-x11-libxkbfile xorg-x11-libxkbfile-devel xorg-x11-proto-devel xorg-x11-util-devel xorg-x11-xtrans-devel zlib zlib-devel

Name:           evolution-exchange
BuildRequires:  evolution-devel gnome-common gtkdoc intltool lzo lzo-devel openldap2 perl-XML-Parser scrollkeeper sgml-skel gnome-certauth-devel libsoup-devel mozilla-nss-devel
%define prefix   /opt/gnome
%define sysconfdir /etc%{prefix}
License:        GNU General Public License (GPL)
Group:          Productivity/Networking/Email/Utilities
Autoreqprov:    on
Version:        2.8.2
Release:        4.jacob.8
Summary:        Evolution Connector for Microsoft Exchange Server 2000/2003
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/evolution-exchange/2.8/%{name}-%{version}.tar.gz
Patch:          connector-ldap-fix.patch
Patch1:         warning-fix.patch
Patch2:		evolution-exchange-2.8.2-cert-auth-complete.patch
URL:            http://www.novell.com/products/connector
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Docdir:         %{_defaultdocdir}/evolution-exchange
PreReq:         filesystem /usr/bin/touch gconf2
Requires:       evolution >= 2.8.0
Requires:       libsoup >= 2.2.90
Provides:       ximian-connector
Obsoletes:      ximian-connector

%description
With the Connector for Microsoft Exchange installed, Evolution
functions as an Exchange client, enabling users to become full
participants in companywide group scheduling and other collaborative
tasks. Linux and Solaris users can access public folders, Global
Address Lists, e-mail, calendar, task lists, and group scheduling
information.



Authors:
--------
    Dan Winship  <danw@ximian.com>
    Rodrigo Moya <rodrigo@ximian.com>
    Chris Toshok <toshok@ximian.com>
    JP Rosevear  <jpr@ximian.com>

%debug_package
%package devel
Summary:        Evolution Connector for Microsoft Exchange Server 2000/2003
Group:          Productivity/Networking/Email/Utilities
Autoreqprov:    on
Provides:       ximian-connector-devel
Obsoletes:      ximian-connector-devel                                                                                                                         

%description devel
With the Connector for Microsoft Exchange installed, Evolution
functions as an Exchange client, enabling users to become full
participants in companywide group scheduling and other collaborative
tasks. Linux and Solaris users can access public folders, Global
Address Lists, e-mail, calendar, task lists, and group scheduling
information.



Authors:
--------
    Dan Winship  <danw@ximian.com>
    Rodrigo Moya <rodrigo@ximian.com>
    Chris Toshok <toshok@ximian.com>
    JP Rosevear  <jpr@ximian.com>

%prep
%setup -q -n %{name}-%{version}
%patch1
%patch2 -p1

%build
echo $PKG_CONFIG_PATH
pkg-config --modversion gnome-certauth-0.0
intltoolize --force --copy
autoreconf --force --install
CFLAGS="$RPM_OPT_FLAGS -fPIC -fno-strict-aliasing -DLDAP_DEPRECATED" \
  ./configure \
    --prefix=%prefix \
    --libdir=%prefix/%_lib \
    --sysconfdir=%sysconfdir \
    --mandir=%prefix/share/man \
    --localstatedir=/var/%_lib \
    --disable-scrollkeeper \
    --with-openldap
export LIBRARY_PATH=/opt/gnome/%_lib 
make

%install
make install DESTDIR=$RPM_BUILD_ROOT
sed -e "s@$RPM_BUILD_ROOT@@" \
 < $RPM_BUILD_ROOT/opt/gnome/%_lib/evolution-data-server-1.2/camel-providers/libcamelexchange.la 
 > $RPM_BUILD_ROOT/opt/gnome/%_lib/evolution-data-server-1.2/camel-providers/libcamelexchange.la.tmp
mv $RPM_BUILD_ROOT/opt/gnome/%_lib/evolution-data-server-1.2/camel-providers/libcamelexchange.la.tmp \
   $RPM_BUILD_ROOT/opt/gnome/%_lib/evolution-data-server-1.2/camel-providers/libcamelexchange.la
rm -rf $RPM_BUILD_ROOT%{prefix}/%_lib/evolution/*/camel-providers/*a
%find_lang evolution-exchange-2.8

%clean
rm -rf $RPM_BUILD_ROOT

%files -f evolution-exchange-2.8.lang
%defattr(-, root, root)
%{prefix}/bin/exchange-connector-setup*
%{prefix}/%_lib/bonobo/servers/*.server
%{prefix}/%_lib/evolution-data-server-1.2/camel-providers/*
#%{prefix}/%_lib/evolution/*/libexchange.*
#%{prefix}/%_lib/evolution/*/camel-providers/*.urls
%{prefix}/%_lib/evolution/*/evolution-exchange-storage
%{prefix}/share/evolution-exchange
%{prefix}/share/gtk-doc/html/*

%changelog -n evolution-exchange
* Mon Nov 20 2006 - vvaradhan@novell.com
- update to version 2.8.2
- translation updates
- Fixes (bnc):
  215633 Crash after deleting calendar events
  208395 cannot access a folder containing a "#" in the name
  Fix for hang while viewing a HTML mail, which has images to
  be loaded based on contacts.
* Mon Oct 02 2006 - jhargadon@suse.de
- update to version 2.8.1
- translation updates
* Mon Sep 11 2006 - vvaradhan@novell.com
- Cleanup of spec file
- Deleted upstreamed patches
* Mon Sep 04 2006 - aj@suse.de
- Remove openldap patches for building on <= 9.1.
- Disable scrollkeeper.
* Mon Sep 04 2006 - vvaradhan@novell.com
- Update to 2.8.0
  * Lots of bugfixes
  * Translation update
  * Adopt for evolution 2.8.0.
* Wed Jun 28 2006 - fejj@suse.de
- Added bnc-179545.patch to fix a hang in the Exchange Connector.
* Fri Jun 16 2006 - fejj@suse.de
- Added bnc-179566-2.patch which fixes a bug in the last patch
* Fri Jun 02 2006 - fejj@suse.de
- Added bnc-179566.patch to fix up the last patch - camel_read()
  does not guarantee that it will read() n bytes, only that it is
  cancellable.
* Mon May 15 2006 - fejj@suse.de
- Added bnc-166987-exchange.patch to the build (fixes the Exchange
  Connector portion of bug #166987).
* Tue May 09 2006 - sragavan@novell.com
- Fixes (bgo)
  339277 - Show public folder correctly (Sush)
  330265 - Overwrite same contact addresses. (Sush)
* Mon May 08 2006 - sragavan@novell.com
- Updated the patch for 168319 to fix the build failure.  (Srini)
  Removed the ChangaLog present in the patch.
* Fri May 05 2006 - sragavan@novell.com
- Fixes (bnc)
  168319 - Delete old events when moved.
  166990 - Fixes a crash while loading exchange calendars.
* Fri May 05 2006 - sragavan@novell.com
- Fixes (bnc)
  169034- - Fixes the public folder download issue.
* Mon Apr 24 2006 - sragavan@novell.com
- Fixes (bg0)
  330494 - Fix to show attachments in Accepted Meeting.
* Fri Apr 21 2006 - sragavan@novell.com
- Fixes (bgo)
  325960 Show subscribed and public folders without requiring restart for evolution (Sushma)
* Wed Apr 19 2006 - sragavan@novell.com
- Fixes (bgo)
  334391 Crash on saving a event with attachment - Sushma
  334900 Crash while importing ics file into calendar
  330674 Updated cancel meeting request exchange storage crashed - Chenthill
  334727 Randomly doesnt display appointments
* Tue Apr 04 2006 - meissner@suse.de
- added lzo-devel lzo to buildrequires to make it build on PLUS.
* Mon Mar 13 2006 - vvaradhan@novell.com
- Update to version 2.6.0 - Fixes (bgo)
  333163  Evo-Exchange Crashes due to `E2K_IS_GLOBAL_CATALOG (gc)' failed
  273057 	Meetings gets deleted after updates for Recurrence accepted
  270418 	mailer memory related issues - tracker bug
  315441 	Unable to create Exchange Account - Missing server name
  330974 	Convert mail to task is not creating task in exchange 'Tasks'
  331089 	Recurrence should not be disabled in exchnage meeting
  271567 	messages with horizontal tab character in subject
  header stay in outbox
  321479 	evolution don't work with exchange 2003
  327337 	Evolution crashed when clicked on 'File ->Permissions' in offline
  332129 	Modify OWA to http instead of https for ssl configured server,
  connector crashes during authentication
  333603 	while deleting tasks exchange storage crashes
  313683 	Error sending mail over Exchange
  272749 	Email invitations accepted into exchange calendar are not saved
  301994 	can't add recurring meeting invitation to calendar
  312423 	catagory not modifiable for accepted exchange meeting
  313045 	evolution-exchange can't delete meetings
  323990 	Evolution locks up trying to accept a calendar event
  317432 	POTFILES list non-shipped files
  262079 	Evolution showing error message when opened in contacts view
  317533 	Cannot add meeting to own calendar if it exists in
  subscribed calendar
* Tue Feb 28 2006 - sbrabec@suse.cz
- Build with optimization.
* Mon Feb 27 2006 - vvaradhan@novell.com
- Update to version 2.5.92
- Fixes: (bgo)
  327939  "evolution-exchange-storage quit unexpectedly
  330982 	Evolution crash when exiting application
  331213 	Evolution-Exchange-Storage crashes at startup
  332351 	crash of exchange storage on quit
  332368 	Attempting to view properties for Contacts folder
  causes crash
  304188 	Exchange Data Store terminated unexpected
  331277 	Connector 2.5.91 crashes on startup
  330677 	Meeting accept/decline mail from attendee is sent to
  attendee
  267025 	Random crash in exchange-storage after receiving a
  meeting request email
  269441 	Consistent hang while "Scanning for changed messages"
  or "Fetching summary information" when connecting
  across internet
  274030 	Evolution-Exchange-Storage Dies
  318698 	Tried to change my exchange password
  319865 	Evolution crash under KDE
  329569 	Modifying a particular instance causes crash
  331980 	Connector crashes on account changed signal
  273465 	'Update status' doesnt update invited users status
  in 'Attendee' list
  328587 	Changes done to messages in offline is not
  synched to server
  266737 	Meeting cancellations don't allow me to actually
  Cancel the meeting
  271882 	meeting reminders after configuring account
  307897 	Exchange connecter crashes when used
  312681 	MS exchange account cannot be deleted entirely
  317972 	can't get online
  320372 	copy contacts from Global address list to other folder
  328563 	'Permission denied' error while changing tasklist property
  330638 	delete user created calendar does not clear child
  calendar from gconf
  330668 	Exchange connector crashed while restarting evolution
  313681 	Free/Busy update not displaying info for (Exchange) attendees
  274089 	Evolution Crashes on startup fails to contact backend process
  315834 	evolution exchange will not run
  248804 	directory servers coming back after being removed...
  330665 	Exchange connector crash while accepting meeting
  332164 	Filters with attachments donot work
  332175 	Error while manually applying filters
  307638 	MS-Exchange - other users calendars
  327410 	Deleting/Moving messages in offline mode (exchg) does not work
  327134 	should specify requirement is kerberos-dev package
  instead of /usr/bin/ld: cannot find -lkrb5
  327135 	Make should explictly say that xinerama dev packages are
  required instead of /usr/bin/ld: cannot find -lXineramaf
  327136 	Make should specify xcursor libs as a requirement instead
  of /usr/bin/ld: cannot find -lXcursor
  327138 	should make xfixes requirement for configure to succeed
  272387 	all memory utilized when opening public calendar
* Wed Feb 15 2006 - aj@suse.de
- Reduce BuildRequires.
* Fri Feb 10 2006 - vvaradhan@novell.com
- Update to 2.5.9.0
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Dec 01 2005 - gekker@suse.de
- Update to version 2.4.2
* Thu Oct 13 2005 - gekker@suse.de
- Update to version 2.4.1
- Remove upstreamed patch
* Mon Sep 26 2005 - ro@suse.de
- move LDAP_DEPRECATED to correct place in specfile
* Mon Sep 26 2005 - ro@suse.de
- added LDAP_DEPRECATED to CFLAGS
* Thu Sep 08 2005 - gekker@suse.de
- Fix to see existing email on newly configured account (115416)
* Mon Sep 05 2005 - gekker@suse.de
- Update to version 2.4.0 (GNOME 2.12)
- Removed upstreamed patch
* Thu Aug 25 2005 - gekker@suse.de
- Update to version 2.3.8
* Sat Aug 13 2005 - aj@suse.de
- Add lzo and lzo-devel to neededforbuild.
* Fri Aug 12 2005 - gekker@suse.de
- Update to version 2.3.7
* Wed Aug 10 2005 - gekker@suse.de
- Remove -rpath and fix nfb (95673)
* Tue Aug 02 2005 - gekker@suse.de
- Update to version 2.3.6
- Remove upstreamed patch
* Tue Jul 26 2005 - gekker@suse.de
- Update to version 2.3.5
- Fix return of random data in function
* Fri Jul 01 2005 - gekker@suse.de
- Update to version 2.3.3
- Rename package from ximian-connector to evolution-exchange
* Thu May 19 2005 - ro@suse.de
- fix typo in specfile
* Wed May 18 2005 - ro@suse.de
- for < 9.2 re-add patched openldap
* Thu Apr 14 2005 - sbrabec@suse.cz
- Added audiofile-devel to neededforbuild.
* Fri Mar 18 2005 - gekker@suse.de
- Preserve authentication credentials (x73627).
* Wed Mar 16 2005 - gekker@suse.de
- Update to version 2.2.1
* Tue Mar 08 2005 - gekker@suse.de
- Update to version 2.2.0 (GNOME 2.10).
* Thu Mar 03 2005 - gekker@suse.de
- Update to version 2.1.6
* Thu Feb 10 2005 - gekker@suse.de
- Update to version 2.1.5
* Sat Feb 05 2005 - gekker@suse.de
- Update to version 2.1.4
* Tue Jan 18 2005 - clahey@suse.de
- Updated to version 2.1.3.
* Wed Jan 12 2005 - gekker@suse.de
- Update to version 2.1.2
- Add 2.1.2-warning.patch
* Tue Dec 07 2004 - gekker@suse.de
- Update version to 2.0.3 (Ximian 70057)
* Tue Nov 30 2004 - ro@suse.de
- Apply patch to fix forms based authentication
  http://bugzilla.ximian.com/show_bug.cgi?id=66926
* Fri Nov 19 2004 - ro@suse.de
- removed extra aclocal include directive
* Wed Nov 03 2004 - ro@suse.de
- locale rename: no -> nb
* Fri Oct 08 2004 - dobey@suse.de
- Apply patch for bug #67510 in bugzilla.ximian.com
* Fri Oct 01 2004 - dobey@suse.de
- Apply patch to fix bug #65685 in bugzilla.ximian.com
- Re-run libtoolize to fix bug #67291 in bugzilla.ximian.com
- Fix files list to only include the .so and .urls files for camel-provider
- Remove the .a and .la files for the camel provider at build install time
* Mon Sep 27 2004 - dobey@suse.de
- Fix dependency on evolution 1.5.94 to require >= 2.0 instead
* Fri Sep 24 2004 - dobey@suse.de
- Update to 2.0.1
* Tue Sep 14 2004 - dobey@suse.de
- Update to 2.0.0
* Mon Aug 30 2004 - dobey@suse.de
- Update to 1.5.94
* Sat Aug 21 2004 - dobey@suse.de
- Add openldap2 and cyrus-sasl2 builddeps
* Wed Aug 18 2004 - dobey@suse.de
- Add MozillaFirefox libdir to rpath
* Sun Aug 15 2004 - dobey@suse.de
- Update to 1.5.93
- Add patch to acinclude.m4 to fix static ldap linking
* Thu Aug 12 2004 - ro@suse.de
- added builddeps: gnutls gnutls-devel libgcrypt libgcrypt-devel
  libgpg-error libgpg-error-devel
* Wed Aug 04 2004 - dobey@suse.de
- Update to 1.5.92
* Mon Aug 02 2004 - dobey@suse.de
- Don't run autoconf/aclocal before configuring
* Wed Jul 28 2004 - dobey@suse.de
- Updated to 1.5.91
* Tue Jul 13 2004 - clahey@suse.de
- Updated to 1.5.90.
* Tue Jun 22 2004 - clahey@suse.de
- Add mozilla to the rpath.
* Mon Jun 21 2004 - ro@suse.de
- fix invalid use of const
* Wed Jun 09 2004 - clahey@suse.de
- builddep on mozilla.
* Tue Jun 08 2004 - clahey@suse.de
- Updated to 1.5.9.
* Thu May 27 2004 - hhetter@suse.de
- cleanup specfile
* Thu May 13 2004 - hhetter@suse.de
- inital SUSE package
openSUSE Build Service is sponsored by