3d7f18a15e5ca82c879f8bf8caac491d957a3046
[packages/evolution-ews.git] / evolution-ews.spec
1 Summary:        Evolution extension for Exchange Web Services
2 Name:           evolution-ews
3 Version:        3.12.4
4 Release:        1
5 License:        LGPL v2+
6 Group:          Applications
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/evolution-ews/3.12/%{name}-%{version}.tar.xz
8 # Source0-md5:  e90cc910675f7ece4a62264c4793fc2c
9 URL:            http://projects.gnome.org/evolution/
10 BuildRequires:  autoconf >= 2.58
11 BuildRequires:  automake >= 1:1.9
12 BuildRequires:  evolution-data-server-devel >= %{version}
13 BuildRequires:  evolution-devel >= %{version}
14 BuildRequires:  gettext-devel
15 BuildRequires:  glib2-devel >= 1:2.32.0
16 BuildRequires:  gtk+3-devel >= 3.0.0
17 BuildRequires:  gtk-doc >= 1.9
18 BuildRequires:  intltool >= 0.40.0
19 BuildRequires:  libical-devel
20 BuildRequires:  libmspack-devel >= 0.4
21 BuildRequires:  libsoup-devel >= 2.42.0
22 BuildRequires:  libtool
23 BuildRequires:  pkgconfig
24 BuildRequires:  sqlite3-devel
25 BuildRequires:  tar >= 1:1.22
26 BuildRequires:  xz
27 Requires:       evolution >= %{version}
28 Requires:       evolution-data-server >= %{version}
29 Requires:       libsoup >= 2.42.0
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 This package allows Evolution to interact with Microsoft Exchange
34 servers, versions 2007 and later, through its Exchange Web Services
35 (EWS) interface.
36
37 %package devel
38 Summary:        Development files for ews library
39 Group:          Development/Libraries
40 Requires:       evolution-data-server-devel >= %{version}
41 Requires:       libsoup-devel >= 2.42.0
42
43 %description devel
44 This package provides development files for ews library.
45
46 %prep
47 %setup -q
48
49 %build
50 %{__intltoolize}
51 %{__libtoolize}
52 %{__aclocal} -I m4
53 %{__autoconf}
54 %{__autoheader}
55 %{__automake}
56 %configure \
57         --disable-silent-rules
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-data-server/*.la
67 %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-data-server/*/*.la
68 %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution/*/modules/*.la
69
70 %find_lang %{name}
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files -f %{name}.lang
76 %defattr(644,root,root,755)
77 %doc AUTHORS ChangeLog NEWS README
78 %attr(755,root,root) %{_libdir}/evolution-data-server/libeews-1.2.so*
79 %attr(755,root,root) %{_libdir}/evolution-data-server/libewsutils.so*
80 %attr(755,root,root) %{_libdir}/evolution-data-server/addressbook-backends/libebookbackendews.so
81 %attr(755,root,root) %{_libdir}/evolution-data-server/calendar-backends/libecalbackendews.so
82 %attr(755,root,root) %{_libdir}/evolution-data-server/camel-providers/libcamelews.so
83 %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-ews-backend.so
84 %{_libdir}/evolution-data-server/camel-providers/libcamelews.urls
85 %attr(755,root,root) %{_libdir}/evolution/3.12/modules/module-ews-configuration.so
86 %{_datadir}/evolution/3.12/errors/module-ews-configuration.error
87 %{_datadir}/evolution-data-server/ews
88
89 %files devel
90 %defattr(644,root,root,755)
91 %{_includedir}/evolution-data-server/ews
This page took 0.05258 seconds and 2 git commands to generate.