Sorry about the slow response.
I'd like to comment on just one part:

On Wed, 2007-02-28 at 18:40 +0800, Halton Huo wrote:
> +# FXIME
> +# there are files under /var/lib/scrollkeeper/, need more discussion
> +# to make clear the usage of them.
> +rm -rf $RPM_BUILD_ROOT/var 

1) using the --disable-scrollkeeper configure option should help here,
   in that it won't create files in $RPM_BUILD_ROOT/var during make
   install
2) you will, however, need to update the scrollkeeper data after
   installing/uninstalling this package, if it comes with help files.

See SUNWgnome-terminal.spec's %post and %postun script for an example.
You may or may not need the update-desktop-database command.
If you don't then SUNWgnome-dialog.spec's version is what you need.

You will also need to add a dependency on SUNWpostrun.

Laca



Reply via email to