On Wed, 2008-08-06 at 15:41 +0300, Andras Barna wrote:
> a postrun is required too

Andras is right, since your package installs new icons and
.desktop files, it needs to update the icon cache and the
desktop database, see below how:

> > %include default-depend.inc

Add "Requires: SUNWpostrun" here.

BTW, I'm sure this package has some GNOME dependencies.
Try to identify them from the build log and add the missing
deps.

Here, before %files, you need the postrun scripts:

%post
%include icon-cache.script
%include desktop-database-install.script

%postun
test -x $BASEDIR/lib/postrun || exit 0
???%include icon-cache.script
%include desktop-database-uninstall.script

> > %files
> > %defattr(-,root,other)
> > %dir %attr(-,root,sys) /usr
> > %dir %attr(-,root,bin) %{_bindir}
> > %{_bindir}/*
> > %dir %attr(-,root,bin) %{_libdir}
> > %dir %attr(-,root,bin) %{_libdir}/python%{python_version}
> > %dir %attr(-,root,bin) %{_libdir}/python
> %{python_version}/vendor-packages
> > %{_libdir}/python%{python_version}/vendor-packages/terminatorlib/*
> > %dir %attr(-,root,sys) %{_datadir}
> > %{_datadir}/applications/*

This shows that you have .desktop files

> > %{_datadir}/pixmaps/*
> > %{_datadir}/icons/hicolor/*

And these are the icons.

Laca

> > %{_datadir}/locale/*
> > %dir %attr(-,root,bin) %{_mandir}
> > %dir %attr(-,root,bin) %{_mandir}/man1
> > %{_mandir}/man1/*
> > %dir %attr(-,root,bin) %{_mandir}/man5
> > %{_mandir}/man5/*
> > %doc README COPYING ChangeLog


Reply via email to