Pour le manque de l'icone, ou le fait que dans Category il y'ait marqué: Aucune, c'est comme si le fichier desktop n'était pas pris en compte.
Pourtant je l'ai installé selon le Guideline. J'ai même créé un fichier appdata.xml avec un screenshot et je ne le vois pas.
Voici mon SPEC et mon appdata, quelqu'un a t'il une idée ?
Name: siril
Version: 0.9.4
Release: 1%{?dist}
Summary: Astronomical image (pre-)processing program
License: GPLv3+
Group: Amusements/Graphics
URL: http://free-astro.org/index.php/Siril
Source0: https://free-astro.org/download/%{name}-%{version}.tar.bz2
Source2: %{name}.appdata.xml
Source3: icons
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: gettext
BuildRequires: gcc-c++
BuildRequires: cfitsio-devel
BuildRequires: libconfig-devel
BuildRequires: fftw-devel
BuildRequires: gsl-devel
BuildRequires: gtk3-devel
BuildRequires: opencv-devel
BuildRequires: libpng-devel
BuildRequires: LibRaw-devel
BuildRequires: libtiff-devel
BuildRequires: ffms2-devel
BuildRequires: giflib-devel
BuildRequires: intltool
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
%description
Siril is an image processing tool specially tailored for noise reduction and
improving the signal/noise ratio of an image from multiple captures, as
required in astronomy. Siril can align automatically or manually, stack and
enhance pictures from various file formats, even images sequences (movies and
SER files).
%prep
%autosetup
%build
intltoolize -f -c
autoreconf -fi -Wno-portability
%configure
%make_build
%install
rm -rf $RPM_BUILD_ROOT
%make_install
desktop-file-install \
--dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
platform-specific/linux/%{name}.desktop
mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/icons
cp -a %{SOURCE3}/ ${RPM_BUILD_ROOT}%{_datadir}/
install -Dm 644 pixmaps/%{name}_1.svg $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}_1.svg
install -Dm 644 platform-specific/linux/%{name}.xml $RPM_BUILD_ROOT%{_datadir}/mime/packages/%{name}.xml
install -Dm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
%find_lang %{name}
%check
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-,root,root,-)
%license LICENSE
%doc COPYING AUTHORS NEWS README LICENSE
%{_datadir}/applications/%{name}.desktop
%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/pixmaps/%{name}_1.svg
%{_datadir}/icons/hicolor/*/apps/%{name}.png
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/%{name}/
%{_mandir}/man1/%{name}.1*
%{_bindir}/%{name}
%post
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
%changelog
* Thu Aug 25 2016 cyril@free-astro.org 0.9.4-1
- Initial build
appdata.xml
<?xml version="1.0" encoding="UTF-8"?>
<application>
<id type="desktop">siril.desktop</id>
<licence>CC0</licence>
<project_license>GPL-3.0+</project_license>
<name>Siril</name>
<summary>Astronomical image (pre-)processing program</summary>
<translation type="gettext">siril</translation>
<description>
<p>Siril is an image processing tool specially tailored for noise reduction and improving the signal/noise ratio of an image from multiple captures, as required in astronomy.</p>
<p xml:lang="fr">Siril est un outil de traitement d'image spécialement adapté pour la réduction du bruit et et l'amélioration du rapport signal/bruit des images astronomiques.</p>
<p>Siril can align automatically or manually, stack and enhance pictures from various file formats, even images sequences (movies and SER files).</p>
<p xml:lang="fr">Siril peut aligner automatiquement ou manuellement, empiler et améliorer des images de différents formats aussi bien que des séquences d'images (films et fichiers SER).</p>
</description>
<screenshots>
<screenshot type="default">
<image>http://free-astro.org/images/7/7a/Siril_global_star_reg.png</image>
</screenshot>
</screenshots>
<url type="homepage">http://free-astro.org/index.php/Siril</url>
<update_contact>cyril_at_free-astro.org</update_contact>
</application>