Rename "appdata" to "metainfo"

The appdata name is now deprecated, according to: https://www.freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
This commit is contained in:
Rafał Dzięgiel
2021-01-21 14:29:14 +01:00
parent 340cb36ecd
commit 2e1f6203b3
3 changed files with 5 additions and 2 deletions

View File

@@ -13,6 +13,6 @@ install_data('com.github.rafostar.Clapper.xml',
install_data('com.github.rafostar.Clapper.desktop',
install_dir: join_paths(sharedir, 'applications')
)
install_data('com.github.rafostar.Clapper.appdata.xml',
install_data('com.github.rafostar.Clapper.metainfo.xml',
install_dir: join_paths(sharedir, 'metainfo')
)

View File

@@ -107,9 +107,12 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/mime/packages/%{appname}.xml
%{_datadir}/applications/*.desktop
%{_datadir}/metainfo/*.appdata.xml
%{_datadir}/metainfo/*.metainfo.xml
%changelog
* Thu Jan 21 2021 Rafostar <rafostar.github@gmail.com> - 0.0.0-8
- Use metainfo instead of deprecated appdata
* Mon Jan 18 2021 Rafostar <rafostar.github@gmail.com> - 0.0.0-7
- Remove gjs-1.0 files