author | dermotm |
Mon, 24 Jul 2006 12:30:39 +0000 | |
branch | gnome-2-10 |
changeset 19949 | 94f49bf19351 |
parent 19719 | d184ca39d269 |
permissions | -rw-r--r-- |
19643 | 1 |
# |
19693 | 2 |
# spec file for package evolution |
3 |
# |
|
4 |
# Copyright (c) 2005 Sun Microsystems, Inc. |
|
19643 | 5 |
# This file and all modifications and additions to the pristine |
6 |
# package are under the same license as the package itself. |
|
7 |
# |
|
19316 | 8 |
Name: evolution |
9 |
License: GPL |
|
10 |
Group: System/GUI/GNOME |
|
19413
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19316
diff
changeset
|
11 |
Version: 2.2.3 |
19316 | 12 |
Release: 1 |
19693 | 13 |
Distribution: java-desktop-system |
19316 | 14 |
Vendor: Sun Microsystems, Inc. |
15 |
Summary: Evolution |
|
19693 | 16 |
Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/2.2/%{name}-%{version}.tar.bz2 |
19621
9b6dc4d3b9d4
* evolution-data-server.spec,evolution.spec: Add patches from Jerry Pu
dc144907
parents:
19577
diff
changeset
|
17 |
Patch1: evolution-01-solaris-ldap.diff |
19316 | 18 |
URL: http://www.gnome.org |
19 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
|
20 |
Docdir: %{_defaultdocdir}/evolution |
|
21 |
Autoreqprov: on |
|
22 |
Prereq: /sbin/ldconfig |
|
23 |
Prereq: scrollkeeper |
|
19693 | 24 |
Prereq: sh-utils |
25 |
Prereq: GConf |
|
2386 | 26 |
|
19316 | 27 |
%define GConf_version 2.5.0 |
28 |
%define gtkhtml_version 3.2 |
|
29 |
%define gnome_pilot_version 2.0.10 |
|
30 |
%define mozilla_nss_version 3.8.0 |
|
31 |
%define mozilla_nspr_version 4.3.0 |
|
32 |
%define libgnomeui_version 2.4.0 |
|
33 |
%define libgal_version 2.2.0 |
|
34 |
%define scrollkeeper_version 0.3.11 |
|
35 |
%define gtk_doc_version 1.1 |
|
36 |
%define evolution_data_server_version 1.0.0 |
|
37 |
%define db_evo_version 3.1.17 |
|
2386 | 38 |
|
19316 | 39 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
40 |
BuildRequires: libgal-devel >= %{libgal_version} |
|
41 |
BuildRequires: gtkhtml-devel >= %{gtkhtml_version} |
|
42 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
43 |
BuildRequires: gnome-pilot-devel >= %{gnome_pilot_version} |
|
44 |
BuildRequires: evolution-data-server-devel >= %{evolution_data_server_version} |
|
45 |
BuildRequires: mozilla-nss-devel >= %{mozilla_nss_version} |
|
46 |
BuildRequires: mozilla-nspr-devel >= %{mozilla_nspr_version} |
|
47 |
BuildRequires: db_evo >= %{db_evo_version} |
|
48 |
BuildRequires: scrollkeeper >= %{scrollkeeper_version} |
|
49 |
BuildRequires: gtk-doc >= %{gtk_doc_version} |
|
50 |
BuildRequires: intltool |
|
51 |
BuildRequires: bison |
|
52 |
Requires: libgnomeui >= %{libgnomeui_version} |
|
53 |
Requires: libgal >= %{libgal_version} |
|
54 |
Requires: gtkhtml >= %{gtkhtml_version} |
|
55 |
Requires: GConf >= %{GConf_version} |
|
56 |
Requires: gnome-pilot >= %{gnome_pilot_version} |
|
57 |
Requires: evolution-data-server >= %{evolution_data_server_version} |
|
58 |
Requires: mozilla-nss >= %{mozilla_nss_version} |
|
59 |
Requires: mozilla-nspr >= %{mozilla_nspr_version} |
|
60 |
Requires: scrollkeeper >= %{scrollkeeper_version} |
|
2386 | 61 |
|
62 |
%description |
|
19316 | 63 |
Evolution is a mail, calendar and addressbook client for the GNOME Desktop |
2386 | 64 |
|
19316 | 65 |
%package devel |
66 |
Summary: Development Evolution Libraries |
|
67 |
Group: System/GUI/GNOME |
|
68 |
Autoreqprov: on |
|
69 |
Requires: %name = %version |
|
70 |
BuildRequires: libgnomeui-devel >= %{libgnomeui_version} |
|
71 |
BuildRequires: GConf-devel >= %{GConf_version} |
|
72 |
BuildRequires: libgal-devel >= %{libgal_version} |
|
73 |
BuildRequires: gtkhtml-devel >= %{gtkhtml_version} |
|
74 |
BuildRequires: evolution-data-server-devel >= %{evolution_data_server_version} |
|
2386 | 75 |
|
19316 | 76 |
%description devel |
77 |
This package contains the development libraries for Evolution, the GNOME mail, calendar |
|
78 |
and addressbook client. |
|
2386 | 79 |
|
19316 | 80 |
%package pilot |
81 |
Summary: Pilot support for Evolution |
|
82 |
Group: System/GUI/GNOME |
|
83 |
Autoreqprov: on |
|
84 |
Requires: %name = %version |
|
85 |
BuildRequires: gnome-pilot-devel >= %{gnome_pilot_version} |
|
2386 | 86 |
|
19316 | 87 |
%description pilot |
88 |
This package contains the pilot support for Evolution, the GNOME mail, calendar and |
|
89 |
addressbook client, allowing you to synchronize your Palm with Evolution. |
|
2386 | 90 |
|
91 |
%prep |
|
19316 | 92 |
%setup -q |
19621
9b6dc4d3b9d4
* evolution-data-server.spec,evolution.spec: Add patches from Jerry Pu
dc144907
parents:
19577
diff
changeset
|
93 |
%patch1 -p1 |
4467 | 94 |
|
2386 | 95 |
%build |
19316 | 96 |
libtoolize --force |
19569
1abf1aab6eb6
* evolution.spec: Remove gnome2-macros dir from aclocal call as that
dc144907
parents:
19490
diff
changeset
|
97 |
aclocal $ACLOCAL_FLAGS |
19316 | 98 |
automake -a -c -f |
99 |
autoconf |
|
100 |
# This saves us from having to edit /etc/ld.so.conf and adding the |
|
101 |
# mozilla directory |
|
102 |
export LDFLAGS="$LDFLAGS -R%{_libdir}/mozilla" |
|
103 |
CFLAGS="$RPM_OPT_FLAGS" \ |
|
104 |
./configure --prefix=%{_prefix} \ |
|
105 |
--libexecdir=%{_libexecdir} \ |
|
106 |
--sysconfdir=%{_sysconfdir} \ |
|
107 |
--localstatedir=/var \ |
|
108 |
--enable-nss=yes \ |
|
109 |
--enable-smime=yes \ |
|
110 |
--enable-openssl=yes \ |
|
111 |
--enable-pilot-conduits=yes \ |
|
19624
47bd632c89f1
* evolution.spec, evolution-data-server.spec: Rename --with-openldap
dc144907
parents:
19621
diff
changeset
|
112 |
--with-ldap=%{_prefix} \ |
19316 | 113 |
--with-db3-includes=%{_includedir}/evolution-private \ |
114 |
--with-db3-libs=%{_libdir}/evolution-private \ |
|
115 |
--with-nss-includes=%{_includedir}/mozilla/nss \ |
|
116 |
--with-nss-libs=%{_libdir}/mozilla \ |
|
117 |
--with-nspr-includes=%{_includedir}/mozilla/nspr \ |
|
118 |
--with-nspr-libs=%{_libdir}/mozilla \ |
|
119 |
--with-krb4=%{_prefix} --with-krb5=%{_prefix} |
|
120 |
make |
|
3263 | 121 |
|
19316 | 122 |
%install |
123 |
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 |
|
124 |
make -i install DESTDIR=$RPM_BUILD_ROOT |
|
125 |
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL |
|
126 |
rm $RPM_BUILD_ROOT%{_libdir}/evolution/2.2/components/*.la |
|
127 |
rm $RPM_BUILD_ROOT%{_libdir}/evolution/2.2/conduits/*.la |
|
128 |
rm $RPM_BUILD_ROOT%{_libdir}/evolution/2.2/evolution-addressbook-importers/*.la |
|
129 |
rm $RPM_BUILD_ROOT%{_libdir}/evolution/2.2/evolution-calendar-importers/*.la |
|
130 |
rm $RPM_BUILD_ROOT%{_libdir}/evolution/2.2/*.la |
|
131 |
rm $RPM_BUILD_ROOT%{_libdir}/evolution/2.2/plugins/*.la |
|
4120
bef2bd999924
* evolution.spec: Disable gnome-pilot-link conduits on Solaris.
dc144907
parents:
4117
diff
changeset
|
132 |
|
19316 | 133 |
%clean |
134 |
rm -rf $RPM_BUILD_ROOT |
|
135 |
||
136 |
%post |
|
137 |
/sbin/ldconfig |
|
138 |
for i in C zh_CN zh_TW ko_KR ja_JP de_DE es_ES fr_FR it_IT sv_SE ; do |
|
139 |
langtag=$i |
|
140 |
[ ${i:0:2} == "zh" ] || langtag=${i:0:2} |
|
141 |
[ -e %{_datadir}/omf/evolution/evolution-2.0-$langtag.omf ] && \ |
|
142 |
env LANG=$i LC_ALL=$i scrollkeeper-install -q %{_datadir}/omf/evolution/evolution-2.0-$langtag.omf |
|
143 |
done |
|
144 |
scrollkeeper-update -q |
|
145 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
|
146 |
SCHEMAS="apps_evolution_addressbook-2.2.schemas apps_evolution_calendar-2.2.schemas apps_evolution_shell-2.2.schemas evolution-mail-2.2.schemas" |
|
147 |
for S in $SCHEMAS; do |
|
148 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null |
|
149 |
done |
|
150 |
||
151 |
%postun |
|
152 |
/sbin/ldconfig |
|
153 |
scrollkeeper-update -q |
|
4556 | 154 |
|
19316 | 155 |
%files |
156 |
%defattr (-, root, root) |
|
157 |
%doc AUTHORS COPYING ChangeLog NEWS README |
|
158 |
%{_bindir}/* |
|
159 |
%{_libexecdir}/evolution/2.2/* |
|
160 |
%{_libdir}/bonobo/servers |
|
161 |
%{_libdir}/evolution/2.2/*.so.* |
|
162 |
%{_libdir}/evolution/2.2/components/*.so |
|
163 |
%{_libdir}/evolution/2.2/evolution-addressbook-importers/*.so |
|
164 |
%{_libdir}/evolution/2.2/evolution-calendar-importers/*.so |
|
165 |
%{_libdir}/evolution/2.2/plugins/*.so |
|
166 |
%{_libdir}/evolution/2.2/plugins/*.eplug |
|
167 |
%{_libdir}/evolution/2.2/plugins/*.xml |
|
168 |
%{_datadir}/applications/* |
|
169 |
%{_datadir}/evolution/2.2/* |
|
170 |
%{_datadir}/gnome/help/evolution-2.2/* |
|
171 |
%{_datadir}/mime-info/* |
|
172 |
%{_datadir}/omf/* |
|
173 |
%{_datadir}/pixmaps/* |
|
174 |
%config %{_sysconfdir}/gconf/schemas/* |
|
175 |
%{_datadir}/locale/*/LC_MESSAGES/*.mo |
|
2386 | 176 |
|
19316 | 177 |
%files devel |
178 |
%defattr (-, root, root) |
|
179 |
%{_includedir}/evolution-2.2/* |
|
180 |
%{_libdir}/pkgconfig/*.pc |
|
181 |
%{_libdir}/evolution/2.2/*.so |
|
182 |
%{_datadir}/idl/* |
|
2386 | 183 |
|
19316 | 184 |
%files pilot |
185 |
%defattr (-, root, root) |
|
186 |
%{_libdir}/evolution/2.2/conduits/*.so |
|
187 |
%{_datadir}/gnome-pilot/* |
|
2386 | 188 |
|
189 |
%changelog |
|
19624
47bd632c89f1
* evolution.spec, evolution-data-server.spec: Rename --with-openldap
dc144907
parents:
19621
diff
changeset
|
190 |
* Thu Jul 28 2005 - [email protected] |
47bd632c89f1
* evolution.spec, evolution-data-server.spec: Rename --with-openldap
dc144907
parents:
19621
diff
changeset
|
191 |
- 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
|
192 |
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
|
193 |
|
19621
9b6dc4d3b9d4
* evolution-data-server.spec,evolution.spec: Add patches from Jerry Pu
dc144907
parents:
19577
diff
changeset
|
194 |
* Wed Jul 27 2005 - [email protected] |
9b6dc4d3b9d4
* evolution-data-server.spec,evolution.spec: Add patches from Jerry Pu
dc144907
parents:
19577
diff
changeset
|
195 |
- 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
|
196 |
|
19569
1abf1aab6eb6
* evolution.spec: Remove gnome2-macros dir from aclocal call as that
dc144907
parents:
19490
diff
changeset
|
197 |
* Wed Jul 13 2005 - [email protected] |
1abf1aab6eb6
* evolution.spec: Remove gnome2-macros dir from aclocal call as that
dc144907
parents:
19490
diff
changeset
|
198 |
- Remove gnome2-macros dir from aclocal call as that dir no longer exists. |
1abf1aab6eb6
* evolution.spec: Remove gnome2-macros dir from aclocal call as that
dc144907
parents:
19490
diff
changeset
|
199 |
|
19413
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19316
diff
changeset
|
200 |
* Wed Jun 15 2005 - [email protected] |
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19316
diff
changeset
|
201 |
- Bump to 2.2.3 |
d18fe9cd8d73
Bump various tarballs, remove/re-apply some patches
mattk
parents:
19316
diff
changeset
|
202 |
|
19316 | 203 |
* Mon May 16 2005 - [email protected] |
204 |
- Bump to 2.2.2 |
|
4978 | 205 |
|
19316 | 206 |
* Tue Nov 23 2004 - [email protected] |
207 |
- Bump to 2.0.2 |
|
4679
8450092b260e
evolution.spec, hydrogen.spec: changelog typos, bug #6196427
dermotm
parents:
4649
diff
changeset
|
208 |
|
19316 | 209 |
* Thu Jun 17 2004 - [email protected] |
19643 | 210 |
- rpm4'ified |
4274 | 211 |
|
19316 | 212 |
* Thu Jun 17 2004 - [email protected] |
213 |
- Bump to 1.5.9.2 |
|
4002 | 214 |
|
19316 | 215 |
* Tue Jun 08 2004 - [email protected] |
216 |
- Bump to 1.5.9 |
|
3734 | 217 |
|
19316 | 218 |
* Fri May 21 2004 - [email protected] |
219 |
- Bump to 1.5.8 |
|
3423 | 220 |
|
19316 | 221 |
* Tue Apr 20 2004 - [email protected] |
222 |
- Bump to 1.5.7 |
|
3263 | 223 |
|
19316 | 224 |
* Mon Apr 19 2004 - [email protected] |
225 |
- Initial spec file for Evolution 1.5.x |