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