/[packages]/cauldron/evolution-data-server/current/SPECS/evolution-data-server.spec
ViewVC logotype

Contents of /cauldron/evolution-data-server/current/SPECS/evolution-data-server.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 118322 - (show annotations) (download)
Mon Jul 4 12:52:36 2011 UTC (13 years, 3 months ago) by dmorgan
File size: 9760 byte(s)
Fix file lists
1 %define glib2_version 2.25.12
2 %define gtk3_version 3.0.0
3 %define gtk_doc_version 1.9
4 %define intltool_version 0.35.5
5 %define libgdata_version 0.7.0
6 %define libgweather_version 2.91.0
7 %define libical_version 0.46
8 %define soup_version 2.3.0
9 %define sqlite_version 3.5
10
11 %define eds_base_version 3.2
12
13 %define use_gnome_keyring 1
14
15 %define nspr_major 4
16 %define nss_major 3
17
18 %define _requires_exceptions nspr%{nspr_major}\\|plc%{nspr_major}\\|plds%{nspr_major}\\|nss%{nss_major}\\|smime%{nss_major}\\|softokn%{nss_major}\\|ssl%{nss_major}\\|nssutil%{nss_major}
19
20 %define version 3.1.2
21 %define libsoup_version_required 2.3.0
22 %define api_version 1.2
23 %define base_version 3.0
24 %define lib_major 6
25 %define lib_name %mklibname %{name} %{lib_major}
26 %define firefox_version 1.0.1
27
28 %define oldmajor 6
29 %define oldlibname %mklibname %name %oldmajor
30
31 %define oldmajor2006 4
32 %define oldlibname2006 %mklibname %name %oldmajor2006
33
34 %define camelmajor 26
35 %define camel_libname %mklibname camel %camelmajor
36
37 %define ebookmajor 11
38 %define ebook_libname %mklibname ebook %ebookmajor
39
40 %define ecalmajor 9
41 %define ecal_libname %mklibname ecal %ecalmajor
42
43 %define edatabookmajor 10
44 %define edatabook_libname %mklibname edata-book %edatabookmajor
45
46 %define edatacalmajor 12
47 %define edatacal_libname %mklibname edata-cal %edatacalmajor
48
49 %define edataservermajor 14
50 %define edataserver_libname %mklibname edataserver %edataservermajor
51 %define edataserver_libnamedev %mklibname -d edataserver
52
53 %define edataserveruimajor 0
54 %define edataserverui_libname %mklibname edataserverui %edataserveruimajor
55
56 %define egroupwisemajor 13
57 %define egroupwise_libname %mklibname egroupwise %egroupwisemajor
58
59 %define ebackendmajor 1
60 %define ebackend_libname %mklibname ebackend %ebackendmajor
61
62 Name: evolution-data-server
63 Summary: Evolution Data Server
64 Version: %version
65 Release: %mkrel 1
66 License: LGPLv2+
67 Group: System/Libraries
68 Source0: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/%{name}-%{version}.tar.xz
69 URL: http://www.gnome.org/projects/evolution/
70
71 ### Build Dependencies ###
72
73 BuildRequires: libGConf2-devel
74 BuildRequires: bison
75 BuildRequires: db4-devel
76 BuildRequires: gettext
77 BuildRequires: glib2-devel >= %{glib2_version}
78 BuildRequires: gnome-common
79 BuildRequires: gnutls-devel
80 BuildRequires: gperf
81 BuildRequires: gtk-doc >= %{gtk_doc_version}
82 BuildRequires: gtk+3-devel >= %{gtk3_version}
83 BuildRequires: intltool >= %{intltool_version}
84 BuildRequires: libgnome-keyring-devel
85 BuildRequires: libgdata-devel >= %{libgdata_version}
86 BuildRequires: libgweather-devel >= %{libgweather_version}
87 BuildRequires: libical-devel >= %{libical_version}
88 BuildRequires: libsoup-devel >= %{soup_version}
89 BuildRequires: libtool
90 BuildRequires: nspr-devel
91 BuildRequires: nss-devel
92 BuildRequires: sqlite-devel >= %{sqlite_version}
93 BuildRequires: openldap-devel
94 BuildRequires: krb5-devel
95
96 Obsoletes: %oldlibname
97
98 %description
99 Evolution Data Server provides a central location for your addressbook
100 and calendar in the gnome desktop.
101
102 %package -n %{camel_libname}
103 Summary: Shared libraries for using Evolution Data Server
104 Group: System/Libraries
105 Requires: %{name} >= %{version}-%{release}
106 Obsoletes: %oldlibname2006
107
108 %description -n %{camel_libname}
109 Evolution Data Server provides a central location for your addressbook
110 and calendar in the gnome desktop.
111
112 %package -n %{ebook_libname}
113 Summary: Shared libraries for using Evolution Data Server
114 Group: System/Libraries
115 Requires: %{name} >= %{version}-%{release}
116
117 %description -n %{ebook_libname}
118 Evolution Data Server provides a central location for your addressbook
119 and calendar in the gnome desktop.
120
121 %package -n %{ecal_libname}
122 Summary: Shared libraries for using Evolution Data Server
123 Group: System/Libraries
124 Requires: %{name} >= %{version}-%{release}
125
126 %description -n %{ecal_libname}
127 Evolution Data Server provides a central location for your addressbook
128 and calendar in the gnome desktop.
129
130 %package -n %{edatabook_libname}
131 Summary: Shared libraries for using Evolution Data Server
132 Group: System/Libraries
133 Requires: %{name} >= %{version}-%{release}
134 Obsoletes: %oldlibname2006
135
136 %description -n %{edatabook_libname}
137 Evolution Data Server provides a central location for your addressbook
138 and calendar in the gnome desktop.
139
140 %package -n %{edatacal_libname}
141 Summary: Shared libraries for using Evolution Data Server
142 Group: System/Libraries
143 Requires: %{name} >= %{version}-%{release}
144 Obsoletes: %oldlibname2006
145
146 %description -n %{edatacal_libname}
147 Evolution Data Server provides a central location for your addressbook
148 and calendar in the gnome desktop.
149
150 %package -n %{edataserver_libname}
151 Summary: Shared libraries for using Evolution Data Server
152 Group: System/Libraries
153 Requires: %{name} >= %{version}-%{release}
154 Obsoletes: %oldlibname2006
155
156 %description -n %{edataserver_libname}
157 Evolution Data Server provides a central location for your addressbook
158 and calendar in the gnome desktop.
159
160 %package -n %{edataserverui_libname}
161 Summary: Shared libraries for using Evolution Data Server
162 Group: System/Libraries
163 Requires: %{name} >= %{version}-%{release}
164 Obsoletes: %{_lib}edataserverui4
165
166 %description -n %{edataserverui_libname}
167 Evolution Data Server provides a central location for your addressbook
168 and calendar in the gnome desktop.
169
170 #%package -n %{egroupwise_libname}
171 #Summary: Shared libraries for using Evolution Data Server
172 #Group: System/Libraries
173 #Requires: %{name} >= %{version}-%{release}
174 #
175 #%description -n %{egroupwise_libname}
176 #Evolution Data Server provides a central location for your addressbook
177 #and calendar in the gnome desktop.
178
179 %package -n %{ebackend_libname}
180 Summary: Shared libraries for using Evolution Data Server
181 Group: System/Libraries
182 Requires: %{name} >= %{version}-%{release}
183
184 %description -n %{ebackend_libname}
185 Evolution Data Server provides a central location for your addressbook
186 and calendar in the gnome desktop.
187
188 %package -n %{edataserver_libnamedev}
189 Summary: Libraries and include files for using Evolution Data Server
190 Group: Development/GNOME and GTK+
191 Requires: %{name} = %{version}
192 Requires: %camel_libname = %version
193 Requires: %ebook_libname = %version
194 Requires: %ecal_libname = %version
195 Requires: %edatabook_libname = %version
196 Requires: %edatacal_libname = %version
197 Requires: %edataserver_libname = %version
198 Requires: %edataserverui_libname = %version
199 #Requires: %egroupwise_libname = %version
200 Requires: %ebackend_libname = %version
201 Provides: lib%{name}-devel = %{version}-%{release}
202 Provides: %{name}-devel = %{version}-%{release}
203 Provides: libedataserver-devel = %version-%release
204 Requires: nss-devel >= %{firefox_version}
205 Requires: nspr-devel >= %{firefox_version}
206 #gw libtool dep:
207 Requires: libgdata-devel
208 Obsoletes: %mklibname -d edataserver 9
209
210 %description -n %{edataserver_libnamedev}
211 Evolution Data Server provides a central location for your addressbook
212 and calendar in the gnome desktop.
213
214 %prep
215 %setup -q
216
217 %build
218
219 %configure2_5x --with-krb5=%{_prefix} --with-krb5-libs=%{_libdir} \
220 --with-libdb=%{_prefix} \
221 --with-openldap=yes --with-static-ldap=no --enable-gtk-doc=yes
222 #--enable-gnome-keyring=yes
223 %make
224
225 %install
226 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
227
228 %makeinstall_std
229
230 # remove libtool archives for importers and the like
231 find $RPM_BUILD_ROOT/%{_libdir} -name '*.la' -exec rm {} \;
232 rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
233 rm -f $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server/camel-providers/*.a
234 rm -f $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server/addressbook-backends/*.a
235 rm -f $RPM_BUILD_ROOT/%{_libdir}/evolution-data-server/calendar-backends/*.a
236
237 # give the libraries some executable bits
238 find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
239
240 %{find_lang} %{name}-3.2
241
242 %clean
243 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
244
245
246 %files -f %{name}-3.2.lang
247 %defattr(-, root, root)
248 %doc COPYING NEWS
249 %{_libexecdir}/%{name}
250 %{_libexecdir}/camel-index-control-%{api_version}
251 %_libexecdir/e-addressbook-factory
252 %_libexecdir/e-calendar-factory
253 %attr(2755,root,mail) %{_libexecdir}/camel-lock-helper-%{api_version}
254 %{_datadir}/%{name}-3.2
255 %_datadir/dbus-1/services/org.gnome.evolution.dataserver.AddressBook.service
256 %_datadir/dbus-1/services/org.gnome.evolution.dataserver.Calendar.service
257 %{_datadir}/pixmaps/%{name}
258
259 %files -n %{camel_libname}
260 %defattr(-, root, root)
261 %{_libdir}/libcamel-%{api_version}.so.%{camelmajor}*
262 %{_libdir}/libcamel-provider-%{api_version}.so.%{camelmajor}*
263
264 %files -n %{ebook_libname}
265 %defattr(-, root, root)
266 %{_libdir}/libebook-%{api_version}.so.%{ebookmajor}*
267 #%{_libdir}/girepository-1.0/EBook-1.2.typelib
268
269 %files -n %{ecal_libname}
270 %defattr(-, root, root)
271 %{_libdir}/libecal-%{api_version}.so.%{ecalmajor}*
272 #%{_libdir}/girepository-1.0/ECalendar-1.2.typelib
273
274 %files -n %{edatabook_libname}
275 %defattr(-, root, root)
276 %{_libdir}/libedata-book-%{api_version}.so.%{edatabookmajor}*
277
278 %files -n %{edatacal_libname}
279 %defattr(-, root, root)
280 %{_libdir}/libedata-cal-%{api_version}.so.%{edatacalmajor}*
281
282 %files -n %{edataserver_libname}
283 %defattr(-, root, root)
284 %{_libdir}/libedataserver-%{api_version}.so.%{edataservermajor}*
285 #%{_libdir}/girepository-1.0/EDataServer-1.2.typelib
286
287 %files -n %{edataserverui_libname}
288 %defattr(-, root, root)
289 %{_libdir}/libedataserverui-%{base_version}.so.%{edataserveruimajor}*
290
291 #%files -n %{egroupwise_libname}
292 #%defattr(-, root, root)
293 #%{_libdir}/libegroupwise-%{api_version}.so.%{egroupwisemajor}*
294
295 %files -n %{ebackend_libname}
296 %defattr(-, root, root)
297 %{_libdir}/libebackend-%{api_version}.so.%{ebackendmajor}*
298
299 %files -n %{edataserver_libnamedev}
300 %defattr(-, root, root)
301 %doc %{_datadir}/gtk-doc/html/*
302 %{_includedir}/%{name}-3.2
303 %{_libdir}/pkgconfig/*
304 %{_libdir}/*.so
305 #%{_datadir}/gir-1.0/EDataServer-1.2.gir
306 #%{_datadir}/gir-1.0/ECalendar-1.2.gir
307 #%{_datadir}/gir-1.0/EBook-1.2.gir

  ViewVC Help
Powered by ViewVC 1.1.30