[Bug 980583] New: rpm: find-lang: allow to inject a metainfo.xml file for AppStream metadata
http://bugzilla.opensuse.org/show_bug.cgi?id=980583 Bug ID: 980583 Summary: rpm: find-lang: allow to inject a metainfo.xml file for AppStream metadata Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Enhancement Priority: P5 - None Component: Other Assignee: bnc-team-screening@forge.provo.novell.com Reporter: dimstar@opensuse.org QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- As per openSUSE Packaging Guidelines, translations are split off to a $pkg-lang package and we use the macros %lang_package %find_lang %{name} %files lang -f %{name}.lang to produce the package. Inside gnome-software (and other AppStream based software centers), those -lang packages are treated as 'system extensions / libraries / unknown package stuff' The goal of this enhancement request is to get them listed as 'enhancements to applications' (if the -lang package is for ana pp that is, ignoring library -lang packages). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980583
http://bugzilla.opensuse.org/show_bug.cgi?id=980583#c1
Dominique Leuenberger
<?xml version="1.0" encoding="UTF-8"?> <!-- Copyright 2016 openSUSE - file is auto-generated --> <component type="addon"> <id>%{name}-lang</id> <extends><desktopID></extends> <name>Translations for %{name}</name> <summary>Allow to run %{name} in other lanuages</summary>
CC0-1.0 <updatecontact>bugzilla.opensuse.org</updatecontact> </component>
and of course add the file to the files-list (as captured by %{name}.lang) if <desktopID> is not specified, we would 'search' for a .desktop file in the installed files list and, IFF one (and only one) desktop file is found, use this as the guessed value. If more than one file is found and --metainfo requested, this would be treated as failure (no valid guess possible) @mls: what do you think of this approach? (if you agree, I will work on the implementation of this for openSUSE) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=980583
http://bugzilla.opensuse.org/show_bug.cgi?id=980583#c6
--- Comment #6 from Dominique Leuenberger
http://bugzilla.opensuse.org/show_bug.cgi?id=980583
http://bugzilla.opensuse.org/show_bug.cgi?id=980583#c14
Dominique Leuenberger
participants (1)
-
bugzilla_noreply@novell.com