mirror of https://github.com/procxx/kepka.git
Install metadata package for Gnome Software to metainfo directory.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
This commit is contained in:
parent
2dd877dc48
commit
e591fdec95
|
@ -87,11 +87,11 @@ for size in 16 32 48 64 128 256 512; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Installing appdata for Gnome Software...
|
# Installing appdata for Gnome Software...
|
||||||
install -d "%{buildroot}%{_datadir}/appdata"
|
install -d "%{buildroot}%{_datadir}/metainfo"
|
||||||
install -m 0644 -p lib/xdg/telegramdesktop.appdata.xml "%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml"
|
install -m 0644 -p lib/xdg/telegramdesktop.appdata.xml "%{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml"
|
||||||
|
|
||||||
%check
|
%check
|
||||||
appstream-util validate-relax --nonet "%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml"
|
appstream-util validate-relax --nonet "%{buildroot}%{_datadir}/metainfo/%{name}.appdata.xml"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md changelog.txt
|
%doc README.md changelog.txt
|
||||||
|
@ -99,7 +99,7 @@ appstream-util validate-relax --nonet "%{buildroot}%{_datadir}/appdata/%{name}.a
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_datadir}/applications/%{name}.desktop
|
%{_datadir}/applications/%{name}.desktop
|
||||||
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
||||||
%{_datadir}/appdata/%{name}.appdata.xml
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Dec 21 2017 Vitaly Zaitsev <vitaly@easycoding.org> - 1.0.0-1
|
* Thu Dec 21 2017 Vitaly Zaitsev <vitaly@easycoding.org> - 1.0.0-1
|
||||||
|
|
Loading…
Reference in New Issue