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 16
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)
41 BuildRequires: pkgconfig(libgdata)
42 BuildRequires: pkgconfig(libical) >= 0.43
43 BuildRequires: pkgconfig(libIDL-2.0)
44 BuildRequires: pkgconfig(libsecret-unstable)
45 BuildRequires: pkgconfig(libsoup-2.4)
46 BuildRequires: pkgconfig(nss)
47 BuildRequires: pkgconfig(oauth)
48 BuildRequires: pkgconfig(python-2.7)
49 BuildRequires: pkgconfig(sqlite3)
51 Recommends: %{name}-lang = %{version}
53 Obsoletes: evolution-data-server-32bit
55 Requires(post): glib2-tools
56 Requires(postun): glib2-tools
60 Evolution Data Server provides a central location for your address book
61 and calendar in the GNOME Desktop.
65 Summary: Evolution Data Server - Messaging Library
66 Group: System/Libraries
68 %description -n libcamel
69 Evolution Data Server provides a central location for your address book
70 and calendar in the GNOME Desktop.
72 This package contains a shared system library for messaging.
75 %package -n libebackend
76 Summary: Evolution Data Server - Backend Utilities Library
77 Group: System/Libraries
79 %description -n libebackend
80 Evolution Data Server provides a central location for your address book
81 and calendar in the GNOME Desktop.
83 This package contains a shared system library for backends.
87 Summary: Evolution Data Server - Address Book Client Library
88 Group: System/Libraries
90 %description -n libebook
91 Evolution Data Server provides a central location for your address book
92 and calendar in the GNOME Desktop.
94 This package contains a shared system library to access address books.
98 Summary: Evolution Data Server - Calendar Client Library
99 Group: System/Libraries
101 %description -n libecal
102 Evolution Data Server provides a central location for your address book
103 and calendar in the GNOME Desktop.
105 This package contains a shared system library to access calendars.
108 %package -n libedata-book
109 Summary: Evolution Data Server - Address Book Backend Library
110 Group: System/Libraries
112 %description -n libedata-book
113 Evolution Data Server provides a central location for your address book
114 and calendar in the GNOME Desktop.
116 This package contains a shared system library for address book backends.
118 %if %{?with_introspection}
121 %package -n typelib-EBook
122 Summary: Evolution Data Server - Address Book Backend Library, Introspection bindings
123 Group: System/Libraries
125 %description -n typelib-EBook
126 Evolution Data Server provides a central location for your address book
127 and calendar in the GNOME Desktop.
129 This package provides the GObject Introspection bindings for the library
130 for address book backends.
133 %package -n libedata-cal
134 Summary: Evolution Data Server - Calendar Backend Library
135 Group: System/Libraries
137 %description -n libedata-cal
138 Evolution Data Server provides a central location for your address book
139 and calendar in the GNOME Desktop.
141 This package contains a shared system library for calendar backends.
144 %package -n libedataserver
145 Summary: Evolution Data Server - Utilities Library
146 Group: System/Libraries
148 %description -n libedataserver
149 Evolution Data Server provides a central location for your address book
150 and calendar in the GNOME Desktop.
152 This package contains a shared system library.
155 %if %{?with_introspection}
157 %package -n typelib-EDataServer
158 Summary: Evolution Data Server - Utilities Library, Introspection bindings
159 Group: System/Libraries
161 %description -n typelib-EDataServer
162 Evolution Data Server provides a central location for your address book
163 and calendar in the GNOME Desktop.
165 This package provides the GObject Introspection bindings for the
166 libedataserver library.
169 This package contains a shared system library.
173 Summary: Evolution Data Server - Development Files
174 Group: Development/Libraries
175 Requires: evolution-data-server = %{?epoch:}%{version}
176 Requires: libcamel = %{version}
177 Requires: libebackend = %{version}
178 Requires: libebook = %{version}
179 Requires: libecal = %{version}
180 Requires: libedata-book = %{version}
181 Requires: libedata-cal = %{version}
182 Requires: libedataserver = %{version}
183 %if %{?with_introspection}
184 Requires: typelib-EBook = %{version}
185 Requires: typelib-EDataServer = %{version}
187 Requires(post): /sbin/ldconfig
188 Requires(postun): /sbin/ldconfig
191 The Evolution Data Server development files provide the necessary
192 libraries, headers, and other files for developing applications which
193 use the Evolution Data Server for storing contact and calendar
198 Summary: Evolution Data Server - Developer Documentation
199 Group: Development/Libraries
200 Requires: %{name} = %{version}
203 Evolution Data Server provides a central location for your address book
204 and calendar in the GNOME Desktop.
206 This package contains developer documentation.
213 --libexecdir=%{_libexecdir}/evolution-data-server \
219 %if %{?with_introspection}
220 --enable-vala-bindings \
221 --enable-introspection \
223 --disable-vala-bindings \
224 --disable-introspection \
226 # end of configure line
228 make %{?_smp_mflags} V=1
232 %find_lang evolution-data-server-%{_evo_version}
233 mv evolution-data-server-%{_evo_version}.lang evolution-data-server.lang
239 %glib2_gsettings_schema_post
242 %glib2_gsettings_schema_postun
244 %post -n libcamel -p /sbin/ldconfig
246 %postun -n libcamel -p /sbin/ldconfig
248 %post -n libebackend -p /sbin/ldconfig
250 %postun -n libebackend -p /sbin/ldconfig
252 %post -n libebook -p /sbin/ldconfig
254 %postun -n libebook -p /sbin/ldconfig
256 %post -n libecal -p /sbin/ldconfig
258 %postun -n libecal -p /sbin/ldconfig
260 %post -n libedata-book -p /sbin/ldconfig
262 %postun -n libedata-book -p /sbin/ldconfig
264 %post -n libedata-cal -p /sbin/ldconfig
266 %postun -n libedata-cal -p /sbin/ldconfig
268 %post -n libedataserver -p /sbin/ldconfig
270 %postun -n libedataserver -p /sbin/ldconfig
274 %defattr(-,root,root)
276 %{_datadir}/GConf/gsettings/evolution-data-server.convert
277 %{_datadir}/GConf/gsettings/libedataserver.convert
278 %{_datadir}/glib-2.0/schemas/org.gnome.Evolution.DefaultSources.gschema.xml
279 %{_datadir}/glib-2.0/schemas/org.gnome.evolution.eds-shell.gschema.xml
280 %{_datadir}/glib-2.0/schemas/org.gnome.evolution.shell.network-config.gschema.xml
281 %{_datadir}/glib-2.0/schemas/org.gnome.evolution-data-server.addressbook.gschema.xml
282 %{_datadir}/glib-2.0/schemas/org.gnome.evolution-data-server.calendar.gschema.xml
283 %{_datadir}/pixmaps/evolution-data-server/
284 %{_datadir}/dbus-1/services/org.gnome.evolution.dataserver.*.service
285 %{_libdir}/evolution-data-server/
286 %if "%{_libdir}" != "%{_libexecdir}"
287 %{_libexecdir}/evolution-data-server/
292 %defattr(-, root, root)
293 %{_libdir}/libcamel-1.2.so.%{so_camel}*
296 %files -n libebackend
297 %defattr(-, root, root)
298 %{_libdir}/libebackend-1.2.so.%{so_ebackend}*
302 %defattr(-, root, root)
303 %{_libdir}/libebook-1.2.so.%{so_ebook}*
307 %defattr(-, root, root)
308 %{_libdir}/libecal-1.2.so.%{so_ecal}*
310 %files -n libedata-book
311 %defattr(-, root, root)
312 %{_libdir}/libedata-book-1.2.so.%{so_edata_book}*
315 %if %{?with_introspection}
317 %files -n typelib-EBook
318 %defattr(-, root, root)
319 %{_libdir}/girepository-1.0/EBook-1.2.typelib
323 %files -n libedata-cal
324 %defattr(-, root, root)
325 %{_libdir}/libedata-cal-1.2.so.%{so_edata_cal}*
328 %files -n libedataserver
329 %defattr(-, root, root)
330 %{_libdir}/libedataserver-1.2.so.%{so_edataserver}*
332 %if %{?with_introspection}
335 %files -n typelib-EDataServer
336 %defattr(-, root, root)
337 %{_libdir}/girepository-1.0/EDataServer-1.2.typelib
342 %defattr(-, root, root)
343 %{_includedir}/evolution-data-server/
345 %{_libdir}/pkgconfig/*.pc
346 %if %{?with_introspection}
347 %{_datadir}/gir-1.0/*.gir
348 %dir %{_datadir}/vala
349 %dir %{_datadir}/vala/vapi
350 %{_datadir}/vala/vapi/*.deps
351 %{_datadir}/vala/vapi/*.vapi