New metadata version

This commit is contained in:
Richard Hughes 2021-08-05 15:54:20 +01:00
parent 77ff3851d8
commit 192bb9d26c
5 changed files with 84 additions and 398 deletions

46
.gitignore vendored
View File

@ -1,28 +1,18 @@
/fedora-21-icons.tar.gz
/fedora-21.xml.gz
/fedora-22-icons.tar.gz
/fedora-22.xml.gz
/fedora-23.xml.gz
/fedora-23-icons.tar.gz
/fedora-24.xml.gz
/fedora-24-icons.tar.gz
/fedora-25.xml.gz
/fedora-25-icons.tar.gz
/fedora-26.xml.gz
/fedora-26-icons.tar.gz
/fedora-27.xml.gz
/fedora-27-icons.tar.gz
/fedora-28.xml.gz
/fedora-28-icons.tar.gz
/fedora-29.xml.gz
/fedora-29-icons.tar.gz
/fedora-30.xml.gz
/fedora-30-icons.tar.gz
/fedora-31.xml.gz
/fedora-31-icons.tar.gz
/fedora-32.xml.gz
/fedora-32-icons.tar.gz
/fedora-33.xml.gz
/fedora-33-icons.tar.gz
/fedora-34.xml.gz
/fedora-34-icons.tar.gz
/rhel-8-20180720-icons.tar.gz
/rhel-8-20180720.xml.gz
/rhel-8-20180721-icons.tar.gz
/rhel-8-20180721.xml.gz
/rhel-8-20190719-icons.tar.gz
/rhel-8-20190719.xml.gz
/rhel-8-20190805-icons.tar.gz
/rhel-8-20190805.xml.gz
/rhel-8-20191129-icons.tar.gz
/rhel-8-20191129.xml.gz
/rhel-8-20200630-icons.tar.gz
/rhel-8-20200630.xml.gz
/rhel-8-20200724-icons.tar.gz
/rhel-8-20200724.xml.gz
/epel-8-20200724-icons.tar.gz
/epel-8-20200724.xml.gz
/rhel-9-20210805.xml.gz
/rhel-9-20210805-icons.tar.gz

View File

@ -1,51 +1,71 @@
Summary: Fedora AppStream metadata
%define gitdate 20210805
%global enable_epel 0
Summary: Cached AppStream metadata
Name: appstream-data
Version: 34
Release: 2%{?dist}
Epoch: 1
Version: 9
Release: %{gitdate}%{?dist}
BuildArch: noarch
License: CC0 and CC-BY and CC-BY-SA and GFDL
URL: https://github.com/hughsie/appstream-glib
Source1: https://dl.fedoraproject.org/pub/alt/screenshots/f%{version}/fedora-%{version}.xml.gz
Source2: https://dl.fedoraproject.org/pub/alt/screenshots/f%{version}/fedora-%{version}-icons.tar.gz
URL: http://people.redhat.com/rhughes/metadata/
Source1: http://people.redhat.com/rhughes/metadata/rhel-%{version}-%{gitdate}.xml.gz
Source2: http://people.redhat.com/rhughes/metadata/rhel-%{version}-%{gitdate}-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/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
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/fedora-categories.xml
Source7: https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/fedora-popular.xml
# extra applications not in RHEL
%if 0%{?enable_epel}
Source9: http://people.redhat.com/rhughes/metadata/epel-%{version}-%{gitdate}.xml.gz
Source10: http://people.redhat.com/rhughes/metadata/epel-%{version}-%{gitdate}-icons.tar.gz
%endif
# This is built using:
# ARCHIVE_PATH=/run/media/hughsie/Backup/mirror
# dnf reposync --setopt=*.module_hotfixes=1 --repo rhel-9-baseos -p ${ARCHIVE_PATH}/RHEL/ &> rhel-9-baseos.log
# dnf reposync --setopt=*.module_hotfixes=1 --repo rhel-9-appstream -p ${ARCHIVE_PATH}/RHEL/ &> rhel-9-appstream.log
# dnf reposync --setopt=*.module_hotfixes=1 --repo rhel-9-crb -p ${ARCHIVE_PATH}/RHEL/ &> rhel-9-crb.log
# https://github.com/hughsie/appstream-scripts/blob/master/rhel/rhel-9-candidate.sh
BuildRequires: libappstream-glib
%description
This package provides the distribution specific AppStream metadata required
for the GNOME and KDE software centers. The appstream data is built weekly with
/usr/bin/appstream-builder, combining the data from RPM packages in official
repositories and the extra data in fedora-appstream.
for the GNOME and KDE software centers.
%install
DESTDIR=%{buildroot} appstream-util install-origin fedora %{SOURCE1} %{SOURCE2}
DESTDIR=%{buildroot} appstream-util install-origin rhel-%{version} %{SOURCE1} %{SOURCE2}
%if 0%{?enable_epel}
DESTDIR=%{buildroot} appstream-util install-origin epel-%{version} %{SOURCE9} %{SOURCE10}
%endif
DESTDIR=%{buildroot} appstream-util install \
%{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8} %{SOURCE9}
%check
if ! gunzip -c %{buildroot}%{_datadir}/app-info/xmls/fedora.xml.gz | grep -q '<pkgname>gstreamer1-plugin-openh264</pkgname>' ; then
echo "missing gstreamer1-plugin-openh264"
exit 1
fi
%{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7}
%files
%attr(0644,root,root) %{_datadir}/app-info/xmls/*
%{_datadir}/app-info/icons/fedora/*/*.png
%{_datadir}/app-info/icons/rhel-%{version}/*/*.png
%if 0%{?enable_epel}
%{_datadir}/app-info/icons/epel-%{version}/*/*.png
%endif
%dir %{_datadir}/app-info
%dir %{_datadir}/app-info/icons
%dir %{_datadir}/app-info/icons/fedora
%dir %{_datadir}/app-info/icons/fedora/64x64
%dir %{_datadir}/app-info/icons/fedora/128x128
%dir %{_datadir}/app-info/icons/rhel-%{version}/64x64
%dir %{_datadir}/app-info/icons/rhel-%{version}/128x128
%if 0%{?enable_epel}
%dir %{_datadir}/app-info/icons/epel-%{version}/64x64
%dir %{_datadir}/app-info/icons/epel-%{version}/128x128
%endif
%dir %{_datadir}/app-info/xmls
%changelog
* Thu Aug 05 2021 Richard Hughes <richard@hughsie.com> 1:9-20210805
- New metadata version
- Resolves: rhbz#1926838
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 34-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937

