2007-01-09 17:43:57 +01:00
#
2010-08-06 04:22:46 +02:00
# spec file for package evolution (Version 2.31.6)
2007-01-09 17:43:57 +01:00
#
2010-01-18 15:14:35 +01:00
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
2007-01-09 17:43:57 +01:00
#
2008-08-14 02:23:32 +02:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2007-01-09 17:43:57 +01:00
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
2009-12-30 00:16:57 +01:00
2009-12-30 00:16:58 +01:00
%define USE_EVOLDAP 0
2008-02-18 12:01:32 +01:00
2007-01-09 17:43:57 +01:00
Name : evolution
2009-06-02 12:44:40 +02:00
BuildRequires : NetworkManager-devel
2008-09-09 19:25:49 +02:00
BuildRequires : bison
2009-12-30 00:16:58 +01:00
%if %USE_EVOLDAP
2008-10-22 17:49:23 +02:00
BuildRequires : evoldap2-devel
2008-11-03 00:51:24 +01:00
%else
BuildRequires : openldap2-devel
%endif
2008-09-09 19:25:49 +02:00
BuildRequires : evolution-data-server-devel
BuildRequires : fdupes
BuildRequires : gnome-common
BuildRequires : gnome-doc-utils-devel
2010-08-06 04:22:46 +02:00
BuildRequires : gnome-desktop-devel
2008-09-09 19:25:49 +02:00
BuildRequires : gnome-icon-theme-devel
2009-06-02 12:44:40 +02:00
BuildRequires : gstreamer-0_10-devel
2008-09-09 19:25:49 +02:00
BuildRequires : gtk-doc
BuildRequires : gtkhtml2-devel
2010-01-18 15:14:35 +01:00
BuildRequires : gtkimageview-devel
2008-09-09 19:25:49 +02:00
BuildRequires : intltool
2010-08-06 04:22:46 +02:00
BuildRequires : krb5-devel
2009-12-24 20:31:48 +01:00
BuildRequires : libcanberra-devel
2010-08-06 02:12:11 +02:00
BuildRequires : libgdata-devel
2009-02-09 12:46:14 +01:00
BuildRequires : libgweather-devel >= 2.25.4
2008-09-09 19:25:49 +02:00
BuildRequires : libnotify-devel
2008-11-24 16:00:55 +01:00
BuildRequires : libpst-devel
2010-08-06 04:22:46 +02:00
BuildRequires : libunique-devel
2010-08-06 02:12:11 +02:00
# don't you ever enable this! It's experimental and insecure (bnc#609013)
#BuildRequires: libytnef-devel
2008-09-09 19:25:49 +02:00
BuildRequires : mozilla-nss-devel
BuildRequires : psmisc
BuildRequires : python-devel
BuildRequires : shared-mime-info
2008-08-14 02:23:32 +02:00
BuildRequires : sqlite3-devel
2009-03-25 19:08:59 +01:00
BuildRequires : translation-update-upstream
2008-11-24 16:00:55 +01:00
BuildRequires : update-desktop-files
2009-12-24 20:31:48 +01:00
License : LGPLv2.0 ; LGPLv3
2007-01-09 17:43:57 +01:00
Group : Productivity/Networking/Email/Clients
2008-11-03 12:03:56 +01:00
# This should be updated upon major version changes; it should match BASE_VERSION as defined in configure.in.
2010-08-06 04:22:46 +02:00
%define evolution_base_version 2.32
Version : 2.31.6
2010-08-06 02:12:11 +02:00
Release : 1
2010-08-14 00:04:52 +02:00
# FIXME: check with upstream/meego if we want to enable clutter for express mode
2007-01-09 17:43:57 +01:00
Summary : The Integrated GNOME Mail, Calendar, and Address Book Suite
2009-02-09 12:46:14 +01:00
Source0 : ftp://ftp.gnome.org/pub/gnome/sources/evolution/2.25/%{name} -%{version} .tar.bz2
2010-08-06 04:22:46 +02:00
# PATCH-FIX-UPSTREAM evolution-no-dbus-glib.patch vuntz@opensuse.org -- Taken from upstream, there's no use of dbus-glib anymore, so no need to call init functions
Patch0 : evolution-no-dbus-glib.patch
2008-08-14 02:23:32 +02:00
# PATCH-NEEDS-REBASE calendar-sendbutton.patch -- It also needs a proper description and a bug number
2008-05-16 13:34:00 +02:00
Patch7 : calendar-sendbutton.patch
2008-11-03 12:03:56 +01:00
# PATCH-FIX-OPENSUSE evolution-custom-openldap-includes.patch maw@novell.com -- look for ldap includes in %{_libdir}/evoldap/include
2008-10-22 17:49:23 +02:00
Patch15 : evolution-custom-openldap-includes.patch
2010-08-06 02:12:11 +02:00
# PATCH-NEEDS-REBASE bnc-435668-hide-accept.patch bnc#435668 -- Meetings In SentItems Should Hide Accept/Decline. (WAS: PATCH-FIX-UPSTREAM)
2008-11-17 16:47:50 +01:00
Patch18 : bnc-435668-hide-accept.patch
2008-11-20 15:18:48 +01:00
# PATCH-FIX-UPSTREAM bnc-435722-book-uri-long.patch bnc#435722 abharath@suse.de -- Book URI: Spills Into Second Column.
2008-11-17 16:47:50 +01:00
Patch19 : bnc-435722-book-uri-long.patch
2008-11-20 15:18:48 +01:00
# PATCH-FIX-OPENSUSE bnc-433448-backup-restore-fails.patch bnc433448 abharath@suse.de -- Not required upstream.
Patch25 : bnc-433448-backup-restore-fails.patch
# PATCH-FIX-UPSTREAM bnc-210959-evo-accept-ics.patch bnc210959 pchenthill@novell.com -- Patch yet to be pushed upstream.
Patch35 : bnc-210959-evo-accept-ics.patch
2009-12-24 20:31:48 +01:00
# PATCH-NEEDS-REBASE bnc-449888-handle-no-workspace.patch bnc449888 pchenthill@suse.de -- Patch needs to be upstreamed. (WAS: PATCH-FIX-UPSTREAM)
2008-12-06 12:46:10 +01:00
Patch42 : bnc-449888-handle-no-workspace.patch
2010-08-06 02:12:11 +02:00
# PATCH-NEEDS-REBASE bnc-440634-forwarded-hide-accept-decline.patch bnc440634 abharath@suse.de -- Make GW understand folders better. (WAS: PATCH-FIX-SLED)
2009-01-08 18:03:16 +01:00
Patch53 : bnc-440634-forwarded-hide-accept-decline.patch
2009-05-21 00:58:36 +02:00
# PATCH-NEEDS-REBASE bnc-445996-address-conflict.patch bnc445996 shashish@suse.de -- Needs to be moved out of glade files. (was PATCH-FIX-SLED)
2009-01-08 18:03:16 +01:00
Patch54 : bnc-445996-address-conflict.patch
2007-09-14 16:06:27 +02:00
Url : http://gnome.org/projects/evolution/
2007-01-09 17:43:57 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2008-05-16 13:34:00 +02:00
Recommends: bogofilter
2007-08-09 17:23:32 +02:00
Requires : %{name} -lang = %{version}
2007-01-09 17:43:57 +01:00
%gconf_schemas_prereq
%description
Evolution consists of modular components (at the moment: mailer,
calendar, and address book) that should make daily life easier. Because
of the modular design, it is possible to plug new components into
Evolution or embed the existing ones in other applications.
%package devel
2009-12-24 20:31:48 +01:00
License : LGPLv2.0 ; LGPLv3
2008-08-14 02:23:32 +02:00
Summary : Include Files and Libraries mandatory for Development
2007-01-09 17:43:57 +01:00
Group : Development/Libraries/C and C++
2009-12-30 00:16:58 +01:00
Requires : evolution = %{version}
2009-12-24 20:31:48 +01:00
Provides : evolution2-devel = %{version}
Obsoletes : evolution2-devel < %{version}
2007-01-09 17:43:57 +01:00
2009-07-31 19:13:49 +02:00
%description devel
2007-01-09 17:43:57 +01:00
This package contains all necessary include files and libraries needed
to develop applications that require these.
2009-02-09 12:46:14 +01:00
%package mono-plugins
2009-12-24 20:31:48 +01:00
License : LGPLv2.0 ; LGPLv3
2009-02-09 12:46:14 +01:00
Summary : The Integrated GNOME Mail, Calendar, and Address Book Suite
Group : Productivity/Networking/Email/Clients
2009-12-30 00:16:58 +01:00
Requires : evolution = %{version}
Supplements: packageand(evolution:mono-core)
2009-02-09 12:46:14 +01:00
# Dice support is disabled
#BuildRequires: dice-devel
BuildRequires : evolution-sharp
BuildRequires : gconf-sharp2
BuildRequires : glib-sharp2
BuildRequires : gnome-sharp2
BuildRequires : gtk-sharp2
BuildRequires : mono-devel
BuildRequires : ndesk-dbus-glib-devel
%description mono-plugins
Evolution consists of modular components (at the moment: mailer,
calendar, and address book) that should make daily life easier. Because
of the modular design, it is possible to plug new components into
Evolution or embed the existing ones in other applications.
2009-12-30 00:16:58 +01:00
%package python-plugins
License : LGPLv2.0 ; LGPLv3
Summary : The Integrated GNOME Mail, Calendar, and Address Book Suite
Group : Productivity/Networking/Email/Clients
Requires : evolution = %{version}
Supplements: packageand(evolution:python)
%description python-plugins
Evolution consists of modular components (at the moment: mailer,
calendar, and address book) that should make daily life easier. Because
of the modular design, it is possible to plug new components into
Evolution or embed the existing ones in other applications.
2007-08-09 17:23:32 +02:00
%lang_package
2007-01-09 17:43:57 +01:00
%prep
2009-02-12 16:18:05 +01:00
%setup -q
2009-03-25 19:08:59 +01:00
translation-update-upstream
2010-08-06 04:22:46 +02:00
%patch0 -p1
2008-08-14 02:23:32 +02:00
# %patch7
2009-12-30 00:16:58 +01:00
%if %USE_EVOLDAP
2008-10-22 17:49:23 +02:00
%patch15 -p1
2009-12-30 00:16:58 +01:00
%endif
2010-08-06 02:12:11 +02:00
# NEEDS REBASE
#%patch18
2008-11-17 16:47:50 +01:00
%patch19
2008-11-20 15:18:48 +01:00
%patch25
%patch35
2009-12-24 20:31:48 +01:00
# NEEDS-REBASE
#%patch42 -p1
2010-08-06 02:12:11 +02:00
# NEEDS REBASE
#%patch53
2009-05-21 00:58:36 +02:00
#%patch54
2007-01-09 17:43:57 +01:00
%build
autoreconf -f -i
2008-11-03 12:03:56 +01:00
%{__sed} -i -e 's/@ENABLE_SK_TRUE@_s/_s/' help/Makefile.in
%{configure} \
2008-10-22 17:49:23 +02:00
--disable-scrollkeeper \
2009-12-30 00:16:58 +01:00
%if %USE_EVOLDAP
2008-10-24 15:01:21 +02:00
--with-openldap=%{_libdir} /evoldap \
2008-11-03 00:51:24 +01:00
%else
--with-openldap=yes \
%endif
2009-02-09 12:46:14 +01:00
--with-krb5=%{_prefix} \
2008-10-22 17:49:23 +02:00
--enable-nss=yes \
2009-02-09 12:46:14 +01:00
--enable-smime=yes \
2008-11-17 16:47:50 +01:00
--enable-mono=yes \
2009-12-30 00:16:58 +01:00
--enable-python=yes \
2009-02-09 12:46:14 +01:00
--disable-static
2008-11-03 12:03:56 +01:00
# Processing the files in help uses _lots_ of memory, so running that part in parallel is bad.
2007-12-19 14:45:48 +01:00
pushd help
2008-11-03 12:03:56 +01:00
%{__make}
2007-12-19 17:36:09 +01:00
popd
2008-11-03 12:03:56 +01:00
%{__make} %{?jobs:-j%jobs}
2007-01-09 17:43:57 +01:00
%install
2009-02-09 12:46:14 +01:00
%{makeinstall}
2009-12-24 20:31:48 +01:00
%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot} %{_datadir} /locale/en@shaw/LC_MESSAGES/*
%endif
2009-12-30 00:16:58 +01:00
find %{buildroot} -name '*.la' -type f -delete -print
2009-02-23 13:05:17 +01:00
%suse_update_desktop_file -G " M a i l a n d C a l e n d a r " -N " E v o l u t i o n " -D " e v o l u t i o n " evolution Core-Office
2009-12-30 00:16:58 +01:00
%suse_update_desktop_file evolution-alarm-notify
2010-08-06 04:22:46 +02:00
%suse_update_desktop_file evolution-settings
2007-12-19 14:45:48 +01:00
%find_lang evolution-%evolution_base_version
%find_lang evolution evolution-%evolution_base_version.lang
2007-01-09 17:43:57 +01:00
%find_gconf_schemas
2009-12-30 00:16:58 +01:00
%{__rm} -r %{buildroot} %{_datadir} /mime-info
%if %USE_EVOLDAP
%{__mv} %{buildroot} %{_bindir} /evolution %{buildroot} %{_bindir} /evolution.bin
echo -e " # ! / b i n / b a s h \n \n L D _ L I B R A R Y _ P A T H = %{_libdir} / e v o l d a p / l i b e x e c - a \" %{_bindir} / e v o l u t i o n \" %{_bindir} / e v o l u t i o n . b i n \" \ $ @ \" " > %{buildroot} %{_bindir} /evolution
%{__chmod} +x %{buildroot} %{_bindir} /evolution
2008-11-03 00:51:24 +01:00
%endif
2009-12-30 00:16:58 +01:00
%fdupes %{buildroot}
2007-08-03 00:25:49 +02:00
2007-01-09 17:43:57 +01:00
%clean
2009-12-30 00:16:58 +01:00
%{__rm} -rf %{buildroot}
2007-01-09 17:43:57 +01:00
%pre -f %{name}.schemas_pre
%post
if test -x usr/bin/update-mime-database ; then
usr/bin/update-mime-database usr/share/mime >/dev/null
fi
2009-07-31 19:13:49 +02:00
2007-01-09 17:43:57 +01:00
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%postun
if test -x usr/bin/update-mime-database ; then
usr/bin/update-mime-database usr/share/mime >/dev/null
fi
2009-12-30 00:16:58 +01:00
%files -f %{name}.schemas_list
2007-01-09 17:43:57 +01:00
%defattr (-,root,root)
2008-11-24 16:00:55 +01:00
%doc AUTHORS COPYING COPYING.LGPL2 COPYING.LGPL3 COPYING-DOCS COPYING.OPENLDAP ChangeLog MAINTAINERS NEWS NEWS-1.0 README
2007-01-09 17:43:57 +01:00
%{_bindir} /*
%{_datadir} /applications/*.desktop
%{_datadir} /evolution
2007-03-27 01:50:48 +02:00
%{_datadir} /icons/hicolor/*/apps/*.png
%{_datadir} /icons/hicolor/scalable/apps/*.svg
2007-01-09 17:43:57 +01:00
%dir %{_libdir} /evolution
%dir %{_libdir} /evolution/*
2007-01-12 01:21:32 +01:00
%{_libdir} /evolution/*/*.so.*
2009-12-24 20:31:48 +01:00
%dir %{_libdir} /evolution/*/modules/
%{_libdir} /evolution/*/modules/*-module-addressbook.*
%{_libdir} /evolution/*/modules/*-module-calendar.*
%{_libdir} /evolution/*/modules/*-module-mail.*
2010-08-06 02:12:11 +02:00
%{_libdir} /evolution/*/modules/*-module-mailto-handler.*
2009-12-24 20:31:48 +01:00
%{_libdir} /evolution/*/modules/*-module-plugin-lib.*
2010-08-06 02:12:11 +02:00
%{_libdir} /evolution/*/modules/*-module-startup-wizard.*
2010-05-14 00:40:52 +02:00
%{_libdir} /evolution/*/modules/*-module-network-manager.*
2009-02-09 12:46:14 +01:00
%dir %{_libdir} /evolution/*/plugins
%{_libdir} /evolution/*/plugins/*-addressbook-file.*
%{_libdir} /evolution/*/plugins/*-backup-restore.*
%{_libdir} /evolution/*/plugins/*-bogo-junk-plugin.*
%{_libdir} /evolution/*/plugins/*-calendar-file.*
%{_libdir} /evolution/*/plugins/*-calendar-http.*
%{_libdir} /evolution/*/plugins/*-calendar-weather.*
%{_libdir} /evolution/*/plugins/*-compose-send-options.*
%{_libdir} /evolution/*/plugins/*-default-source.*
%{_libdir} /evolution/*/plugins/*-email-custom-header.*
%{_libdir} /evolution/*/plugins/*-evolution-attachment-reminder.*
%{_libdir} /evolution/*/plugins/*-evolution-bbdb.*
%{_libdir} /evolution/*/plugins/*-evolution-caldav.*
%{_libdir} /evolution/*/plugins/*-evolution-google.*
%{_libdir} /evolution/*/plugins/*-evolution-webdav.*
2009-06-02 12:44:40 +02:00
%{_libdir} /evolution/*/plugins/*-gnome-audio-inline.*
2010-08-06 02:12:11 +02:00
%{_libdir} /evolution/*/plugins/*-gnome-dbx-import.*
2009-12-24 20:31:48 +01:00
%{_libdir} /evolution/*/plugins/*-gnome-image-inline.*
2009-06-02 12:44:40 +02:00
%{_libdir} /evolution/*/plugins/*-gnome-vcard-inline.*
2009-02-09 12:46:14 +01:00
%{_libdir} /evolution/*/plugins/*-groupwise-features.*
%{_libdir} /evolution/*/plugins/*-imap-features.*
%{_libdir} /evolution/*/plugins/*-itip-formatter.*
%{_libdir} /evolution/*/plugins/*-mailing-list-actions.*
%{_libdir} /evolution/*/plugins/*-mail-notification.*
%{_libdir} /evolution/*/plugins/*-mail-to-task.*
%{_libdir} /evolution/*/plugins/*-mark-all-read.*
%{_libdir} /evolution/*/plugins/*-plugin-manager.*
%{_libdir} /evolution/*/plugins/*-prefer-plain.*
%{_libdir} /evolution/*/plugins/*-pst-import.*
%{_libdir} /evolution/*/plugins/*-publish-calendar.*
%{_libdir} /evolution/*/plugins/*-sa-junk-plugin.*
%{_libdir} /evolution/*/plugins/*-save-calendar.*
%{_libdir} /evolution/*/plugins/*-subject-thread.*
%{_libdir} /evolution/*/plugins/*-templates.*
2009-07-31 19:13:49 +02:00
%dir %{_libexecdir} /evolution
%dir %{_libexecdir} /evolution/*
%{_libexecdir} /evolution/*/csv2vcard
%{_libexecdir} /evolution/*/evolution-*
%{_libexecdir} /evolution/*/killev
2009-12-24 20:31:48 +01:00
%{_sysconfdir} /xdg/autostart/evolution-alarm-notify.desktop
2007-01-09 17:43:57 +01:00
2007-12-19 14:45:48 +01:00
%files lang -f evolution-%evolution_base_version.lang
2007-08-09 17:23:32 +02:00
2007-05-10 00:48:46 +02:00
%files devel
2007-01-09 17:43:57 +01:00
%defattr (-,root,root)
%{_includedir} /*
2009-08-21 17:25:13 +02:00
%{_libdir} /evolution/%{evolution_base_version} /*.so
2007-01-09 17:43:57 +01:00
%{_libdir} /pkgconfig/*.pc
2009-12-24 20:31:48 +01:00
%{_datadir} /gtk-doc/html/eshell
2007-01-09 17:43:57 +01:00
2009-02-09 12:46:14 +01:00
%files mono-plugins
%defattr (-,root,root)
2009-12-24 20:31:48 +01:00
%{_libdir} /evolution/*/modules/*-module-plugin-mono.*
2009-02-09 12:46:14 +01:00
# Dice support is disabled
#%{_libdir}/evolution/*/plugins/*-sharepoint-*
#%{_libdir}/evolution/*/plugins/*.dll
2009-12-30 00:16:58 +01:00
%files python-plugins
%defattr (-,root,root)
%{_libdir} /evolution/*/modules/*-module-plugin-python.*
2007-03-16 10:09:15 +01:00
%changelog