9397
|
1 |
|
|
2 |
#
|
|
3 |
# spec file for package SUNWevolution-data-server
|
|
4 |
#
|
|
5 |
# includes module(s): evolution-data-server
|
|
6 |
#
|
10569
|
7 |
# Copyright 2007 Sun Microsystems, Inc.
|
9397
|
8 |
# This file and all modifications and additions to the pristine
|
|
9 |
# package are under the same license as the package itself.
|
|
10 |
#
|
|
11 |
# Owner: jefftsai
|
|
12 |
#
|
|
13 |
%include Solaris.inc
|
|
14 |
%use eds = evolution-data-server.spec
|
11342
|
15 |
%define with_bdb %(test %support_level = supported && echo 1 || echo 0)
|
9397
|
16 |
|
|
17 |
Name: SUNWevolution-data-server
|
|
18 |
Summary: Backend library for Evolution
|
|
19 |
Version: %{default_pkg_version}
|
|
20 |
SUNW_Category: EVO25,%{default_category}
|
|
21 |
SUNW_BaseDir: %{_basedir}
|
12003
|
22 |
SUNW_Copyright:%{name}.copyright
|
9397
|
23 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
24 |
%include default-depend.inc
|
|
25 |
Source2: %{name}-manpages-0.1.tar.gz
|
|
26 |
Requires: SUNWgnome-libs
|
|
27 |
Requires: SUNWtls
|
|
28 |
Requires: SUNWgnome-base-libs
|
|
29 |
Requires: SUNWgnome-component
|
|
30 |
Requires: SUNWevolution-libs
|
11791
|
31 |
Requires: SUNWlibsoup
|
9397
|
32 |
Requires: SUNWlibpopt
|
|
33 |
Requires: SUNWzlib
|
|
34 |
Requires: SUNWlibgpg-error
|
|
35 |
Requires: SUNWpr
|
|
36 |
Requires: SUNWgnome-config
|
|
37 |
Requires: SUNWgnome-vfs
|
|
38 |
Requires: SUNWgnutls
|
|
39 |
Requires: SUNWlibgcrypt
|
|
40 |
Requires: SUNWlibms
|
|
41 |
Requires: SUNWlxml
|
|
42 |
Requires: SUNWmlib
|
|
43 |
Requires: SUNWkrbu
|
|
44 |
Requires: SUNWgss
|
12903
|
45 |
Requires: SUNWsqlite3
|
11342
|
46 |
%if %with_bdb
|
9397
|
47 |
Requires: SUNWbdb
|
|
48 |
%endif
|
|
49 |
BuildRequires: SUNWgnutls-devel
|
|
50 |
BuildRequires: SUNWlibgcrypt-devel
|
|
51 |
BuildRequires: SUNWlibgpg-error-devel
|
|
52 |
BuildRequires: SUNWgnome-base-libs-devel
|
|
53 |
BuildRequires: SUNWgnome-libs-devel
|
|
54 |
BuildRequires: SUNWgnome-component-devel
|
|
55 |
BuildRequires: SUNWgnome-config-devel
|
|
56 |
BuildRequires: SUNWgnome-vfs-devel
|
|
57 |
BuildRequires: SUNWevolution-libs-devel
|
11791
|
58 |
BuildRequires: SUNWlibsoup-devel
|
9397
|
59 |
BuildRequires: SUNWtlsd
|
|
60 |
BuildRequires: SUNWlibpopt-devel
|
|
61 |
BuildRequires: SUNWhea
|
12903
|
62 |
BuildRequires: SUNWsqlite3
|
11342
|
63 |
%if %with_bdb
|
9397
|
64 |
# must build the supported SUNWevolution-data-server product using
|
|
65 |
# the version of bdb included in Solaris
|
|
66 |
BuildRequires: SUNWevolution-bdb-devel
|
|
67 |
%endif
|
|
68 |
|
|
69 |
%package devel
|
|
70 |
Summary: %{summary} - development files
|
|
71 |
SUNW_BaseDir: %{_basedir}
|
|
72 |
%include default-depend.inc
|
|
73 |
|
|
74 |
%if %build_l10n
|
|
75 |
%package l10n
|
|
76 |
Summary: %{summary} - l10n files
|
|
77 |
SUNW_BaseDir: %{_basedir}
|
|
78 |
%include default-depend.inc
|
|
79 |
Requires: %{name}
|
|
80 |
%endif
|
|
81 |
|
|
82 |
%prep
|
|
83 |
rm -rf %name-%version
|
|
84 |
mkdir -p %name-%version
|
|
85 |
%eds.prep -d %name-%version
|
|
86 |
# Apply patch for SUN LDAP
|
|
87 |
cd %{_builddir}/%name-%version/evolution-data-server-%{eds.version}
|
|
88 |
cd ..
|
|
89 |
# Expand manpages tarball
|
|
90 |
cd %{_builddir}/%name-%version
|
|
91 |
gzcat %SOURCE2 | tar xf -
|
|
92 |
|
|
93 |
%build
|
|
94 |
export LD=/usr/ccs/bin/ld
|
11117
|
95 |
export LDFLAGS="%_ldflags -L%{_libdir} -R%{_libdir}"
|
10569
|
96 |
export CFLAGS="%optflags"
|
9397
|
97 |
export RPM_OPT_FLAGS="$CFLAGS"
|
|
98 |
export PKG_CONFIG_PATH="%{_pkg_config_path}"
|
|
99 |
|
11342
|
100 |
%if %with_bdb
|
9397
|
101 |
%define bdb_option --with-libdb=%{_basedir}
|
|
102 |
%else
|
|
103 |
%define bdb_option
|
|
104 |
%endif
|
|
105 |
|
|
106 |
%eds.build -d %name-%version
|
|
107 |
|
|
108 |
%install
|
|
109 |
%eds.install -d %name-%version
|
|
110 |
|
|
111 |
rm -rf $RPM_BUILD_ROOT%{_mandir}
|
|
112 |
cd %{_builddir}/%name-%version/sun-manpages
|
|
113 |
make install DESTDIR=$RPM_BUILD_ROOT
|
|
114 |
|
|
115 |
%if %build_l10n
|
|
116 |
%else
|
|
117 |
# REMOVE l10n FILES
|
|
118 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
|
|
119 |
%endif
|
|
120 |
|
|
121 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
|
|
122 |
|
|
123 |
%clean
|
|
124 |
rm -rf $RPM_BUILD_ROOT
|
|
125 |
|
|
126 |
%files
|
13599
|
127 |
%doc(bzip2) -d evolution-data-server-%{eds.version} ChangeLog
|
|
128 |
%doc(bzip2) -d evolution-data-server-%{eds.version} COPYING
|
|
129 |
%doc(bzip2) -d evolution-data-server-%{eds.version} NEWS
|
|
130 |
%dir %attr (0755, root, other) %{_datadir}/doc
|
|
131 |
|
9397
|
132 |
%defattr (-, root, bin)
|
|
133 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
134 |
%{_libdir}/lib*.so*
|
|
135 |
%{_libdir}/camel-index-control-*
|
|
136 |
%{_libdir}/camel-lock-helper-*
|
|
137 |
%{_libdir}/evolution-data-server-*
|
|
138 |
%{_libdir}/bonobo/servers/*.server
|
|
139 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
140 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps
|
|
141 |
%{_datadir}/pixmaps/*
|
|
142 |
%{_datadir}/evolution-data-server-*
|
|
143 |
%dir %attr(0755, root, bin) %{_mandir}
|
|
144 |
%dir %attr(0755, root, bin) %{_mandir}/*
|
|
145 |
%{_mandir}/*/*
|
|
146 |
|
|
147 |
%files devel
|
|
148 |
%defattr (-, root, bin)
|
|
149 |
%dir %attr (0755, root, bin) %{_libdir}
|
|
150 |
%dir %attr (0755, root, other) %{_libdir}/pkgconfig
|
|
151 |
%{_libdir}/pkgconfig/*
|
|
152 |
%dir %attr (0755, root, bin) %{_includedir}
|
|
153 |
%{_includedir}/*
|
|
154 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
155 |
%{_datadir}/idl
|
|
156 |
%{_datadir}/gtk-doc
|
|
157 |
|
|
158 |
%if %build_l10n
|
|
159 |
%files l10n
|
|
160 |
%defattr (-, root, bin)
|
|
161 |
%dir %attr (0755, root, sys) %{_datadir}
|
|
162 |
%attr (-, root, other) %{_datadir}/locale
|
|
163 |
%endif
|
|
164 |
|
|
165 |
%changelog
|
13599
|
166 |
* Tue Sep 16 2008 - [email protected]
|
|
167 |
- Add copyright.
|
12903
|
168 |
* Wed Jul 23 2008 - [email protected]
|
|
169 |
- Add dependency of SUNWsqlite3
|
12003
|
170 |
* Wed Apr 02 2008 - [email protected]
|
|
171 |
- Add copyright file.
|
11342
|
172 |
* Thu Dec 20 2007 - [email protected]
|
|
173 |
- Fix build problem when %support_level is not supported. Only set
|
|
174 |
bdb_option and depend on SUNWbdb and SUNWevolution-bdb-devel when
|
|
175 |
%support_level is supported.
|
11117
|
176 |
* Mon Nov 05 2007 - [email protected]
|
|
177 |
- Use system ldflag to enable -BDirect
|
10569
|
178 |
* Fri Sep 28 2007 - [email protected]
|
|
179 |
- delete -I%{_includedir} from CFLAGS -- it's redundant but breaks the
|
|
180 |
indiana build; add %{?arch_ldadd} to LDFLAGS for iconv LDFLAGS
|
9397
|
181 |
* Wed Nov 29 2006 - [email protected]
|
|
182 |
- Revert version to %{default_pkg_version} as this module has been integrated
|
|
183 |
to Nevada with this version. Using the base module's version number (2.8.x)
|
|
184 |
is lower than 2.16.x and will cause an integration error.
|
|
185 |
* Tue Nov 28 2006 - [email protected]
|
|
186 |
- Use eds to refer to the spec file.
|
|
187 |
- Use evolution-data-server's version information to replace
|
|
188 |
* Mon Nov 27 2006 - [email protected]
|
|
189 |
- Use evolution-data-server's version information to replace
|
|
190 |
default one.
|
|
191 |
* Mon Oct 23 2006 - [email protected]
|
|
192 |
- Moved all patches to ../patches
|
|
193 |
* Fri Oct 20 2006 - [email protected]
|
|
194 |
- Add code to expand manpage tarball, otherwise build breaks.
|
|
195 |
* Thu Oct 19 2006 - [email protected]
|
|
196 |
- add manpages
|
|
197 |
* Tue Oct 17 2006 - [email protected]
|
|
198 |
- add patch evolution-data-server-03-mail-rlimit.diff to fix bug 348888
|
|
199 |
* Sat Aug 12 2006 - [email protected]
|
|
200 |
- delete some unnecessary env variables
|
|
201 |
* Thu Jul 27 2006 - [email protected]
|
|
202 |
- Correct with_bdb_devel depend on SUNWbdb, not SUNWevolution-bdb-devel
|
|
203 |
* Wed Jul 26 2006 - [email protected]
|
|
204 |
- Add SUNWbdb Requires and SUNWevolution-bdb-devel BuildRequires to use
|
|
205 |
system BerkeleyDB.
|
|
206 |
* Tue Jul 25 2006 - [email protected]
|
|
207 |
- Reorder patches.
|
|
208 |
* Fri Jul 20 2006 - [email protected]
|
|
209 |
- Bump to 1.7.4
|
|
210 |
Remove patch evolution-data-server-01-ldap-ssl.diff.
|
|
211 |
* Sun Jun 11 2006 - [email protected]
|
|
212 |
- change group from other to bin/sys
|
|
213 |
* Tue May 30 2006 - [email protected]
|
|
214 |
- Remove '-I%{_includedir}/kerberosv5' from CFLAGS as this has been
|
|
215 |
defined in evolution-data-server/configure.in
|
|
216 |
* Mon May 29 2006 - [email protected]
|
|
217 |
- Add '-I%{_includedir}/kerberosv5' to CFLAGS to find headers.
|
|
218 |
* Sun May 28 2006 - [email protected]
|
|
219 |
- Add patch evolution-data-server-02-kerberos.diff, add package requirement of
|
|
220 |
SUNWkrbu and SUNWgss.
|
|
221 |
* Fri May 12 2006 - [email protected]
|
|
222 |
- Small update to dependency list after check-deps.pl run.
|
|
223 |
* Thu May 11 2006 - [email protected]
|
|
224 |
- Change %defattr to (-, root, other).
|
|
225 |
* Thu May 04 2006 - [email protected]
|
|
226 |
- merge -share pkg(s) into the base pkg(s)
|
|
227 |
* Wed Apr 26 2006 - [email protected]
|
|
228 |
- Use JES's NSS/NSPR(/usr/lib/mps) instead of that provided by
|
|
229 |
mozilla or firefox, to fix bug #6418049.
|
|
230 |
* Thu Apr 13 2006 - [email protected]
|
|
231 |
- Use firefox_prefix defination in linux spec.
|
|
232 |
* Tue Apr 04 2006 - [email protected]
|
|
233 |
- Alter remove .a/.la files part into linux spec.
|
|
234 |
* Thu Mar 30 2006 - [email protected]
|
|
235 |
- Remove all *.a/*.la files.
|
|
236 |
* Thu Feb 23 2006 - [email protected]
|
|
237 |
- Use default pkg version to match other pkgs; add EVO25 to default category.
|
|
238 |
* Mon Feb 20 2006 - [email protected]
|
|
239 |
- Further update of Build/Requires after running check-deps.pl script.
|
|
240 |
* Thu Feb 16 2006 - [email protected]
|
|
241 |
- Update Build/Requires after running check-deps.pl script.
|
|
242 |
* Fri Jan 6 2006 - [email protected]
|
|
243 |
- Update patch evolution-data-server-01-ldap-ssl.diff
|
|
244 |
- Remove patch evolution-data-server-02-ldap-ssl-addfiles.diff
|
|
245 |
* Tue Dec 6 2005 - [email protected]
|
|
246 |
- disable -Bdirect as due to symbol clashes
|
|
247 |
* Fri Oct 21 2005 - [email protected]
|
|
248 |
- evolution-data-server-03-libexec.diff: Fix bug #6334159.
|
|
249 |
- Add firefox dependence, add firefox lib to LDFLAGS, add firefox include to CFLAGS.
|
|
250 |
* Mon Oct 10 2005 - [email protected]
|
|
251 |
- Move upstreamed patch evolution-data-server-03-solaris-kerberos.diff.
|
|
252 |
* Thu Sep 15 2005 - [email protected]
|
|
253 |
- Change Source1 evolution-data-server-ldap-ssl-patch.tar
|
|
254 |
to Patch2 evolution-data-server-02-ldap-ssl-addfiles.diff,
|
|
255 |
and re-order patch.
|
|
256 |
- Remove define krb5_prefix and related.
|
|
257 |
- Add patch evolution-data-server-03-solaris-kerberos.diff
|
|
258 |
to disable krb5.
|
|
259 |
* Thu Sep 8 2005 - [email protected]
|
|
260 |
- Add krb5_prefix define.
|
|
261 |
- Add "-L%{krb5_prefix}/lib -R%{krb5_prefix}/lib" to LDFLAGS.
|
|
262 |
- Add "-I%{krb5_prefix}/include" to CFLAGS.
|
|
263 |
- Use /bin/tar to extract Source1.
|
|
264 |
- Replace version number to * in %files section to avoid
|
|
265 |
version update error.
|
|
266 |
* Tue Sep 6 2006 - [email protected]
|
|
267 |
- Add patch evolution-data-server-01-ldap-ssl.diff and Source1
|
|
268 |
evolution-data-server-ldap-ssl-patch.tar to support SUN LDAP.
|
|
269 |
* Wed Aug 31 2005 - [email protected]
|
|
270 |
- Change SUNW_Category for open solaris.
|
|
271 |
* Mon Jul 18 2005 - [email protected]
|
|
272 |
- Add SUNWevolution-libs-devel (libsoup) dependency.
|
|
273 |
- Fix %files sections.
|
|
274 |
* Thu Jul 14 2005 - [email protected]
|
|
275 |
- add missing dependencies
|
|
276 |
* Thu Jul 14 2005 - [email protected]
|
|
277 |
- Initial version created
|