https://bugzilla.redhat.com/show_bug.cgi?id=2450774

Phil Wyett <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?([email protected])



--- Comment #14 from Phil Wyett <[email protected]> ---
Hi,

Adding AppStream can be a difficult task and much learning.

Docs: https://www.freedesktop.org/software/appstream/docs/

Metainfo Creator:
https://www.freedesktop.org/software/appstream/metainfocreator/

The file name should be 'metainfo' not 'appdata'.

In the '%install' section is where you install the metainfo file, similar to
the below example.

# Install our AppStream metainfo file.
install -D -p -m 644 %{SOURCE1}
%{buildroot}%{_datadir}/metainfo/me.you.other.metainfo.xml

In the '%check' section is where you peform build time validation of the
metainfo file. See example below.

appstreamcli validate --no-net
%{buildroot}%{_datadir}/metainfo/me.you.other.metainfo.xml

In the appropriate '%files' section, you install the file. See example below.

%{_datadir}/metainfo/me.you.other.metainfo.xml

AppStream metainfo files are very important in te providing application data
via app stores etc.

I hope the above helps you prepare your next upload of 'spec' file and 'srpm'.

Regards

Phil


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2450774

Report this comment as SPAM: 
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202450774%23c14

-- 
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://forge.fedoraproject.org/infra/tickets/issues/new

Reply via email to