9397
|
1 |
# spec file for package evolution-data-server
|
|
2 |
#
|
|
3 |
# Copyright (c) 2005 Sun Microsystems, Inc.
|
|
4 |
# This file and all modifications and additions to the pristine
|
|
5 |
# package are under the same license as the package itself.
|
|
6 |
#
|
|
7 |
# Owner: jefftsai
|
|
8 |
#
|
|
9 |
Name: evolution-data-server
|
|
10 |
License: GPL
|
|
11 |
Group: System/Libraries/GNOME
|
9731
|
12 |
Version: 1.10.1
|
9397
|
13 |
Release: 2
|
|
14 |
Distribution: Java Desktop System
|
|
15 |
Vendor: Sun Microsystems, Inc.
|
|
16 |
Summary: Backend Library for Evolution
|
9541
|
17 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.10/%{name}-%{version}.tar.bz2
|
9397
|
18 |
# date:2006-05-28 bugzilla:344728 owner:sh162551 type:bug
|
|
19 |
Patch1: evolution-data-server-01-kerberos.diff
|
|
20 |
# date:2006-09-28 owner:sh162551 type:branding
|
|
21 |
Patch2: evolution-data-server-02-libexec.diff
|
|
22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
23 |
Docdir: %{_defaultdocdir}/evolution-data-server
|
|
24 |
Autoreqprov: on
|
|
25 |
Prereq: /sbin/ldconfig
|
|
26 |
|
|
27 |
%define api_version 1.2
|
|
28 |
%define base_version 1.6
|
|
29 |
|
|
30 |
%define libbonobo_version 2.4.2
|
|
31 |
%define gnome_vfs_version 2.4
|
|
32 |
%define libgnome_version 2.4
|
|
33 |
%define GConf_version 2.4
|
|
34 |
%define libsoup_version 2.2.3
|
|
35 |
%define gtk_doc_version 1.1
|
|
36 |
%define openldap2_version 2.1.4
|
|
37 |
|
|
38 |
Requires: libbonobo >= %{libbonobo_version}
|
|
39 |
Requires: gnome-vfs >= %{gnome_vfs_version}
|
|
40 |
Requires: libgnome >= %{libgnome_version}
|
|
41 |
Requires: GConf >= %{GConf_version}
|
|
42 |
Requires: libsoup >= %{libsoup_version}
|
|
43 |
Requires: openldap2-client >= %{openldap2_version}
|
|
44 |
|
|
45 |
BuildRequires: libbonobo-devel >= %{libbonobo_version}
|
|
46 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version}
|
|
47 |
BuildRequires: libgnome-devel >= %{libgnome_version}
|
|
48 |
BuildRequires: GConf-devel >= %{GConf_version}
|
|
49 |
BuildRequires: libsoup-devel >= %{libsoup_version}
|
|
50 |
BuildRequires: openldap2-devel >= %{openldap2_version}
|
|
51 |
BuildRequires: gtk-doc >= %{gtk_doc_version}
|
|
52 |
BuildRequires: bison
|
|
53 |
BuildRequires: heimdal-devel
|
|
54 |
|
|
55 |
%description
|
|
56 |
evolution-data-server is the backend library for Evolution, providing
|
|
57 |
support for calendar and addressbook.
|
|
58 |
|
|
59 |
%package devel
|
|
60 |
Summary: Development Backend Library for Evolution
|
|
61 |
Group: Development/Libraries/GNOME
|
|
62 |
Autoreqprov: on
|
|
63 |
Requires: %name = %version
|
|
64 |
BuildRequires: libbonobo-devel >= %{libbonobo_version}
|
|
65 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version}
|
|
66 |
BuildRequires: libgnome-devel >= %{libgnome_version}
|
|
67 |
BuildRequires: GConf-devel >= %{GConf_version}
|
|
68 |
BuildRequires: openldap2-devel >= %{openldap2_version}
|
|
69 |
BuildRequires: libsoup-devel >= %{libsoup_version}
|
|
70 |
|
|
71 |
%description devel
|
|
72 |
evolution-data-server is the backend library for Evolution, providing
|
|
73 |
support for calendar and addressbook.
|
|
74 |
|
|
75 |
%prep
|
|
76 |
%setup -q
|
|
77 |
%patch1 -p0
|
|
78 |
%patch2 -p0
|
|
79 |
|
|
80 |
%build
|
|
81 |
|
|
82 |
%ifos linux
|
|
83 |
%define ldap_option --with-openldap=%{_prefix}
|
|
84 |
%define krb5_option --with-krb5=%{_prefix}
|
|
85 |
%define nss_libs %{_libdir}/firefox
|
|
86 |
%define nspr_libs %{_libdir}/firefox
|
|
87 |
%define nss_includes %{_includedir}/firefox/nss
|
|
88 |
%define nspr_includes %{_includedir}/firefox/nspr
|
|
89 |
%else
|
|
90 |
%define ldap_option --with-sunldap=%{_prefix}
|
|
91 |
%if %is_s10
|
|
92 |
%define krb5_option --without-krb5
|
|
93 |
%else
|
|
94 |
%define krb5_option --with-krb5=%{_prefix}
|
|
95 |
%endif
|
|
96 |
%define nss_libs %{_libdir}/mps
|
|
97 |
%define nspr_libs %{_libdir}/mps
|
|
98 |
%define nss_includes %{_includedir}/mps
|
|
99 |
%define nspr_includes %{_includedir}/mps
|
|
100 |
%endif
|
|
101 |
|
|
102 |
export LDFLAGS="$LDFLAGS -L%{nss_libs} -R%{nss_libs} -L%{nspr_libs} -R%{nspr_libs}"
|
|
103 |
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -I%{nss_includes} -I%{nspr_includes}"
|
|
104 |
|
|
105 |
aclocal $ACLOCAL_FLAGS
|
|
106 |
libtoolize --force
|
|
107 |
glib-gettextize --force --copy
|
|
108 |
intltoolize --force --automake
|
|
109 |
autoheader
|
|
110 |
automake -a -f -c --gnu
|
|
111 |
autoconf
|
|
112 |
./configure --prefix=%{_prefix} \
|
|
113 |
--libexecdir=%{_libexecdir} \
|
|
114 |
--sysconfdir=%{_sysconfdir} \
|
|
115 |
--enable-nss=yes \
|
|
116 |
--enable-smime=yes \
|
|
117 |
--enable-nntp=yes \
|
|
118 |
--with-nss-includes=%{nss_includes} \
|
|
119 |
--with-nss-libs=%{nss_libs} \
|
|
120 |
--with-nspr-includes=%{nspr_includes} \
|
|
121 |
--with-nspr-libs=%{nspr_libs} \
|
|
122 |
%ldap_option \
|
|
123 |
--with-krb4=%{_prefix} \
|
|
124 |
%krb5_option \
|
|
125 |
%gtk_doc_option \
|
|
126 |
%bdb_option
|
|
127 |
|
|
128 |
make
|
|
129 |
|
|
130 |
%install
|
|
131 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
|
|
132 |
make -i install DESTDIR=$RPM_BUILD_ROOT
|
|
133 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
|
|
134 |
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
|
135 |
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
|
136 |
|
|
137 |
%clean
|
|
138 |
rm -rf $RPM_BUILD_ROOT
|
|
139 |
|
|
140 |
%post
|
|
141 |
/sbin/ldconfig
|
|
142 |
|
|
143 |
%postun
|
|
144 |
/sbin/ldconfig
|
|
145 |
|
|
146 |
%files
|
|
147 |
%defattr (-, root, root)
|
|
148 |
%doc AUTHORS COPYING ChangeLog NEWS README
|
|
149 |
%{_libdir}/*.so.*
|
|
150 |
%{_libdir}/evolution-data-server-%{api_version}/extensions/*.so
|
|
151 |
%{_libdir}/evolution-data-server-%{api_version}/camel-providers/*.so
|
|
152 |
%{_libdir}/evolution-data-server-%{api_version}/camel-providers/*urls
|
|
153 |
%{_libdir}/bonobo/servers/*
|
|
154 |
%{_libexecdir}/*
|
|
155 |
%{_datadir}/evolution-data-server-%{base_version}/*
|
|
156 |
%{_datadir}/pixmaps/evolution-data-server-%{base_version}/*
|
|
157 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo
|
|
158 |
|
|
159 |
%files devel
|
|
160 |
%defattr (-, root, root)
|
|
161 |
%{_libdir}/*.so
|
|
162 |
%{_includedir}/evolution-data-server-%{base_version}/*
|
|
163 |
%{_libdir}/pkgconfig/*.pc
|
|
164 |
%{_datadir}/gtk-doc/*
|
|
165 |
%{_datadir}/idl/*
|
|
166 |
|
|
167 |
%changelog
|
9731
|
168 |
* Thu Apr 12 2007 - [email protected]
|
9732
|
169 |
- Bump to 1.10.1. Remove upstream patch 03-libbdb.
|
9664
|
170 |
* Wed Apr 04 2007 - [email protected]
|
|
171 |
- Add patch evolution-data-server-03-libbdb.diff,
|
|
172 |
to fix bugster bug #6538754.
|
9541
|
173 |
* Tue Mar 13 2007 - [email protected]
|
|
174 |
- Bump to 1.10.0.
|
9397
|
175 |
* Tue Feb 28 2007 - [email protected]
|
|
176 |
- Bump to 1.9.92.
|
|
177 |
* Mon Feb 12 2007 - [email protected]
|
|
178 |
- Bump to 1.9.91. Remove upstream patch, 03-mail-header.
|
|
179 |
* Fri Feb 09 2007 - [email protected]
|
|
180 |
- Add patch, 03-mail-header, to fix #400841.
|
|
181 |
* Sun Jan 28 2007 - [email protected]
|
|
182 |
- disable krb5 support on s10
|
|
183 |
* Wed Jan 24 2007 - [email protected]
|
|
184 |
- Bump to 1.9.6.1. Remove upstream patch, 03-gnome-keyring.
|
|
185 |
* Tue Jan 23 2007 - [email protected]
|
|
186 |
- Add patch, 03-gnome-keyring, to fix build error, #399706.
|
|
187 |
* Mon Jan 22 2007 - [email protected]
|
|
188 |
- Bump to 1.9.6.
|
|
189 |
* Tue Jan 09 2007 - [email protected]
|
|
190 |
- Bump to 1.9.5.
|
|
191 |
- Remove build patch for bug 387397.
|
|
192 |
* Wed Dec 20 2006 - [email protected]
|
|
193 |
- Add bugzilla bug number for patch 3.
|
|
194 |
* Tue Dec 19 2006 - [email protected]
|
|
195 |
- Add patch evolution-data-server-03-exchange-account.diff
|
|
196 |
to resolve building broken on Solaris.
|
|
197 |
* Tue Dec 19 2006 - [email protected]
|
|
198 |
- Bump to 1.9.4.
|
|
199 |
* Wed Dec 13 2006 - [email protected]
|
|
200 |
- Change patch comments.
|
|
201 |
* Tue Dec 05 2006 - [email protected]
|
|
202 |
- Bump to 1.9.3.
|
|
203 |
* Tue Nov 28 2006 - [email protected]
|
|
204 |
- Bump to 1.9.2 and remove patch:
|
|
205 |
evolution-data-server-03-mail-rlimit.diff
|
|
206 |
* Mon Nov 27 2006 - [email protected]
|
|
207 |
- Bump to 1.8.2.
|
|
208 |
* Fri Nov 3 2006 - [email protected]
|
|
209 |
- use %gtk_doc_option in configure so that it can be disabled using
|
|
210 |
--without-gtk-doc
|
|
211 |
* Mon Nov 04 2006 - [email protected]
|
|
212 |
- Change owner to be opensolaris account.
|
|
213 |
* Mon Oct 23 2006 - [email protected]
|
|
214 |
- moved evolution-data-server-01-kerberos.diff
|
|
215 |
and evolution-data-server-02-libexec.diff and
|
|
216 |
evolution-data-server-03-mail-rlimit.diff from
|
|
217 |
Solaris/patches
|
|
218 |
* Mon Oct 02 2006 - [email protected]
|
|
219 |
- Bump to 1.8.1.
|
|
220 |
* Mon Sep 04 2006 - [email protected]
|
|
221 |
- Bump to 1.8.0.
|
|
222 |
- Remove upstream patch, 01-attachment.
|
|
223 |
* Tue Aug 21 2006 - [email protected]
|
|
224 |
- Add one patch, 01-attachment.diff, for 6461581.
|
|
225 |
* Tue Aug 08 2006 - [email protected]
|
|
226 |
- Bump to 1.7.91.
|
|
227 |
* Wed Jul 26 2006 - [email protected]
|
|
228 |
- Use system BerkeleyDB.
|
|
229 |
* Wed Jul 26 2006 - [email protected]
|
|
230 |
- Bump to 1.7.90.1
|
|
231 |
Remove patches/evolution-data-server-01-libebook-files.diff.
|
|
232 |
* Tue Jul 25 2006 - [email protected]
|
|
233 |
- Add patch to include files missing from tarball (but in cvs).
|
|
234 |
* Mon Jul 24 2006 - [email protected]
|
|
235 |
- Bump to 1.7.90
|
|
236 |
* Fri Jul 21 2006 - [email protected]
|
|
237 |
- Bump to 1.7.4
|
|
238 |
* Tue May 30 2006 - [email protected]
|
|
239 |
- Bump to 1.6.2.
|
|
240 |
* Wed Apr 26 2006 - [email protected]
|
|
241 |
- Use JES's NSS/NSPR(/usr/lib/mps) instead of that provided by
|
|
242 |
mozilla or firefox, to fix bug #6418049.
|
|
243 |
* Thu Apr 13 2006 - [email protected]
|
|
244 |
- Firefox move from /usr/sfw to /usr.
|
|
245 |
* Mon Apr 10 2006 - [email protected]
|
|
246 |
- Bump to 1.6.1.
|
|
247 |
* Tue Apr 04 2006 - [email protected]
|
|
248 |
- Remove .a/.la files in linux spec.
|
|
249 |
* Thu Mar 30 2006 - [email protected]
|
|
250 |
- Alter "remove *.a/*.la files part" to SUNWevolution-data-server.spec
|
|
251 |
* Mon Mar 13 2006 - [email protected]
|
|
252 |
- Bump to 1.6.0.
|
|
253 |
* Tue Feb 28 2006 - [email protected]
|
|
254 |
- Bump to 1.5.92.
|
|
255 |
* Tue Feb 14 2006 - [email protected]
|
|
256 |
- Bump to 1.5.91.
|
|
257 |
* Mon Jan 30 2006 - [email protected]
|
|
258 |
- Bump to 1.5.90.
|
|
259 |
* Thu Jan 19 2006 - [email protected]
|
|
260 |
- Bump to 1.5.5.
|
|
261 |
* Wed Jan 04 2006 - [email protected]
|
|
262 |
- Bump to 1.5.4.
|
|
263 |
* Wed Dec 21 2005 - [email protected]
|
|
264 |
- Correct Source filed.
|
|
265 |
- Remove upstreamed patch evolution-data-server-6341837.diff.
|
|
266 |
- Remove upstreamed patch evolution-data-server-6359639.diff.
|
|
267 |
* Fri Dec 19 2005 - [email protected]
|
|
268 |
- Bump to 1.5.3.
|
|
269 |
- Bump to 1.4.2.1.
|
|
270 |
* Fri Dec 09 2005 - [email protected]
|
|
271 |
- Add the patch evolution-data-server-6359639.diff
|
|
272 |
* Fri Dec 02 2005 - [email protected]
|
|
273 |
- Bump to 1.4.2.1.
|
|
274 |
- Add the patch evolution-data-server-6341837.diff
|
|
275 |
* Thu Dec 01 2005 - [email protected]
|
|
276 |
- Remove upstream patch, patches/evolution-data-server-01-6340601.diff.
|
|
277 |
* Tue Nov 29 2005 - [email protected]
|
|
278 |
- Bump to 1.4.2.
|
|
279 |
* Wed Nov 23 2005 - [email protected]
|
|
280 |
- Add patch evolution-data-server-01-6340601.diff.
|
|
281 |
* Fri Oct 21 2005 - [email protected]
|
|
282 |
- Use firefox nss/nspr lib instead of mozilla's.
|
|
283 |
* Wed Oct 12 2005 - [email protected]
|
|
284 |
- change --with-ldap to --with-sunldap.
|
|
285 |
* Tue Oct 11 2005 - [email protected]
|
|
286 |
- Bump to 1.4.1.1.
|
|
287 |
* Mon Oct 10 2005 - [email protected]
|
|
288 |
- Bump to 1.4.1.
|
|
289 |
- Move obsolete patches:
|
|
290 |
evolution-data-server-01-libgobject.diff,
|
|
291 |
evolution-data-server-02-pretty_function.diff.
|
|
292 |
- Move upstreamed patches:
|
|
293 |
evolution-data-server-03-lock-helper.diff.
|
|
294 |
* Thu Sep 15 2005 - [email protected]
|
|
295 |
- Add define krb5_option, disable Kerberos 5 on Solaris.
|
|
296 |
* Thu Sep 8 2005 - [email protected]
|
|
297 |
- Add krb5_prefix define and enable Kerberos 5.
|
|
298 |
- Fix CFLAGS problem.
|
|
299 |
* Wed Sep 7 2005 - [email protected]
|
|
300 |
- Bump to 1.4.0.
|
|
301 |
* Tue Sep 6 2005 - [email protected]
|
|
302 |
- Call configure instead of autogen.sh because autogen.sh not in 1.3.8 tarball.
|
|
303 |
Remove some ver nums from %files because there is no consistency.
|
|
304 |
Remove patch3 and reorder.
|
|
305 |
* Tue Sep 6 2005 - [email protected]
|
|
306 |
- Move patch evolution-data-server-04-ldap-ssl.diff and Source1
|
|
307 |
evolution-data-server-ldap-ssl-patch.tar to SUNWgnutls.spec.
|
|
308 |
* Fri Sep 2 2005 - [email protected]
|
|
309 |
- Add option --enable-nntp=yes to support news groups.
|
|
310 |
- Use SUN LDAP on solaris with %ldap_option.
|
|
311 |
- Add Source1 Patch4 to support SUN LDAP
|
|
312 |
- Use ./autogen.sh to replace libtoolize aclocal automake autoconf ./configure
|
|
313 |
steps, because we need build code that checked out from community HEAD.
|
|
314 |
- Temporarily disable Kerberos for header files are not installed on Nevada.
|
|
315 |
* Tue Aug 30 2005 - [email protected]
|
|
316 |
- Redefine major_version to 1.2 so that %files section can use while patch 03
|
|
317 |
redefines it to 1.2.
|
|
318 |
* Tue Aug 30 2005 - [email protected]
|
|
319 |
- Bump to 1.3.8
|
|
320 |
* Mon Aug 15 2005 - [email protected]
|
|
321 |
- Bump to 1.3.7.
|
|
322 |
* Thu Jul 28 2005 - [email protected]
|
|
323 |
- Rename --with-openldap configure option to --with-ldap as a result of Jerry's
|
|
324 |
patch from Jul 27. Also remove '%ifos' code around this option.
|
|
325 |
* Wed Jul 27 2005 - [email protected]
|
|
326 |
- Add patch from Jerry Pu ([email protected]) to support LDAP on Solaris.
|
|
327 |
* Thu Jul 14 2005 - [email protected]
|
|
328 |
- Add 5 patches to build on Solaris.
|
|
329 |
* Wed Jun 15 2005 - [email protected]
|
|
330 |
- Bump to 1.2.3
|
|
331 |
* Tue May 10 2005 - [email protected]
|
|
332 |
- Bump to 1.2.2
|
|
333 |
* Tue Nov 23 2004 - [email protected]
|
|
334 |
- Bump to 1.0.2
|
|
335 |
* Thu Jun 17 2004 - [email protected]
|
|
336 |
- rpm4´ified
|
|
337 |
* Thu Jun 17 2004 - [email protected]
|
|
338 |
- Bump to 0.0.94.1
|
|
339 |
* Tue Jun 08 2004 - [email protected]
|
|
340 |
- Bump to 0.0.94
|
|
341 |
* Fri May 21 2004 - [email protected]
|
|
342 |
- Bump to 0.0.93
|
|
343 |
* Tue Apr 20 2004 - [email protected]
|
|
344 |
- Bump to 0.0.92
|
|
345 |
* Mon Apr 19 2004 - [email protected]
|
|
346 |
- Initial spec file for evolution-data-server 0.0.91
|