Blame SPECS/appstream-data.spec

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