LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File evolution-mapi-openSUSE_12.2.spec of Package evolution-mapi (Project GNOME:Evolution:mapi)

#
# spec file for package evolution-mapi
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2008 Suman Manjunath
#
# 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/
#

# norootforbuild

%define sambaprefix /usr/%{_lib}/samba4

Name:           evolution-mapi
Version:        3.4.4
Release:        0
Summary:        Exchange MAPI plugin for Evolution
Group:          Productivity/Networking/Email/Clients
License:        LGPL-2.0 ; LGPL-3.0
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/evolution-mapi/3.4/%{name}-%{version}.tar.xz
Url:            http://www.go-evolution.org/MAPIProvider
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  intltool pkg-config
BuildRequires:  gnome-common
BuildRequires:  openchange-devel >= 1.0 samba4-devel >= 4.0.0alpha18
BuildRequires:  evolution-data-server-devel >= 3.4 evolution-devel >= 3.4 libunique-devel
AutoReqProv:    on
Requires:       openchange >= 1.0 evolution-data-server >= 3.4 evolution >= 3.4
Requires:       %{name}-lang = %{version}

%description
This package provides the Exchange MAPI Account Setup plugin in
Evolution and the corresponding mail, addressbook and calendar backends
for Evolution-Data-Server. It depends on the alpha-release of Samba 4
and the MAPI library provided by OpenChange.

NOTE: This plugin is highly experimental and may not work as intended.



Authors:
--------
    Srinivasa Ragavan (sragavan@novell.com)
    Jacob Johnny (jjohnny@novell.com)
    Suman Manjunath (msuman@novell.com)

%package devel
License:        LGPL-2.0 ; LGPL-3.0
Summary:        Exchange MAPI plugin for Evolution (experimental)
Group:          Development/Libraries/GNOME
Provides:       pkgconfig(libexchangemapi)
Requires:       %{name} = %{version}-%{release}

%description devel
This package provides the Exchange MAPI Account Setup plugin in
Evolution and the corresponding mail, addressbook and calendar backends
for Evolution-Data-Server. It depends on the alpha-release of Samba 4
and the MAPI library provided by OpenChange.

NOTE: This plugin is highly experimental and may not work as intended.



Authors:
--------
    Srinivasa Ragavan (sragavan@novell.com)
    Jacob Johnny (jjohnny@novell.com)
    Suman Manjunath (msuman@novell.com)

%lang_package

%prep
%setup -q

%build
export PKG_CONFIG_PATH=%{sambaprefix}/%{_lib}/pkgconfig:$PKG_CONFIG_PATH
%configure \
    --disable-static
make %{?_smp_mflags}

%install
%makeinstall
%find_lang %{name}
# Remove the .la files
%__rm -f %{buildroot}/%{_libdir}/*.la
%__rm -f %{buildroot}/%{_libdir}/evolution-data-server/*/*.la
%__rm -f %{buildroot}/%{_libdir}/evolution/*/plugins/*.la

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-, root, root)
%{_libdir}/*.so.*
%{_libdir}/evolution-data-server/*/*.so
%{_libdir}/evolution-data-server/*/*.urls
%{_datadir}/evolution-data-server-*/mapi
%{_libdir}/evolution/*/plugins/*.so
%{_libdir}/evolution/*/plugins/*.eplug

%files lang -f %{name}.lang

%files devel
%defattr(-,root,root)
%{_includedir}/evolution-data-server-*/mapi
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so

%changelog