d2747a4cf6
1 OBS-URL: https://build.opensuse.org/request/show/391587 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/evolution?expand=0&rev=297
327 lines
13 KiB
RPMSpec
327 lines
13 KiB
RPMSpec
#
|
|
# spec file for package evolution
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
# wait for port of gtkimageview to gtk3
|
|
%define use_gtkimageview 0
|
|
|
|
%define need_autogen 0
|
|
|
|
Name: evolution
|
|
# This should be updated upon major version changes; it should match BASE_VERSION as defined in configure.in.
|
|
%define evolution_base_version 3.20
|
|
Version: 3.20.1
|
|
Release: 0
|
|
# _version needs to be %{version} stripped to major.minor.micro only...
|
|
%define _version %(echo %{version} | grep -E -o '[0-9]+\.[0-9]+\.[0-9]+')
|
|
# FIXME: enable text-highligh once we have a package for it.
|
|
# FIXME: check if note on license is still valid (comment before license)
|
|
Summary: The Integrated GNOME Mail, Calendar, and Address Book Suite
|
|
License: LGPL-2.0 and LGPL-3.0
|
|
Group: Productivity/Networking/Email/Clients
|
|
# NOTE: Some files are currently GPL-2.0 but pending relicensing, see bnc#749859
|
|
Url: http://wiki.gnome.org/Apps/Evolution/
|
|
Source0: http://download.gnome.org/sources/evolution/3.20/%{name}-%{version}.tar.xz
|
|
# The icon we rely on is from adwaita-icon-theme
|
|
BuildRequires: adwaita-icon-theme
|
|
BuildRequires: bison
|
|
BuildRequires: bogofilter
|
|
BuildRequires: fdupes
|
|
BuildRequires: openldap2-devel
|
|
%if %{need_autogen}
|
|
BuildRequires: gnome-common
|
|
%endif
|
|
BuildRequires: gtk-doc
|
|
BuildRequires: intltool
|
|
# don't you ever enable this! It's experimental and insecure (bnc#609013)
|
|
#BuildRequires: libytnef-devel
|
|
BuildRequires: psmisc
|
|
BuildRequires: spamassassin
|
|
BuildRequires: sqlite3-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: pkgconfig(atk)
|
|
BuildRequires: pkgconfig(cryptui-0.0)
|
|
BuildRequires: pkgconfig(gail-3.0) >= 3.2.0
|
|
BuildRequires: pkgconfig(gcr-3) >= 3.4
|
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.24.0
|
|
BuildRequires: pkgconfig(geocode-glib-1.0) >= 3.10
|
|
BuildRequires: pkgconfig(gio-2.0) >= 2.40.0
|
|
BuildRequires: pkgconfig(gladeui-2.0) >= 3.10.0
|
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 2.91.3
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.8.0
|
|
BuildRequires: pkgconfig(gtkspell3-3.0)
|
|
BuildRequires: pkgconfig(webkitgtk-3.0) >= 2.0.1
|
|
%if %{use_gtkimageview}
|
|
BuildRequires: pkgconfig(gtkimageview-3.0)
|
|
%endif
|
|
BuildRequires: pkgconfig(gweather-3.0) >= 3.10
|
|
BuildRequires: pkgconfig(ice)
|
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
|
BuildRequires: pkgconfig(libedataserver-1.2) >= %{_version}
|
|
BuildRequires: pkgconfig(libgdata) >= 0.10
|
|
BuildRequires: pkgconfig(libgtkhtml-4.0) >= 4.5.2
|
|
BuildRequires: pkgconfig(libnotify) >= 0.7
|
|
BuildRequires: pkgconfig(libpst) >= 0.6.54
|
|
BuildRequires: pkgconfig(libsoup-2.4) >= 2.42
|
|
BuildRequires: pkgconfig(libxml-2.0) >= 2.7.3
|
|
BuildRequires: pkgconfig(nspr)
|
|
BuildRequires: pkgconfig(nss)
|
|
BuildRequires: pkgconfig(pangoft2)
|
|
BuildRequires: pkgconfig(shared-mime-info) >= 0.22
|
|
BuildRequires: pkgconfig(sm)
|
|
Requires: evolution-data-server >= %{_version}
|
|
Recommends: %{name}-lang
|
|
# Mono and python plugins were available until evo 3.5.x
|
|
Obsoletes: evolution-mono-plugins < %{version}
|
|
Obsoletes: evolution-python-plugins < %{version}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%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 -n glade-catalog-evolution
|
|
Summary: Evolution Library -- Catalog for Glade
|
|
Group: Development/Tools/GUI Builders
|
|
Requires: %{name} = %{version}
|
|
Requires: glade
|
|
Supplements: packageand(glade:%{name}-devel)
|
|
|
|
%description -n glade-catalog-evolution
|
|
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.
|
|
|
|
%package -n evolution-plugin-bogofilter
|
|
Summary: Evolution extension -- bogofilter
|
|
Group: Productivity/Networking/Email/Clients
|
|
Requires: %{name}
|
|
Requires: bogofilter
|
|
Supplements: packageand(%{name}:bogofilter)
|
|
Enhances: %{name}
|
|
|
|
%description -n evolution-plugin-bogofilter
|
|
Adds support for junk-mail filtering via bogofilter.
|
|
|
|
%package -n evolution-plugin-pst-import
|
|
Summary: Evolution extension -- Outlook PST Import
|
|
Group: Productivity/Networking/Email/Clients
|
|
Requires: %{name}
|
|
Enhances: %{name}
|
|
|
|
%description -n evolution-plugin-pst-import
|
|
Adds support to import messages from Outlook PST files.
|
|
|
|
%package -n evolution-plugin-spamassassin
|
|
Summary: Evolution extension -- spamassassin
|
|
Group: Productivity/Networking/Email/Clients
|
|
Requires: %{name}
|
|
Requires: spamassassin
|
|
Supplements: packageand(%{name}:spamassassin)
|
|
Enhances: %{name}
|
|
|
|
%description -n evolution-plugin-spamassassin
|
|
Adds support for junk-mail filtering via spamassassin.
|
|
|
|
%package devel
|
|
Summary: Include Files and Libraries mandatory for Development
|
|
Group: Development/Libraries/C and C++
|
|
Requires: evolution = %{version}
|
|
Provides: evolution2-devel = %{version}
|
|
Obsoletes: evolution2-devel < %{version}
|
|
|
|
%description devel
|
|
This package contains all necessary include files and libraries needed
|
|
to develop applications that require these.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
translation-update-upstream
|
|
|
|
%build
|
|
%if %{need_autogen}
|
|
NOCONFIGURE=1 gnome-autogen.sh
|
|
%endif
|
|
%{configure} \
|
|
--with-openldap=yes \
|
|
--enable-nss=yes \
|
|
--enable-smime=yes \
|
|
--with-glade-catalog \
|
|
%if !%{use_gtkimageview}
|
|
--disable-image-inline \
|
|
%endif
|
|
--disable-static \
|
|
--disable-text-highlight \
|
|
--disable-autoar # FIXME: remove when gnome-autoar is packaged
|
|
# Processing the files in help uses _lots_ of memory, so running that part in parallel is bad.
|
|
pushd help
|
|
make
|
|
popd
|
|
make %{?_smp_flags} V=1
|
|
|
|
%install
|
|
%{makeinstall}
|
|
find %{buildroot} -name '*.la' -type f -delete -print
|
|
# Office is okay upstream, but we want the menu item to appear in Internet
|
|
grep -q "^Categories=.*Office" %{buildroot}%{_datadir}/applications/evolution.desktop
|
|
%suse_update_desktop_file -r -G "Mail and Calendar" evolution GNOME GTK Network Email Calendar ContactManagement
|
|
%suse_update_desktop_file evolution-alarm-notify
|
|
%find_lang evolution-%evolution_base_version %{?no_lang_C}
|
|
%find_lang evolution %{?no_lang_C} evolution-%evolution_base_version.lang
|
|
%fdupes %{buildroot}
|
|
|
|
%post
|
|
%glib2_gsettings_schema_post
|
|
%desktop_database_post
|
|
%icon_theme_cache_post
|
|
|
|
%postun
|
|
%glib2_gsettings_schema_postun
|
|
%desktop_database_postun
|
|
%icon_theme_cache_postun
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING COPYING.LGPL2 COPYING.LGPL3 COPYING-DOCS COPYING.OPENLDAP ChangeLog MAINTAINERS NEWS NEWS-1.0 README
|
|
%doc %{_datadir}/help/C/%{name}/
|
|
%{_bindir}/*
|
|
%{_datadir}/GConf/gsettings/evolution.convert
|
|
%dir %{_datadir}/appdata
|
|
%{_datadir}/appdata/evolution.appdata.xml
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/evolution
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
%{_datadir}/icons/hicolor/*/apps/evolution-symbolic.svg
|
|
%{_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
|
|
# despite the plugins being split in their own packages, the schema must be present in any case
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.bogofilter.gschema.xml
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.spamassassin.gschema.xml
|
|
%dir %{_libdir}/evolution
|
|
%dir %{_libdir}/evolution/*
|
|
%{_libdir}/evolution/*.so
|
|
%{_libdir}/evolution/modules/module-addressbook.so
|
|
%{_libdir}/evolution/modules/module-backup-restore.so
|
|
%{_libdir}/evolution/modules/module-book-config-google.so
|
|
%{_libdir}/evolution/modules/module-book-config-ldap.so
|
|
%{_libdir}/evolution/modules/module-book-config-local.so
|
|
%{_libdir}/evolution/modules/module-book-config-webdav.so
|
|
%{_libdir}/evolution/modules/module-cal-config-caldav.so
|
|
%{_libdir}/evolution/modules/module-cal-config-contacts.so
|
|
%{_libdir}/evolution/modules/module-cal-config-google.so
|
|
%{_libdir}/evolution/modules/module-cal-config-local.so
|
|
%{_libdir}/evolution/modules/module-cal-config-weather.so
|
|
%{_libdir}/evolution/modules/module-cal-config-webcal.so
|
|
%{_libdir}/evolution/modules/module-calendar.so
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.calendar.gschema.xml
|
|
%{_libdir}/evolution/modules/module-composer-autosave.so
|
|
%{_libdir}/evolution/modules/module-contact-photos.so
|
|
%{_libdir}/evolution/modules/module-gravatar.so
|
|
%{_libdir}/evolution/modules/module-itip-formatter.so
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.plugin.itip.gschema.xml
|
|
%{_libdir}/evolution/modules/module-mail-config.so
|
|
%{_libdir}/evolution/modules/module-mail.so
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.mail.gschema.xml
|
|
%{_libdir}/evolution/modules/module-mailto-handler.so
|
|
%{_libdir}/evolution/modules/module-mdn.so
|
|
%{_libdir}/evolution/modules/module-offline-alert.so
|
|
%{_libdir}/evolution/modules/module-plugin-lib.so
|
|
%{_libdir}/evolution/modules/module-plugin-manager.so
|
|
%{_libdir}/evolution/modules/module-prefer-plain.so
|
|
%{_libdir}/evolution/modules/module-settings.so
|
|
%{_libdir}/evolution/modules/module-startup-wizard.so
|
|
#{_libdir}/evolution/%{evolution_base_version}/modules/module-text-highlight.so
|
|
%{_libdir}/evolution/modules/module-vcard-inline.so
|
|
%{_libdir}/evolution/modules/*-web-inspector.*
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.addressbook.gschema.xml
|
|
%{_libdir}/evolution/plugins/*-email-custom-header.*
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.plugin.email-custom-header.gschema.xml
|
|
%{_libdir}/evolution/plugins/*-evolution-attachment-reminder.*
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.plugin.attachment-reminder.gschema.xml
|
|
%{_libdir}/evolution/plugins/*-evolution-bbdb.*
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.plugin.autocontacts.gschema.xml
|
|
%{_libdir}/evolution/plugins/*-gnome-dbx-import.*
|
|
%{_libdir}/evolution/plugins/*-gnome-face.*
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.plugin.face-picture.gschema.xml
|
|
%{_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
|
|
%if %{use_gtkimageview}
|
|
%{_libdir}/evolution/plugins/*-gnome-image-inline.*
|
|
%endif
|
|
%{_libdir}/evolution/plugins/*-mailing-list-actions.*
|
|
%{_libdir}/evolution/plugins/*-mail-notification.*
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.plugin.mail-notification.gschema.xml
|
|
%{_libdir}/evolution/plugins/*-mail-to-task.*
|
|
%{_libdir}/evolution/plugins/*-prefer-plain.*
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.plugin.prefer-plain.gschema.xml
|
|
%{_libdir}/evolution/plugins/*-publish-calendar.*
|
|
%{_libdir}/evolution/plugins/*-save-calendar.*
|
|
%{_libdir}/evolution/plugins/*-templates.*
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.evolution.plugin.templates.gschema.xml
|
|
%dir %{_libexecdir}/evolution
|
|
%{_libexecdir}/evolution/csv2vcard
|
|
%{_libexecdir}/evolution/evolution-*
|
|
%{_libexecdir}/evolution/killev
|
|
%{_sysconfdir}/xdg/autostart/evolution-alarm-notify.desktop
|
|
|
|
%files lang -f evolution-%evolution_base_version.lang
|
|
|
|
%files -n glade-catalog-evolution
|
|
%defattr(-,root,root)
|
|
%{_libdir}/glade/modules/libgladeevolution.so
|
|
%{_datadir}/glade/catalogs/evolution.xml
|
|
|
|
%files -n evolution-plugin-bogofilter
|
|
%defattr(-,root,root)
|
|
%{_datadir}/appdata/evolution-bogofilter.metainfo.xml
|
|
%{_libdir}/evolution/modules/module-bogofilter.so
|
|
|
|
%files -n evolution-plugin-spamassassin
|
|
%defattr(-,root,root)
|
|
%{_datadir}/appdata/evolution-spamassassin.metainfo.xml
|
|
%{_libdir}/evolution/modules/module-spamassassin.so
|
|
|
|
%files -n evolution-plugin-pst-import
|
|
%defattr(-,root,root)
|
|
%{_libdir}/evolution/plugins/*-pst-import.*
|
|
%{_datadir}/appdata/evolution-pst.metainfo.xml
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/evolution*
|
|
%{_libdir}/pkgconfig/evolution-calendar-3.0.pc
|
|
%{_libdir}/pkgconfig/evolution-mail-3.0.pc
|
|
%{_libdir}/pkgconfig/evolution-shell-3.0.pc
|
|
%{_libdir}/pkgconfig/libemail-engine.pc
|
|
%{_datadir}/gtk-doc/html/evolution-*/
|
|
|
|
%changelog
|