Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

appstream: install metainfo.xml file #13

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package/yast2-tune.spec
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ fi

%files
%defattr(-,root,root)

%dir %{_datadir}/appdata
%{_datadir}/appdata/%{name}.metainfo.xml
%{yast_yncludedir}/hwinfo/*
%{yast_clientdir}/*.rb
%{yast_desktopdir}/hwinfo.desktop
Expand Down
8 changes: 6 additions & 2 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ desktop_DATA = \
desktop/system_settings.desktop \
desktop/hwinfo.desktop

EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(desktop_DATA)
metainfodir = $(datadir)/appdata
metainfo_DATA = \
metainfo/yast2-tune.metainfo.xml

include $(top_srcdir)/Makefile.am.common
EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(desktop_DATA) $(metainfo_DATA)

include $(top_srcdir)/Makefile.am.common
12 changes: 12 additions & 0 deletions src/metainfo/yast2-tune.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2015 Dominique Leuenberger <dimstar@opensuse.org> -->
<component type="addon">
<id>yast2-tune</id>
<extends>yast2.desktop</extends>
<name>Hardware Information</name>
<summary>View hardware information</summary>
<url type="homepage">https://github.com/yast/yast-tune</url>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<updatecontact>yast-devel@opensuse.org</updatecontact>
</component>