Install the AppStream file to the canonical location
The canonical location for AppStream XML files has been changed to
/usr/share/metainfo four years ago at least, with /usr/share/appdata
left as legacy location. It is time to switch to the right location.
Signed-off-by: Pino Toscano <ptoscano@redhat.com>
Pino Toscano
3 years ago
80 | 80 |
%-mime.xml: %-mime.xml.in $(PO_FILES)
|
81 | 81 |
$(AM_V_GEN)GETTEXTDATADIR=$(srcdir)/gettext $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
|
82 | 82 |
|
83 | |
appdatadir = $(datadir)/appdata
|
|
83 |
appdatadir = $(datadir)/metainfo
|
84 | 84 |
APPDATAFILES = remote-viewer.appdata.xml.in
|
85 | 85 |
appdata_DATA = $(APPDATAFILES:.xml.in=.xml)
|
86 | 86 |
%.appdata.xml: %.appdata.xml.in $(PO_FILES)
|
109 | 109 |
%{_datadir}/icons/hicolor/*/apps/*
|
110 | 110 |
%{_datadir}/icons/hicolor/*/devices/*
|
111 | 111 |
%{_datadir}/applications/remote-viewer.desktop
|
112 | |
%{_datadir}/appdata/remote-viewer.appdata.xml
|
|
112 |
%{_datadir}/metainfo/remote-viewer.appdata.xml
|
113 | 113 |
%{_datadir}/mime/packages/virt-viewer-mime.xml
|
114 | 114 |
%{_mandir}/man1/virt-viewer.1*
|
115 | 115 |
%{_mandir}/man1/remote-viewer.1*
|