Add google-chrome.xml with Google Chrome metadata

This commit is contained in:
Kalev Lember 2018-02-15 19:18:05 +01:00
parent cfc90a5989
commit 0518d0a303
2 changed files with 40 additions and 7 deletions

View File

@ -9,12 +9,13 @@ URL: https://github.com/hughsie/appstream-glib
Source1: https://dl.fedoraproject.org/pub/alt/screenshots/f28/fedora-%{version}.xml.gz
Source2: https://dl.fedoraproject.org/pub/alt/screenshots/f28/fedora-%{version}-icons.tar.gz
Source3: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/adobe-flash.xml
Source4: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/gstreamer-non-free.xml
Source5: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/other-repos.xml
Source6: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/webapps.xml
Source7: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/fedora-categories.xml
Source8: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/fedora-popular.xml
Source9: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/steam-oars.xml
Source4: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/google-chrome.xml
Source5: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/gstreamer-non-free.xml
Source6: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/other-repos.xml
Source7: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/webapps.xml
Source8: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/fedora-categories.xml
Source9: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/fedora-popular.xml
Source10 https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/steam-oars.xml
BuildRequires: libappstream-glib
@ -28,7 +29,7 @@ repositories and the extra data in fedora-appstream.
DESTDIR=%{buildroot} appstream-util install-origin fedora %{SOURCE1} %{SOURCE2}
DESTDIR=%{buildroot} appstream-util install \
%{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9}
%{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10}
%check
if ! gunzip -c %{buildroot}%{_datadir}/app-info/xmls/fedora.xml.gz | grep -q '<pkgname>gstreamer1-plugin-openh264</pkgname>' ; then
@ -50,6 +51,7 @@ fi
* Thu Feb 15 2018 Kalev Lember <klember@redhat.com> - 28-4
- New metadata version
- Sync other-repos.xml and webapps.xml with fedora-appstream
- Add google-chrome.xml with Google Chrome metadata
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 28-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

31
google-chrome.xml Normal file
View File

@ -0,0 +1,31 @@
<!-- Copyright 2017 The Chromium Authors -->
<?xml version="1.0" encoding="UTF-8"?>
<components version="0.8" origin="">
<component type="desktop">
<id>google-chrome.desktop</id>
<pkgname>google-chrome-stable</pkgname>
<!-- icon from https://play.google.com/store/apps/details?id=com.android.chrome -->
<icon type="remote">https://lh3.googleusercontent.com/nYhPnY2I-e9rpqnid9u9aAODz4C04OycEGxqHG5vxFnA35OGmLMrrUmhM9eaHKJ7liB-=w300</icon>
<update_contact>chromium-dev@chromium.org</update_contact>
<metadata_license>CC0-1.0</metadata_license>
<project_license>Freeware under Google Chrome Terms of Service</project_license>
<name>Google Chrome</name>
<summary>The web browser from Google</summary>
<description>
<p>
Google Chrome is a browser that combines a minimal design with sophisticated technology to make the web faster, safer, and easier.
</p>
</description>
<url type="homepage">https://chrome.google.com/</url>
<screenshots>
<screenshot type="default">
<image>https://www.gstatic.com/chrome/appstream/chrome-2.png</image>
<caption/>
</screenshot>
</screenshots>
<translation/>
<developer_name>Google</developer_name>
<url type="bugtracker">https://support.google.com/chrome/?p=feedback</url>
<url type="help">https://support.google.com/chrome</url>
</component>
</components>