[Scribus] mime type info
PLinnell
mrdocs
Mon Jun 27 14:44:13 CEST 2005
On Monday 27 June 2005 11:36, Kite Lau wrote:
> Hello,
>
> I would like to know how to set mime type for scribus because
> scribus files are recognized as text file under my gnome desktop.
>
> Regards,
>
> Kite
>
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
More information about the scribus
mailing list