17
rhel.repo Normal file
View File

@ -0,0 +1,17 @@
[rhel-9-baseos]
name=Nightly Packages for Enterprise Linux 9
baseurl=http://download.eng.brq.redhat.com/rhel-9/development/RHEL-9/latest-RHEL-9/compose/BaseOS/x86_64/os/
enabled=1
gpgcheck=0
[rhel-9-appstream]
name=Nightly Packages for Enterprise Linux 9
baseurl=http://download.eng.brq.redhat.com/rhel-9/development/RHEL-9/latest-RHEL-9/compose/AppStream/x86_64/os/
enabled=1
gpgcheck=0
[rhel-9-crb]
name=Nightly Packages for Enterprise Linux 9
baseurl=http://download.eng.brq.redhat.com/rhel-9/development/RHEL-9/latest-RHEL-9/compose/CRB/x86_64/os/
enabled=1
gpgcheck=0

View File

@ -1,2 +1,2 @@
SHA512 (fedora-34.xml.gz) = f66ede272a2a6522ebd58ce319b2de58c12af95986ae92621cfcbfa91801017ea85613dfd1146e79306de2ce21475e5e5be0c75e9b9840b1004ab9b23b47fbf3
SHA512 (fedora-34-icons.tar.gz) = df2a6cdd4df64f1931c561f93239861cc18514f972327b1502639d77d90f97b5efaa544b4180f33083e01ab8ef7912cc81e5c914ceb66b8440aa4b0a2db09c7a
SHA512 (rhel-9-20210805.xml.gz) = 5610e4d58221f88c484226794ffb483123b0358922d6780f4badcc6d3c6b699aef4c04a2293f1c8b23c3f883d5ce61a82163f214ca6857d2d53be032213d8c79
SHA512 (rhel-9-20210805-icons.tar.gz) = b86e111419cce4f48db99f76a35976783949ea7d9acc6def160c6718d672d72e6c12a6f24c4d8075cfbe3f7b3c9314d6cafe154163df7793f224a9ce7d275b7f

View File

