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