Blame SPECS/appstream-data.spec

5b2923
%define gitdate 20200724
797a0d
797a0d
Summary:   Cached AppStream metadata
797a0d
Name:      appstream-data
797a0d
Version:   8
797a0d
Release:   %{gitdate}%{?dist}
797a0d
BuildArch: noarch
797a0d
License:   CC0 and CC-BY and CC-BY-SA and GFDL
797a0d
URL:       http://people.redhat.com/rhughes/metadata/
797a0d
Source1:   http://people.redhat.com/rhughes/metadata/rhel-%{version}-%{gitdate}.xml.gz
797a0d
Source2:   http://people.redhat.com/rhughes/metadata/rhel-%{version}-%{gitdate}-icons.tar.gz
797a0d
Source3:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/adobe-flash.xml
797a0d
Source4:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/gstreamer-non-free.xml
797a0d
Source5:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/other-repos.xml
797a0d
Source6:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/fedora-categories.xml
797a0d
Source7:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/fedora-popular.xml
797a0d
5b2923
# extra applications not in RHEL
5b2923
Source9:   http://people.redhat.com/rhughes/metadata/epel-%{version}-%{gitdate}.xml.gz
5b2923
Source10:  http://people.redhat.com/rhughes/metadata/epel-%{version}-%{gitdate}-icons.tar.gz
5b2923
797a0d
# This is built using:
5b2923
# dnf install fuse-sshfs -y
66e46a
# sshfs user@host:/mnt/mirror/RHEL mnt
66e46a
# dnf reposync --setopt=*.module_hotfixes=1 --repo rhel-8-baseos -p mnt/ &> rhel-8-baseos.log
66e46a
# dnf reposync --setopt=*.module_hotfixes=1 --repo rhel-8-appstream -p mnt/ &> rhel-8-appstream.log
66e46a
# dnf reposync --setopt=*.module_hotfixes=1 --repo rhel-8-crb -p mnt/ &> rhel-8-crb.log
66e46a
# https://github.com/hughsie/appstream-scripts/blob/master/rhel/rhel-8.1-candidate.sh
797a0d
#
66e46a
# [rhel-8-baseos]
66e46a
# name=Nightly Packages for Enterprise Linux 8
66e46a
# baseurl=http://download.eng.brq.redhat.com/composes/nightly/latest-RHEL-8/compose/BaseOS/x86_64/os/
66e46a
# enabled=1
797a0d
# gpgcheck=0
797a0d
#
66e46a
# [rhel-8-appstream]
66e46a
# name=Nightly Packages for Enterprise Linux 8
66e46a
# baseurl=http://download.eng.brq.redhat.com/composes/nightly/latest-RHEL-8/compose/AppStream/x86_64/os/
66e46a
# enabled=1
66e46a
# gpgcheck=0
66e46a
#
66e46a
# [rhel-8-crb]
66e46a
# name=Nightly Packages for Enterprise Linux 8
66e46a
# baseurl=http://download.eng.brq.redhat.com/composes/nightly/latest-RHEL-8/compose/CRB/x86_64/os/
66e46a
# enabled=1
797a0d
# gpgcheck=0
797a0d
797a0d
BuildRequires: libappstream-glib
797a0d
797a0d
%description
797a0d
This package provides the distribution specific AppStream metadata required
797a0d
for the GNOME and KDE software centers.
797a0d
797a0d
%install
797a0d
5b2923
DESTDIR=%{buildroot} appstream-util install-origin rhel-%{version} %{SOURCE1} %{SOURCE2}
5b2923
DESTDIR=%{buildroot} appstream-util install-origin epel-%{version} %{SOURCE9} %{SOURCE10}
797a0d
DESTDIR=%{buildroot} appstream-util install \
797a0d
	%{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7}
797a0d
797a0d
%files
797a0d
%attr(0644,root,root) %{_datadir}/app-info/xmls/*
797a0d
%{_datadir}/app-info/icons/rhel-%{version}/*/*.png
5b2923
%{_datadir}/app-info/icons/epel-%{version}/*/*.png
797a0d
%dir %{_datadir}/app-info
797a0d
%dir %{_datadir}/app-info/icons
797a0d
%dir %{_datadir}/app-info/icons/rhel-%{version}/64x64
797a0d
%dir %{_datadir}/app-info/icons/rhel-%{version}/128x128
5b2923
%dir %{_datadir}/app-info/icons/epel-%{version}/64x64
5b2923
%dir %{_datadir}/app-info/icons/epel-%{version}/128x128
797a0d
%dir %{_datadir}/app-info/xmls
797a0d
797a0d
%changelog
5b2923
* Fri Jul 24 2020 Richard Hughes <richard@hughsie.com> 8-20200724
5b2923
- Regenerate the RHEL metadata to include the EPEL apps too
5b2923
- Resolves: #1844488
5b2923
5b2923
* Tue Jun 30 2020 Richard Hughes <richard@hughsie.com> 8-20200630
5b2923
- Regenerate the RHEL metadata
5b2923
- Resolves: #1844488
5b2923
66e46a
* Fri Nov 29 2019 Richard Hughes <richard@hughsie.com> 8-20191129
66e46a
- Regenerate the RHEL metadata to include the latest evince changes
66e46a
- Resolves: #1768461
66e46a
66e46a
* Mon Aug 05 2019 Richard Hughes <richard@hughsie.com> 8-20190805
66e46a
- Regenerate the RHEL metadata to include the latest cockpit changes
66e46a
- Resolves: #1673011
66e46a
66e46a
* Fri Jul 19 2019 Richard Hughes <richard@hughsie.com> 8-20190719
66e46a
- Regenerate the RHEL metadata
797a0d
- Resolves: #1673011
797a0d
797a0d
* Fri Jul 20 2018 Richard Hughes <richard@hughsie.com> 8-20180721
797a0d
- Regenerate the RHEL metadata using rhel-8.0-appstream
797a0d
797a0d
* Thu Jul 19 2018 Richard Hughes <richard@hughsie.com> 8-20180720
797a0d
- Regenerate the RHEL metadata using rhel-8.0-candidate
797a0d