@ -1,341 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<components version="0.8" origin="">
<component type="webapp">
<id>epiphany-kindlecloud.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>proprietary</project_license>
<name>Kindle Cloud Reader</name>
<summary>Read instantly in your browser</summary>
<description>
<p>
Buy Once, Read Everywhere: You don't need to own a Kindle device to
enjoy Kindle books.
Automatically save and synchronize your furthest page read, bookmarks,
notes, and highlights across all your devices.
That means you can start reading a book on one device, and pick up where
you left off on another device.
</p>
<p>
Read the first chapter of a book before you decide whether to buy it.
Read thousands of free books with a Kindle app, including popular
classics like The Adventures of Sherlock Holmes, Pride and Prejudice,
and Treasure Island.
</p>
<p>
To use the Kindle Cloud reader you must have Amazon.com account.
</p>
</description>
<icon type="remote">http://g-ecx.images-amazon.com/images/G/01/kindle/www/ariel/kindle-icon-kcp120._SL90_.png</icon>
<categories>
<category>Education</category>
<category>Literature</category>
</categories>
<keywords>
<keyword>book</keyword>
<keyword>ebook</keyword>
<keyword>reader</keyword>
</keywords>
<url type="homepage">https://read.amazon.com</url>
<metadata>
<value key="X-Kudo-Popular"/>
<value key="X-Needs-Dark-Theme"/>
</metadata>
</component>
<component type="webapp">
<id>epiphany-askfedora.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0+</project_license>
<name>Ask Fedora</name>
<summary>A community knowledge base and support forum</summary>
<description>
<p>
Ask Fedora is a community knowledge base and support forum and
designed to be the primary place for community support in Fedora.
</p>
</description>
<icon type="local">/usr/share/icons/hicolor/256x256/apps/fedora-logo-icon.png</icon>
<categories>
<category>Documentation</category>
<category>System</category>
</categories>
<keywords>
<keyword>help</keyword>
<keyword>question</keyword>
<keyword>troubleshooting</keyword>
</keywords>
<url type="homepage">https://ask.fedoraproject.org</url>
<metadata>
<value key="X-Kudo-Popular"/>
</metadata>
</component>
<component type="webapp">
<id>epiphany-bbciplayer.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>proprietary</project_license>
<name>BBC iPlayer</name>
<summary>Catch up on BBC TV and Radio programmes, or watch/listen live</summary>
<description>
<p>
Watch live BBC channels, listen to BBC radios, or catch up on programmes
from the last 7 days.
Drama, soaps, news, sport and currents affairs, or comedy, whatever your
mood, you will find a BBC programme to suit you.
</p>
<p>
To use BBC iPlayer you must be located in the UK and pay a TV licence.
</p>
</description>
<icon type="remote">http://www.bbc.co.uk/terms/images/stock/bbciplayer_logo_black.jpg</icon>
<categories>
<category>TV</category>
<category>Video</category>
</categories>
<keywords>
<keyword>drama</keyword>
<keyword>entertainment</keyword>
<keyword>iplayer</keyword>
<keyword>news</keyword>
</keywords>
<url type="homepage">http://www.bbc.co.uk/iplayer/bigscreen</url>
<metadata>
<value key="X-Kudo-Popular"/>
<value key="X-Needs-Dark-Theme"/>
<value key="X-Needs-Flash"/>
</metadata>
</component>
<component type="webapp">
<id>devdocs-io.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>MPL-2.0</project_license>
<name>Devdocs.io</name>
<summary>Easily view and search developer documentation</summary>
<description>
<p>
Devdocs.io is a small application that allows you to quickly search and view
developer documentation for various programming langauges and libraries.
</p>
</description>
<icon type="remote">http://devdocs.io/images/webapp-icon-256.png</icon>
<categories>
<category>Development</category>
</categories>
<keywords>
<keyword>developer</keyword>
<keyword>documentation</keyword>
<keyword>programming</keyword>
</keywords>
<url type="homepage">http://devdocs.io/</url>
<metadata>
<value key="X-Kudo-Popular"/>
</metadata>
</component>
<component type="webapp">
<id>epiphany-dropbox.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>proprietary</project_license>
<name>Dropbox</name>
<summary>A free service that shares your documents easily</summary>
<description>
<p>
Dropbox is a free service that lets you bring your photos, docs, and
videos anywhere and share them easily.
</p>
<p>
To use Dropbox you need to be over the age of 13.
</p>
</description>
<icon type="remote">https://www.dropbox.com/s/hi2dcyswjhcj5yr/dropbox-linux.png?dl=1</icon>
<keywords>
<keyword>dropbox</keyword>
<keyword>sync</keyword>
</keywords>
<url type="homepage">http://www.dropbox.com/</url>
<metadata>
<value key="X-Kudo-Popular"/>
</metadata>
</component>
<component type="webapp">
<id>epiphany-facebook.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>proprietary</project_license>
<name>Facebook</name>
<summary>Give people the power to share</summary>
<description>
<p>
Facebook is the world's most popular social networking website.
It makes it easy for you to connect and share with your family and
friends online.
</p>
<p>
To use Facebook you need a Facebook login and be over the age of 13.
</p>
</description>
<icon type="remote">https://www.facebook.com/images/fb_icon_325x325.png</icon>
<categories>
<category>InstantMessaging</category>
<category>Network</category>
</categories>
<keywords>
<keyword>facebook</keyword>
</keywords>
<url type="homepage">http://www.facebook.com/</url>
<metadata>
<value key="X-Kudo-Popular"/>
</metadata>
</component>
<component type="webapp">
<id>epiphany-googledrive.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>proprietary</project_license>
<name>Google Drive</name>
<summary>Everything you need, everywhere you go</summary>
<description>
<p>
Google Drive allows you to upload photos, videos, documents, and other
files that are important to you to Google Drive.
Get going with up to 15GB of storage.
With Drive, your stuff goes where you go.
You can organize, edit and share it from any computer at drive.google.com,
or on the go with the Drive mobile app.
</p>
<p>
Drive comes with built in apps to help you get stuff done.
Write a short story. Create a shared budget with your roommates.
Sign and fax an important document.
Everything you make is automatically saved in Drive.
</p>
<p>
To use Google Drive you need to be over the age of 13.
</p>
</description>
<icon type="remote">http://www.google.com/images/icons/product/drive-64.png</icon>
<keywords>
<keyword>drive</keyword>
</keywords>
<url type="homepage">http://drive.google.com/</url>
<metadata>
<value key="X-Kudo-Popular"/>
</metadata>
</component>
<component type="webapp">
<id>epiphany-googlemaps.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>proprietary</project_license>
<name>Google Maps</name>
<summary>A web mapping service application and technology</summary>
<description>
<p>
Offers street maps, a route planner for traveling by foot, car, bike,
or with public transportation and a locator for urban businesses in
numerous countries around the world.
</p>
<p>
Google Maps satellite images are not updated in real time, but rather
they are several months or years old.
</p>
<p>
To use Google Maps you need to be over the age of 13.
</p>
</description>
<icon type="remote">https://developers.google.com/maps/web/images/embed-places-icon.png</icon>
<categories>
<category>Maps</category>
<category>Science</category>
</categories>
<keywords>
<keyword>directions</keyword>
</keywords>
<url type="homepage">https://www.google.com/maps</url>
<metadata>
<value key="X-Kudo-Popular"/>
</metadata>
</component>
<component type="addon">
<id>libnpgoogletalk.so</id>
<pkgname>google-talkplugin</pkgname>
<metadata_license>CC0-1.0</metadata_license>
<project_license>proprietary</project_license>
<name>Google Talk</name>
<summary>Bring your conversations to life with video calls for free</summary>
<description>
<p>
Have voice and video conversations from your computer.
The plugin is free and installs in seconds.
</p>
<p>
Send photos or emoji, see when people are engaged in the Hangout and
message friends anytime, even if they're not connected right now.
</p>
<p>
Hangouts works on computers, Android and Apple devices, so you can
connect with everyone, and no one gets left out.
</p>
</description>
<icon type="stock">application-x-executable</icon>
<keywords>
<keyword>google</keyword>
<keyword>talk</keyword>
</keywords>
<url type="homepage">https://www.google.com/tools/dlpage/hangoutplugin</url>
<extends>epiphany.desktop</extends>
<extends>firefox.desktop</extends>
<extends>midori.desktop</extends>
<metadata>
<value key="X-Kudo-Popular"/>
</metadata>
</component>
<component type="webapp">
<id>epiphany-twitter.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>proprietary</project_license>
<name>Twitter</name>
<summary>Start a conversation, explore your interests, and be in the know</summary>
<description>
<p>
Twitter is a micro-blogging website that lets you 'Tweet' messages of
up to 140 characters in length.
</p>
<p>
To use Twitter you need a twitter account and be over the age of 13.
</p>
</description>
<icon type="remote">https://abs.twimg.com/a/1381897480/images/resources/twitter-bird-blue-on-white.png</icon>
<categories>
<category>InstantMessaging</category>
<category>Network</category>
</categories>
<keywords>
<keyword>tweet</keyword>
<keyword>twitter</keyword>
</keywords>
<url type="homepage">http://www.twitter.com/</url>
<metadata>
<value key="X-Kudo-Popular"/>
</metadata>
</component>
<component type="webapp">
<id>epiphany-telegram.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>proprietary</project_license>
<name>Telegram Web</name>
<summary>Telegram is an instant messaging app focused on speed and security</summary>
<description>
<p>
Telegram is an instant messaging app focused on speed and security.
</p>
</description>
<icon type="remote">https://web.telegram.org/img/icons/icon128.png</icon>
<categories>
<category>InstantMessaging</category>
<category>Network</category>
</categories>
<keywords>
<keyword>telegram</keyword>
</keywords>
<url type="homepage">https://web.telegram.org/</url>
<launchable type="url">https://web.telegram.org/</launchable>
<metadata>
<value key="X-Kudo-Popular"/>
</metadata>
</component>
</components>