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