Blame SPECS/appstream-data.spec

797a0d
%define gitdate 20190215
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
797a0d
# This is built using:
797a0d
# sshfs user@host:/media/bulk/mirror/RHEL mnt
797a0d
# reposync --repo rhel-8.0 -p mnt/rhel-8.0-candidate/
797a0d
# reposync --repo rhel-8.0-appstream -p mnt/rhel-8.0-appstream/
797a0d
# https://github.com/hughsie/appstream-scripts/blob/master/rhel/rhel-8.0-candidate.sh
797a0d
#
797a0d
# [rhel-8.0]
797a0d
# name=Nightly Packages for Enterprise Linux 8 - $basearch
797a0d
# baseurl=http://download.eng.brq.redhat.com/composes/nightly/latest-RHEL-8.0/compose/Client/x86_64/os/
797a0d
# enabled=0
797a0d
# gpgcheck=0
797a0d
#
797a0d
# [rhel-8.0-appstream]
797a0d
# name=Nightly Packages for Enterprise Linux 8 - $basearch
797a0d
# baseurl=http://download.eng.brq.redhat.com/composes/nightly/RHEL-8/additional-nightly/latest-RHEL-8/compose/AppStream/x86_64/os/
797a0d
# enabled=0
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
797a0d
DESTDIR=%{buildroot} appstream-util install-origin rhel-8 %{SOURCE1} %{SOURCE2}
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
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
797a0d
%dir %{_datadir}/app-info/xmls
797a0d
797a0d
%changelog
797a0d
* Fri Feb 15 2019 Richard Hughes <richard@hughsie.com> 8-20190215
797a0d
- Regenerate the RHEL metadata using rhel-8.0.0-appstream
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