- Add an evolution-pst subpackage for the PST importer plugin.

- Disabled until libpst settles on an API.
This commit is contained in:
Matthew Barnes 2009-07-10 15:03:47 +00:00
parent ba26f4fa5f
commit 8405ca2c5e

View File

@ -22,6 +22,7 @@
%define inline_audio_support 1
%define ldap_support 1
%define libnotify_support 1
%define libpst_support 1
%define krb5_support 1
%define nntp_support 1
%ifnarch s390 s390x
@ -42,7 +43,7 @@
Name: evolution
Version: 2.27.3
Release: 4%{?dist}
Release: 5%{?dist}
Group: Applications/Productivity
Summary: Mail and calendar client for GNOME
License: GPLv2+ and GFDL
@ -112,11 +113,9 @@ BuildRequires: libbonoboui-devel >= %{libbonoboui_version}
BuildRequires: libgnomecanvas-devel >= 2.0
BuildRequires: libgnomeui-devel >= 2.0
BuildRequires: libgweather-devel >= %{libgweather_version}
#BuildRequires: libpst-devel
BuildRequires: libsoup-devel >= %{soup_version}
BuildRequires: libtool >= 1.5
BuildRequires: libxml2-devel
#BuildRequires: libytnef-devel
BuildRequires: pkgconfig
%if %{use_mozilla_nss}
@ -154,6 +153,11 @@ BuildRequires: NetworkManager-glib-devel
BuildRequires: libnotify-devel
%endif
%if %{libpst_support}
BuildRequires: libpst-devel
BuildRequires: libytnef-devel
%endif
%description
Evolution is the GNOME mailer, calendar, contact manager and
communications tool. The components which make up Evolution
@ -223,6 +227,19 @@ Requires: %{name} = %{version}-%{release}
%description perl
This package contains supplemental utilities for %{name} that require Perl.
%if %{libpst_support}
%package pst
Group: Applications/Productivity
Summary: PST importer plugin for Evolution
Requires: %{name} = %{version}-%{release}
Requires: libpst
Requires: libytnef
%description pst
This package contains the plugin to import Microsoft Personal Storage Table
(PST) files used by Microsoft Outlook and Microsoft Exchange.
%endif
%prep
%setup -q -n evolution-%{version}
%patch10 -p1 -b .ldaphack
@ -676,7 +693,18 @@ rm -rf $RPM_BUILD_ROOT
%{_libexecdir}/evolution/%{evo_major}/csv2vcard
%{_libexecdir}/evolution/%{evo_major}/evolution-addressbook-clean
%if %{libpst_support}
%files pst
%defattr(-, root, root)
%{evo_plugin_dir}/org-gnome-pst-import.eplug
%{evo_plugin_dir}/liborg-gnome-pst-import.so
%endif
%changelog
* Fri Jul 10 2009 Matthew Barnes <mbarnes@redhat.com> - 2.26.3-2.fc11
- Add an evolution-pst subpackage for the PST importer plugin.
- Disabled until libpst settles on an API.
* Thu Jul 02 2009 Matthew Barnes <mbarnes@redhat.com> - 2.27.3-4.fc12
- Add BR for libpst-devel and libytnef-devel (RH bug #493049).
- Add patch to build pst-import plugin against current libpst.