%define dbver 3.1.17 %define realversion 0.99.0 Name: evolution Summary: Integrated GNOME mail client, calendar and address book. Version: 0.99 Release: alt2 Copyright: GPL Group: Office Source: http://www.helixcode.com/apps/evolution-preview/%{name}-%{realversion}.tar.bz2 #Source: http://www.helixcode.com/apps/evolution-preview/%{name}-0.12.99.tar.bz2 Source2: evolution_48.xpm.bz2 Source3: evolution_32.xpm.bz2 Source4: evolution_16.xpm.bz2 Source6: db-%{dbver}.tar.bz2 Source5: evolution-0.10-gnome-pilot.m4.bz2 # (fc) 0.9-2mdk patch to prevent addressbook crashes Patch1: evolution-0.15-font.patch Patch2: evolution-0.99.0-make.patch URL: http://www.gnome.org/ PreReq: oaf >= 0.6.6 PreReq: scrollkeeper Requires: bonobo >= 0.37, Requires: bonobo-conf >= 0.11, #pulled by libraries dependency #libglade, libunicode >= 0.4 #Requires: libgnome-vfs >= 1.0 Requires: gnome-print >= 0.24 Requires: libgal >= 0.18 Requires: libgtkhtml >= 0.16 #Requires: gnome-pilot >= 0.1.61 Provides: camel BuildPreReq: gettext BuildRequires: libbonobo-devel, libglade-devel, libunicode-devel BuildRequires: libgnome-vfs-devel, libgtkhtml-devel >= 0.14.0 , gnome-print-devel BuildRequires: libgal-devel >= 0.18 oaf-devel >= 0.6.6 BuildRequires: gnome-pilot-devel >= 0.1.61 pilot-link >= 0.9.5-ipl5mdk BuildRequires: bonobo-conf >= 0.11 %description Evolution is the GNOME mailer, calendar, contact manager and communications tool. The tools which make up Evolution will be tightly integrated with one another and act as a seamless personal information-management tool. %package pilot Summary: Evolution conduits for gnome-pilot Group: Communications Requires: %{name} = %{version} Requires: gnome-pilot >= 0.1.61 %description pilot Evolution is the GNOME mailer, calendar, contact manager and communications tool. The tools which make up Evolution will be tightly integrated with one another and act as a seamless personal information-management tool. This package contains conduits needed by gnome-pilot to synchronize your Palm with Evolution %package devel Summary: Libraries and include files for developing Evolution components Group: Development/GNOME and GTK+ Requires: %{name} = %{version} Provides: camel-devel %description devel Evolution is the GNOME mailer, calendar, contact manager and communications tool. The tools which make up Evolution will be tightly integrated with one another and act as a seamless personal information-management tool. This package contains the files necessary to develop applications using Evolution's libraries. %package devel-static Summary: Static libraries for developing Evolution components Group: Development/GNOME and GTK+ Requires: %name-devel = %version %description devel-static Evolution is the GNOME mailer, calendar, contact manager and communications tool. The tools which make up Evolution will be tightly integrated with one another and act as a seamless personal information-management tool. This package contains the files necessary to develop statically linked applications using Evolution's libraries. %prep %setup -q -n%name-%realversion #%patch1 -p1 %patch2 -p1 rm -f ltconfig ltmain.sh libtoolize --force --copy bzcat %{SOURCE5} > macros/gnome-pilot.m4 # install db3 in separate directory (cd .. ; rm -rf db-3.1.17 ; bzcat %{SOURCE6} | tar xf - ) %build (cd ../db-3.1.17/dist CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=$PWD/../prefix %make make install ) aclocal -I macros autoconf (cd libical ; aclocal ; autoconf) automake %configure --with-openldap \ --with-nspr-includes=%{_includedir}/nspr --with-nss-includes=%{_includedir}/nss3 \ --with-db3=$PWD/../db-3.1.17/prefix --enable-file-locking=no \ --enable-pilot-conduits=yes --with-openldap=yes --with-static-ldap=no DISPNUM=0 while [ -f /tmp/.X$DISPNUM-lock -o -e /tmp/.X11-unix/X$DISPNUM ]; do DISPNUM=$(($DISPNUM+1)) done DISPLAY=:$DISPNUM %_x11bindir/Xvfb $DISPLAY & export DISPLAY %make_build CFLAGS="$CFLAGS -I/usr/include/gnome-1.0" (cd data ; make) kill $(cat /tmp/.X$DISPNUM-lock) %install %makeinstall mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Applications mkdir -p $RPM_BUILD_ROOT%{_datadir}/mime-info cp data/evolution.desktop $RPM_BUILD_ROOT%{_datadir}/gnome/apps/Applications cp data/evolution.keys $RPM_BUILD_ROOT%{_datadir}/mime-info cp data/evolution.mime $RPM_BUILD_ROOT%{_datadir}/mime-info #cp movemail/movemail $RPM_BUILD_ROOT%{_libdir}/evolution mkdir -p $RPM_BUILD_ROOT%{_iconsdir} $RPM_BUILD_ROOT%{_liconsdir} $RPM_BUILD_ROOT%{_miconsdir} bzcat %{SOURCE2} > $RPM_BUILD_ROOT%{_liconsdir}/evolution.xpm bzcat %{SOURCE3} > $RPM_BUILD_ROOT%{_iconsdir}/evolution.xpm bzcat %{SOURCE4} > $RPM_BUILD_ROOT%{_miconsdir}/evolution.xpm mkdir -p $RPM_BUILD_ROOT%{_menudir} cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name} ?package(%{name}): \ command="%{_bindir}/evolution" \ icon="evolution.xpm" \ needs="X11" \ section="Office" \ title="Evolution" \ longtitle="GNOME mailer, calendar, contact manager and communications tool" EOF %{find_lang} %{name} %pre if [ "$DURING_INSTALL" != "" ]; then %_bindir/oaf-slay -s ||: fi %post /sbin/ldconfig if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update || true ; fi %{update_menus} %postun /sbin/ldconfig if [ -x /usr/bin/scrollkeeper-update ]; then /usr/bin/scrollkeeper-update || true ; fi %{clean_menus} %files -f %{name}.lang %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README #%config(noreplace) %{_sysconfdir}/gnome/config/* %{_bindir}/* %attr(2755,root,mail) %{_sbindir}/camel-lock-helper %{_libdir}/*.so.* %dir %{_libdir}/evolution %dir %{_libdir}/evolution/camel-providers %dir %{_libdir}/evolution/camel-providers/%{realversion} %dir %{_libdir}/evolution/evolution-mail-importers %dir %{_libdir}/evolution/evolution-mail-importers/%{realversion} %{_libdir}/evolution/camel-providers/*/*.so* %{_libdir}/evolution/camel-providers/*/*.urls %{_libdir}/evolution/evolution-mail-importers/*/*.so* %{_datadir}/gnome/help/evolution %{_datadir}/gnome/help/cal %{_datadir}/gnome/apps/*/* %{_datadir}/gnome/ui/*.xml %{_datadir}/evolution %{_datadir}/idl/*.idl %{_datadir}/oaf/* %{_datadir}/pixmaps/* %{_datadir}/mime-info/* %dir %{_datadir}/images %{_datadir}/images/evolution %{_datadir}/libical-evolution %{_iconsdir}/*.xpm %{_liconsdir}/*.xpm %{_miconsdir}/*.xpm %{_menudir}/%{name} %{_datadir}/omf/* %files devel %defattr(-, root, root) %{_libdir}/libca*.so %{_libdir}/libca*.la %{_libdir}/libe*.so %{_libdir}/libe*.la %{_libdir}/evolution/camel-providers/*/*.la %{_libdir}/evolution/evolution-mail-importers/*/*.la #%{_includedir}/*.h %{_includedir}/camel %{_includedir}/ename %{_includedir}/evolution %{_datadir}/gnome/html/* %files devel-static %{_libdir}/libca*.a %{_libdir}/libe*.a %{_libdir}/evolution/camel-providers/*/*.a %{_libdir}/evolution/evolution-mail-importers/*/*.a %files pilot %defattr(-, root, root) %{_libdir}/gnome-pilot/conduits/*.so %{_datadir}/gnome-pilot/conduits/* %changelog * Fri Nov 09 2001 AEN 0.99-alt2 - w/o font patch * Fri Nov 09 2001 AEN 0.99-alt1 - new version * Mon Oct 29 2001 AEN 0.16-alt0.1 - build snapshot * Tue Oct 09 2001 AEN 0.15-alt2 - fonts patch * Tue Oct 09 2001 AEN 0.15-alt1 - new version * Wed Sep 12 2001 AEN 0.13-alt3 - requires bonobo-conf * Mon Sep 10 2001 AEN 0.13-alt2 - i18n patch from MDK * Fri Sep 07 2001 AEN 0.13-alt1 - release 0.13 * Wed Sep 05 2001 AEN 0.13-alt0.1 - snapshot * Wed Sep 05 2001 AEN 0.12-alt3 - rebuild with new libgal/gtkhtml - oaf-slay added to %post * Tue Aug 23 2001 AEN 0.12-alt2 - rebuild with new libtool/autoconf * Thu Aug 09 2001 AEN 0.12-alt1 - new version * Wed Jul 24 2001 AEN 0.11-alt1 - new version - w/o movemail * Wed Jul 17 2001 AEN 0.10.99-alt3 - new snapshot with gtkhtml-0.10.0 * Thu Jul 12 2001 AEN 0.10.99-alt2 - new snapshot * Mon Jul 9 2001 AEN 0.10.99-alt1 - new version with db-3.1.17 * Thu May 24 2001 AEN 0.10-alt5 - built cvs version with libgal-0.8 and gtkhtml-0.9.3+ - built w/o pilot, ssl, nspr * Thu May 17 2001 AEN 0.10-alt4 - build with pilot support * Wed May 16 2001 AEN 0.10-alt3 - charset patch - ru.po fixed * Tue May 15 2001 AEN 0.10-alt2 - %files fixed * Tue May 15 2001 AEN 0.10-alt1 - 0.10 * Mon Apr 9 2001 AEN 0.9-ipl3mdk - sync with MDK - rebuild in Gnome-1.4 environment * Mon Mar 19 2001 Dmitry V. Levin 0.9-ipl2mdk - Moved static libraries to devel-static subpackage. * Wed Mar 14 2001 AEN 0.9-ipl1mdk - 0.9 * Thu Feb 22 2001 AEN 0.8-ipl3mdk - build ximean snapsot 2001/02/16 * Thu Feb 22 2001 AEN 0.8-ipl2mdk - rebuild with new libraries - gal-0.5 patch * Sat Dec 16 2000 AEN - 0.8 - adopted for RE * Thu Nov 16 2000 Frederic Crozat 0.6-3mdk - Really remove dependency on old libstdc++ * Sat Nov 4 2000 Guillaume Cottenceau 0.6-2mdk - simple rebuild (new libstdc++) * Fri Oct 27 2000 Frederic Crozat 0.6-1mdk - Release 0.6 - Disable LDAP (OpenLDAP 2.0 not supported yet) * Mon Sep 18 2000 Frederic Crozat 0.5.1-1mdk - Release 0.5.1 * Fri Sep 15 2000 Frederic Crozat 0.5-2mdk - add missing icons * Thu Sep 14 2000 Frederic Crozat 0.5-1mdk - Release 0.5 (+ merge from Helix 0mdk_helix_1) * Mon Aug 28 2000 Frederic Crozat 0.4.1-1mdk - Release 0.4.1 (merge from Helix 0_helix_1) - no longer conflict with gnome-pim * Fri Aug 11 2000 Frederic Crozat 0.3.1-2mdk - add dependency on gnome-vfs - add menu entry * Thu Aug 3 2000 Frederic Crozat 0.3.1-1mdk - Release 0.3.1 - first mandrake package : BM + macroszification - Build without GConf * Sun May 21 2000 Ross Golder - created spec file