author | hh150184 |
Tue, 24 Jan 2006 11:56:37 +0000 | |
branch | gnome-2-12 |
changeset 19207 | b59a653a3329 |
parent 19204 | c2c3bd29e866 |
permissions | -rw-r--r-- |
5518 | 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 |
Name: evolution-data-server |
|
5853 | 8 |
License: GPL |
5518 | 9 |
Group: System/Libraries/GNOME |
6328 | 10 |
Version: 1.4.2.1 |
5853 | 11 |
Release: 2 |
5518 | 12 |
Distribution: Java Desktop System |
13 |
Vendor: Sun Microsystems, Inc. |
|
14 |
Summary: Backend Library for Evolution |
|
5763 | 15 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.4/%{name}-%{version}.tar.bz2 |
19204 | 16 |
Patch1: evolution-data-server-01-click-folder.diff |
17 |
Patch2: evolution-data-server-02-fold-vfolder.diff |
|
5518 | 18 |
URL: http://www.gnome.org |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
Docdir: %{_defaultdocdir}/evolution-data-server |
|
21 |
Autoreqprov: on |
|
22 |
Prereq: /sbin/ldconfig |
|
23 |
||
5805 | 24 |
%define api_version 1.2 |
25 |
%define base_version 1.4 |
|
5565
b1beceba7539
* vino.spec: Remove PATH setting as it is not used (info was wrong and
dc144907
parents:
5543
diff
changeset
|
26 |
|
5518 | 27 |
%define libbonobo_version 2.4.2 |
28 |
%define gnome_vfs_version 2.4 |
|
29 |
%define libgnome_version 2.4 |
|
30 |
%define GConf_version 2.4 |
|
31 |
%define libsoup_version 2.2.3 |
|
32 |
%define gtk_doc_version 1.1 |
|
33 |
%define openldap2_version 2.1.4 |
|
34 |
||
35 |
Requires: libbonobo >= %{libbonobo_version} |
|
36 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
37 |
Requires: libgnome >= %{libgnome_version} |
|
38 |
Requires: GConf >= %{GConf_version} |
|
39 |
Requires: libsoup >= %{libsoup_version} |
|
40 |
Requires: openldap2-client >= %{openldap2_version} |
|
41 |
||
42 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
43 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
44 |
BuildRequires: libgnome-devel >= %{libgnome_version} |
|
45 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
46 |
BuildRequires: libsoup-devel >= %{libsoup_version} |
|
47 |
BuildRequires: openldap2-devel >= %{openldap2_version} |
|
48 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
49 |
BuildRequires: bison |
|
5641 | 50 |
BuildRequires: heimdal-devel |
5518 | 51 |
|
52 |
%description |
|
53 |
evolution-data-server is the backend library for Evolution, providing |
|
54 |
support for calendar and addressbook. |
|
55 |
||
56 |
%package devel |
|
57 |
Summary: Development Backend Library for Evolution |
|
58 |
Group: Development/Libraries/GNOME |
|
59 |
Autoreqprov: on |
|
60 |
Requires: %name = %version |
|
61 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
62 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
63 |
BuildRequires: libgnome-devel >= %{libgnome_version} |
|
64 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
65 |
BuildRequires: openldap2-devel >= %{openldap2_version} |
|
66 |
BuildRequires: libsoup-devel >= %{libsoup_version} |
|
67 |
||
68 |
%description devel |
|
69 |
evolution-data-server is the backend library for Evolution, providing |
|
70 |
support for calendar and addressbook. |
|
71 |
||
72 |
%prep |
|
73 |
%setup -q |
|
6328 | 74 |
%patch1 -p0 |
6372 | 75 |
%patch2 -p0 |
5518 | 76 |
|
77 |
%build |
|
5697
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
78 |
|
19204 | 79 |
%ifos linux %define ldap_option --with-openldap=%{_prefix} |
5862
c2471fcf0bfb
* ext-sources/evolution-data-server-ldap-ssl-patch.tar: Changed to
hh150184
parents:
5853
diff
changeset
|
80 |
%define krb5_option --with-krb5=%{_prefix} |
6147
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
81 |
%define firefox_prefix /usr |
5697
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
82 |
%else |
6085
fd5c443058ec
* evolution-data-server.spec,evolution-exchange.spec,evolution.spec:
hh150184
parents:
6080
diff
changeset
|
83 |
%define ldap_option --with-sunldap=%{_prefix} |
5862
c2471fcf0bfb
* ext-sources/evolution-data-server-ldap-ssl-patch.tar: Changed to
hh150184
parents:
5853
diff
changeset
|
84 |
%define krb5_option --with-krb5=no |
6147
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
85 |
%define firefox_prefix /usr/sfw |
5697
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
86 |
%endif |
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
87 |
|
5518 | 88 |
export LDFLAGS="$LDFLAGS -R%{_libdir}/mozilla" |
5772
7dcd6d9c7f08
* evolution-data-server.spec: Enable Kerberos 5 and fix CFLAGS problem.
hh150184
parents:
5763
diff
changeset
|
89 |
export CFLAGS="$CFLAGS $RPM_OPT_FLAGS" |
5763 | 90 |
|
91 |
aclocal $ACLOCAL_FLAGS |
|
92 |
libtoolize --force |
|
93 |
glib-gettextize --force --copy |
|
94 |
intltoolize --force --automake |
|
95 |
autoheader |
|
96 |
automake -a -f -c --gnu |
|
97 |
autoconf |
|
5772
7dcd6d9c7f08
* evolution-data-server.spec: Enable Kerberos 5 and fix CFLAGS problem.
hh150184
parents:
5763
diff
changeset
|
98 |
./configure --prefix=%{_prefix} \ |
5518 | 99 |
--libexecdir=%{_libexecdir} \ |
100 |
--sysconfdir=%{_sysconfdir} \ |
|
5862
c2471fcf0bfb
* ext-sources/evolution-data-server-ldap-ssl-patch.tar: Changed to
hh150184
parents:
5853
diff
changeset
|
101 |
--enable-nss=yes \ |
c2471fcf0bfb
* ext-sources/evolution-data-server-ldap-ssl-patch.tar: Changed to
hh150184
parents:
5853
diff
changeset
|
102 |
--enable-smime=yes \ |
c2471fcf0bfb
* ext-sources/evolution-data-server-ldap-ssl-patch.tar: Changed to
hh150184
parents:
5853
diff
changeset
|
103 |
--enable-nntp=yes \ |
6147
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
104 |
--with-nss-includes=%{firefox_prefix}/include/firefox/nss \ |
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
105 |
--with-nss-libs=%{firefox_prefix}/lib/firefox \ |
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
106 |
--with-nspr-includes=%{firefox_prefix}/include/firefox/nspr \ |
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
107 |
--with-nspr-libs=%{firefox_prefix}/lib/firefox \ |
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
108 |
%ldap_option \ |
5772
7dcd6d9c7f08
* evolution-data-server.spec: Enable Kerberos 5 and fix CFLAGS problem.
hh150184
parents:
5763
diff
changeset
|
109 |
--with-krb4=%{_prefix} \ |
6147
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
110 |
%krb5_option |
5518 | 111 |
|
112 |
make |
|
113 |
||
114 |
%install |
|
115 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
116 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
117 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
118 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
5853 | 119 |
rm $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/extensions/*.la |
120 |
rm $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-*/camel-providers/*.la |
|
5518 | 121 |
|
122 |
%clean |
|
123 |
rm -rf $RPM_BUILD_ROOT |
|
124 |
||
125 |
%post |
|
126 |
/sbin/ldconfig |
|
127 |
||
128 |
%postun |
|
129 |
/sbin/ldconfig |
|
130 |
||
131 |
%files |
|
132 |
%defattr (-, root, root) |
|
133 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
134 |
%{_libdir}/*.so.* |
|
5805 | 135 |
%{_libdir}/evolution-data-server-%{api_version}/extensions/*.so |
136 |
%{_libdir}/evolution-data-server-%{api_version}/camel-providers/*.so |
|
137 |
%{_libdir}/evolution-data-server-%{api_version}/camel-providers/*urls |
|
5518 | 138 |
%{_libdir}/bonobo/servers/* |
139 |
%{_libexecdir}/* |
|
5805 | 140 |
%{_datadir}/evolution-data-server-%{base_version}/* |
141 |
%{_datadir}/pixmaps/evolution-data-server-%{base_version}/* |
|
5518 | 142 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
143 |
||
144 |
%files devel |
|
145 |
%defattr (-, root, root) |
|
146 |
%{_libdir}/*.so |
|
5805 | 147 |
%{_includedir}/evolution-data-server-%{base_version}/* |
5518 | 148 |
%{_libdir}/pkgconfig/*.pc |
149 |
%{_datadir}/gtk-doc/* |
|
150 |
%{_datadir}/idl/* |
|
151 |
||
152 |
%changelog |
|
19204 | 153 |
* Thu Dec 22 2005 - [email protected] |
154 |
- Rename the patch evolution-data-server-6341837.diff to |
|
155 |
evolution-data-server-01-click-folder.diff |
|
156 |
- Rename the patch evolution-data-server-6359639.diff to |
|
157 |
evolution-data-server-02-fold-vfolder.diff |
|
158 |
||
6372 | 159 |
* Fri Dec 09 2005 - [email protected] |
160 |
- Add the patch evolution-data-server-6359639.diff |
|
161 |
||
6328 | 162 |
* Fri Dec 02 2005 - [email protected] |
163 |
- Bump to 1.4.2.1. |
|
164 |
- Add the patch evolution-data-server-6341837.diff |
|
165 |
||
6323
a639855ca3db
* evolution-data-server.spec: Remove upstream patch, 01-6340601.diff.
dc144907
parents:
6297
diff
changeset
|
166 |
* Thu Dec 01 2005 - [email protected] |
a639855ca3db
* evolution-data-server.spec: Remove upstream patch, 01-6340601.diff.
dc144907
parents:
6297
diff
changeset
|
167 |
- Remove upstream patch, patches/evolution-data-server-01-6340601.diff. |
a639855ca3db
* evolution-data-server.spec: Remove upstream patch, 01-6340601.diff.
dc144907
parents:
6297
diff
changeset
|
168 |
|
6297
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6292
diff
changeset
|
169 |
* Tue Nov 29 2005 - [email protected] |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6292
diff
changeset
|
170 |
- Bump to 1.4.2. |
325024482887
* eel.spec eog.spec evolution.spec evolution-data-server.spec
dc144907
parents:
6292
diff
changeset
|
171 |
|
6292
57143bca73c1
* evolution-data-server.spec, patches/evolution-data-server-01-6340601.diff:
hh150184
parents:
6147
diff
changeset
|
172 |
* Wed Nov 23 2005 - [email protected] |
57143bca73c1
* evolution-data-server.spec, patches/evolution-data-server-01-6340601.diff:
hh150184
parents:
6147
diff
changeset
|
173 |
- Add patch evolution-data-server-01-6340601.diff. |
57143bca73c1
* evolution-data-server.spec, patches/evolution-data-server-01-6340601.diff:
hh150184
parents:
6147
diff
changeset
|
174 |
|
6147
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
175 |
* Fri Oct 21 2005 - [email protected] |
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
176 |
- Use firefox nss/nspr lib instead of mozilla's. |
b6cc007467a3
* evolution-data-server.spec: Disable pilot-conduits on solaris,
hh150184
parents:
6085
diff
changeset
|
177 |
|
6085
fd5c443058ec
* evolution-data-server.spec,evolution-exchange.spec,evolution.spec:
hh150184
parents:
6080
diff
changeset
|
178 |
* Wed Oct 12 2005 - [email protected] |
fd5c443058ec
* evolution-data-server.spec,evolution-exchange.spec,evolution.spec:
hh150184
parents:
6080
diff
changeset
|
179 |
- change --with-ldap to --with-sunldap. |
fd5c443058ec
* evolution-data-server.spec,evolution-exchange.spec,evolution.spec:
hh150184
parents:
6080
diff
changeset
|
180 |
|
6080
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
6074
diff
changeset
|
181 |
* Tue Oct 11 2005 - [email protected] |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
6074
diff
changeset
|
182 |
- Bump to 1.4.1.1. |
4b30e2aa0fc7
* bug-buddy.spec control-center.spec eel.spec eog.spec
dc144907
parents:
6074
diff
changeset
|
183 |
|
6074 | 184 |
* Mon Oct 10 2005 - [email protected] |
185 |
- Bump to 1.4.1. |
|
186 |
- Move obsolete patches: |
|
187 |
evolution-data-server-01-libgobject.diff, |
|
188 |
evolution-data-server-02-pretty_function.diff. |
|
189 |
- Move upstreamed patches: |
|
190 |
evolution-data-server-03-lock-helper.diff. |
|
191 |
||
5862
c2471fcf0bfb
* ext-sources/evolution-data-server-ldap-ssl-patch.tar: Changed to
hh150184
parents:
5853
diff
changeset
|
192 |
* Thu Sep 15 2005 - [email protected] |
c2471fcf0bfb
* ext-sources/evolution-data-server-ldap-ssl-patch.tar: Changed to
hh150184
parents:
5853
diff
changeset
|
193 |
- Add define krb5_option, disable Kerberos 5 on Solaris. |
c2471fcf0bfb
* ext-sources/evolution-data-server-ldap-ssl-patch.tar: Changed to
hh150184
parents:
5853
diff
changeset
|
194 |
|
5772
7dcd6d9c7f08
* evolution-data-server.spec: Enable Kerberos 5 and fix CFLAGS problem.
hh150184
parents:
5763
diff
changeset
|
195 |
* Thu Sep 8 2005 - [email protected] |
7dcd6d9c7f08
* evolution-data-server.spec: Enable Kerberos 5 and fix CFLAGS problem.
hh150184
parents:
5763
diff
changeset
|
196 |
- Add krb5_prefix define and enable Kerberos 5. |
7dcd6d9c7f08
* evolution-data-server.spec: Enable Kerberos 5 and fix CFLAGS problem.
hh150184
parents:
5763
diff
changeset
|
197 |
- Fix CFLAGS problem. |
7dcd6d9c7f08
* evolution-data-server.spec: Enable Kerberos 5 and fix CFLAGS problem.
hh150184
parents:
5763
diff
changeset
|
198 |
|
5763 | 199 |
* Wed Sep 7 2005 - [email protected] |
200 |
- Bump to 1.4.0. |
|
201 |
||
5733
58b7699eff43
* evolution-data-server.spec: - Call configure instead of autogen.sh
dc144907
parents:
5729
diff
changeset
|
202 |
* Tue Sep 6 2005 - [email protected] |
58b7699eff43
* evolution-data-server.spec: - Call configure instead of autogen.sh
dc144907
parents:
5729
diff
changeset
|
203 |
- Call configure instead of autogen.sh because autogen.sh not in 1.3.8 tarball. |
58b7699eff43
* evolution-data-server.spec: - Call configure instead of autogen.sh
dc144907
parents:
5729
diff
changeset
|
204 |
Remove some ver nums from %files because there is no consistency. |
58b7699eff43
* evolution-data-server.spec: - Call configure instead of autogen.sh
dc144907
parents:
5729
diff
changeset
|
205 |
Remove patch3 and reorder. |
58b7699eff43
* evolution-data-server.spec: - Call configure instead of autogen.sh
dc144907
parents:
5729
diff
changeset
|
206 |
|
5763 | 207 |
* Tue Sep 6 2005 - [email protected] |
5729
2878ff74069e
* evolution-data-server.spec: Move SUN LDAP patch and Source1 to SUNWgnutls.spec.
hh150184
parents:
5697
diff
changeset
|
208 |
- Move patch evolution-data-server-04-ldap-ssl.diff and Source1 |
2878ff74069e
* evolution-data-server.spec: Move SUN LDAP patch and Source1 to SUNWgnutls.spec.
hh150184
parents:
5697
diff
changeset
|
209 |
evolution-data-server-ldap-ssl-patch.tar to SUNWgnutls.spec. |
2878ff74069e
* evolution-data-server.spec: Move SUN LDAP patch and Source1 to SUNWgnutls.spec.
hh150184
parents:
5697
diff
changeset
|
210 |
|
5697
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
211 |
* Fri Sep 2 2005 - [email protected] |
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
212 |
- Add option --enable-nntp=yes to support news groups. |
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
213 |
- Use SUN LDAP on solaris with %ldap_option. |
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
214 |
- Add Source1 Patch4 to support SUN LDAP |
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
215 |
- Use ./autogen.sh to replace libtoolize aclocal automake autoconf ./configure |
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
216 |
steps, because we need build code that checked out from community HEAD. |
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
217 |
- Temporarily disable Kerberos for header files are not installed on Nevada. |
119f249a430e
Upgrade SUNWevolution-data-server related spec files.
hh150184
parents:
5653
diff
changeset
|
218 |
|
5653
7f572120ce6b
* evolution-data-server.spec: Redefine major_version to 1.2 so that %files
dc144907
parents:
5646
diff
changeset
|
219 |
* Tue Aug 30 2005 - [email protected] |
7f572120ce6b
* evolution-data-server.spec: Redefine major_version to 1.2 so that %files
dc144907
parents:
5646
diff
changeset
|
220 |
- Redefine major_version to 1.2 so that %files section can use while patch 03 |
7f572120ce6b
* evolution-data-server.spec: Redefine major_version to 1.2 so that %files
dc144907
parents:
5646
diff
changeset
|
221 |
redefines it to 1.2. |
7f572120ce6b
* evolution-data-server.spec: Redefine major_version to 1.2 so that %files
dc144907
parents:
5646
diff
changeset
|
222 |
|
5641 | 223 |
* Tue Aug 30 2005 - [email protected] |
224 |
- Bump to 1.3.8 |
|
225 |
||
5528
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
226 |
* Mon Aug 15 2005 - [email protected] |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
227 |
- Bump to 1.3.7. |
8eaf8a1cb170
* *.spec: Bump to latest available versions for 2.11 work.
dc144907
parents:
5518
diff
changeset
|
228 |
|
5518 | 229 |
* Thu Jul 28 2005 - [email protected] |
230 |
- Rename --with-openldap configure option to --with-ldap as a result of Jerry's |
|
231 |
patch from Jul 27. Also remove '%ifos' code around this option. |
|
232 |
||
233 |
* Wed Jul 27 2005 - [email protected] |
|
234 |
- Add patch from Jerry Pu ([email protected]) to support LDAP on Solaris. |
|
235 |
||
236 |
* Thu Jul 14 2005 - [email protected] |
|
237 |
- Add 5 patches to build on Solaris. |
|
238 |
||
239 |
* Wed Jun 15 2005 - [email protected] |
|
240 |
- Bump to 1.2.3 |
|
241 |
||
242 |
* Tue May 10 2005 - [email protected] |
|
243 |
- Bump to 1.2.2 |
|
244 |
||
245 |
* Tue Nov 23 2004 - [email protected] |
|
246 |
- Bump to 1.0.2 |
|
247 |
||
248 |
* Thu Jun 17 2004 - [email protected] |
|
249 |
- rpm4´ified |
|
250 |
||
251 |
* Thu Jun 17 2004 - [email protected] |
|
252 |
- Bump to 0.0.94.1 |
|
253 |
||
254 |
* Tue Jun 08 2004 - [email protected] |
|
255 |
- Bump to 0.0.94 |
|
256 |
||
257 |
* Fri May 21 2004 - [email protected] |
|
258 |
- Bump to 0.0.93 |
|
259 |
||
260 |
* Tue Apr 20 2004 - [email protected] |
|
261 |
- Bump to 0.0.92 |
|
262 |
||
263 |
* Mon Apr 19 2004 - [email protected] |
|
264 |
- Initial spec file for evolution-data-server 0.0.91 |