[Bug 871216] Review Request: tupi - Tupi Open 2D Magic

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--- Comment #23 from Gustav Gonzalez <xtingray@xxxxxxxxx> ---
(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
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]