2007-01-09 17:43:57 +01:00
#
2011-02-17 13:12:31 +01:00
# spec file for package evolution
2007-01-09 17:43:57 +01:00
#
2013-01-23 17:34:17 +01:00
# Copyright (c) 2013 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/
#
2012-02-08 16:27:26 +01:00
2011-04-27 11:35:02 +02:00
# wait for port of gtkimageview to gtk3
%define use_gtkimageview 0
2008-02-18 12:01:32 +01:00
2012-03-28 22:52:09 +02:00
%define need_autogen 0
2012-02-08 16:27:26 +01:00
2007-01-09 17:43:57 +01:00
Name : evolution
2012-09-08 11:18:13 +02:00
# This should be updated upon major version changes; it should match BASE_VERSION as defined in configure.in.
%define evolution_base_version 3.6
2013-01-23 17:34:17 +01:00
Version : 3.6.3
2012-09-08 11:18:13 +02:00
Release : 0
# FIXME: check if note on license is still valid (comment before license)
Summary : The Integrated GNOME Mail, Calendar, and Address Book Suite
2012-09-23 19:16:06 +02:00
License : LGPL-2.0 and LGPL-3.0
2012-09-08 11:18:13 +02:00
Group : Productivity/Networking/Email/Clients
# NOTE: Some files are currently GPL-2.0 but pending relicensing, see bnc#749859
Url : http://gnome.org/projects/evolution/
2012-09-23 19:16:06 +02:00
Source0 : http://download.gnome.org/sources/evolution/3.6/%{name} -%{version} .tar.xz
2013-02-14 13:13:32 +01:00
# PATCH-FIX-UPSTREAM evolution-fix-crash-when-searching.patch bgo#639698 badshah400@gmail.com -- Fix crash when search is initiated on a non-real folder; patch taken from upstream git.
Patch1 : evolution-fix-crash-when-searching.patch
# PATCH-FIX-UPSTREAM evolution-fix-empty-body-reply.patch bgo#680537 badshah400@gmail.com -- Fix a case where replying to a digest mail gives an empty-body mail in composer; patch came from upstream git.
Patch2 : evolution-fix-empty-body-reply.patch
# PATCH-FIX-UPSTREAM evolution-fix-text-css-as-attachment.patch bgo#692009 badshah400@gmail.com -- Fix formatting issues with text/css as attachment
Patch3 : evolution-fix-text-css-as-attachment.patch
# PATCH-FIX-UPSTREAM evolution-fix-message-quoted-twice.patch bgo#692775 badshah400@gmail.com -- Fix reply to email with both HTML and text constent being quoted twice; patch came from upstream
Patch4 : evolution-fix-message-quoted-twice.patch
# PATCH-FIX-UPSTREAM evolution-prevent-crash-on-folder-rename.patch bgo#692777 badshah400@gmail.com -- Prevent crash on folder rename
Patch5 : evolution-prevent-crash-on-folder-rename.patch
# PATCH-FIX-UPSTREAM evolution-prevent-crash-edit-task-prompt-cancel.patch bgo#692783 badshah400@gmail.com -- Prevent a crash when cancelling the prompt for editing task; patch taken from upstream git
Patch6 : evolution-prevent-crash-edit-task-prompt-cancel.patch
# PATCH-FIX-UPSTREAM evolution-pine-importer.patch bgo#692781 badshah400@gmail.com -- Fix abort on book import failure; patch taken from upstream git
Patch7 : evolution-pine-importer.patch
# PATCH-FIX-UPSTREAM evolution-schedule-higher-idle-priority-actions.patch bgo#683867 badshah400@gmail.com -- Schedule actions with highler idle priority; patch taken from upstream git
Patch8 : evolution-schedule-higher-idle-priority-actions.patch
# PATCH-FIX-UPSTREAM evolution-use-G_PRIORITY_HIGH_IDLE.patch bgo#683867 badshah400@gmail.com -- Use G_PRIORITY_HIGH_IDLE to beat gtk+ redraws; patch taken from upstream git
Patch9 : evolution-use-G_PRIORITY_HIGH_IDLE.patch
2013-01-04 10:00:30 +01:00
# PATCH-FIX-UPSTREAM bnc-435722-book-uri-long.patch bnc#435722 abharath@suse.de -- Book URI: Spills Into Second Column.
2012-09-08 11:18:13 +02:00
Patch19 : bnc-435722-book-uri-long.patch
2008-09-09 19:25:49 +02:00
BuildRequires : bison
BuildRequires : fdupes
2012-11-11 22:51:11 +01:00
BuildRequires : openldap2-devel
%if %{need_autogen}
2008-09-09 19:25:49 +02:00
BuildRequires : gnome-common
2011-12-21 06:10:07 +01:00
%endif
2008-09-09 19:25:49 +02:00
BuildRequires : gtk-doc
BuildRequires : intltool
2010-08-06 04:22:46 +02:00
BuildRequires : krb5-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 : psmisc
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
2012-09-08 14:17:17 +02:00
BuildRequires : yelp-tools
2010-09-08 14:28:02 +02:00
BuildRequires : pkgconfig(atk)
2012-09-08 11:18:13 +02:00
BuildRequires : pkgconfig(gail-3.0) >= 3.2.0
2010-09-08 14:28:02 +02:00
BuildRequires : pkgconfig(gio-2.0)
2012-09-08 11:18:13 +02:00
BuildRequires : pkgconfig(gladeui-2.0) >= 3.10.0
BuildRequires : pkgconfig(gnome-desktop-3.0) >= 2.91.3
BuildRequires : pkgconfig(gnome-icon-theme) >= 2.30.2.1
BuildRequires : pkgconfig(goa-1.0) >= 3.2
BuildRequires : pkgconfig(gstreamer-1.0)
BuildRequires : pkgconfig(gtk+-3.0) >= 3.4.0
BuildRequires : pkgconfig(webkitgtk-3.0) >= 1.8.0
2011-04-27 11:35:02 +02:00
%if %{use_gtkimageview}
BuildRequires : pkgconfig(gtkimageview-3.0)
%endif
2012-09-08 14:17:17 +02:00
BuildRequires : pkgconfig(gweather-3.0) >= 3.5.0
2012-02-20 10:36:16 +01:00
BuildRequires : pkgconfig(ice)
2011-04-27 11:35:02 +02:00
BuildRequires : pkgconfig(libcanberra-gtk3)
2012-09-08 11:18:13 +02:00
BuildRequires : pkgconfig(libedataserver-1.2) >= %{version}
BuildRequires : pkgconfig(libedataserverui-3.0) >= %{version}
BuildRequires : pkgconfig(libgdata) >= 0.10
BuildRequires : pkgconfig(libgtkhtml-4.0) >= 4.5.2
BuildRequires : pkgconfig(libnotify) >= 0.7
2012-01-17 16:39:24 +01:00
BuildRequires : pkgconfig(libpst) >= 0.6.54
2012-09-08 11:18:13 +02:00
BuildRequires : pkgconfig(libsoup-2.4) >= 2.38.1
BuildRequires : pkgconfig(libxml-2.0) >= 2.7.3
2010-09-08 14:28:02 +02:00
BuildRequires : pkgconfig(nspr)
BuildRequires : pkgconfig(nss)
BuildRequires : pkgconfig(pangoft2)
2012-09-08 11:18:13 +02:00
BuildRequires : pkgconfig(shared-mime-info) >= 0.22
2012-02-20 10:33:05 +01:00
BuildRequires : pkgconfig(sm)
2012-06-08 13:39:50 +02:00
Requires : evolution-data-server
2011-02-14 12:24:22 +01:00
Recommends: %{name} -lang
2008-05-16 13:34:00 +02:00
Recommends: bogofilter
2012-09-08 14:17:17 +02:00
# Mono and python plugins were available until evo 3.5.x
Obsoletes : evolution-mono-plugins < %{version}
Obsoletes : evolution-python-plugins < %{version}
2012-09-08 11:18:13 +02:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2011-12-21 06:10:07 +01:00
%glib2_gsettings_schema_requires
2007-01-09 17:43:57 +01:00
%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.
2011-10-06 23:26:04 +02:00
%package -n glade-catalog-evolution
2010-10-15 16:22:21 +02:00
Summary : Evolution Library -- Catalog for Glade
Group : Development/Tools/GUI Builders
Requires : %{name} = %{version}
2011-10-06 23:26:04 +02:00
Requires : glade
Supplements: packageand(glade:%{name} -devel)
2010-10-15 16:22:21 +02:00
2011-10-06 23:26:04 +02:00
%description -n glade-catalog-evolution
2010-10-15 16:22:21 +02:00
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.
This package provides a catalog for Glade, to allow the use of Evolution
widgets in Glade.
2007-01-09 17:43:57 +01:00
%package devel
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.
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
2013-01-04 10:00:30 +01:00
%patch19 -p1
2013-02-14 13:13:32 +01:00
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
translation-update-upstream
2007-01-09 17:43:57 +01:00
%build
2012-11-11 22:51:11 +01:00
%if %{need_autogen}
2012-03-28 08:27:55 +02:00
NOCONFIGURE=1 gnome-autogen.sh
2011-12-21 06:10:07 +01:00
%endif
2008-11-03 12:03:56 +01:00
%{configure} \
2008-10-22 17:49:23 +02:00
--disable-scrollkeeper \
2008-11-03 00:51:24 +01:00
--with-openldap=yes \
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 \
2010-09-08 14:28:02 +02:00
--with-glade-catalog \
2011-04-27 11:35:02 +02:00
%if !%{use_gtkimageview}
2011-04-27 10:34:17 +02:00
--disable-image-inline \
2011-04-27 11:35:02 +02:00
%endif
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
2012-09-08 11:18:13 +02:00
make
2007-12-19 17:36:09 +01:00
popd
2011-09-21 17:42:51 +02:00
make %{?_smp_flags} V=1
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
2012-09-08 11:18:13 +02:00
rm %{buildroot} %{_datadir} /locale/en@shaw/LC_MESSAGES/*
2009-12-24 20:31:48 +01:00
%endif
2009-12-30 00:16:58 +01:00
find %{buildroot} -name '*.la' -type f -delete -print
2011-01-07 16:36:01 +01:00
# Office is okay upstream, but we want the menu item to appear in Internet
grep -q " ^ C a t e g o r i e s = . * O f f i c e " %{buildroot} %{_datadir} /applications/evolution.desktop
2011-01-07 16:29:20 +01:00
%suse_update_desktop_file -r -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 GNOME GTK Network Email Calendar ContactManagement
2009-12-30 00:16:58 +01:00
%suse_update_desktop_file evolution-alarm-notify
2011-02-14 12:24:22 +01:00
%find_lang evolution-%evolution_base_version %{?no_lang_C}
%find_lang evolution %{?no_lang_C} evolution-%evolution_base_version.lang
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
%post
2011-12-21 06:10:07 +01:00
%glib2_gsettings_schema_post
2010-12-11 18:48:29 +01:00
%desktop_database_post
2011-02-14 12:24:22 +01:00
%icon_theme_cache_post
2009-07-31 19:13:49 +02:00
2007-01-09 17:43:57 +01:00
%postun
2011-12-21 06:10:07 +01:00
%glib2_gsettings_schema_postun
2010-12-11 18:48:29 +01:00
%desktop_database_postun
2011-02-14 12:24:22 +01:00
%icon_theme_cache_postun
2007-01-09 17:43:57 +01:00
2012-09-08 11:18:13 +02:00
%files
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
2012-09-08 11:18:13 +02:00
%doc %{_datadir} /help/C/%{name} /
2007-01-09 17:43:57 +01:00
%{_bindir} /*
2011-12-21 06:10:07 +01:00
%{_datadir} /GConf/gsettings/evolution.convert
2007-01-09 17:43:57 +01:00
%{_datadir} /applications/*.desktop
%{_datadir} /evolution
2007-03-27 01:50:48 +02:00
%{_datadir} /icons/hicolor/*/apps/*.png
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.gschema.xml
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.importer.gschema.xml
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.shell.gschema.xml
# Should not be installed as the plugin is not installed (bgo#666613)
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.plugin.external-editor.gschema.xml
2007-01-09 17:43:57 +01:00
%dir %{_libdir} /evolution
%dir %{_libdir} /evolution/*
2012-02-23 13:19:07 +01:00
%{_libdir} /evolution/*/*.so
2012-09-08 11:18:13 +02:00
%dir %{_libdir} /evolution/%{evolution_base_version} /modules
%{_libdir} /evolution/%{evolution_base_version} /modules/module-addressbook.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-audio-inline.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-backup-restore.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-bogofilter.so
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.bogofilter.gschema.xml
2012-09-08 11:18:13 +02:00
%{_libdir} /evolution/%{evolution_base_version} /modules/module-book-config-google.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-book-config-ldap.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-book-config-local.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-book-config-webdav.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-cal-config-caldav.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-cal-config-contacts.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-cal-config-google.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-cal-config-local.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-cal-config-weather.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-cal-config-webcal.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-calendar.so
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.calendar.gschema.xml
2012-09-08 11:18:13 +02:00
%{_libdir} /evolution/%{evolution_base_version} /modules/module-composer-autosave.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-imap-features.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-itip-formatter.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-mail-config.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-mail.so
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.mail.gschema.xml
2012-09-08 11:18:13 +02:00
%{_libdir} /evolution/%{evolution_base_version} /modules/module-mailto-handler.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-mdn.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-offline-alert.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-online-accounts.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-plugin-lib.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-plugin-manager.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-prefer-plain.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-spamassassin.so
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.spamassassin.gschema.xml
2012-09-08 11:18:13 +02:00
%{_libdir} /evolution/%{evolution_base_version} /modules/module-startup-wizard.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-text-highlight.so
%{_libdir} /evolution/%{evolution_base_version} /modules/module-vcard-inline.so
%{_libdir} /evolution/%{evolution_base_version} /modules/*-web-inspector.*
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.addressbook.gschema.xml
2009-02-09 12:46:14 +01:00
%dir %{_libdir} /evolution/*/plugins
%{_libdir} /evolution/*/plugins/*-email-custom-header.*
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.plugin.email-custom-header.gschema.xml
2009-02-09 12:46:14 +01:00
%{_libdir} /evolution/*/plugins/*-evolution-attachment-reminder.*
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.plugin.attachment-reminder.gschema.xml
2009-02-09 12:46:14 +01:00
%{_libdir} /evolution/*/plugins/*-evolution-bbdb.*
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.plugin.autocontacts.gschema.xml
2010-08-06 02:12:11 +02:00
%{_libdir} /evolution/*/plugins/*-gnome-dbx-import.*
2011-04-27 10:34:17 +02:00
%{_libdir} /evolution/*/plugins/*-gnome-face.*
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.plugin.face-picture.gschema.xml
2012-09-08 11:18:13 +02:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.plugin.publish-calendar.gschema.xml
%{_libdir} /evolution/*/plugins/liborg-gnome-external-editor.so
%{_libdir} /evolution/*/plugins/org-gnome-external-editor.eplug
2011-04-27 11:35:02 +02:00
%if %{use_gtkimageview}
%{_libdir} /evolution/*/plugins/*-gnome-image-inline.*
%endif
2009-02-09 12:46:14 +01:00
%{_libdir} /evolution/*/plugins/*-itip-formatter.*
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.plugin.itip.gschema.xml
2009-02-09 12:46:14 +01:00
%{_libdir} /evolution/*/plugins/*-mailing-list-actions.*
%{_libdir} /evolution/*/plugins/*-mail-notification.*
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.plugin.mail-notification.gschema.xml
2009-02-09 12:46:14 +01:00
%{_libdir} /evolution/*/plugins/*-mail-to-task.*
%{_libdir} /evolution/*/plugins/*-mark-all-read.*
%{_libdir} /evolution/*/plugins/*-prefer-plain.*
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.plugin.prefer-plain.gschema.xml
2009-02-09 12:46:14 +01:00
%{_libdir} /evolution/*/plugins/*-pst-import.*
%{_libdir} /evolution/*/plugins/*-publish-calendar.*
%{_libdir} /evolution/*/plugins/*-save-calendar.*
%{_libdir} /evolution/*/plugins/*-templates.*
2011-12-21 06:10:07 +01:00
%{_datadir} /glib-2.0/schemas/org.gnome.evolution.plugin.templates.gschema.xml
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
2011-10-06 23:26:04 +02:00
%files -n glade-catalog-evolution
2010-10-15 16:22:21 +02:00
%defattr (-,root,root)
2011-10-06 23:26:04 +02:00
%{_libdir} /glade/modules/libgladeevolution.so
%{_datadir} /glade/catalogs/evolution.xml
2010-10-15 16:22:21 +02:00
2010-09-08 14:28:02 +02:00
%files devel
2007-01-09 17:43:57 +01:00
%defattr (-,root,root)
%{_includedir} /*
%{_libdir} /pkgconfig/*.pc
2009-12-24 20:31:48 +01:00
%{_datadir} /gtk-doc/html/eshell
2007-01-09 17:43:57 +01:00
2007-03-16 10:09:15 +01:00
%changelog