author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19693 | ecfa915b40d9 |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package evolution-data-server |
|
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
5 |
# This file and all modifications and additions to the pristine |
|
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
19240 | 8 |
Name: evolution-data-server |
9 |
License: GPL |
|
10 |
Group: System/Libraries/GNOME |
|
19413
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19303
diff
changeset
|
11 |
Version: 1.2.3 |
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19303
diff
changeset
|
12 |
Release: 1 |
19693 | 13 |
Distribution: Java Desktop System |
19240 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: Backend Library for Evolution |
|
19693 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/1.2/%{name}-%{version}.tar.bz2 |
19577
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
17 |
Patch1: evolution-data-server-01-libgobject.diff |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
18 |
Patch2: evolution-data-server-02-void_return.diff |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
19 |
Patch3: evolution-data-server-03-pretty_function.diff |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
20 |
Patch4: evolution-data-server-04-zero_struct.diff |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
21 |
Patch5: evolution-data-server-05-illegal_cast.diff |
19621
9b6dc4d3b9d4
* evolution-data-server.spec,evolution.spec: Add patches from Jerry Pu
dc144907
parents:
19577
diff
changeset
|
22 |
Patch6: evolution-data-server-06-solaris-ldap.diff |
19240 | 23 |
URL: http://www.gnome.org |
24 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
25 |
Docdir: %{_defaultdocdir}/evolution-data-server |
|
26 |
Autoreqprov: on |
|
27 |
Prereq: /sbin/ldconfig |
|
28 |
||
29 |
%define libbonobo_version 2.4.2 |
|
30 |
%define gnome_vfs_version 2.4 |
|
31 |
%define libgnome_version 2.4 |
|
32 |
%define GConf_version 2.4 |
|
33 |
%define libsoup_version 2.2.3 |
|
34 |
%define gtk_doc_version 1.1 |
|
35 |
%define openldap2_version 2.1.4 |
|
36 |
||
37 |
Requires: libbonobo >= %{libbonobo_version} |
|
38 |
Requires: gnome-vfs >= %{gnome_vfs_version} |
|
39 |
Requires: libgnome >= %{libgnome_version} |
|
40 |
Requires: GConf >= %{GConf_version} |
|
41 |
Requires: libsoup >= %{libsoup_version} |
|
42 |
Requires: openldap2-client >= %{openldap2_version} |
|
43 |
||
44 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
45 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
46 |
BuildRequires: libgnome-devel >= %{libgnome_version} |
|
47 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
48 |
BuildRequires: libsoup-devel >= %{libsoup_version} |
|
49 |
BuildRequires: openldap2-devel >= %{openldap2_version} |
|
50 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
51 |
BuildRequires: bison |
|
52 |
||
53 |
%description |
|
54 |
evolution-data-server is the backend library for Evolution, providing |
|
55 |
support for calendar and addressbook. |
|
56 |
||
57 |
%package devel |
|
58 |
Summary: Development Backend Library for Evolution |
|
59 |
Group: Development/Libraries/GNOME |
|
60 |
Autoreqprov: on |
|
61 |
Requires: %name = %version |
|
62 |
BuildRequires: libbonobo-devel >= %{libbonobo_version} |
|
63 |
BuildRequires: gnome-vfs-devel >= %{gnome_vfs_version} |
|
64 |
BuildRequires: libgnome-devel >= %{libgnome_version} |
|
65 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
66 |
BuildRequires: openldap2-devel >= %{openldap2_version} |
|
67 |
BuildRequires: libsoup-devel >= %{libsoup_version} |
|
68 |
||
69 |
%description devel |
|
70 |
evolution-data-server is the backend library for Evolution, providing |
|
71 |
support for calendar and addressbook. |
|
72 |
||
73 |
%prep |
|
74 |
%setup -q |
|
19577
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
75 |
%patch1 -p1 |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
76 |
%patch2 -p1 |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
77 |
%patch3 -p1 |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
78 |
%patch4 -p1 |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
79 |
%patch5 -p1 |
19621
9b6dc4d3b9d4
* evolution-data-server.spec,evolution.spec: Add patches from Jerry Pu
dc144907
parents:
19577
diff
changeset
|
80 |
%patch6 -p1 |
19240 | 81 |
|
82 |
%build |
|
83 |
libtoolize --force |
|
19243 | 84 |
aclocal $ACLOCAL_FLAGS |
19240 | 85 |
automake -a -c -f |
86 |
autoconf |
|
19303 | 87 |
# This saves us from having to edit /etc/ld.so.conf and adding the |
88 |
# mozilla directory |
|
89 |
export LDFLAGS="$LDFLAGS -R%{_libdir}/mozilla" |
|
19240 | 90 |
CFLAGS="$RPM_OPT_FLAGS" \ |
19303 | 91 |
./configure --prefix=%{_prefix} \ |
92 |
--libexecdir=%{_libexecdir} \ |
|
93 |
--sysconfdir=%{_sysconfdir} \ |
|
94 |
--enable-nss=yes \ |
|
95 |
--enable-smime=yes \ |
|
96 |
--with-nss-includes=%{_includedir}/mozilla/nss \ |
|
97 |
--with-nss-libs=%{_libdir}/mozilla \ |
|
98 |
--with-nspr-includes=%{_includedir}/mozilla/nspr \ |
|
99 |
--with-nspr-libs=%{_libdir}/mozilla \ |
|
19621
9b6dc4d3b9d4
* evolution-data-server.spec,evolution.spec: Add patches from Jerry Pu
dc144907
parents:
19577
diff
changeset
|
100 |
--with-openldap=%{_prefix} \ |
19303 | 101 |
--with-krb4=%{_prefix} --with-krb5=%{_prefix} |
19240 | 102 |
|
103 |
make |
|
104 |
||
105 |
%install |
|
106 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
107 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
108 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
109 |
rm $RPM_BUILD_ROOT%{_libdir}/*.la |
|
19289 | 110 |
rm $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-1.2/extensions/*.la |
111 |
rm $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-1.2/camel-providers/*.la |
|
19240 | 112 |
|
113 |
%clean |
|
114 |
rm -rf $RPM_BUILD_ROOT |
|
115 |
||
116 |
%post |
|
117 |
/sbin/ldconfig |
|
118 |
||
119 |
%postun |
|
120 |
/sbin/ldconfig |
|
121 |
||
122 |
%files |
|
123 |
%defattr (-, root, root) |
|
124 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
125 |
%{_libdir}/*.so.* |
|
19289 | 126 |
%{_libdir}/evolution-data-server-1.2/extensions/*.so |
127 |
%{_libdir}/evolution-data-server-1.2/camel-providers/*.so |
|
128 |
%{_libdir}/evolution-data-server-1.2/camel-providers/*urls |
|
19240 | 129 |
%{_libdir}/bonobo/servers/* |
130 |
%{_libexecdir}/* |
|
19289 | 131 |
%{_datadir}/evolution-data-server-1.2/* |
132 |
%{_datadir}/pixmaps/evolution-data-server-1.2/* |
|
19240 | 133 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
134 |
||
135 |
%files devel |
|
136 |
%defattr (-, root, root) |
|
137 |
%{_libdir}/*.so |
|
19289 | 138 |
%{_includedir}/evolution-data-server-1.2/* |
19240 | 139 |
%{_libdir}/pkgconfig/*.pc |
140 |
%{_datadir}/gtk-doc/* |
|
141 |
%{_datadir}/idl/* |
|
142 |
||
143 |
%changelog |
|
19624
47bd632c89f1
* evolution.spec, evolution-data-server.spec: Rename --with-openldap
dc144907
parents:
19621
diff
changeset
|
144 |
* Thu Jul 28 2005 - [email protected] |
47bd632c89f1
* evolution.spec, evolution-data-server.spec: Rename --with-openldap
dc144907
parents:
19621
diff
changeset
|
145 |
- Rename --with-openldap configure option to --with-ldap as a result of Jerry's |
47bd632c89f1
* evolution.spec, evolution-data-server.spec: Rename --with-openldap
dc144907
parents:
19621
diff
changeset
|
146 |
patch from Jul 27. Also remove '%ifos' code around this option. |
47bd632c89f1
* evolution.spec, evolution-data-server.spec: Rename --with-openldap
dc144907
parents:
19621
diff
changeset
|
147 |
|
19621
9b6dc4d3b9d4
* evolution-data-server.spec,evolution.spec: Add patches from Jerry Pu
dc144907
parents:
19577
diff
changeset
|
148 |
* Wed Jul 27 2005 - [email protected] |
9b6dc4d3b9d4
* evolution-data-server.spec,evolution.spec: Add patches from Jerry Pu
dc144907
parents:
19577
diff
changeset
|
149 |
- Add patch from Jerry Pu ([email protected]) to support LDAP on Solaris. |
9b6dc4d3b9d4
* evolution-data-server.spec,evolution.spec: Add patches from Jerry Pu
dc144907
parents:
19577
diff
changeset
|
150 |
|
19577
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
151 |
* Thu Jul 14 2005 - [email protected] |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
152 |
- Add 5 patches to build on Solaris. |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19413
diff
changeset
|
153 |
|
19413
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19303
diff
changeset
|
154 |
* Wed Jun 15 2005 - [email protected] |
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19303
diff
changeset
|
155 |
- Bump to 1.2.3 |
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19303
diff
changeset
|
156 |
|
19240 | 157 |
* Tue May 10 2005 - [email protected] |
158 |
- Bump to 1.2.2 |
|
159 |
||
160 |
* Tue Nov 23 2004 - [email protected] |
|
161 |
- Bump to 1.0.2 |
|
162 |
||
163 |
* Thu Jun 17 2004 - [email protected] |
|
164 |
- rpm4´ified |
|
165 |
||
166 |
* Thu Jun 17 2004 - [email protected] |
|
167 |
- Bump to 0.0.94.1 |
|
168 |
||
169 |
* Tue Jun 08 2004 - [email protected] |
|
170 |
- Bump to 0.0.94 |
|
171 |
||
172 |
* Fri May 21 2004 - [email protected] |
|
173 |
- Bump to 0.0.93 |
|
174 |
||
175 |
* Tue Apr 20 2004 - [email protected] |
|
176 |
- Bump to 0.0.92 |
|
177 |
||
178 |
* Mon Apr 19 2004 - [email protected] |
|
179 |
- Initial spec file for evolution-data-server 0.0.91 |