author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19881 | 6180c371ed87 |
permissions | -rw-r--r-- |
19693 | 1 |
# |
2 |
# spec file for package ximian-connector |
|
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 |
# |
|
19487 | 8 |
Name: ximian-connector |
9 |
License: GPL |
|
10 |
Group: System/Libraries/GNOME |
|
11 |
Version: 2.2.2 |
|
12 |
Release: 1 |
|
19693 | 13 |
Distribution: Java Desktop System |
19487 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: Evolution connector for Microsoft Exchange |
|
19881 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/ximian-connector/2.2/ximian-connector-%{version}.tar.bz2 |
19487 | 17 |
URL: http://www.gnome.org |
18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
19 |
Docdir: %{_defaultdocdir}/ximian-connector |
|
20 |
Autoreqprov: on |
|
21 |
Prereq: /sbin/ldconfig |
|
22 |
||
23 |
%define evolution_version 2.2 |
|
24 |
%define libgnomeui_version 2.10.0 |
|
25 |
%define libglade_version 2.5.0 |
|
26 |
%define libsoup_version 2.2.3 |
|
27 |
%define GConf_version 2.10.0 |
|
28 |
%define openldap2_version 2.2.6 |
|
29 |
%define gtk_doc_version 1.3 |
|
30 |
%define hydrogen_version 1.0.0 |
|
31 |
%define oxygen2_version 1.4 |
|
32 |
||
33 |
Requires: evolution >= %{evolution_version} |
|
34 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
35 |
Requires: libglade >= %{libglade_version} |
|
36 |
Requires: libsoup >= %{libsoup_version} |
|
37 |
Requires: GConf >= %{GConf_version} |
|
38 |
Requires: openldap2-client >= %{openldap2_version} |
|
39 |
||
40 |
BuildRequires: evolution-devel >= %{evolution_version} |
|
41 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
42 |
BuildRequires: libglade-devel >= %{libglade_version} |
|
43 |
BuildRequires: libsoup-devel >= %{libsoup_version} |
|
44 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
45 |
BuildRequires: openldap2-devel >= %{openldap2_version} |
|
46 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
47 |
||
48 |
Obsoletes: hydrogen <= %{hydrogen_version} |
|
49 |
Obsoletes: oxygen2 <= %{oxygen2_version} |
|
50 |
||
51 |
%description |
|
52 |
Provides a connector library for Evolution to access Microsoft Exchange. |
|
53 |
||
54 |
%prep |
|
55 |
%setup -q |
|
56 |
||
57 |
%build |
|
58 |
libtoolize --force |
|
19577
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19487
diff
changeset
|
59 |
aclocal $ACLOCAL_FLAGS |
19487 | 60 |
automake -a -c -f |
61 |
autoconf |
|
62 |
||
63 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
64 |
./configure --prefix=%{_prefix} \ |
|
65 |
--libexecdir=%{_libexecdir} \ |
|
19606
f46f0ce6ef7f
* ximian-connector.spec: Turn off OpenLDAP support on Solaris as it is too old.
dc144907
parents:
19577
diff
changeset
|
66 |
%ifos solaris |
f46f0ce6ef7f
* ximian-connector.spec: Turn off OpenLDAP support on Solaris as it is too old.
dc144907
parents:
19577
diff
changeset
|
67 |
--with-openldap=no \ |
f46f0ce6ef7f
* ximian-connector.spec: Turn off OpenLDAP support on Solaris as it is too old.
dc144907
parents:
19577
diff
changeset
|
68 |
%endif |
19487 | 69 |
--sysconfdir=%{_sysconfdir} |
70 |
||
71 |
make |
|
72 |
||
73 |
%install |
|
74 |
#? export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
75 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
76 |
#? unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
77 |
||
78 |
rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/2.2/*.la |
|
79 |
rm -f $RPM_BUILD_ROOT%{_libdir}/evolution/2.2/*.a |
|
80 |
rm -f $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-1.2/camel-providers/*.la |
|
81 |
rm -f $RPM_BUILD_ROOT%{_libdir}/evolution-data-server-1.2/camel-providers/*.a |
|
82 |
||
83 |
||
84 |
%clean |
|
85 |
rm -rf $RPM_BUILD_ROOT |
|
86 |
||
87 |
%post |
|
88 |
#? export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
89 |
#? SCHEMAS="apps_evolution_exchange.schemas" |
|
90 |
#? for S in $SCHEMAS; do |
|
91 |
#? gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
92 |
#? done |
|
93 |
||
94 |
%postun |
|
95 |
||
96 |
%files |
|
97 |
%defattr (-, root, root) |
|
98 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
99 |
%{_bindir}/* |
|
100 |
%{_libdir}/bonobo/servers/* |
|
101 |
%{_libdir}/evolution/2.2/*.so* |
|
102 |
%{_libdir}/evolution-data-server-1.2/camel-providers/*.so* |
|
103 |
%{_libdir}/evolution-data-server-1.2/camel-providers/*.urls |
|
104 |
%{_libexecdir}/evolution/2.2/* |
|
105 |
%{_datadir}/gtk-doc/* |
|
106 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
107 |
%{_datadir}/ximian-connector/* |
|
108 |
#? %config %{_sysconfdir}/gconf/schemas/* |
|
109 |
||
110 |
%changelog |
|
19606
f46f0ce6ef7f
* ximian-connector.spec: Turn off OpenLDAP support on Solaris as it is too old.
dc144907
parents:
19577
diff
changeset
|
111 |
* Thu Jul 21 2005 - [email protected] |
f46f0ce6ef7f
* ximian-connector.spec: Turn off OpenLDAP support on Solaris as it is too old.
dc144907
parents:
19577
diff
changeset
|
112 |
- Turn off OpenLDAP support on Solaris as it is too old. |
f46f0ce6ef7f
* ximian-connector.spec: Turn off OpenLDAP support on Solaris as it is too old.
dc144907
parents:
19577
diff
changeset
|
113 |
|
19577
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19487
diff
changeset
|
114 |
* Thu Jul 14 2005 - [email protected] |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19487
diff
changeset
|
115 |
- Remove obsolete gnome2-macros dir from aclocal call. |
d227de698036
* evolution-data-server.spec: Add patches to build on Solaris.
dc144907
parents:
19487
diff
changeset
|
116 |
|
19487 | 117 |
* Mon Jun 27 2005 - [email protected] |
118 |
- Bump to 2.2.2 |
|
119 |
||
120 |
* Thu Jun 17 2004 - [email protected] |
|
121 |
- Initial spec file for ximian-connector 1.5.9 |