4 %define with_introspection 1
6 # should match configure.ac
7 %define so_edataserver 17
9 %define so_edata_cal 20
10 %define so_edata_book 17
14 %define _evo_version 3.8
17 Name: evolution-data-server
20 Summary: Evolution Data Server
22 Group: Development/Libraries
23 Url: http://www.gnome.org
24 Source0: http://download.gnome.org/sources/evolution-data-server/%{baseline}/%{name}-%{version}.tar.xz
25 Source98: baselibs.conf
26 BuildRequires: db4-devel
28 BuildRequires: gtk-doc
29 BuildRequires: gcc-c++
30 BuildRequires: gettext-tools
31 BuildRequires: glibc-locale
32 BuildRequires: gnome-common
34 BuildRequires: intltool
36 BuildRequires: pkgconfig(gcr-base-3) >= 3.4
37 BuildRequires: pkgconfig(goa-1.0) >= 3.2
38 BuildRequires: pkgconfig(gobject-introspection-1.0)
39 BuildRequires: pkgconfig(gtk+-3.0)
40 BuildRequires: pkgconfig(gweather-3.0) >= 3.5.0
41 BuildRequires: pkgconfig(libgdata) >= 0.10
42 BuildRequires: pkgconfig(libical) >= 0.43
43 BuildRequires: pkgconfig(libIDL-2.0)
44 BuildRequires: pkgconfig(libsecret-unstable) >= 0.5
45 BuildRequires: pkgconfig(libsoup-2.4) >= 2.40.3
46 BuildRequires: pkgconfig(nss)
47 BuildRequires: pkgconfig(oauth)
48 BuildRequires: pkgconfig(python-2.7)
49 BuildRequires: pkgconfig(sqlite3) >= 3.5
51 Recommends: %{name}-locale = %{version}
53 Obsoletes: evolution-data-server-32bit
55 Requires(post): glib2-tools
56 Requires(postun): glib2-tools
59 Evolution Data Server provides a central location for your address book
60 and calendar in the GNOME Desktop.
63 Summary: Evolution Data Server - Messaging Library
64 Group: System/Libraries
66 %description -n libcamel
67 Evolution Data Server provides a central location for your address book
68 and calendar in the GNOME Desktop.
70 This package contains a shared system library for messaging.
72 %package -n libebackend
73 Summary: Evolution Data Server - Backend Utilities Library
74 Group: System/Libraries
76 %description -n libebackend
77 Evolution Data Server provides a central location for your address book
78 and calendar in the GNOME Desktop.
80 This package contains a shared system library for backends.
83 Summary: Evolution Data Server - Address Book Client Library
84 Group: System/Libraries
86 %description -n libebook
87 Evolution Data Server provides a central location for your address book
88 and calendar in the GNOME Desktop.
90 This package contains a shared system library to access address books.
92 %package -n libebook-contacts
93 Summary: Evolution Data Server - Address Book Client Library
94 Group: System/Libraries
96 %description -n libebook-contacts
97 Evolution Data Server provides a central location for your address book
98 and calendar in the GNOME Desktop.
100 This package contains a shared system library to access address books.
102 %if %{?with_introspection}
104 %package -n typelib-EBookContacts
105 Summary: Evolution Data Server - Address Book Backend Library, Introspection bindings
106 Group: System/Libraries
108 %description -n typelib-EBookContacts
109 Evolution Data Server provides a central location for your address book
110 and calendar in the GNOME Desktop.
112 This package provides the GObject Introspection bindings for the library
113 for address book contacts.
117 Summary: Evolution Data Server - Calendar Client Library
118 Group: System/Libraries
120 %description -n libecal
121 Evolution Data Server provides a central location for your address book
122 and calendar in the GNOME Desktop.
124 This package contains a shared system library to access calendars.
126 %package -n libedata-book
127 Summary: Evolution Data Server - Address Book Backend Library
128 Group: System/Libraries
130 %description -n libedata-book
131 Evolution Data Server provides a central location for your address book
132 and calendar in the GNOME Desktop.
134 This package contains a shared system library for address book backends.
136 %if %{?with_introspection}
138 %package -n typelib-EBook
139 Summary: Evolution Data Server - Address Book Backend Library, Introspection bindings
140 Group: System/Libraries
142 %description -n typelib-EBook
143 Evolution Data Server provides a central location for your address book
144 and calendar in the GNOME Desktop.
146 This package provides the GObject Introspection bindings for the library
147 for address book backends.
150 %package -n libedata-cal
151 Summary: Evolution Data Server - Calendar Backend Library
152 Group: System/Libraries
154 %description -n libedata-cal
155 Evolution Data Server provides a central location for your address book
156 and calendar in the GNOME Desktop.
158 This package contains a shared system library for calendar backends.
161 %package -n libedataserver
162 Summary: Evolution Data Server - Utilities Library
163 Group: System/Libraries
165 %description -n libedataserver
166 Evolution Data Server provides a central location for your address book
167 and calendar in the GNOME Desktop.
169 This package contains a shared system library.
172 %if %{?with_introspection}
174 %package -n typelib-EDataServer
175 Summary: Evolution Data Server - Utilities Library, Introspection bindings
176 Group: System/Libraries
178 %description -n typelib-EDataServer
179 Evolution Data Server provides a central location for your address book
180 and calendar in the GNOME Desktop.
182 This package provides the GObject Introspection bindings for the
183 libedataserver library.
188 Summary: Evolution Data Server - Development Files
189 Group: Development/Libraries
190 Requires: evolution-data-server = %{?epoch:}%{version}
191 Requires: libcamel = %{version}
192 Requires: libebackend = %{version}
193 Requires: libebook = %{version}
194 Requires: libecal = %{version}
195 Requires: libedata-book = %{version}
196 Requires: libedata-cal = %{version}
197 Requires: libedataserver = %{version}
198 %if %{?with_introspection}
199 Requires: typelib-EBook = %{version}
200 Requires: typelib-EDataServer = %{version}
202 Requires(post): /sbin/ldconfig
203 Requires(postun): /sbin/ldconfig
206 The Evolution Data Server development files provide the necessary
207 libraries, headers, and other files for developing applications which
208 use the Evolution Data Server for storing contact and calendar
213 Summary: Evolution Data Server - Developer Documentation
215 Requires: %{name} = %{version}
218 Evolution Data Server provides a central location for your address book
219 and calendar in the GNOME Desktop.
221 This package contains developer documentation.
228 --libexecdir=%{_libexecdir}/evolution-data-server \
234 %if %{?with_introspection}
235 --enable-vala-bindings \
236 --enable-introspection \
238 --disable-vala-bindings \
239 --disable-introspection \
241 # end of configure line
243 make %{?_smp_mflags} V=1
247 %find_lang evolution-data-server-%{_evo_version}
248 mv evolution-data-server-%{_evo_version}.lang evolution-data-server.lang
254 %glib2_gsettings_schema_post
257 %glib2_gsettings_schema_postun
259 %post -n libcamel -p /sbin/ldconfig
261 %postun -n libcamel -p /sbin/ldconfig
263 %post -n libebackend -p /sbin/ldconfig
265 %postun -n libebackend -p /sbin/ldconfig
267 %post -n libebook -p /sbin/ldconfig
269 %postun -n libebook -p /sbin/ldconfig
271 %post -n libebook-contacts -p /sbin/ldconfig
273 %postun -n libebook-contacts -p /sbin/ldconfig
275 %post -n libecal -p /sbin/ldconfig
277 %postun -n libecal -p /sbin/ldconfig
279 %post -n libedata-book -p /sbin/ldconfig
281 %postun -n libedata-book -p /sbin/ldconfig
283 %post -n libedata-cal -p /sbin/ldconfig
285 %postun -n libedata-cal -p /sbin/ldconfig
287 %post -n libedataserver -p /sbin/ldconfig
289 %postun -n libedataserver -p /sbin/ldconfig
293 %defattr(-,root,root)
295 %{_datadir}/GConf/gsettings/evolution-data-server.convert
296 %{_datadir}/GConf/gsettings/libedataserver.convert
297 %{_datadir}/glib-2.0/schemas/org.gnome.Evolution.DefaultSources.gschema.xml
298 %{_datadir}/glib-2.0/schemas/org.gnome.evolution.eds-shell.gschema.xml
299 %{_datadir}/glib-2.0/schemas/org.gnome.evolution.shell.network-config.gschema.xml
300 %{_datadir}/glib-2.0/schemas/org.gnome.evolution-data-server.addressbook.gschema.xml
301 %{_datadir}/glib-2.0/schemas/org.gnome.evolution-data-server.calendar.gschema.xml
302 %{_datadir}/pixmaps/evolution-data-server/
303 %{_datadir}/dbus-1/services/org.gnome.evolution.dataserver.*.service
304 %{_libdir}/evolution-data-server/
305 %if "%{_libdir}" != "%{_libexecdir}"
306 %{_libexecdir}/evolution-data-server/
310 %defattr(-, root, root)
311 %{_libdir}/libcamel-1.2.so.%{so_camel}*
313 %files -n libebackend
314 %defattr(-, root, root)
315 %{_libdir}/libebackend-1.2.so.%{so_ebackend}*
318 %defattr(-, root, root)
319 %{_libdir}/libebook-1.2.so.%{so_ebook}*
321 %if %{?with_introspection}
322 %files -n typelib-EBook
323 %defattr(-, root, root)
324 %{_libdir}/girepository-1.0/EBook-1.2.typelib
327 %files -n libebook-contacts
328 %defattr(-, root, root)
329 %{_libdir}/libebook-contacts-1.2.so.0*
331 %if %{?with_introspection}
332 %files -n typelib-EBookContacts
333 %defattr(-, root, root)
334 %{_libdir}/girepository-1.0/EBookContacts-1.2.typelib
338 %defattr(-, root, root)
339 %{_libdir}/libecal-1.2.so.%{so_ecal}*
341 %files -n libedata-book
342 %defattr(-, root, root)
343 %{_libdir}/libedata-book-1.2.so.%{so_edata_book}*
345 %files -n libedata-cal
346 %defattr(-, root, root)
347 %{_libdir}/libedata-cal-1.2.so.%{so_edata_cal}*
349 %files -n libedataserver
350 %defattr(-, root, root)
351 %{_libdir}/libedataserver-1.2.so.%{so_edataserver}*
353 %if %{?with_introspection}
354 %files -n typelib-EDataServer
355 %defattr(-, root, root)
356 %{_libdir}/girepository-1.0/EDataServer-1.2.typelib
360 %defattr(-, root, root)
361 %{_includedir}/evolution-data-server/
363 %{_libdir}/pkgconfig/*.pc
364 %if %{?with_introspection}
365 %{_datadir}/gir-1.0/*.gir
366 %dir %{_datadir}/vala
367 %dir %{_datadir}/vala/vapi
368 %{_datadir}/vala/vapi/*.deps
369 %{_datadir}/vala/vapi/*.vapi