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



--- Comment #7 from William Moreno <[email protected]> ---
Please note than if you want the airtv app to be included fine in
gnome-software you SHOULD ad a airtv.appdata.xlm file, please see:
https://fedoraproject.org/wiki/Packaging:AppData

There is a icon file in .svg, I will recomend than you SHOULLD do a better
treatment, add
BuildRequires:  libpng-devel
BuildRequires:  librsvg2-devel
BuildRequires:  librsvg2-tools
BuildRequires:  ImageMagick
Requires:       hicolor-icon-theme

And in %%install run something like this:
# Generate resized icons
pushd icons
mkdir -p
%{buildroot}/%{_datadir}/icons/hicolor/{16x16,22x22,24x24,32x32,48x48,64x64,72x72,96x96,128x128,scalable}/apps
for s in 16x16 22x22 24x24 32x32 48x48 64x64 72x72 96x96 128x128
do
    convert ./airtv.svg -resize $s
%{buildroot}/%{_datadir}/icons/hicolor/$s/apps/airtv.png;
done
install -p -m 0644 retext.svg
%{buildroot}/%{_datadir}/icons/hicolor/scalable/apps
popd

You must add this scripts to handle the .desktopfile:

%post
/usr/bin/update-desktop-database &> /dev/null || :

%postun
/usr/bin/update-desktop-database &> /dev/null || :

But the Legal comments before conitue working in this.

By the way good job in the subpackaging of the gui and the service

-- 
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
_______________________________________________
package-review mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/package-review

Reply via email to