Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=871216

--- Comment #23 from Gustav Gonzalez <[email protected]> ---
(In reply to comment #21)
> I noticed the MIME types specified in the desktop file. Those are neither
> registered at IANA, nor are they defined. You should define them and then
> use the following scriptlet:
> 
> http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#mimeinfo

Quoting from the link:

Use this when a package drops an XML file in %{_datadir}/mime/packages.

%post
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :

%postun
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :

Question: Should I install a "XML file" with the MIME information in the path
%{_datadir}/mime/packages, right? I was looking for an example unsuccessfully,
could you show me the structure of one of those?

Thanks.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to