]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_without apidocs # do not build and package API docs | |
4 | %bcond_without kerberos5 # build without kerberos5 support | |
5 | %bcond_without ldap # build without ldap support | |
6 | %bcond_without static_libs # do not build static libs | |
7 | %bcond_without uoa # single sign-on (aka Ubuntu Online Accounts) | |
8 | %bcond_without vala # do not build Vala API | |
9 | ||
10 | %define basever 3.10 | |
11 | %define apiver 1.2 | |
12 | Summary: Evolution data server | |
13 | Summary(pl.UTF-8): Serwer danych Evolution | |
14 | Name: evolution-data-server | |
15 | Version: 3.10.4 | |
16 | Release: 1 | |
17 | License: LGPL v2+ | |
18 | Group: X11/Libraries | |
19 | Source0: http://ftp.gnome.org/pub/GNOME/sources/evolution-data-server/3.10/%{name}-%{version}.tar.xz | |
20 | # Source0-md5: 62b365fa50f13a0be85eec67115742c8 | |
21 | URL: http://www.gnome.org/projects/evolution/ | |
22 | BuildRequires: autoconf >= 2.62 | |
23 | BuildRequires: automake >= 1:1.11 | |
24 | BuildRequires: docbook-dtd412-xml | |
25 | BuildRequires: gcr-devel >= 3.4.0 | |
26 | BuildRequires: gettext-devel >= 0.18.1 | |
27 | BuildRequires: glib2-devel >= 1:2.34.0 | |
28 | BuildRequires: gnome-common >= 2.20.0 | |
29 | BuildRequires: gnome-online-accounts-devel >= 3.8.0 | |
30 | BuildRequires: gobject-introspection-devel >= 0.10.0 | |
31 | BuildRequires: gperf | |
32 | BuildRequires: gtk+3-devel >= 3.2.0 | |
33 | %{?with_apidocs:BuildRequires: gtk-doc >= 1.14} | |
34 | %{?with_kerberos5:BuildRequires: heimdal-devel} | |
35 | BuildRequires: intltool >= 0.40.0 | |
36 | %{?with_uoa:BuildRequires: json-glib-devel} | |
37 | %{?with_uoa:BuildRequires: libaccounts-glib-devel >= 1.4} | |
38 | BuildRequires: libgdata-devel >= 0.10.0 | |
39 | BuildRequires: libgweather-devel >= 3.8 | |
40 | BuildRequires: libical-devel >= 0.43 | |
41 | BuildRequires: libsecret-devel >= 0.5 | |
42 | %{?with_uoa:BuildRequires: libsignon-glib-devel >= 1.8} | |
43 | BuildRequires: libsoup-devel >= 2.40.3 | |
44 | BuildRequires: libstdc++-devel | |
45 | BuildRequires: libtool >= 2:2.2 | |
46 | BuildRequires: libxml2-devel >= 1:2.6.31 | |
47 | BuildRequires: nspr-devel >= 4 | |
48 | BuildRequires: nss-devel >= 3 | |
49 | %{?with_ldap:BuildRequires: openldap-evolution-devel >= 2.4.6} | |
50 | BuildRequires: pkgconfig | |
51 | %{?with_uoa:BuildRequires: rest-devel >= 0.7} | |
52 | BuildRequires: rpmbuild(macros) >= 1.304 | |
53 | BuildRequires: sed >= 4.0 | |
54 | BuildRequires: sqlite3-devel >= 3.5 | |
55 | BuildRequires: tar >= 1:1.22 | |
56 | %{?with_vala:BuildRequires: vala >= 2:0.14.0} | |
57 | BuildRequires: xz | |
58 | BuildRequires: zlib-devel | |
59 | Requires(post,postun): glib2 >= 1:2.34.0 | |
60 | Requires: %{name}-libs = %{version}-%{release} | |
61 | Requires: gnome-online-accounts-libs >= 3.8.0 | |
62 | Requires: gtk+3 >= 3.2.0 | |
63 | Requires: libgdata >= 0.10.0 | |
64 | Requires: libgweather >= 3.8 | |
65 | # sr@Latn vs. sr@latin | |
66 | Conflicts: glibc-misc < 6:2.7 | |
67 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
68 | ||
69 | %define schemadir /usr/share/openldap/schema | |
70 | ||
71 | %description | |
72 | The Evolution data server for the calendar and addressbook. | |
73 | ||
74 | %description -l pl.UTF-8 | |
75 | Serwer danych Evolution dla kalendarza i książki adresowej. | |
76 | ||
77 | %package ldap | |
78 | Summary: LDAP support for Evolution data server | |
79 | Summary(pl.UTF-8): Obsługa LDAP dla serwera danych Evolution | |
80 | Group: Libraries | |
81 | Requires: %{name} = %{version}-%{release} | |
82 | ||
83 | %description ldap | |
84 | LDAP support for Evolution data server (address book backend module). | |
85 | ||
86 | %description ldap -l pl.UTF-8 | |
87 | Obsługa LDAP dla serwera danych Evolution (moduł dla książki | |
88 | adresowej). | |
89 | ||
90 | %package uoa | |
91 | Summary: Ubuntu Online Accounts support for Evolution data server | |
92 | Summary(pl.UTF-8): Obsługa Ubuntu Online Accounts dla serwera danych Evolution | |
93 | Group: Libraries | |
94 | Requires: %{name} = %{version}-%{release} | |
95 | Requires: libaccounts-glib >= 1.4 | |
96 | Requires: libsignon-glib >= 1.8 | |
97 | Requires: rest >= 0.7 | |
98 | ||
99 | %description uoa | |
100 | Ubuntu Online Accounts (single sign-on) support for Evolution data | |
101 | server. | |
102 | ||
103 | %description uoa -l pl.UTF-8 | |
104 | Obsługa Ubuntu Online Accounts (pojedynczego logowania) dla serwera | |
105 | danych Evolution. | |
106 | ||
107 | %package -n openldap-schema-evolutionperson | |
108 | Summary: evolutionperson LDAP schema | |
109 | Summary(pl.UTF-8): Schemat LDAP evolutionperson | |
110 | Group: Networking/Daemons | |
111 | Requires(post,postun): sed >= 4.0 | |
112 | Requires: openldap-servers | |
113 | %if "%{_rpmversion}" >= "5" | |
114 | BuildArch: noarch | |
115 | %endif | |
116 | ||
117 | %description -n openldap-schema-evolutionperson | |
118 | This package contains evolutionperson.schema for OpenLDAP server. | |
119 | ||
120 | %description -n openldap-schema-evolutionperson -l pl.UTF-8 | |
121 | Ten pakiet zawiera evolutionperson.schema dla serwera OpenLDAP. | |
122 | ||
123 | %package libs | |
124 | Summary: Evolution Data Server library | |
125 | Summary(pl.UTF-8): Biblioteka Evolution Data Server | |
126 | Group: X11/Libraries | |
127 | Requires: gcr-libs >= 3.4.0 | |
128 | Requires: glib2 >= 1:2.34.0 | |
129 | Requires: libical >= 0.43 | |
130 | Requires: libsecret >= 0.5 | |
131 | Requires: libsoup >= 2.40.3 | |
132 | Requires: libxml2 >= 1:2.6.31 | |
133 | Requires: sqlite3 >= 3.5 | |
134 | ||
135 | %description libs | |
136 | This package contains Evolution Data Server library. | |
137 | ||
138 | %description libs -l pl.UTF-8 | |
139 | Ten pakiet zawiera bibliotekę Evolution Data Server. | |
140 | ||
141 | %package devel | |
142 | Summary: Evolution data server development files | |
143 | Summary(pl.UTF-8): Pliki programistyczne serwera danych evolution | |
144 | Group: X11/Development/Libraries | |
145 | Requires: %{name}-libs = %{version}-%{release} | |
146 | Requires: gcr-devel >= 3.4.0 | |
147 | Requires: glib2-devel >= 1:2.34.0 | |
148 | %{?with_kerberos5:Requires: heimdal-devel} | |
149 | Requires: libgdata-devel >= 0.10.0 | |
150 | Requires: libical-devel >= 0.43 | |
151 | Requires: libsecret-devel >= 0.5 | |
152 | Requires: libsoup-devel >= 2.40.3 | |
153 | Requires: libxml2-devel >= 1:2.6.31 | |
154 | Requires: nspr-devel >= 4 | |
155 | Requires: nss-devel >= 3 | |
156 | Requires: sqlite3-devel >= 3.5 | |
157 | ||
158 | %description devel | |
159 | This package contains the files necessary to develop applications | |
160 | using Evolution's data server libraries. | |
161 | ||
162 | %description devel -l pl.UTF-8 | |
163 | Ten pakiet zawiera pliki potrzebne do tworzenia aplikacji | |
164 | korzystających z bibliotek serwera danych Evolution. | |
165 | ||
166 | %package static | |
167 | Summary: Evolution data server static libraries | |
168 | Summary(pl.UTF-8): Statyczne biblioteki serwera danych Evolution | |
169 | Group: X11/Development/Libraries | |
170 | Requires: %{name}-devel = %{version}-%{release} | |
171 | ||
172 | %description static | |
173 | Evolution data server static libraries. | |
174 | ||
175 | %description static -l pl.UTF-8 | |
176 | Statyczne biblioteki serwera danych Evolution. | |
177 | ||
178 | %package apidocs | |
179 | Summary: Evolution data server API documentation | |
180 | Summary(pl.UTF-8): Dokumentacja API serwera danych Evolution | |
181 | Group: Documentation | |
182 | Requires: gtk-doc-common | |
183 | ||
184 | %description apidocs | |
185 | Evolution data server API documentation. | |
186 | ||
187 | %description apidocs -l pl.UTF-8 | |
188 | Dokumentacja API serwera danych Evolution. | |
189 | ||
190 | %package -n vala-evolution-data-server | |
191 | Summary: Evolution data server API for Vala language | |
192 | Summary(pl.UTF-8): API serwera danych Evolution dla języka Vala | |
193 | Group: Development/Libraries | |
194 | Requires: %{name}-devel = %{version}-%{release} | |
195 | Requires: vala >= 2:0.14.0 | |
196 | ||
197 | %description -n vala-evolution-data-server | |
198 | Evolution data server API for Vala language. | |
199 | ||
200 | %description -n vala-evolution-data-server -l pl.UTF-8 | |
201 | API serwera danych Evolution dla języka Vala. | |
202 | ||
203 | %prep | |
204 | %setup -q | |
205 | ||
206 | # kill -L$withval/lib | |
207 | %{__sed} -i -e 's/DB_LIBS="-L[^ "]* /DB_LIBS="/;s/ICONV_LIBS="[^ "]*/ICONV_LIBS="/' configure.ac | |
208 | ||
209 | %build | |
210 | %{__gtkdocize} | |
211 | %{__intltoolize} | |
212 | %{__libtoolize} | |
213 | %{__aclocal} -I m4 | |
214 | %{__autoheader} | |
215 | %{__autoconf} | |
216 | %{__automake} | |
217 | ||
218 | # Set LIBS so that configure will be able to link with static LDAP libraries, | |
219 | # which depend on Cyrus SASL and OpenSSL. | |
220 | if pkg-config openssl ; then | |
221 | LIBS="-lsasl2 `pkg-config --libs openssl`" | |
222 | else | |
223 | LIBS="-lsasl2 -lssl -lcrypto" | |
224 | fi | |
225 | export LIBS | |
226 | ||
227 | %configure \ | |
228 | %{?with_kerberos5:--with-krb5=%{_prefix} --with-krb5-libs=%{_libdir}} \ | |
229 | %{!?with_kerberos5:--with-krb5=no} \ | |
230 | %{?with_ldap:--with-openldap=%{_libdir}/evolution-openldap} \ | |
231 | %{?with_ldap:--with-static-ldap=yes} \ | |
232 | %{!?with_ldap:--with-openldap=no} \ | |
233 | --enable-smime \ | |
234 | --enable-ipv6 \ | |
235 | --enable-nntp \ | |
236 | %{__enable_disable apidocs gtk-doc} \ | |
237 | %{__enable_disable static_libs static} \ | |
238 | %{__enable_disable vala vala-bindings} \ | |
239 | %{!?with_uoa:--disable-uoa} \ | |
240 | --with-libdb=%{_libdir} \ | |
241 | --with-html-dir=%{_gtkdocdir} \ | |
242 | --disable-silent-rules | |
243 | ||
244 | %{__make} | |
245 | ||
246 | %install | |
247 | rm -rf $RPM_BUILD_ROOT | |
248 | install -d $RPM_BUILD_ROOT%{_libdir}/%{name}-%{basever} | |
249 | install -d $RPM_BUILD_ROOT%{schemadir} | |
250 | ||
251 | %{__make} install \ | |
252 | DESTDIR=$RPM_BUILD_ROOT \ | |
253 | HTML_DIR=%{_gtkdocdir} | |
254 | ||
255 | install addressbook/backends/ldap/evolutionperson.schema $RPM_BUILD_ROOT%{schemadir} | |
256 | ||
257 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/{camel-providers,calendar-backends,addressbook-backends,registry-modules}/*.{la,a} | |
258 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la | |
259 | ||
260 | %find_lang %{name}-%{basever} | |
261 | ||
262 | %clean | |
263 | rm -rf $RPM_BUILD_ROOT | |
264 | ||
265 | %post | |
266 | %glib_compile_schemas | |
267 | ||
268 | %postun | |
269 | %glib_compile_schemas | |
270 | ||
271 | %post libs -p /sbin/ldconfig | |
272 | %postun libs -p /sbin/ldconfig | |
273 | ||
274 | %post -n openldap-schema-evolutionperson | |
275 | %openldap_schema_register %{schemadir}/evolutionperson.schema | |
276 | %service -q ldap restart | |
277 | ||
278 | %postun -n openldap-schema-evolutionperson | |
279 | if [ "$1" = "0" ]; then | |
280 | %openldap_schema_unregister %{schemadir}/evolutionperson.schema | |
281 | %service -q ldap restart | |
282 | fi | |
283 | ||
284 | %files -f %{name}-%{basever}.lang | |
285 | %defattr(644,root,root,755) | |
286 | %doc AUTHORS ChangeLog NEWS* README | |
287 | %attr(755,root,root) %{_libexecdir}/camel-index-control-%{apiver} | |
288 | %attr(755,root,root) %{_libexecdir}/camel-lock-helper-%{apiver} | |
289 | %attr(755,root,root) %{_libexecdir}/evolution-addressbook-factory | |
290 | %attr(755,root,root) %{_libexecdir}/evolution-calendar-factory | |
291 | %attr(755,root,root) %{_libexecdir}/evolution-scan-gconf-tree-xml | |
292 | %attr(755,root,root) %{_libexecdir}/evolution-source-registry | |
293 | %attr(755,root,root) %{_libexecdir}/evolution-user-prompter | |
294 | %dir %{_libdir}/%{name} | |
295 | %dir %{_libdir}/%{name}/addressbook-backends | |
296 | %attr(755,root,root) %{_libdir}/%{name}/addressbook-backends/libebookbackendfile.so | |
297 | %attr(755,root,root) %{_libdir}/%{name}/addressbook-backends/libebookbackendgoogle.so | |
298 | %attr(755,root,root) %{_libdir}/%{name}/addressbook-backends/libebookbackendwebdav.so | |
299 | %dir %{_libdir}/%{name}/calendar-backends | |
300 | %attr(755,root,root) %{_libdir}/%{name}/calendar-backends/libecalbackendcaldav.so | |
301 | %attr(755,root,root) %{_libdir}/%{name}/calendar-backends/libecalbackendcontacts.so | |
302 | %attr(755,root,root) %{_libdir}/%{name}/calendar-backends/libecalbackendfile.so | |
303 | %attr(755,root,root) %{_libdir}/%{name}/calendar-backends/libecalbackendhttp.so | |
304 | %attr(755,root,root) %{_libdir}/%{name}/calendar-backends/libecalbackendweather.so | |
305 | %dir %{_libdir}/%{name}/camel-providers | |
306 | %attr(755,root,root) %{_libdir}/%{name}/camel-providers/libcamelimapx.so | |
307 | %{_libdir}/%{name}/camel-providers/libcamelimapx.urls | |
308 | %attr(755,root,root) %{_libdir}/%{name}/camel-providers/libcamellocal.so | |
309 | %{_libdir}/%{name}/camel-providers/libcamellocal.urls | |
310 | %attr(755,root,root) %{_libdir}/%{name}/camel-providers/libcamelnntp.so | |
311 | %{_libdir}/%{name}/camel-providers/libcamelnntp.urls | |
312 | %attr(755,root,root) %{_libdir}/%{name}/camel-providers/libcamelpop3.so | |
313 | %{_libdir}/%{name}/camel-providers/libcamelpop3.urls | |
314 | %attr(755,root,root) %{_libdir}/%{name}/camel-providers/libcamelsendmail.so | |
315 | %{_libdir}/%{name}/camel-providers/libcamelsendmail.urls | |
316 | %attr(755,root,root) %{_libdir}/%{name}/camel-providers/libcamelsmtp.so | |
317 | %{_libdir}/%{name}/camel-providers/libcamelsmtp.urls | |
318 | %dir %{_libdir}/evolution-data-server/registry-modules | |
319 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-cache-reaper.so | |
320 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-gnome-online-accounts.so | |
321 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-google-backend.so | |
322 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-outlook-backend.so | |
323 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-owncloud-backend.so | |
324 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-trust-prompt.so | |
325 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-yahoo-backend.so | |
326 | ||
327 | %dir %{_libdir}/%{name}-%{basever} | |
328 | %dir %{_datadir}/%{name} | |
329 | %{_pixmapsdir}/%{name} | |
330 | ||
331 | %{_datadir}/dbus-1/services/org.gnome.evolution.dataserver.AddressBook.service | |
332 | %{_datadir}/dbus-1/services/org.gnome.evolution.dataserver.Calendar.service | |
333 | %{_datadir}/dbus-1/services/org.gnome.evolution.dataserver.Sources.service | |
334 | %{_datadir}/dbus-1/services/org.gnome.evolution.dataserver.UserPrompter.service | |
335 | ||
336 | %{_datadir}/GConf/gsettings/evolution-data-server.convert | |
337 | %{_datadir}/GConf/gsettings/libedataserver.convert | |
338 | %{_datadir}/glib-2.0/schemas/org.gnome.evolution.eds-shell.gschema.xml | |
339 | %{_datadir}/glib-2.0/schemas/org.gnome.evolution.shell.network-config.gschema.xml | |
340 | %{_datadir}/glib-2.0/schemas/org.gnome.Evolution.DefaultSources.gschema.xml | |
341 | %{_datadir}/glib-2.0/schemas/org.gnome.evolution-data-server.addressbook.gschema.xml | |
342 | %{_datadir}/glib-2.0/schemas/org.gnome.evolution-data-server.calendar.gschema.xml | |
343 | ||
344 | %if %{with ldap} | |
345 | %files ldap | |
346 | %defattr(644,root,root,755) | |
347 | %attr(755,root,root) %{_libdir}/%{name}/addressbook-backends/libebookbackendldap.so | |
348 | %{_datadir}/%{name}/evolutionperson.schema | |
349 | %endif | |
350 | ||
351 | %if %{with uoa} | |
352 | %files uoa | |
353 | %defattr(644,root,root,755) | |
354 | %attr(755,root,root) %{_libdir}/evolution-data-server/registry-modules/module-ubuntu-online-accounts.so | |
355 | %{_desktopdir}/evolution-data-server-uoa.desktop | |
356 | # XXX: which package should own these dirs? | |
357 | %dir %{_datadir}/accounts | |
358 | %dir %{_datadir}/accounts/applications | |
359 | %{_datadir}/accounts/applications/evolution-data-server.application | |
360 | %dir %{_datadir}/accounts/service_types | |
361 | %{_datadir}/accounts/service_types/calendar.service-type | |
362 | %{_datadir}/accounts/service_types/contacts.service-type | |
363 | %{_datadir}/accounts/service_types/mail.service-type | |
364 | %dir %{_datadir}/accounts/services | |
365 | %{_datadir}/accounts/services/google-calendar.service | |
366 | %{_datadir}/accounts/services/google-contacts.service | |
367 | %{_datadir}/accounts/services/google-gmail.service | |
368 | %{_datadir}/accounts/services/windows-live-mail.service | |
369 | %{_datadir}/accounts/services/yahoo-calendar.service | |
370 | %{_datadir}/accounts/services/yahoo-mail.service | |
371 | %endif | |
372 | ||
373 | %files -n openldap-schema-evolutionperson | |
374 | %defattr(644,root,root,755) | |
375 | %{schemadir}/evolutionperson.schema | |
376 | ||
377 | %files libs | |
378 | %defattr(644,root,root,755) | |
379 | %attr(755,root,root) %{_libdir}/libcamel-%{apiver}.so.*.*.* | |
380 | %attr(755,root,root) %ghost %{_libdir}/libcamel-%{apiver}.so.45 | |
381 | %attr(755,root,root) %{_libdir}/libebackend-%{apiver}.so.*.*.* | |
382 | %attr(755,root,root) %ghost %{_libdir}/libebackend-%{apiver}.so.7 | |
383 | %attr(755,root,root) %{_libdir}/libebook-%{apiver}.so.*.*.* | |
384 | %attr(755,root,root) %ghost %{_libdir}/libebook-%{apiver}.so.14 | |
385 | %attr(755,root,root) %{_libdir}/libebook-contacts-%{apiver}.so.*.*.* | |
386 | %attr(755,root,root) %ghost %{_libdir}/libebook-contacts-%{apiver}.so.0 | |
387 | %attr(755,root,root) %{_libdir}/libecal-%{apiver}.so.*.*.* | |
388 | %attr(755,root,root) %ghost %{_libdir}/libecal-%{apiver}.so.16 | |
389 | %attr(755,root,root) %{_libdir}/libedata-book-%{apiver}.so.*.*.* | |
390 | %attr(755,root,root) %ghost %{_libdir}/libedata-book-%{apiver}.so.20 | |
391 | %attr(755,root,root) %{_libdir}/libedata-cal-%{apiver}.so.*.*.* | |
392 | %attr(755,root,root) %ghost %{_libdir}/libedata-cal-%{apiver}.so.23 | |
393 | %attr(755,root,root) %{_libdir}/libedataserver-%{apiver}.so.*.*.* | |
394 | %attr(755,root,root) %ghost %{_libdir}/libedataserver-%{apiver}.so.18 | |
395 | %{_libdir}/girepository-1.0/EBook-%{apiver}.typelib | |
396 | %{_libdir}/girepository-1.0/EBookContacts-%{apiver}.typelib | |
397 | %{_libdir}/girepository-1.0/EDataServer-%{apiver}.typelib | |
398 | ||
399 | %files devel | |
400 | %defattr(644,root,root,755) | |
401 | %attr(755,root,root) %{_libdir}/libcamel-%{apiver}.so | |
402 | %attr(755,root,root) %{_libdir}/libebackend-%{apiver}.so | |
403 | %attr(755,root,root) %{_libdir}/libebook-%{apiver}.so | |
404 | %attr(755,root,root) %{_libdir}/libebook-contacts-%{apiver}.so | |
405 | %attr(755,root,root) %{_libdir}/libecal-%{apiver}.so | |
406 | %attr(755,root,root) %{_libdir}/libedata-book-%{apiver}.so | |
407 | %attr(755,root,root) %{_libdir}/libedata-cal-%{apiver}.so | |
408 | %attr(755,root,root) %{_libdir}/libedataserver-%{apiver}.so | |
409 | %{_includedir}/evolution-data-server | |
410 | %{_pkgconfigdir}/camel-%{apiver}.pc | |
411 | %{_pkgconfigdir}/evolution-data-server-%{apiver}.pc | |
412 | %{_pkgconfigdir}/libebackend-%{apiver}.pc | |
413 | %{_pkgconfigdir}/libebook-%{apiver}.pc | |
414 | %{_pkgconfigdir}/libebook-contacts-%{apiver}.pc | |
415 | %{_pkgconfigdir}/libecal-%{apiver}.pc | |
416 | %{_pkgconfigdir}/libedata-book-%{apiver}.pc | |
417 | %{_pkgconfigdir}/libedata-cal-%{apiver}.pc | |
418 | %{_pkgconfigdir}/libedataserver-%{apiver}.pc | |
419 | %{_datadir}/gir-1.0/EBook-%{apiver}.gir | |
420 | %{_datadir}/gir-1.0/EBookContacts-%{apiver}.gir | |
421 | %{_datadir}/gir-1.0/EDataServer-%{apiver}.gir | |
422 | ||
423 | %if %{with static_libs} | |
424 | %files static | |
425 | %defattr(644,root,root,755) | |
426 | %{_libdir}/libcamel-%{apiver}.a | |
427 | %{_libdir}/libebackend-%{apiver}.a | |
428 | %{_libdir}/libebook-%{apiver}.a | |
429 | %{_libdir}/libebook-contacts-%{apiver}.a | |
430 | %{_libdir}/libecal-%{apiver}.a | |
431 | %{_libdir}/libedata-book-%{apiver}.a | |
432 | %{_libdir}/libedata-cal-%{apiver}.a | |
433 | %{_libdir}/libedataserver-%{apiver}.a | |
434 | %endif | |
435 | ||
436 | %if %{with apidocs} | |
437 | %files apidocs | |
438 | %defattr(644,root,root,755) | |
439 | %{_gtkdocdir}/camel | |
440 | %{_gtkdocdir}/libebackend | |
441 | %{_gtkdocdir}/libebook | |
442 | %{_gtkdocdir}/libebook-contacts | |
443 | %{_gtkdocdir}/libecal | |
444 | %{_gtkdocdir}/libedata-book | |
445 | %{_gtkdocdir}/libedata-cal | |
446 | %{_gtkdocdir}/libedataserver | |
447 | %endif | |
448 | ||
449 | %if %{with vala} | |
450 | %files -n vala-evolution-data-server | |
451 | %defattr(644,root,root,755) | |
452 | %{_datadir}/vala/vapi/libebook-%{apiver}.deps | |
453 | %{_datadir}/vala/vapi/libebook-%{apiver}.vapi | |
454 | %{_datadir}/vala/vapi/libebook-contacts-%{apiver}.deps | |
455 | %{_datadir}/vala/vapi/libebook-contacts-%{apiver}.vapi | |
456 | %{_datadir}/vala/vapi/libedataserver-%{apiver}.deps | |
457 | %{_datadir}/vala/vapi/libedataserver-%{apiver}.vapi | |
458 | %endif |