File mingw32-evolution-exchange.spec of Package mingw32-evolution-exchange
#
# spec file for package mingw32-evolution-exchange
#
# Copyright (c) 2014 SUSE LINUX Products 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/
#
Name: mingw32-evolution-exchange
Version: 2.32.3
Release: 0
Summary: MinGW Windows port of Evolution Connector for Microsoft Exchange Server 2000/2003
License: GPL-2.0+
Group: Development/Libraries
Url: http://projects.gnome.org/evolution/
Source0: ftp://ftp.gnome.org/pub/gnome/sources/evolution-exchange/2.32/evolution-exchange-%{version}.tar.bz2
Patch0: evolution-exchange-2.32.3-deprecated.patch
Patch1: evolution-exchange-2.32.3-glib.patch
#!BuildIgnore: post-build-checks
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
BuildRequires: flex
BuildRequires: gconf2-devel
BuildRequires: glib2-devel
BuildRequires: gnome-common
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-gcc-c++
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-evolution-data-server-devel >= %{version}
BuildRequires: mingw32-evolution-devel >= %{version}
BuildRequires: mingw32-filesystem >= 25
BuildRequires: mingw32-gconf2-devel
BuildRequires: mingw32-glib2-devel
BuildRequires: mingw32-gtk2-devel
BuildRequires: mingw32-libdb-devel
BuildRequires: mingw32-libsoup-devel
BuildRequires: mingw32-libxml2-devel
BuildRequires: mingw32-win_iconv-devel
Requires: %{name}-lang = %{version}
%_mingw32_package_header_debug
BuildArch: noarch
%description
With the Connector for Microsoft Exchange installed, Evolution
functions as an Exchange client, enabling users to become full
participants in companywide group scheduling and other collaborative
tasks. Linux and Solaris users can access public folders, Global
Address Lists, e-mail, calendar, task lists, and group scheduling
information.
%_mingw32_debug_package
%lang_package
%prep
%setup -q -n evolution-exchange-%{version}
%patch0 -p1 -b .deprecated
%patch1 -p1 -b .glib
%build
%{_mingw32_env}; NOCONFIGURE=indeed PATH="$PATH:%{_mingw32_bindir}" \
ACLOCAL_FLAGS='-I%{_mingw32_datadir}/aclocal' \
AUTOMAKE=automake gnome-autogen.sh
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure} \
--disable-glibtest \
--disable-static --enable-shared \
--with-libdb=%{_mingw32_prefix}
%{_mingw32_make} %{?_smp_mflags} || %{_mingw32_make}
%install
%{_mingw32_make} DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_mingw32_libdir}/evolution-data-server-1.2/*/*.dll.a
rm -f %{buildroot}%{_mingw32_libdir}/evolution/*/plugins/*.dll.a
%find_lang evolution-exchange-2.32
%files
%defattr(-,root,root)
%{_mingw32_bindir}/exchange-connector-setup-2.32.exe
%{_mingw32_sysconfdir}/gconf/schemas/apps_exchange_addressbook-2.32.schemas
%{_mingw32_libdir}/evolution-data-server-1.2/camel-providers/libcamelexchange.urls
%{_mingw32_libdir}/evolution-data-server-1.2/camel-providers/libcamelexchange.dll
%{_mingw32_libdir}/evolution-data-server-1.2/extensions/libebookbackendexchange.dll
%{_mingw32_libdir}/evolution-data-server-1.2/extensions/libecalbackendexchange.dll
%{_mingw32_libdir}/evolution/*/plugins/liborg-gnome-exchange-operations.dll
%{_mingw32_libdir}/evolution/*/plugins/org-gnome-exchange-operations.eplug
%{_mingw32_datadir}/evolution/*/errors/org-gnome-exchange-operations.error
%{_mingw32_datadir}/evolution-exchange/*/images
%{_mingw32_datadir}/evolution-exchange/*/ui
%{_mingw32_datadir}/gtk-doc/html/evolution-exchange
%files lang -f evolution-exchange-2.32.lang
%defattr(-,root,root)
%changelog