5256f75a2b6483b6e69d652f79833252f27bd03d
[packages/evolution-ews.git] / evolution-ews.spec
1 Summary:        Evolution extension for Exchange Web Services
2 Name:           evolution-ews
3 Version:        3.10.1
4 Release:        1
5 License:        LGPL v2+
6 Group:          Applications
7 Source0:        http://ftp.gnome.org/pub/GNOME/sources/evolution-ews/3.10/%{name}-%{version}.tar.xz
8 # Source0-md5:  49c396c3c454377741ba859ebfac3319
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.38.1
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 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %description
32 This package allows Evolution to interact with Microsoft Exchange
33 servers, versions 2007 and later, through its Exchange Web Services
34 (EWS) interface.
35
36 %package devel
37 Summary:        Development files for ews library
38 Group:          Development/Libraries
39 Requires:       evolution-data-server-devel >= %{version}
40 Requires:       libsoup-devel >= 2.38.1
41
42 %description devel
43 This package provides development files for ews library.
44
45 %prep
46 %setup -q
47
48 %build
49 %{__intltoolize}
50 %{__libtoolize}
51 %{__aclocal} -I m4
52 %{__autoconf}
53 %{__autoheader}
54 %{__automake}
55 %configure \
56         --disable-silent-rules
57 %{__make}
58
59 %install
60 rm -rf $RPM_BUILD_ROOT
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT
64
65 %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-data-server/*.la
66 %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-data-server/*/*.la
67 %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution/*/modules/*.la
68
69 %find_lang %{name}
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %files -f %{name}.lang
75 %defattr(644,root,root,755)
76 %doc AUTHORS ChangeLog NEWS README
77 %attr(755,root,root) %{_libdir}/evolution-data-server/libeews-1.2.so*
78 %attr(755,root,root) %{_libdir}/evolution-data-server/libewsutils.so*
79 %attr(755,root,root) %{_libdir}/evolution-data-server/addressbook-backends/libebookbackendews.so
80 %attr(755,root,root) %{_libdir}/evolution-data-server/calendar-backends/libecalbackendews.so
81 %attr(755,root,root) %{_libdir}/evolution-data-server/camel-providers/libcamelews.so
82 %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-ews-backend.so
83 %{_libdir}/evolution-data-server/camel-providers/libcamelews.urls
84 %attr(755,root,root) %{_libdir}/evolution/3.10/modules/module-ews-configuration.so
85 %{_datadir}/evolution/3.10/errors/module-ews-configuration.error
86
87 %files devel
88 %defattr(644,root,root,755)
89 %{_includedir}/evolution-data-server/ews
This page took 0.050501 seconds and 2 git commands to generate.