author | dermotm |
Mon, 06 Sep 2004 10:13:24 +0000 | |
changeset 3858 | a0a00bd9bb27 |
parent 3856 | 6197938f0c07 |
child 3931 | 4455ce13fb94 |
permissions | -rw-r--r-- |
3102 | 1 |
# |
2 |
# License (c) 2003 Sun Microsystems Inc. |
|
3 |
# This file and all modifications and additions to the pristine |
|
4 |
# package are under the same license as the package itself. |
|
5 |
# |
|
3856 | 6 |
%define t_suffix -build18-cb |
3102 | 7 |
%{?nightly:%define t_suffix -%(TZ=GMT date +%Y%m%d)} |
8 |
||
9 |
Name: oxygen2 |
|
3354 | 10 |
Version: 1.4 |
3858 | 11 |
Release: 25 |
3102 | 12 |
Vendor: Sun Microsystems, Inc. |
13 |
Distribution: Java Desktop System, Release 2 |
|
14 |
Copyright: LGPL/GPL |
|
15 |
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|
16 |
Docdir: %{_datadir}/doc |
|
17 |
Autoreqprov: on |
|
18 |
URL: http://www.sun.com/software/javadesktopsystem/ |
|
19 |
Source: %{name}-%{version}%{t_suffix}.tar.bz2 |
|
20 |
Source1: mkinstalldirs |
|
3580 | 21 |
Source2: oxygen2-l10n-po-1.3.tar.bz2 |
3102 | 22 |
BuildRequires: glibc-devel |
23 |
BuildRequires: libtool |
|
24 |
BuildRequires: glib2-devel |
|
25 |
BuildRequires: libsoup-devel |
|
26 |
BuildRequires: evolution-devel |
|
27 |
BuildRequires: libgal-devel |
|
28 |
BuildRequires: libbonoboui-devel |
|
29 |
BuildRequires: bonobo-activation-devel |
|
30 |
BuildRequires: libxml2-devel |
|
31 |
Summary: The Evolution Exchange connector |
|
32 |
Group: System Environment/Libraries |
|
33 |
Requires: libsoup |
|
34 |
Requires: evolution |
|
35 |
Requires: glib2 |
|
36 |
Requires: libgal |
|
37 |
Requires: bonobo-activation |
|
38 |
Requires: libxml2 |
|
39 |
||
40 |
%description |
|
41 |
The MS Exchange connector, protocol webdev. |
|
42 |
||
43 |
%files |
|
44 |
%defattr(755, root, root) |
|
45 |
%doc COPYING ChangeLog AUTHORS INSTALL NEWS README |
|
46 |
%{_bindir}/* |
|
47 |
%{_libdir}/evolution/*/camel-providers/lib*.so |
|
48 |
%{_libdir}/evolution/*/camel-providers/*.urls |
|
49 |
%{_libdir}/bonobo |
|
50 |
%{_libexecdir}/evolution/1.4/evolution-exchange-storage |
|
3706 | 51 |
%{_sysconfdir}/gconf/schemas/apps_evolution_exchange.schemas |
3102 | 52 |
%{_datadir}/ximian-connector |
53 |
%{_datadir}/evolution |
|
54 |
%{_datadir}/locale |
|
55 |
||
56 |
%post |
|
57 |
ldconfig |
|
58 |
||
59 |
%prep |
|
60 |
case "${RPM_COMMAND:-all}" in |
|
61 |
dist) |
|
62 |
%setup -q -D -n %{name}-%{version} |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
63 |
bzcat %SOURCE2 | tar xf - |
3102 | 64 |
;; |
65 |
all) |
|
66 |
%setup -q -n %{name}-%{version} |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
67 |
bzcat %SOURCE2 | tar xf - |
3102 | 68 |
;; |
69 |
esac |
|
70 |
cp %SOURCE1 . |
|
71 |
||
72 |
%build |
|
3263 | 73 |
%ifos linux |
74 |
if [ -x /usr/bin/getconf ]; then |
|
75 |
CPUS=`getconf _NPROCESSORS_ONLN` |
|
76 |
fi |
|
77 |
%else |
|
3846 | 78 |
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '` |
3263 | 79 |
%endif |
80 |
if test "x$CPUS" = "x" -o $CPUS = 0; then |
|
81 |
CPUS=1 |
|
82 |
fi |
|
83 |
||
3102 | 84 |
export LDFLAGS=$LDFLAGS" -R`pkg-config --variable=privlibdir evolution-shell`" |
85 |
MAKE=${MAKE:-make} |
|
86 |
RPM_COMMAND=${RPM_COMMAND:-all} |
|
87 |
ARCH=%{_target_platform} |
|
88 |
export MAKE RPM_COMMAND ARCH |
|
89 |
case "$RPM_COMMAND" in |
|
90 |
prepare|all) |
|
91 |
aclocal $ACLOCAL_FLAGS -I %{_datadir}/aclocal/gnome2-macros |
|
92 |
libtoolize --force |
|
93 |
glib-gettextize --force --copy |
|
94 |
intltoolize --force --automake |
|
95 |
autoheader |
|
96 |
automake -a -f -c --gnu |
|
97 |
autoconf |
|
98 |
./configure --prefix=%{_prefix} \ |
|
99 |
--libexecdir=%{_libexecdir} \ |
|
100 |
--sysconfdir=%{_sysconfdir} \ |
|
101 |
--enable-ldap=/usr |
|
102 |
;; |
|
103 |
esac |
|
104 |
export DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
105 |
case "$RPM_COMMAND" in |
|
106 |
clean|all) |
|
107 |
if [ "/" != "$DESTDIR" ]; then |
|
108 |
rm -rf "$DESTDIR" |
|
109 |
fi |
|
110 |
;; |
|
111 |
esac |
|
112 |
case "$RPM_COMMAND" in |
|
113 |
build|all) |
|
3263 | 114 |
${MAKE} -j $CPUS |
3102 | 115 |
;; |
116 |
esac |
|
117 |
||
118 |
%install |
|
119 |
MAKE=${MAKE:-make} |
|
120 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
121 |
export DESTDIR |
|
122 |
case "${RPM_COMMAND:-all}" in |
|
123 |
install|all) |
|
124 |
${MAKE} install DESTDIR=${DESTDIR} |
|
125 |
;; |
|
126 |
esac |
|
127 |
||
128 |
%clean |
|
129 |
DESTDIR=${DESTDIR:-"$RPM_BUILD_ROOT"} |
|
130 |
export DESTDIR |
|
131 |
case "${RPM_COMMAND:-all}" in |
|
132 |
clean|all) |
|
133 |
if [ "/" != "$DESTDIR" ]; then |
|
134 |
rm -rf "$DESTDIR" |
|
135 |
fi |
|
136 |
;; |
|
137 |
esac |
|
138 |
%changelog |
|
3856 | 139 |
* Mon Sep 06 2004 - [email protected] |
140 |
- bump src tarball to build18 |
|
141 |
||
3705 | 142 |
* Tue Aug 24 2004 - [email protected] |
3706 | 143 |
- changed %{_sysconfdir}/* to %{_sysconfdir}/gconf/schemas/apps_evolution_exchange.schemas |
3705 | 144 |
|
3676 | 145 |
* Mon Aug 23 2004 - [email protected] |
146 |
- bump src tarball to build17 |
|
147 |
||
3517 | 148 |
* Mon Aug 09 2004 - [email protected] |
149 |
- bump src tarball to build16 |
|
150 |
||
3434 | 151 |
* Tue Jul 27 2004 - [email protected] |
152 |
- remove patch 01 |
|
153 |
||
3423 | 154 |
* Mon Jul 26 2004 - [email protected] |
155 |
- bump src tarball to build15 |
|
156 |
||
3354 | 157 |
* Fri Jul 16 2004 - [email protected] |
158 |
- change the version number to 1.4 approved by Henry Jia |
|
3319 | 159 |
* Mon Jul 12 2004 - [email protected] |
160 |
- bump src tarball to build14 |
|
161 |
||
3296
456f6f316155
Added patch to enable build of supported language content for oxygen2.
damiend
parents:
3279
diff
changeset
|
162 |
* Fri Jul 09 2004 - [email protected] |
456f6f316155
Added patch to enable build of supported language content for oxygen2.
damiend
parents:
3279
diff
changeset
|
163 |
- Added patch1 for language content inclusion |
456f6f316155
Added patch to enable build of supported language content for oxygen2.
damiend
parents:
3279
diff
changeset
|
164 |
|
3279
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
165 |
* Thu Jul 08 2004 - [email protected] |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
166 |
- Adding oxygen2-l10n-po-1.2.tar.bz2 l10n content |
5d64ee516a02
Bumped l10n tarball revision from 1.1 to 1.2 in all spec-files.
damiend
parents:
3263
diff
changeset
|
167 |
|
3263 | 168 |
* Wed Jul 07 2004 - [email protected] |
169 |
- added "-j $CPUS" to make to speed up builds |
|
170 |
||
3215 | 171 |
* Fri Jun 25 2004 - [email protected] |
172 |
- bump src tarball to build13 |
|
3155 | 173 |
* Wed Jun 16 2004 - [email protected] |
174 |
- Remove upstream applied patch. |
|
3126 | 175 |
* Fri Jun 11 2004 - [email protected] |
176 |
- Add patch for configure.in. |
|
3103 | 177 |
* Thu Jun 10 2004 - [email protected] |
178 |
- bump src tarball to build12 |