Quoting Michael Schroeder
On Thu, Jan 30, 2014 at 06:48:26PM +0530, Satyajit Sahoo wrote:
Thanks. Any documentation which I can refer?
As said, the build process just needs to drop an "appdata.xml" file. As the build itself is highly distribution specific, I can't really help you much. For testing purposes, just add
mkdir -p %_topdir/OTHER cp
%_topdir/OTHER/appdata.xml into some specfile.
The appdata.xml file needs to look like this:
<applications> <application> <id type="desktop">blabla.desktop</id> ... </application> </applications>
So you probably need to concat the files from /usr/share/appdata somehow (don't forget to strip the "" line).
A good starting point would be to look at (and improve) brp-extract-appdata package in openSUSE (which is used to do some extracting). in openSUSE 13.1 we provide a gnome-software-appdata which collects all *.appdata from all packages (there is also an appdata.xml.gz published, but not used by zypper). So in short: OBS does the right things on openSUSE for example.. what we're missing is that zypper copies the appdata.xml.gz (and related icons!) to the right cache location (a zypp plugin is missing for that). Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org