]>
Commit | Line | Data |
---|---|---|
c5680e99 JB |
1 | Summary: Evolution extension for Exchange MAPI |
2 | Summary(pl.UTF-8): Rozszerzenie Evolution dla Exchange MAPI | |
3 | Name: evolution-mapi | |
4 | Version: 3.16.2 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: X11/Applications/Mail | |
8 | Source0: http://ftp.gnome.org/pub/GNOME/sources/evolution-mapi/3.16/%{name}-%{version}.tar.xz | |
9 | # Source0-md5: 4bb59d36051847363ea616734d4660b5 | |
10 | Patch0: %{name}-localedir.patch | |
11 | Patch1: %{name}-update.patch | |
12 | URL: http://projects.gnome.org/evolution/ | |
13 | BuildRequires: autoconf >= 2.58 | |
14 | BuildRequires: automake >= 1:1.9 | |
15 | BuildRequires: evolution-data-server-devel >= %{version} | |
16 | BuildRequires: evolution-devel >= %{version} | |
17 | BuildRequires: gettext-tools | |
18 | BuildRequires: glib2-devel >= 1:2.40 | |
19 | BuildRequires: gnome-common | |
20 | BuildRequires: gtk+3-devel >= 3.0 | |
21 | BuildRequires: gtk-doc >= 1.9 | |
22 | BuildRequires: intltool >= 0.35.5 | |
23 | BuildRequires: libtool | |
24 | BuildRequires: openchange-devel >= 2.3 | |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: tar >= 1:1.22 | |
27 | BuildRequires: xz | |
28 | Requires: %{name}-libs = %{version}-%{release} | |
29 | Requires: evolution >= %{version} | |
30 | Requires: evolution-data-server >= %{version} | |
31 | Requires: glib2 >= 1:2.40 | |
32 | Requires: gtk+3 >= 3.0 | |
33 | Requires: openchange-libs >= 2.3 | |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
35 | ||
36 | %description | |
37 | This package allows Evolution to interact with Microsoft Exchange | |
38 | (2007 and later) and OpenChange servers via MAPI. | |
39 | ||
40 | %description -l pl.UTF-8 | |
41 | Ten pakiet pozwala programowi Evolution współpracować z serwerami | |
42 | Microsoft Exchange (w wersji 2007 lub nowszej) lub OpenChange poprzez | |
43 | MAPI. | |
44 | ||
45 | %package libs | |
46 | Summary: Evolution MAPI library | |
47 | Summary(pl.UTF-8): Biblioteka Evolution MAPI | |
48 | Group: Libraries | |
49 | Requires: evolution-data-server-libs >= %{version} | |
50 | Requires: openchange-libs >= 2.3 | |
51 | ||
52 | %description libs | |
53 | Evolution MAPI library. | |
54 | ||
55 | %description libs -l pl.UTF-8 | |
56 | Biblioteka Evolution MAPI. | |
57 | ||
58 | %package devel | |
59 | Summary: Development files for Evolution MAPI libraries | |
60 | Summary(pl.UTF-8): Pliki programistyczne bibliotek Evolution MAPI | |
61 | Group: X11/Development/Libraries | |
62 | Requires: %{name}-libs = %{version}-%{release} | |
63 | Requires: evolution-data-server-devel >= %{version} | |
64 | Requires: openchange-devel >= 2.3 | |
65 | ||
66 | %description devel | |
67 | This package provides development files for Evolution MAPI library. | |
68 | ||
69 | %description devel -l pl.UTF-8 | |
70 | Ten pakiet zawiera pliki programistyczne bibliotek Evolution MAPI. | |
71 | ||
72 | %prep | |
73 | %setup -q | |
74 | %patch0 -p1 | |
75 | %patch1 -p1 | |
76 | ||
77 | %build | |
78 | %{__intltoolize} | |
79 | %{__libtoolize} | |
80 | %{__aclocal} -I m4 | |
81 | %{__autoconf} | |
82 | %{__autoheader} | |
83 | %{__automake} | |
84 | %configure \ | |
85 | --disable-silent-rules | |
86 | %{__make} | |
87 | ||
88 | %install | |
89 | rm -rf $RPM_BUILD_ROOT | |
90 | ||
91 | %{__make} install \ | |
92 | DESTDIR=$RPM_BUILD_ROOT | |
93 | ||
94 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/lib*.la | |
95 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution-data-server/*/*.la | |
96 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/evolution/modules/*.la | |
97 | ||
98 | %find_lang %{name} | |
99 | ||
100 | %clean | |
101 | rm -rf $RPM_BUILD_ROOT | |
102 | ||
103 | %post libs -p /sbin/ldconfig | |
104 | %postun libs -p /sbin/ldconfig | |
105 | ||
106 | %files -f %{name}.lang | |
107 | %defattr(644,root,root,755) | |
108 | %doc AUTHORS ChangeLog NEWS | |
109 | %attr(755,root,root) %{_libdir}/evolution-data-server/addressbook-backends/libebookbackendmapi.so | |
110 | %attr(755,root,root) %{_libdir}/evolution-data-server/calendar-backends/libecalbackendmapi.so | |
111 | %attr(755,root,root) %{_libdir}/evolution-data-server/camel-providers/libcamelmapi.so | |
112 | %{_libdir}/evolution-data-server/camel-providers/libcamelmapi.urls | |
113 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-mapi-backend.so | |
114 | %attr(755,root,root) %{_libdir}/evolution/modules/module-mapi-configuration.so | |
115 | %{_datadir}/appdata/evolution-mapi.metainfo.xml | |
116 | %{_datadir}/evolution-data-server/mapi | |
117 | ||
118 | %files libs | |
119 | %defattr(644,root,root,755) | |
120 | %attr(755,root,root) %{_libdir}/libexchangemapi-1.0.so.*.*.* | |
121 | %attr(755,root,root) %ghost %{_libdir}/libexchangemapi-1.0.so.0 | |
122 | ||
123 | %files devel | |
124 | %defattr(644,root,root,755) | |
125 | %attr(755,root,root) %{_libdir}/libexchangemapi-1.0.so | |
126 | %{_includedir}/evolution-data-server/mapi | |
127 | %{_pkgconfigdir}/libexchangemapi-1.0.pc |