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