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