| 1 | Summary: Evolution extension for Exchange Web Services |
| 2 | Summary(pl.UTF-8): Rozszerzenie Evolution dla Exchange Web Services |
| 3 | Name: evolution-ews |
| 4 | Version: 3.44.1 |
| 5 | Release: 1 |
| 6 | License: LGPL v2+ |
| 7 | Group: X11/Applications/Mail |
| 8 | Source0: https://download.gnome.org/sources/evolution-ews/3.44/%{name}-%{version}.tar.xz |
| 9 | # Source0-md5: ee349aa29a088ad29169924cd8680f81 |
| 10 | URL: https://wiki.gnome.org/Apps/Evolution |
| 11 | BuildRequires: cmake >= 3.1 |
| 12 | BuildRequires: evolution-data-server-devel >= %{version} |
| 13 | BuildRequires: evolution-devel >= %{version} |
| 14 | BuildRequires: gettext-tools |
| 15 | BuildRequires: glib2-devel >= 1:2.62 |
| 16 | BuildRequires: gtk+3-devel >= 3.10.0 |
| 17 | BuildRequires: gtk-doc >= 1.9 |
| 18 | BuildRequires: intltool >= 0.40.0 |
| 19 | BuildRequires: json-glib-devel >= 1.0.4 |
| 20 | BuildRequires: libical-glib-devel >= 3.0.5 |
| 21 | BuildRequires: libmspack-devel >= 0.4 |
| 22 | BuildRequires: libsoup-devel >= 2.58 |
| 23 | BuildRequires: libtool >= 2:2.2 |
| 24 | BuildRequires: pkgconfig |
| 25 | BuildRequires: rpmbuild(macros) >= 1.605 |
| 26 | BuildRequires: sqlite3-devel |
| 27 | BuildRequires: tar >= 1:1.22 |
| 28 | BuildRequires: xz |
| 29 | Requires: evolution >= %{version} |
| 30 | Requires: evolution-data-server >= %{version} |
| 31 | Requires: glib2 >= 1:2.62 |
| 32 | Requires: json-glib >= 1.0.4 |
| 33 | Requires: libical-glib >= 3.0.5 |
| 34 | Requires: libsoup >= 2.58 |
| 35 | Obsoletes: evolution-ews-devel < 3.24.0 |
| 36 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
| 37 | |
| 38 | %description |
| 39 | This package allows Evolution to interact with Microsoft Exchange |
| 40 | servers, versions 2007 and later, through its Exchange Web Services |
| 41 | (EWS) interface. |
| 42 | |
| 43 | %description -l pl.UTF-8 |
| 44 | Ten pakiet pozwala programowi Evolution współpracować z serwerami |
| 45 | Microsoft Exchange w wersji 2007 lub nowszej poprzez interfejs EWS |
| 46 | (Exchange Web Services). |
| 47 | |
| 48 | %prep |
| 49 | %setup -q |
| 50 | |
| 51 | %build |
| 52 | install -d build |
| 53 | cd build |
| 54 | %cmake .. \ |
| 55 | -DLIBEXEC_INSTALL_DIR=%{_libexecdir} \ |
| 56 | -DENABLE_SCHEMAS_COMPILE=OFF |
| 57 | |
| 58 | %{__make} |
| 59 | |
| 60 | %install |
| 61 | rm -rf $RPM_BUILD_ROOT |
| 62 | |
| 63 | %{__make} -C build install \ |
| 64 | DESTDIR=$RPM_BUILD_ROOT |
| 65 | |
| 66 | %find_lang %{name} |
| 67 | |
| 68 | %clean |
| 69 | rm -rf $RPM_BUILD_ROOT |
| 70 | |
| 71 | %files -f %{name}.lang |
| 72 | %defattr(644,root,root,755) |
| 73 | %doc AUTHORS ChangeLog NEWS README |
| 74 | %dir %{_libdir}/evolution-ews |
| 75 | %attr(755,root,root) %{_libdir}/evolution/modules/module-ews-configuration.so |
| 76 | %attr(755,root,root) %{_libdir}/evolution/modules/module-microsoft365-configuration.so |
| 77 | %attr(755,root,root) %{_libdir}/evolution-data-server/addressbook-backends/libebookbackendews.so |
| 78 | %attr(755,root,root) %{_libdir}/evolution-data-server/addressbook-backends/libebookbackendmicrosoft365.so |
| 79 | %attr(755,root,root) %{_libdir}/evolution-data-server/calendar-backends/libecalbackendews.so |
| 80 | %attr(755,root,root) %{_libdir}/evolution-data-server/calendar-backends/libecalbackendmicrosoft365.so |
| 81 | %attr(755,root,root) %{_libdir}/evolution-data-server/camel-providers/libcamelews.so |
| 82 | %{_libdir}/evolution-data-server/camel-providers/libcamelews.urls |
| 83 | %attr(755,root,root) %{_libdir}/evolution-data-server/camel-providers/libcamelmicrosoft365.so |
| 84 | %{_libdir}/evolution-data-server/camel-providers/libcamelmicrosoft365.urls |
| 85 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-ews-backend.so |
| 86 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-microsoft365-backend.so |
| 87 | %attr(755,root,root) %{_libdir}/evolution-ews/libcamelews-priv.so |
| 88 | %attr(755,root,root) %{_libdir}/evolution-ews/libevolution-ews.so |
| 89 | %attr(755,root,root) %{_libdir}/evolution-ews/libevolution-microsoft365.so |
| 90 | %{_datadir}/evolution/errors/module-ews-configuration.error |
| 91 | %{_datadir}/evolution-data-server/ews |
| 92 | %{_datadir}/metainfo/org.gnome.Evolution-ews.metainfo.xml |