Accepting request 87792 from GNOME:Evolution:snapshot-3.2

evolution-ews is a evolution backend which connects to MS Exchange servers 2007 and later using Exchange web services protocol.

OBS-URL: https://build.opensuse.org/request/show/87792
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/evolution-ews?expand=0&rev=1
This commit is contained in:
Vincent Untz 2011-10-14 12:16:37 +00:00 committed by Git OBS Bridge
commit fe8309fcad
7 changed files with 180 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,15 @@
diff --git a/configure.ac b/configure.ac
index 5329c41..19e5f90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4,8 +4,8 @@ AM_INIT_AUTOMAKE([gnu 1.9])
AC_CONFIG_SRCDIR(README)
AC_CONFIG_HEADERS(config.h)
-BASE_VERSION=3.0
-m4_define([base_version], [3.0])
+BASE_VERSION=3.2
+m4_define([base_version], [3.2])
AC_SUBST(BASE_VERSION)
dnl ****************************

View File

@ -0,0 +1,13 @@
diff --git a/configure.ac b/configure.ac
index a219022..e66845f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -90,7 +90,7 @@ AS_COMPILER_FLAGS(WARNING_FLAGS,
-Werror-implicit-function-declaration
-Wformat-nonliteral -Wformat-security -Winit-self
-Wmissing-declarations -Wmissing-include-dirs
- -Wmissing-noreturn -Wnested-externs -Wpointer-arith
+ -Wmissing-noreturn -Wpointer-arith
-Wundef -Wwrite-strings -Werror")
AC_SUBST(WARNING_FLAGS)

17
evolution-ews.changes Normal file
View File

@ -0,0 +1,17 @@
-------------------------------------------------------------------
Fri Oct 14 07:59:40 UTC 2011 - jpunit@suse.com
- Patches added:
+ Changed compiler flag (Dimstar)
-------------------------------------------------------------------
Mon Oct 10 14:03:00 UTC 2011 - jpunit@suse.com
- Patches added:
+ Base version changed to 3.2
-------------------------------------------------------------------
Fri Oct 7 12:33:23 UTC 2011 - jpunit@suse.com
- First submission of evolution-ews

108
evolution-ews.spec Normal file
View File

@ -0,0 +1,108 @@
#
# spec file for package
#
# Copyright (c) 2010 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-ews
# This should be updated upon major version changes; it should match BASE_VERSION as defined in configure.in.
%define evolution_base_version 3.2
Version: 3.2
Release: 1
# FIXME: on update after 3.1.1, update license tag (see bgo#651254) if needed
License: LGPLv2.0 ; LGPLv3
Summary: Exchange Connector for MS exchange servers 2007 and later
Url: http://projects.gnome.org/evolution/
Group: Productivity/Networking/Email/Clients
Source: %{name}.tar.bz2
Patch0: base-version-changed.patch
Patch1: change-compiler-flag-dimstar.patch
BuildRequires: intltool
BuildRequires: gnome-common
BuildRequires: fdupes
BuildRequires: translation-update-upstream
BuildRequires: evolution-devel >= 3.2
BuildRequires: pkgconfig(evolution-data-server-1.2)
BuildRequires: libsoup-devel
Requires: libsoup > 2.30
Requires: evolution-data-server >= 3.2
Requires: evolution >= 3.2
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Provides exchange connectivity for exchange server 2007 and later using
exchange web services protocol.
%package devel
Summary: Include files and libraries for develop applications using EWS protocol
Group: Development/Libraries/C and C++
Requires: %{name}=%{version}-%{release}
%description devel
Include files and libraries for develop applications using exchange
webservices protocol to connect to exchange server 2007 or later
%lang_package
%prep
%setup -q -n %{name}
translation-update-upstream
%patch0 -p1
%patch1 -p1
%build
NOCONFIGURE=1 ./autogen.sh \
--disable-static
%{configure} \
--disable-static
%{__make} %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -delete -print
%find_lang evolution-ews %{?no_lang_C}
%find_lang evolution-ews %{?no_lang_C} evolution-ews.lang
%fdupes %{buildroot}
%clean
%{?buildroot:%__rm -rf %{buildroot}}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc COPYING
%{_libdir}/evolution-data-server/addressbook-backends/libebookbackendews.so
%{_libdir}/evolution-data-server/calendar-backends/libecalbackendews.so
%{_libdir}/evolution-data-server/camel-providers/libcamelews.so
%{_libdir}/evolution-data-server/camel-providers/libcamelews.urls
%{_libdir}/evolution/%{evolution_base_version}/plugins/liborg-gnome-exchange-ews.so
%{_libdir}/evolution/%{evolution_base_version}/plugins/org-gnome-exchange-ews.eplug
%{_libdir}/libeews-1.2.so.*
%{_libdir}/libewsutils.so.*
%{_libdir}/liblzx.so.*
%files lang -f evolution-ews.lang
%files devel
%defattr(-, root, root)
%{_libdir}/pkgconfig/libeews-1.2.pc
%{_libdir}/libeews-1.2.so
%{_libdir}/libewsutils.so
%{_libdir}/liblzx.so
%dir %{_includedir}/evolution-data-server-%{evolution_base_version}
%{_includedir}/evolution-data-server-%{evolution_base_version}/ews/
%changelog

3
evolution-ews.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2e1e60ab4e5d299c54548bd2c975ccf772c94c3421a18622dada12e4cc2b4ef
size 178569