author | davelam |
Thu, 07 Aug 2008 02:31:31 +0000 | |
branch | gnome-2-22 |
changeset 12491 | b2fc226f1836 |
parent 11958 | 9a5520e3cc7a |
child 13302 | c70285546daf |
permissions | -rw-r--r-- |
9397 | 1 |
# |
2 |
# spec file for package SUNWgnome-dictionary, SUNWgnome-search-tool |
|
3 |
# |
|
4 |
# includes module(s): gnome-utils |
|
5 |
# |
|
11370 | 6 |
# Copyright 2008 Sun Microsystems, Inc. |
9397 | 7 |
# This file and all modifications and additions to the pristine |
8 |
# package are under the same license as the package itself. |
|
9 |
# |
|
10 |
# Owner: mattman |
|
11 |
# |
|
12 |
%include Solaris.inc |
|
13 |
||
14 |
%use gnome_utils = gnome-utils.spec |
|
15 |
||
16 |
Name: SUNWgnome-utils |
|
17 |
Summary: GNOME utilities: dictionary, search tool |
|
18 |
Version: %{default_pkg_version} |
|
19 |
Source: %{name}-manpages-0.1.tar.gz |
|
20 |
SUNW_BaseDir: %{_basedir} |
|
11958
9a5520e3cc7a
* SUNWgnome-pdf-viewer.spec : Add Copyright to preamble
mattman
parents:
11370
diff
changeset
|
21 |
SUNW_Copyright: %{name}.copyright |
9397 | 22 |
BuildRoot: %{_tmppath}/%{name}-%{version}-build |
23 |
%include default-depend.inc |
|
24 |
BuildRequires: SUNWgnome-panel-devel |
|
25 |
BuildRequires: SUNWgnome-print-devel |
|
26 |
BuildRequires: SUNWgnome-libs-devel |
|
27 |
BuildRequires: SUNWgnome-config-devel |
|
28 |
BuildRequires: SUNWgnome-base-libs-devel |
|
29 |
BuildRequires: SUNWgnome-component-devel |
|
10637 | 30 |
BuildRequires: SUNWgnome-doc-utils |
9397 | 31 |
BuildRequires: SUNWlibgtop-devel |
32 |
Requires: SUNWgnome-panel |
|
33 |
Requires: SUNWgnome-libs |
|
34 |
Requires: SUNWgnome-print |
|
35 |
Requires: SUNWgnome-base-libs |
|
36 |
Requires: SUNWgnome-config |
|
37 |
Requires: SUNWgnome-component |
|
38 |
Requires: SUNWlibgtop |
|
39 |
||
40 |
%package -n SUNWgnome-search-tool |
|
41 |
Summary: GNOME file search tool |
|
42 |
SUNW_BaseDir: %{_basedir} |
|
43 |
%include default-depend.inc |
|
44 |
Requires: SUNWgnome-search-tool-root |
|
45 |
Requires: SUNWgnome-base-libs |
|
46 |
Requires: SUNWgnome-config |
|
47 |
Requires: SUNWgnome-libs |
|
48 |
Requires: SUNWgnome-panel |
|
49 |
Requires: SUNWgnome-vfs |
|
50 |
Requires: SUNWpostrun |
|
51 |
Requires: SUNWxcu4 |
|
52 |
||
53 |
%package -n SUNWgnome-search-tool-root |
|
54 |
Summary: GNOME file search tool - / filesystem |
|
55 |
SUNW_BaseDir: / |
|
56 |
%include default-depend.inc |
|
57 |
Requires: SUNWgnome-config |
|
58 |
Requires: SUNWpostrun-root |
|
59 |
||
60 |
%package -n SUNWgnome-dictionary |
|
61 |
Summary: GNOME dictionary tool |
|
62 |
SUNW_BaseDir: %{_basedir} |
|
63 |
%include default-depend.inc |
|
64 |
Requires: SUNWgnome-dictionary-root |
|
65 |
Requires: SUNWgnome-libs |
|
66 |
Requires: SUNWgnome-panel |
|
67 |
Requires: SUNWgnome-print |
|
68 |
Requires: SUNWgnome-base-libs |
|
69 |
Requires: SUNWgnome-config |
|
70 |
Requires: SUNWlibms |
|
71 |
Requires: SUNWpostrun |
|
72 |
||
73 |
%package -n SUNWgnome-dictionary-root |
|
74 |
Summary: GNOME dictionary tool - / filesystem |
|
75 |
SUNW_BaseDir: / |
|
76 |
%include default-depend.inc |
|
77 |
Requires: SUNWpostrun-root |
|
78 |
Requires: SUNWgnome-config |
|
79 |
||
80 |
%package -n SUNWgnome-screenshot |
|
81 |
Summary: GNOME screenshot tool |
|
82 |
SUNW_BaseDir: %{_basedir} |
|
83 |
%include default-depend.inc |
|
84 |
Requires: SUNWgnome-screenshot-root |
|
85 |
Requires: SUNWgnome-config |
|
86 |
Requires: SUNWgnome-base-libs |
|
87 |
Requires: SUNWgnome-libs |
|
88 |
Requires: SUNWgnome-vfs |
|
89 |
Requires: SUNWlibms |
|
90 |
||
91 |
%package -n SUNWgnome-screenshot-root |
|
92 |
Summary: GNOME screenshot tool - / filesystem |
|
93 |
SUNW_BaseDir: / |
|
94 |
%include default-depend.inc |
|
95 |
Requires: SUNWpostrun-root |
|
96 |
Requires: SUNWgnome-config |
|
97 |
||
98 |
%package -n SUNWgnome-log-viewer |
|
99 |
Summary: GNOME log viewer |
|
100 |
SUNW_BaseDir: %{_basedir} |
|
101 |
%include default-depend.inc |
|
102 |
Requires: SUNWgnome-log-viewer-root |
|
103 |
Requires: SUNWgnome-base-libs |
|
104 |
Requires: SUNWgnome-config |
|
105 |
Requires: SUNWgnome-libs |
|
106 |
Requires: SUNWgnome-panel |
|
107 |
Requires: SUNWgnome-vfs |
|
108 |
Requires: SUNWpostrun |
|
109 |
Requires: SUNWlibms |
|
110 |
||
111 |
%package -n SUNWgnome-log-viewer-devel |
|
112 |
Summary: GNOME log viewer development files |
|
113 |
SUNW_BaseDir: %{_basedir} |
|
114 |
%include default-depend.inc |
|
115 |
Requires: SUNWgnome-log-viewer-root |
|
116 |
Requires: SUNWgnome-base-libs |
|
117 |
Requires: SUNWgnome-config |
|
118 |
Requires: SUNWgnome-libs |
|
119 |
Requires: SUNWgnome-panel |
|
120 |
Requires: SUNWgnome-vfs |
|
121 |
Requires: SUNWpostrun |
|
122 |
Requires: SUNWlibms |
|
123 |
||
124 |
%package -n SUNWgnome-log-viewer-root |
|
125 |
Summary: GNOME log viewer - / filesystem |
|
126 |
SUNW_BaseDir: / |
|
127 |
%include default-depend.inc |
|
128 |
Requires: SUNWpostrun-root |
|
129 |
Requires: SUNWgnome-config |
|
130 |
||
131 |
%package -n SUNWgnome-disk-analyzer |
|
132 |
Summary: GNOME disk usage analyzer |
|
133 |
SUNW_BaseDir: %{_basedir} |
|
134 |
%include default-depend.inc |
|
135 |
Requires: SUNWgnome-base-libs |
|
136 |
Requires: SUNWgnome-config |
|
137 |
Requires: SUNWgnome-libs |
|
138 |
Requires: SUNWgnome-vfs |
|
139 |
Requires: SUNWlibgtop |
|
140 |
||
141 |
%package -n SUNWgnome-disk-analyzer-root |
|
142 |
Summary: GNOME disk usage analyzer - / filesystem |
|
143 |
SUNW_BaseDir: / |
|
144 |
%include default-depend.inc |
|
145 |
Requires: SUNWpostrun-root |
|
146 |
||
147 |
%if %build_l10n |
|
148 |
%package l10n |
|
149 |
Summary: %{summary} - l10n files |
|
150 |
SUNW_BaseDir: %{_basedir} |
|
151 |
%include default-depend.inc |
|
152 |
Requires: %{name} |
|
153 |
%endif |
|
154 |
||
155 |
%prep |
|
156 |
rm -rf %name-%version |
|
157 |
mkdir %name-%version |
|
158 |
%gnome_utils.prep -d %name-%version |
|
159 |
cd %{_builddir}/%name-%version |
|
160 |
gzcat %SOURCE0 | tar xf - |
|
161 |
cd %{_builddir}/%name-%version/gnome-utils-%{gnome_utils.version} |
|
162 |
||
163 |
%build |
|
164 |
export PKG_CONFIG_PATH=%{_pkg_config_path} |
|
165 |
export CFLAGS="%optflags -I%{_includedir}" |
|
166 |
export RPM_OPT_FLAGS="$CFLAGS" |
|
167 |
export LDFLAGS="%_ldflags" |
|
168 |
%gnome_utils.build -d %name-%version |
|
169 |
||
170 |
%install |
|
171 |
rm -rf $RPM_BUILD_ROOT |
|
172 |
%gnome_utils.install -d %name-%version |
|
173 |
rm -f $RPM_BUILD_ROOT%{_mandir}/*/*.gz |
|
174 |
cd %{_builddir}/%name-%version/sun-manpages |
|
175 |
make install DESTDIR=$RPM_BUILD_ROOT |
|
176 |
install --mode=0644 %{_builddir}/%name-%version/gnome-utils-%{gnome_utils.version}/logview/gnome-system-log.1 \ |
|
177 |
$RPM_BUILD_ROOT%{_mandir}/man1 |
|
178 |
install --mode=0644 %{_builddir}/%name-%version/gnome-utils-%{gnome_utils.version}/logview/pipelog.conf.4 \ |
|
179 |
$RPM_BUILD_ROOT%{_mandir}/man4 |
|
180 |
install --mode=0644 %{_builddir}/%name-%version/gnome-utils-%{gnome_utils.version}/logview/grablogs.conf.4 \ |
|
181 |
$RPM_BUILD_ROOT%{_mandir}/man4 |
|
182 |
||
183 |
rm $RPM_BUILD_ROOT%{_libdir}/gnome-system-log/plugins/*.la |
|
184 |
||
9659 | 185 |
# Remove gnome-dictionary menu entry, developer files and documentation. |
186 |
echo "NoDisplay=true" >> $RPM_BUILD_ROOT%{_datadir}/applications/gnome-dictionary.desktop |
|
9397 | 187 |
rm -r $RPM_BUILD_ROOT%{_datadir}/gnome-system-log |
188 |
rm -r $RPM_BUILD_ROOT%{_datadir}/gtk-doc |
|
189 |
rm -r $RPM_BUILD_ROOT%{_includedir}/gdict* |
|
190 |
rm -r $RPM_BUILD_ROOT%{_libdir}/pkgconfig |
|
191 |
||
192 |
# Never install English locales because should support full functions |
|
193 |
# on English locales as same as Solaris. |
|
194 |
rm -r $RPM_BUILD_ROOT%{_datadir}/gnome/help/baobab/en_GB |
|
195 |
rm -r $RPM_BUILD_ROOT%{_datadir}/locale/en_GB |
|
196 |
rm $RPM_BUILD_ROOT%{_datadir}/omf/baobab/baobab-en_GB.omf |
|
10342 | 197 |
rm $RPM_BUILD_ROOT%{_datadir}/omf/gnome-system-log/gnome-system-log-en_GB.omf |
198 |
rm $RPM_BUILD_ROOT%{_datadir}/omf/gnome-dictionary/gnome-dictionary-en_GB.omf |
|
199 |
rm $RPM_BUILD_ROOT%{_datadir}/omf/gnome-search-tool/gnome-search-tool-en_GB.omf |
|
9397 | 200 |
|
201 |
%if %build_l10n |
|
202 |
%else |
|
203 |
# REMOVE l10n FILES |
|
204 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/locale |
|
205 |
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/help/[a-z]*/[a-z]* |
|
206 |
rm -f $RPM_BUILD_ROOT%{_datadir}/omf/*/*-[a-z][a-z].omf |
|
207 |
rm -f $RPM_BUILD_ROOT%{_datadir}/omf/*/*-??_??.omf |
|
208 |
%endif |
|
209 |
||
210 |
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT} |
|
211 |
||
212 |
%clean |
|
213 |
rm -rf $RPM_BUILD_ROOT |
|
214 |
||
215 |
%post -n SUNWgnome-disk-analyzer |
|
216 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
217 |
echo '/usr/bin/update-desktop-database' |
|
218 |
) | $BASEDIR/lib/postrun -b -u -c JDS_wait |
|
219 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
|
220 |
echo '/usr/bin/scrollkeeper-update' |
|
221 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
222 |
||
223 |
%post -n SUNWgnome-log-viewer |
|
224 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
225 |
echo '/usr/bin/update-desktop-database' |
|
226 |
) | $BASEDIR/lib/postrun -b -u -c JDS_wait |
|
227 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
|
228 |
echo '/usr/bin/scrollkeeper-update' |
|
229 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
230 |
||
231 |
%postun -n SUNWgnome-log-viewer |
|
232 |
test -x $BASEDIR/lib/postrun || exit 0 |
|
233 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
234 |
echo '/usr/bin/update-desktop-database' |
|
235 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
236 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
|
237 |
echo '/usr/bin/scrollkeeper-update' |
|
238 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
239 |
||
240 |
%post -n SUNWgnome-search-tool |
|
241 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
242 |
echo '/usr/bin/update-desktop-database' |
|
243 |
) | $BASEDIR/lib/postrun -b -u -c JDS_wait |
|
244 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
|
245 |
echo '/usr/bin/scrollkeeper-update' |
|
246 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
247 |
||
248 |
%postun -n SUNWgnome-search-tool |
|
249 |
test -x $BASEDIR/lib/postrun || exit 0 |
|
250 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
251 |
echo '/usr/bin/update-desktop-database' |
|
252 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
253 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
|
254 |
echo '/usr/bin/scrollkeeper-update' |
|
255 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
256 |
||
257 |
%post -n SUNWgnome-dictionary |
|
258 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
259 |
echo '/usr/bin/update-desktop-database' |
|
260 |
) | $BASEDIR/lib/postrun -b -u -c JDS_wait |
|
261 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
|
262 |
echo '/usr/bin/scrollkeeper-update' |
|
263 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
264 |
||
265 |
%postun -n SUNWgnome-dictionary |
|
266 |
test -x $BASEDIR/lib/postrun || exit 0 |
|
267 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
268 |
echo '/usr/bin/update-desktop-database' |
|
269 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
270 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
|
271 |
echo '/usr/bin/scrollkeeper-update' |
|
272 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
273 |
||
274 |
%post -n SUNWgnome-screenshot |
|
275 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
276 |
echo '/usr/bin/update-desktop-database' |
|
277 |
) | $BASEDIR/lib/postrun -b -u -c JDS_wait |
|
278 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
|
279 |
echo '/usr/bin/scrollkeeper-update' |
|
280 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
281 |
||
282 |
%postun -n SUNWgnome-screenshot |
|
283 |
test -x $BASEDIR/lib/postrun || exit 0 |
|
284 |
( echo 'test -x /usr/bin/update-desktop-database || exit 0'; |
|
285 |
echo '/usr/bin/update-desktop-database' |
|
286 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
287 |
( echo 'test -x /usr/bin/scrollkeeper-update || exit 0'; |
|
288 |
echo '/usr/bin/scrollkeeper-update' |
|
289 |
) | $BASEDIR/lib/postrun -b -u -c JDS |
|
290 |
||
291 |
%post -n SUNWgnome-disk-analyzer-root |
|
11370 | 292 |
%include gconf-install.script |
9397 | 293 |
|
294 |
%preun -n SUNWgnome-disk-analyzer-root |
|
295 |
test -x $BASEDIR/var/lib/postrun/postrun || exit 0 |
|
296 |
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {'; |
|
297 |
echo ' echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"'; |
|
298 |
echo ' exit 0'; |
|
299 |
echo '}'; |
|
300 |
echo 'umask 0022'; |
|
301 |
echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults'; |
|
302 |
echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2'; |
|
303 |
echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib'; |
|
304 |
echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH'; |
|
305 |
echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas'; |
|
306 |
echo 'schemas="$SDIR/baobab.schemas"'; |
|
307 |
echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas' |
|
308 |
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a |
|
309 |
||
310 |
%post -n SUNWgnome-log-viewer-root |
|
11370 | 311 |
%include gconf-install.script |
9397 | 312 |
|
313 |
%preun -n SUNWgnome-log-viewer-root |
|
314 |
test -x $BASEDIR/var/lib/postrun/postrun || exit 0 |
|
315 |
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {'; |
|
316 |
echo ' echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"'; |
|
317 |
echo ' exit 0'; |
|
318 |
echo '}'; |
|
319 |
echo 'umask 0022'; |
|
320 |
echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults'; |
|
321 |
echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2'; |
|
322 |
echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib'; |
|
323 |
echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH'; |
|
324 |
echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas'; |
|
325 |
echo 'schemas="$SDIR/logview.schemas"'; |
|
326 |
echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas' |
|
327 |
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a |
|
328 |
||
329 |
%post -n SUNWgnome-search-tool-root |
|
11370 | 330 |
%include gconf-install.script |
9397 | 331 |
|
332 |
%preun -n SUNWgnome-search-tool-root |
|
333 |
test -x $BASEDIR/var/lib/postrun/postrun || exit 0 |
|
334 |
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {'; |
|
335 |
echo ' echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"'; |
|
336 |
echo ' exit 0'; |
|
337 |
echo '}'; |
|
338 |
echo 'umask 0022'; |
|
339 |
echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults'; |
|
340 |
echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2'; |
|
341 |
echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib'; |
|
342 |
echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH'; |
|
343 |
echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas'; |
|
344 |
echo 'schemas="$SDIR/gnome-search-tool.schemas"'; |
|
345 |
echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas' |
|
346 |
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a |
|
347 |
||
348 |
%post -n SUNWgnome-dictionary-root |
|
11370 | 349 |
%include gconf-install.script |
9397 | 350 |
|
351 |
%preun -n SUNWgnome-dictionary-root |
|
352 |
test -x $BASEDIR/var/lib/postrun/postrun || exit 0 |
|
353 |
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {'; |
|
354 |
echo ' echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"'; |
|
355 |
echo ' exit 0'; |
|
356 |
echo '}'; |
|
357 |
echo 'umask 0022'; |
|
358 |
echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults'; |
|
359 |
echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2'; |
|
360 |
echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib'; |
|
361 |
echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH'; |
|
362 |
echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas'; |
|
363 |
echo 'schemas="$SDIR/gnome-dictionary.schemas"'; |
|
364 |
echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas' |
|
365 |
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a |
|
366 |
||
367 |
%post -n SUNWgnome-screenshot-root |
|
11370 | 368 |
%include gconf-install.script |
9397 | 369 |
|
370 |
%preun -n SUNWgnome-screenshot-root |
|
371 |
test -x $BASEDIR/var/lib/postrun/postrun || exit 0 |
|
372 |
( echo 'test -x $PKG_INSTALL_ROOT/usr/bin/gconftool-2 || {'; |
|
373 |
echo ' echo "WARNING: gconftool-2 not found; not uninstalling gconf schemas"'; |
|
374 |
echo ' exit 0'; |
|
375 |
echo '}'; |
|
376 |
echo 'umask 0022'; |
|
377 |
echo 'GCONF_CONFIG_SOURCE=xml:merged:$BASEDIR/etc/gconf/gconf.xml.defaults'; |
|
378 |
echo 'GCONF_BACKEND_DIR=$PKG_INSTALL_ROOT/usr/lib/GConf/2'; |
|
379 |
echo 'LD_LIBRARY_PATH=$PKG_INSTALL_ROOT/usr/lib'; |
|
380 |
echo 'export GCONF_CONFIG_SOURCE GCONF_BACKEND_DIR LD_LIBRARY_PATH'; |
|
381 |
echo 'SDIR=$BASEDIR%{_sysconfdir}/gconf/schemas'; |
|
382 |
echo 'schemas="$SDIR/gnome-screenshot.schemas"'; |
|
383 |
echo '$PKG_INSTALL_ROOT/usr/bin/gconftool-2 --makefile-uninstall-rule $schemas' |
|
384 |
) | $BASEDIR/var/lib/postrun/postrun -i -c JDS -a |
|
385 |
||
386 |
||
387 |
%files -n SUNWgnome-log-viewer |
|
388 |
%defattr (-, root, bin) |
|
389 |
%dir %attr (0755, root, bin) %{_bindir} |
|
390 |
%{_bindir}/gnome-system-log |
|
391 |
%dir %attr (0755, root, sys) %{_datadir} |
|
392 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
393 |
%{_datadir}/gnome/help/gnome-system-log/C |
|
394 |
%{_datadir}/omf/gnome-system-log/gnome-system-log-C.omf |
|
395 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
396 |
%{_datadir}/applications/gnome-system-log.desktop |
|
397 |
%dir %attr(0755, root, bin) %{_mandir} |
|
398 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
399 |
%{_mandir}/*/*system-log* |
|
400 |
%{_mandir}/*/*.conf.4 |
|
401 |
%dir %attr (0755, root, bin) %{_libdir} |
|
402 |
%{_libdir}/gnome-system-log/* |
|
403 |
||
404 |
%files -n SUNWgnome-log-viewer-devel |
|
405 |
%defattr (-, root, bin) |
|
406 |
%dir %attr (0755, root, bin) %dir %{_includedir} |
|
407 |
%{_includedir}/* |
|
408 |
||
409 |
%files -n SUNWgnome-log-viewer-root |
|
410 |
%defattr (-, root, sys) |
|
411 |
%dir %attr (0755, root, sys) %{_sysconfdir} |
|
412 |
%{_sysconfdir}/gconf/schemas/logview.schemas |
|
413 |
||
414 |
%files -n SUNWgnome-search-tool |
|
415 |
%defattr (-, root, bin) |
|
416 |
%dir %attr (0755, root, bin) %{_bindir} |
|
417 |
%{_bindir}/gnome-search-tool |
|
418 |
%dir %attr (0755, root, sys) %{_datadir} |
|
419 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
420 |
%{_datadir}/gnome/help/gnome-search-tool/C |
|
421 |
%{_datadir}/omf/gnome-search-tool/gnome-search-tool-C.omf |
|
422 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
423 |
%{_datadir}/applications/gnome-search-tool.desktop |
|
424 |
%dir %attr (0755, root, other) %{_datadir}/pixmaps |
|
425 |
%{_datadir}/pixmaps/gsearchtool |
|
426 |
%dir %attr(0755, root, bin) %{_mandir} |
|
427 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
428 |
%{_mandir}/*/*search* |
|
429 |
||
430 |
%files -n SUNWgnome-search-tool-root |
|
431 |
%defattr (-, root, sys) |
|
432 |
%dir %attr (0755, root, sys) %{_sysconfdir} |
|
433 |
%{_sysconfdir}/gconf/schemas/gnome-search-tool.schemas |
|
434 |
||
435 |
%files -n SUNWgnome-dictionary |
|
436 |
%defattr (-, root, bin) |
|
437 |
%dir %attr (0755, root, bin) %{_bindir} |
|
438 |
%{_bindir}/gnome-dictionary |
|
439 |
%dir %attr (0755, root, bin) %{_libdir} |
|
440 |
%{_libdir}/libgdict* |
|
441 |
%{_libdir}/bonobo/servers/GNOME_DictionaryApplet.server |
|
442 |
%{_libexecdir}/gnome-dictionary-applet |
|
443 |
%dir %attr (0755, root, sys) %{_datadir} |
|
9659 | 444 |
%dir %attr (0755, root, other) %{_datadir}/applications |
445 |
%{_datadir}/applications/gnome-dictionary.desktop |
|
9397 | 446 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
447 |
%{_datadir}/gnome/help/gnome-dictionary/C |
|
448 |
%{_datadir}/omf/gnome-dictionary/gnome-dictionary-C.omf |
|
449 |
%{_datadir}/gnome-2.0/ui/GNOME_DictionaryApplet.xml |
|
450 |
%dir %attr (-, root, other) %{_datadir}/icons |
|
451 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor |
|
452 |
%{_datadir}/gdict-1.0/* |
|
453 |
%{_datadir}/gnome-dictionary/* |
|
454 |
%dir %attr(0755, root, bin) %{_mandir} |
|
455 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
456 |
%{_mandir}/*/*dict* |
|
457 |
||
458 |
%files -n SUNWgnome-dictionary-root |
|
459 |
%defattr (-, root, sys) |
|
460 |
%dir %attr (0755, root, sys) %{_sysconfdir} |
|
461 |
%{_sysconfdir}/gconf/schemas/gnome-dictionary.schemas |
|
462 |
||
463 |
%files -n SUNWgnome-screenshot |
|
464 |
%defattr (-, root, bin) |
|
465 |
%dir %attr (0755, root, bin) %{_bindir} |
|
466 |
%{_bindir}/gnome*screenshot |
|
467 |
%dir %attr (0755, root, sys) %{_datadir} |
|
468 |
%{_datadir}/gnome-screenshot |
|
469 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
470 |
%{_datadir}/applications/gnome-screenshot.desktop |
|
471 |
%dir %attr(0755, root, bin) %{_mandir} |
|
472 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
473 |
%{_mandir}/*/*screenshot* |
|
474 |
||
475 |
%files -n SUNWgnome-screenshot-root |
|
476 |
%defattr (-, root, sys) |
|
477 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
|
478 |
%{_sysconfdir}/gconf/schemas/gnome-screenshot.schemas |
|
479 |
||
480 |
%files -n SUNWgnome-disk-analyzer |
|
481 |
%defattr (-, root, bin) |
|
482 |
%dir %attr (0755, root, bin) %{_bindir} |
|
483 |
%{_bindir}/baobab |
|
484 |
%dir %attr (0755, root, sys) %{_datadir} |
|
485 |
%{_datadir}/baobab |
|
486 |
%dir %attr (0755, root, other) %{_datadir}/applications |
|
487 |
%{_datadir}/applications/baobab.desktop |
|
488 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
489 |
%{_datadir}/gnome/help/baobab/C |
|
490 |
%{_datadir}/omf/baobab/baobab-C.omf |
|
491 |
%dir %attr (-, root, other) %{_datadir}/icons |
|
492 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor |
|
493 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24 |
|
494 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/24x24/apps |
|
495 |
%{_datadir}/icons/hicolor/24x24/apps/baobab.png |
|
496 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable |
|
497 |
%dir %attr (-, root, other) %{_datadir}/icons/hicolor/scalable/apps |
|
498 |
%{_datadir}/icons/hicolor/scalable/apps/baobab.svg |
|
499 |
%dir %attr(0755, root, bin) %{_mandir} |
|
500 |
%dir %attr(0755, root, bin) %{_mandir}/* |
|
501 |
%{_mandir}/*/*baobab* |
|
502 |
||
503 |
%files -n SUNWgnome-disk-analyzer-root |
|
504 |
%defattr (-, root, sys) |
|
505 |
%attr (0755, root, sys) %dir %{_sysconfdir} |
|
506 |
%{_sysconfdir}/gconf/schemas/baobab.schemas |
|
507 |
||
508 |
%if %build_l10n |
|
509 |
%files l10n |
|
510 |
%defattr (-, root, bin) |
|
511 |
%dir %attr (0755, root, sys) %{_datadir} |
|
512 |
%attr (-, root, other) %{_datadir}/locale |
|
513 |
%dir %attr (0755, root, other) %{_datadir}/gnome |
|
514 |
%{_datadir}/gnome/help/[a-z]*/[a-z]* |
|
515 |
%{_datadir}/omf/*/*-[a-z][a-z].omf |
|
516 |
##%{_datadir}/omf/*/*-[a-z][a-z]_[A-Z][A-Z].omf |
|
517 |
%endif |
|
518 |
||
519 |
%changelog |
|
11370 | 520 |
* Thu Jan 3 2008 - [email protected] |
521 |
- use gconf-install.script instead of an inline script |
|
10637 | 522 |
* Wed Oct 10 2007 - [email protected] |
523 |
- Remove 'Requires: SUNWgnome-doc-utils' as it is only used during building; |
|
524 |
change SUNWgnome-doc-utils-devel to SUNWgnome-doc-utils to match change in |
|
525 |
SUNWgnome-doc-utils.spec. |
|
10572 | 526 |
* Fri Sep 28 2007 - [email protected] |
527 |
- delete Nevada X deps |
|
528 |
- delete some unneeded env vars |
|
10473 | 529 |
* Fri Sep 07 2007 - [email protected] |
530 |
- Remove icons. See bugzilla #470287. |
|
10342 | 531 |
* Thu Aug 16 2007 - [email protected] |
532 |
- Delete more en_GB files in %install. |
|
9659 | 533 |
* Wed Apr 04 2007 - [email protected] |
534 |
- Set NoDisplay=true for dictionary item. |
|
9397 | 535 |
* Wed Feb 14 2006 - [email protected] |
536 |
- Delete en_GB files in %install. |
|
537 |
* Wed Feb 14 2007 - [email protected] |
|
538 |
- Add to %files l10n to include baobab-en_GB.omf. |
|
539 |
* Thu Jan 25 2007 - [email protected] |
|
540 |
- Delete *.la in %install. Add SUNWgnome-doc-utils/-devel dependencies so that |
|
541 |
the log viewer is built. Remove the code that deleted %{_localstatedir} |
|
542 |
because it isn't installed. |
|
543 |
- Undo removal of SUNWgnome-log-viewer-devel. Will try to find out what pkg |
|
544 |
that SUNWgnome-utils should be added to the dependencies. |
|
545 |
* Wed Jan 24 2007 - [email protected] |
|
546 |
- Remove SUNWgnome-log-viewer-devel package as no files are installed for it. |
|
547 |
Remove other files that are no longer installed. Remove -f from rm calls. |
|
548 |
* Fri Nov 24 2006 - [email protected] |
|
549 |
- Update %files (baobab icons) for 2.17.0 tarball. |
|
550 |
* Wed Nov 15 2006 - [email protected] |
|
551 |
- Remove unneeded chmod call. It changed help xml files to 0755 for no obvious |
|
552 |
reason. |
|
553 |
* Mon Nov 13 2006 - [email protected] |
|
554 |
- Added logview plugin |
|
555 |
* Fri Sep 08 2006 - [email protected] |
|
556 |
- Remove "rm" of _mandir during %install |
|
557 |
* Wed Sep 06 2006 - [email protected] |
|
558 |
- Turn to NROFF gnome-system-log manpage |
|
559 |
* Mon Sep 04 2006 - [email protected] |
|
560 |
- New Manpage tarball |
|
561 |
* Tue Aug 29 2006 - [email protected] |
|
562 |
- Add post/un rules for SUNWgnome-disk-analyzer |
|
563 |
* Fri Aug 25 2006 - [email protected] |
|
564 |
- Add gnome-panel-screenshot.1 shadown manpage pointing to gnome-screenshot.1 |
|
565 |
* Wed Aug 16 2006 - [email protected] |
|
566 |
- Change 'icons' line in %files to pick up files. |
|
567 |
* Sat Aug 12 2006 - [email protected] |
|
568 |
- change datadir/icons permissions back to root:other since it's a stable |
|
569 |
interface and wasn't supposed to be changed |
|
570 |
* Tue Aug 08 2006 - [email protected] |
|
571 |
- Add Requires list for SUNWgnome-disk-analyzer after check-deps.pl run. |
|
572 |
* Sat Jul 29 2006 - [email protected] |
|
573 |
- Add Build/Requires SUNWlibgtop/-devel. |
|
574 |
* Fri Jul 14 2006 - [email protected] |
|
575 |
- update %post/%postun/etc scripts to support diskless client setup, |
|
576 |
part of 6448317 |
|
577 |
* Thu Jun 29 2006 - [email protected] |
|
578 |
- update postrun scripts |
|
579 |
* Thu Jun 29 2006 - [email protected] |
|
580 |
- update %post/%preun gconf scripts |
|
581 |
* Sun Jun 11 2006 - [email protected] |
|
582 |
- change group from other to bin/sys |
|
583 |
* Thu May 25 2006 - [email protected] |
|
584 |
- use post/preun scripts to install schemas into the merged gconf files |
|
585 |
* Fri May 12 2006 - [email protected] |
|
586 |
- Small update to dependency list after check-deps.pl run. |
|
587 |
* Wed May 10 2006 - [email protected] |
|
588 |
- merge all remaining -share pkg(s) into the base pkg(s) |
|
589 |
* Thu May 04 2006 - [email protected] |
|
590 |
- merge SUNWgnome-screenshot-share into the base SUNWgnome-screenshot |
|
591 |
* Fri Apr 21 2006 - [email protected] |
|
592 |
- Add gnome-dictionary and gdict-1.0 to dictionary-share package since these |
|
593 |
are needed. |
|
594 |
* Thu Apr 20 2006 - [email protected] |
|
595 |
- Remove gnome-utils-01-disable-logview-dictionary.diff |
|
596 |
- Add gnome-utils-01-logview.diff. Enable build logview |
|
597 |
* Wed Mar 15 2006 - [email protected] |
|
598 |
- Add Build/Requires SUNWgnome-component/-devel for ORBit2. |
|
599 |
* Tue Mar 14 2006 - [email protected] |
|
600 |
- Remove code that deleted gnome-dictionary .a and .la files. No longer present. |
|
601 |
* Mon Feb 20 2006 - [email protected] |
|
602 |
- Complete update of Build/Requires after running check-deps.pl script. |
|
603 |
* Fri Feb 17 2006 - [email protected] |
|
604 |
- Update Build/Requires after running check-deps.pl script. |
|
605 |
* Thu Feb 16 2006 - [email protected] |
|
606 |
- Update Build/Requires after running check-deps.pl script. |
|
607 |
* Sun Jan 22 2006 - [email protected] |
|
608 |
- Add gnome-screenshot.desktop, from new tarball. |
|
609 |
* Wed Jan 18 2006 - [email protected] |
|
610 |
- More %files updates for 2.13.4 tarball (gnome-dictionary related). |
|
611 |
* Fri Jan 06 2006 - [email protected] |
|
612 |
- Update %files for new tarball, incl adding gnome-dictionary files. |
|
613 |
* Sat Dec 3 2005 - [email protected] |
|
614 |
- add %post script that runs update-desktop-database |
|
615 |
* Tue Nov 29 2005 - [email protected] |
|
616 |
- remove javahelp stuff |
|
617 |
* Fri Oct 14 2005 - [email protected] |
|
618 |
- Remove javahelp references. Obsolete. |
|
619 |
* Wed Sep 14 2005 - [email protected] |
|
620 |
- define SUNWgnome-screenshot* |
|
621 |
- install gconf schemas and add files to -root packages |
|
622 |
* Wed Aug 30 2005 - [email protected] |
|
623 |
- Add Build/Requires SUNWgnome-print(-devel) as required by gnome-utils. |
|
624 |
* Fri Jul 01 2005 - [email protected] |
|
625 |
- remove the gucharmap parts that Brian moved to SUNWgnome-character-map.spec |
|
626 |
* Sat Oct 02 2004 - [email protected] |
|
627 |
- added %pkgbuild_postprocess |
|
628 |
* Wed Aug 25 2004 - [email protected] |
|
629 |
- Updated files section to extract l10n help contents into l10n pkg |
|
630 |
* Wed Aug 18 2004 - [email protected] |
|
631 |
- Change manpage perms for Solaris integration. |
|
632 |
* Wed Aug 18 2004 - [email protected] |
|
633 |
- javahelp also should get installed for gucharmap. |
|
634 |
* Tue Jun 22 2004 - [email protected] |
|
635 |
- changed install location to /usr/lib and /usr/bin |
|
636 |
* Mon Jun 14 2004 - [email protected] |
|
637 |
- Enable back gucharmap into the build. |
|
638 |
* Wed Jun 2 2004 - [email protected] |
|
639 |
- added "BuildRequires: SUNWgnome-panel-devel" to SUNWgnome-character-map so |
|
640 |
gnome-desktop-2.0 can be found during configure |
|
641 |
* Wed Jun 2 2004 - [email protected] |
|
642 |
- Added %{_datadir}/locale to install l10n messages |
|
643 |
* Mon May 03 2004 - [email protected] |
|
644 |
- renamed to SUNWgnome-utils.spec, even though none of the packages is |
|
645 |
called SUNWgnome-utils (; |
|
646 |
- added SUNWgnome-search-tool* and SUNWgnome-dictionary* package definitions |
|
647 |
and %files. |
|
648 |
* Mon Mar 29 2004 - [email protected] |
|
649 |
- Corrected packaging so man is installed as root/bin. This |
|
650 |
corrects install failure. |
|
651 |
* Wed Mar 24 2004 - [email protected] |
|
652 |
- Added SGML man page integration |
|
653 |
* Fri Mar 05 2004 - [email protected] |
|
654 |
- Add SUNWgnome-character-map package. |