LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File evolution-mapi-openSUSE_13.1.spec of Package evolution-mapi (Project GNOME:Evolution:mapi)

#
# spec file for package evolution-mapi
#
# Copyright (c) 2013 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:           evolution-mapi
Version:        3.10.1
Release:        0
Summary:        Evolution extension for MS Exchange 2007 servers
Group:          Productivity/Networking/Email/Clients
License:        LGPL-2.1
URL:            http://projects.gnome.org/evolution
Source:         http://ftp.gnome.org/pub/gnome/sources/evolution-mapi/3.10/%{name}-%{version}.tar.xz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

BuildRequires:  evolution-data-server-devel >= %{version}
BuildRequires:  evolution-devel >= %{version}
BuildRequires:  gnome-common
BuildRequires:  openchange-devel >= 2.0

Recommends:     %{name}-lang = %{version}
Recommends:     krb5-auth-dialog

%description
This package allows Evolution to interact with MS Exchange 2007 servers.

%package devel
License:        LGPL-2.1
Summary:        Development files for building against %{name}
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version}-%{release}

%description devel
Development files needed for building things which link against %{name}.

%lang_package

%prep
%setup -q

%build
# Regenerate configure to pick up changes
autoreconf --force --install
%configure \
     --disable-maintainer-mode
make %{?_smp_mflags}

%install
%makeinstall
# Remove the .la files
find %{buildroot}/%{_libdir} -name '*.la' -exec rm {} \;
%find_lang %{name}

%post
/sbin/ldconfig

%postun
/sbin/ldconfig

%files
%defattr(-, root, root)
%{_libdir}/libexchangemapi-1.0.so.*
%{_libdir}/evolution-data-server/camel-providers/libcamelmapi.so
%{_libdir}/evolution-data-server/camel-providers/libcamelmapi.urls
%{_libdir}/evolution-data-server/addressbook-backends/libebookbackendmapi.so
%{_libdir}/evolution-data-server/calendar-backends/libecalbackendmapi.so
%{_libdir}/evolution-data-server/registry-modules/module-mapi-backend.so
%{_libdir}/evolution/*/modules/module-mapi-configuration.so
%{_datadir}/evolution-data-server/mapi

%files lang -f %{name}.lang

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

%changelog