public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/chromium] epel9-next: Add an AppData file so that Chromium appears in the software center
@ 2026-08-07 16:04 Richard Hughes
0 siblings, 0 replies; only message in thread
From: Richard Hughes @ 2026-08-07 16:04 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/chromium
Branch : epel9-next
Commit : a7e232457a0c4fce4f4a243a88c73fb5866e093e
Author : Richard Hughes <richard@hughsie.com>
Date : 2016-07-28T10:55:57+01:00
Stats : +50/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/a7e232457a0c4fce4f4a243a88c73fb5866e093e?branch=epel9-next
Log:
Add an AppData file so that Chromium appears in the software center
---
diff --git a/chromium-browser.appdata.xml b/chromium-browser.appdata.xml
new file mode 100644
index 0000000..a02cfc7
--- /dev/null
+++ b/chromium-browser.appdata.xml
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2016 Richard Hughes <richard@hughsie.com> -->
+<component type="desktop">
+ <id>chromium-browser.desktop</id>
+ <update_contact>richard@hughsie.com</update_contact>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>BSD-3-Clause and LGPL-2.1+ and Apache-2.0 and IJG and MIT and GPL-2.0+ and ISC and OpenSSL and (MPL-1.1 or GPL-2.0 or LGPL-2.0)</project_license>
+ <name>Chromium</name>
+ <summary>Web Browser</summary>
+ <description>
+ <p>
+ Chromium is an open-source browser that aims to build a safer, faster, and
+ more stable way to experience the web.
+ We invite you to join us in our effort to build a powerful platform for
+ developing a new generation of web applications.
+ </p>
+ <p>
+ Chromium does not include the non-free AAC, H.264, MP3 or Adobe Flash code
+ that is found in Chrome, although it does support Vorbis, Theora, WebM and
+ HTML5 audio and video standards.
+ </p>
+ </description>
+ <url type="homepage">https://www.chromium.org/Home</url>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/chromium-browser/a.png</image>
+ <caption/>
+ </screenshot>
+ <screenshot>
+ <image>https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/chromium-browser/b.png</image>
+ <caption/>
+ </screenshot>
+ </screenshots>
+ <translation/>
+ <developer_name>Google</developer_name>
+ <url type="bugtracker">https://www.chromium.org/for-testers/bug-reporting-guidelines</url>
+ <url type="help">https://chromium.googlesource.com/chromium/src/+/master/docs/linux_debugging.md</url>
+</component>
diff --git a/chromium.spec b/chromium.spec
index 4295b56..e2138f2 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -62,7 +62,7 @@ BuildRequires: libicu-devel >= 5.4
Name: chromium%{chromium_channel}
Version: 52.0.2743.82
-Release: 5%{?dist}
+Release: 6%{?dist}
Summary: A WebKit (Blink) powered web browser
Url: http://www.chromium.org/Home
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL and (MPLv1.1 or GPLv2 or LGPLv2)
@@ -127,6 +127,7 @@ Source8: get_linux_tests_names.py
Source9: chromium-browser.xml
Source10: https://dl.google.com/dl/edgedl/chrome/policy/policy_templates.zip
Source11: chrome-remote-desktop.service
+Source12: chromium-browser.appdata.xml
# We can assume gcc and binutils.
BuildRequires: gcc-c++
@@ -168,6 +169,9 @@ BuildRequires: liberation-sans-fonts
BuildRequires: sudo
%endif
+# for /usr/bin/appstream-util
+BuildRequires: libappstream-glib
+
# Fedora turns on NaCl
# NaCl needs these
BuildRequires: libstdc++-devel, openssl-devel
@@ -953,6 +957,9 @@ cp -a chrome/app/theme/chromium/product_logo_256.png %{buildroot}%{_datadir}/ico
mkdir -p %{buildroot}%{_datadir}/applications/
desktop-file-install --dir %{buildroot}%{_datadir}/applications %{SOURCE4}
+install -D -m0644 %{SOURCE12} ${RPM_BUILD_ROOT}%{_datadir}/appdata/%{chromium_browser_channel}.appdata.xml
+appstream-util validate-relax --nonet ${RPM_BUILD_ROOT}%{_datadir}/appdata/%{chromium_browser_channel}.appdata.xml
+
mkdir -p %{buildroot}%{_datadir}/gnome-control-center/default-apps/
cp -a %{SOURCE9} %{buildroot}%{_datadir}/gnome-control-center/default-apps/
@@ -1370,6 +1377,7 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%{_mandir}/man1/%{chromium_browser_channel}.*
%{_datadir}/icons/hicolor/256x256/apps/%{chromium_browser_channel}.png
%{_datadir}/applications/*.desktop
+%{_datadir}/appdata/*.appdata.xml
%{_datadir}/gnome-control-center/default-apps/chromium-browser.xml
%dir %{_sysconfdir}/chromium/policies/managed
@@ -1404,6 +1412,9 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt
%endif
%changelog
+* Thu Jul 28 2016 Richard Hughes <richard@hughsie.com> 52.0.2743.82-6
+- Add an AppData file so that Chromium appears in the software center
+
* Wed Jul 27 2016 Tom Callaway <spot@fedoraproject.org> 52.0.2743.82-5
- enable nacl/pnacl (chromium-native_client has landed in Fedora)
- fix chromium-browser.sh to report Fedora build target properly
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-07 16:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-07 16:04 [rpms/chromium] epel9-next: Add an AppData file so that Chromium appears in the software center Richard Hughes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox