author | bc99092 |
Tue, 20 Jul 2004 22:53:05 +0000 | |
changeset 3373 | b3c48534f939 |
parent 3231 | a15c738a857d |
child 3403 | e85d4e0e4a92 |
permissions | -rw-r--r-- |
2420 | 1 |
# |
2 |
# spec file for package SUNWevolution |
|
3 |
# |
|
4 |
# includes module(s): evolution |
|
5 |
# |
|
6 |
# Copyright (c) 2004 Sun Microsystems, Inc. |
|
7 |
# This file and all modifications and additions to the pristine |
|
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
10 |
||
11 |
%include Solaris.inc |
|
12 |
%define db3_prefix %_prefix |
|
3228
3746c9d3c2ac
Updated to use moz_prefix since mozilla installs to /usr/sfw on Soliars and /usr on Linux.
woos
parents:
3221
diff
changeset
|
13 |
%define moz_prefix /usr/sfw |
2420 | 14 |
%use evolution = evolution.spec |
15 |
||
16 |
Name: SUNWevolution |
|
17 |
Summary: Evolution Email and Calendar |
|
18 |
Version: %{evolution.version} |
|
2621 | 19 |
SUNW_BaseDir: %{_basedir} |
2483 | 20 |
SUNW_Category: EVO146,application,JDS3 |
2420 | 21 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
22 |
%include default-depend.inc |
|
2614 | 23 |
Source1: idnkit.pc |
3373 | 24 |
Source2: evolution.1 |
25 |
Source3: evolution-addressbook-export.1 |
|
26 |
Source4: evolution-addressbook-import.1 |
|
2487 | 27 |
BuildRequires: SUNWgnome-javahelp-convert |
2420 | 28 |
Requires: SUNWevolution-share |
29 |
Requires: SUNWevolution-root |
|
30 |
Requires: SUNWevolution-libs |
|
2514
d7de0573499e
* SUNWevolution.spec: add SUNWgnome-pilot-link dependency
laca
parents:
2507
diff
changeset
|
31 |
Requires: SUNWgnome-pilot-link |
2428 | 32 |
Requires: SUNWmozilla |
2780 | 33 |
Requires: SUNWidnl |
34 |
BuildRequires: SUNWidnd |
|
2420 | 35 |
BuildRequires: SUNWberkeleydb-devel |
2862 | 36 |
BuildRequires: SUNWdtbas |
2420 | 37 |
|
38 |
%package share |
|
39 |
Summary: Evolution Email and Calendar - platform independent, /usr/share |
|
2621 | 40 |
SUNW_BaseDir: %{_basedir} |
2420 | 41 |
%include default-depend.inc |
42 |
||
2995 | 43 |
%package l10n |
44 |
Summary: %{summary} - l10n files |
|
45 |
SUNW_BaseDir: %{_basedir} |
|
46 |
%include default-depend.inc |
|
47 |
Requires: %{name} |
|
48 |
||
2420 | 49 |
%package root |
50 |
Summary: Evolution Email and Calendar - platform dependent, / filesystem |
|
51 |
SUNW_BaseDir: / |
|
52 |
%include default-depend.inc |
|
53 |
||
54 |
%package devel |
|
55 |
Summary: Evolution Email and Calendar - developer files |
|
2621 | 56 |
SUNW_BaseDir: %{_basedir} |
2420 | 57 |
%include default-depend.inc |
58 |
Requires: SUNWevolution |
|
59 |
||
60 |
%package devel-share |
|
61 |
Summary: Evolution Email and Calendar - developer files - platform independent, /usr/share |
|
2621 | 62 |
SUNW_BaseDir: %{_basedir} |
2420 | 63 |
%include default-depend.inc |
64 |
Requires: SUNWevolution |
|
65 |
||
66 |
%prep |
|
67 |
rm -rf %name-%version |
|
68 |
mkdir -p %name-%version |
|
69 |
%evolution.prep -d %name-%version |
|
2614 | 70 |
cp %SOURCE1 %{_builddir}/%name-%version/evolution-%{evolution.version} |
2420 | 71 |
|
72 |
%build |
|
3231
a15c738a857d
Updated LDFLAGS to include "-L%{moz_prefix}/lib/mozilla -R%{moz_prefix}/lib/mozilla" so mozilla libraries can be found
woos
parents:
3228
diff
changeset
|
73 |
export LDFLAGS="-L%{moz_prefix}/lib/mozilla -R%{moz_prefix}/lib/mozilla -L%{_libdir} -R%{_libdir}" |
2420 | 74 |
export CFLAGS="-I%{_includedir} %optflags" |
75 |
export MSGFMT="/usr/bin/msgfmt" |
|
76 |
export ACLOCAL_FLAGS="-I %{_datadir}/aclocal" |
|
77 |
export PERL5LIB=%{_prefix}/perl5/site_perl/5.6.1/sun4-solaris-64int |
|
3184 | 78 |
export PKG_CONFIG_PATH=%{_pkg_config_path}:%{_builddir}/%name-%version/evolution-%{evolution.version} |
2420 | 79 |
%evolution.build -d %name-%version |
80 |
||
81 |
%install |
|
82 |
%evolution.install -d %name-%version |
|
83 |
export GCONF_CONFIG_SOURCE=xml::$RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults |
|
84 |
for S in $RPM_BUILD_ROOT/%{_sysconfdir}/gconf/schemas/*.schemas; do |
|
85 |
%{_bindir}/gconftool-2 --makefile-install-rule $S >/dev/null |
|
86 |
done |
|
87 |
chmod -R a+rX $RPM_BUILD_ROOT/%{_sysconfdir} |
|
88 |
for f in apps/?gconf.xml \ |
|
89 |
schemas/?gconf.xml \ |
|
90 |
schemas/apps/?gconf.xml \ |
|
91 |
; do |
|
92 |
test ! -s $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f && \ |
|
93 |
rm -rf $RPM_BUILD_ROOT%{_sysconfdir}/gconf/gconf.xml.defaults/$f |
|
94 |
done |
|
95 |
||
3373 | 96 |
rm -rf $RPM_BUILD_ROOT%{_mandir} |
97 |
install -d $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
98 |
install --mode=0644 %SOURCE2 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
99 |
install --mode=0644 %SOURCE3 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
100 |
install --mode=0644 %SOURCE4 $RPM_BUILD_ROOT%{_mandir}/sman1 |
|
101 |
||
2420 | 102 |
%clean |
103 |
rm -rf $RPM_BUILD_ROOT |
|
104 |
||
105 |
%files |
|
106 |
%defattr (0755, root, other) |
|
107 |
%dir %attr (0755, root, bin) %{_bindir} |
|
108 |
%{_bindir}/* |
|
109 |
%dir %attr (0755, root, bin) %{_libdir} |
|
110 |
%{_libdir}/evolution/*/lib*.so* |
|
111 |
%{_libdir}/evolution/*/components/lib*.so* |
|
112 |
%{_libdir}/evolution/*/camel-providers/lib*.so* |
|
2612 | 113 |
%{_libdir}/evolution/*/camel-providers/*.urls |
2420 | 114 |
%{_libdir}/evolution/*/evolution-calendar-importers/lib*.so* |
115 |
%{_libdir}/evolution/*/evolution-mail-importers/lib*.so* |
|
116 |
%{_libdir}/bonobo |
|
117 |
%{_libdir}/gnome-pilot/conduits/lib*.so* |
|
2520 | 118 |
%{_libexecdir}/evolution-1.4 |
119 |
%{_libexecdir}/evolution/1.4/camel/camel-index-control |
|
120 |
%{_libexecdir}/evolution/1.4/camel/camel-lock-helper |
|
121 |
%{_libexecdir}/evolution/1.4/csv2vcard |
|
122 |
%{_libexecdir}/evolution/1.4/evolution-addressbook-clean |
|
123 |
%{_libexecdir}/evolution/1.4/evolution-addressbook-import |
|
124 |
%{_libexecdir}/evolution/1.4/evolution-alarm-notify |
|
125 |
%{_libexecdir}/evolution/1.4/evolution-ldif-importer |
|
126 |
%{_libexecdir}/evolution/1.4/evolution-vcard-importer |
|
127 |
%{_libexecdir}/evolution/1.4/evolution-wombat |
|
128 |
%{_libexecdir}/evolution/1.4/killev |
|
129 |
%{_libexecdir}/evolution/1.4/load-gnomecard-addressbook |
|
130 |
%{_libexecdir}/evolution/1.4/load-pine-addressbook |
|
2420 | 131 |
|
132 |
%files share |
|
133 |
%defattr (0755, root, other) |
|
134 |
%dir %attr (0755, root, sys) %{_datadir} |
|
135 |
%{_datadir}/evolution |
|
136 |
%{_datadir}/applications |
|
137 |
%{_datadir}/mime-info |
|
138 |
%{_datadir}/gnome-pilot |
|
139 |
%{_datadir}/pixmaps |
|
140 |
%{_datadir}/gnome/help/evolution*/C |
|
2605 | 141 |
%{_datadir}/gnome/javahelp/evolution*/C |
2420 | 142 |
%{_datadir}/omf/evolution/evolution*C.omf |
143 |
%dir %attr(0755, root, bin) %{_mandir} |
|
144 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
145 |
%{_mandir}/*/* |
|
146 |
||
2995 | 147 |
%files l10n |
148 |
%defattr (-, root, other) |
|
149 |
%dir %attr (0755, root, sys) %{_datadir} |
|
150 |
%{_datadir}/locale |
|
151 |
%{_datadir}/gnome/help/evolution*/[a-z]* |
|
152 |
%{_datadir}/gnome/javahelp/evolution*/[a-z]* |
|
153 |
%{_datadir}/omf/evolution/evolution*[a-z]*.omf |
|
154 |
||
2420 | 155 |
%files devel |
156 |
%defattr (0755, root, other) |
|
157 |
%dir %attr (0755, root, bin) %{_includedir} |
|
158 |
%{_includedir}/* |
|
159 |
%dir %attr (0755, root, bin) %{_libdir} |
|
160 |
%{_libdir}/pkgconfig |
|
161 |
||
162 |
%files devel-share |
|
163 |
%defattr (0755, root, other) |
|
164 |
%dir %attr (0755, root, sys) %{_datadir} |
|
165 |
%{_datadir}/idl |
|
166 |
||
167 |
%files root |
|
2502 | 168 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
2420 | 169 |
%defattr (0755, root, other) |
170 |
%{_sysconfdir}/* |
|
2502 | 171 |
%defattr (0755, root, sys) |
2420 | 172 |
|
173 |
%changelog |
|
3373 | 174 |
* Tue Jul 20 2004 - [email protected] |
175 |
- Added man pages. |
|
3231
a15c738a857d
Updated LDFLAGS to include "-L%{moz_prefix}/lib/mozilla -R%{moz_prefix}/lib/mozilla" so mozilla libraries can be found
woos
parents:
3228
diff
changeset
|
176 |
* Tue Jun 29 2004 - [email protected] |
a15c738a857d
Updated LDFLAGS to include "-L%{moz_prefix}/lib/mozilla -R%{moz_prefix}/lib/mozilla" so mozilla libraries can be found
woos
parents:
3228
diff
changeset
|
177 |
- Added "-L%{moz_prefix}/lib/mozilla -R%{moz_prefix}/lib/mozilla" to LDFLAGS |
a15c738a857d
Updated LDFLAGS to include "-L%{moz_prefix}/lib/mozilla -R%{moz_prefix}/lib/mozilla" so mozilla libraries can be found
woos
parents:
3228
diff
changeset
|
178 |
so mozilla libraries can be found |
3228
3746c9d3c2ac
Updated to use moz_prefix since mozilla installs to /usr/sfw on Soliars and /usr on Linux.
woos
parents:
3221
diff
changeset
|
179 |
* Mon Jun 28 2004 - [email protected] |
3746c9d3c2ac
Updated to use moz_prefix since mozilla installs to /usr/sfw on Soliars and /usr on Linux.
woos
parents:
3221
diff
changeset
|
180 |
- Changed install location to /usr/... so need to use moz-prefix for nss/nspr |
3746c9d3c2ac
Updated to use moz_prefix since mozilla installs to /usr/sfw on Soliars and /usr on Linux.
woos
parents:
3221
diff
changeset
|
181 |
since install location of mozilla is different for Linux and Solaris |
3221
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
182 |
* Sat Jun 26 2004 [email protected] |
a9dc1a9a5f37
Updated for changing Gnome install location to /usr/...,
woos
parents:
3184
diff
changeset
|
183 |
- Changed install location to /usr/... |
2995 | 184 |
* Wed Jun 2 2004 - [email protected] |
185 |
- Added %{_datadir}/locale to install l10n messages |
|
2862 | 186 |
* Tue May 25 2004 - <[email protected]> |
187 |
- add SUNWdtbas dep |
|
2780 | 188 |
* Fri May 14 2004 - <[email protected]> |
189 |
- add idnkit dependencies |
|
2609 | 190 |
* Sun May 02 2004 - <[email protected]> |
191 |
- add the source directory to the end of PKG_CONFIG_PATH so that idnkit.pc |
|
192 |
is picked up from here on Solaris (bad, bad hack...) |
|
2514
d7de0573499e
* SUNWevolution.spec: add SUNWgnome-pilot-link dependency
laca
parents:
2507
diff
changeset
|
193 |
* Tue Apr 20 2004 - <[email protected]> |
d7de0573499e
* SUNWevolution.spec: add SUNWgnome-pilot-link dependency
laca
parents:
2507
diff
changeset
|
194 |
- add SUNWgnome-pilot-link dependency |
2520 | 195 |
- fix libexec stuff |
2483 | 196 |
* Fri Apr 16 2004 - <[email protected]> |
197 |
- remove static libs |
|
2420 | 198 |
* Thu Mar 11 2004 - <[email protected]> |
199 |
- initial version created |