From fe8309fcadcb21011d7fae30630d5fade33d619e0fd16e72be3c2d5d99f7752e Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Fri, 14 Oct 2011 12:16:37 +0000 Subject: [PATCH] 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 --- .gitattributes | 23 ++++++ .gitignore | 1 + base-version-changed.patch | 15 ++++ change-compiler-flag-dimstar.patch | 13 ++++ evolution-ews.changes | 17 +++++ evolution-ews.spec | 108 +++++++++++++++++++++++++++++ evolution-ews.tar.bz2 | 3 + 7 files changed, 180 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 base-version-changed.patch create mode 100644 change-compiler-flag-dimstar.patch create mode 100644 evolution-ews.changes create mode 100644 evolution-ews.spec create mode 100644 evolution-ews.tar.bz2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/base-version-changed.patch b/base-version-changed.patch new file mode 100644 index 0000000..a048f92 --- /dev/null +++ b/base-version-changed.patch @@ -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 **************************** diff --git a/change-compiler-flag-dimstar.patch b/change-compiler-flag-dimstar.patch new file mode 100644 index 0000000..cf8a526 --- /dev/null +++ b/change-compiler-flag-dimstar.patch @@ -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) + diff --git a/evolution-ews.changes b/evolution-ews.changes new file mode 100644 index 0000000..47345e8 --- /dev/null +++ b/evolution-ews.changes @@ -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 + diff --git a/evolution-ews.spec b/evolution-ews.spec new file mode 100644 index 0000000..8e56e10 --- /dev/null +++ b/evolution-ews.spec @@ -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 diff --git a/evolution-ews.tar.bz2 b/evolution-ews.tar.bz2 new file mode 100644 index 0000000..1b40cf4 --- /dev/null +++ b/evolution-ews.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2e1e60ab4e5d299c54548bd2c975ccf772c94c3421a18622dada12e4cc2b4ef +size 178569