> 
> The relevant info is in the packaging guidelines.
> 
> This snipped comes from my rpm spec file:
> 
> %install
> 
> install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},
> %{_datadir}/mime/packages/}
> install scribus.xml 
> $RPM_BUILD_ROOT%{_datadir}/mime/packages/scribus.xml
> 
> ** The lines above are wrapped in the mail client.
> 
> %post
> umask 022
> [ ! -x /usr/bin/update-desktop-database ] 
> || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
> [ ! -x /usr/bin/update-mime-database ] 
> || /usr/bin/update-mime-database %{_datadir}/mime >/dev/null 2>&1 ||:
> 
> %postun 
> umask 022
> [ ! -x /usr/bin/update-desktop-database ] 
> || /usr/bin/update-desktop-database >/dev/null 2>&1
> [ ! -x /usr/bin/update-mime-database ] 
> || /usr/bin/update-mime-database %{_datadir}/mime >/dev/null 2>&1 ||:
> 
> 
> Hope that helps,
> Peter
> 
> 
Thanks for your hints. It helps. As I use slackware, I do not use rpm. I
did manage to run the suggested post install scripts etc. manually and
the system can now recognizes scribus files. However the icon for
scribus files within nautilus file manager is missing. Maybe I should
put any icon in some correct path?



Reply via email to