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