Blame SPECS/appstream-data.spec

166dfc
%define gitdate 20180614
166dfc
166dfc
Summary:   Cached AppStream metadata
166dfc
Name:      appstream-data
166dfc
Version:   7
166dfc
Release:   %{gitdate}%{?dist}
166dfc
BuildArch: noarch
166dfc
License:   CC0 and CC-BY and CC-BY-SA and GFDL
166dfc
URL:       http://people.redhat.com/rhughes/metadata/
166dfc
Source1:   http://people.redhat.com/rhughes/metadata/rhel-%{version}-%{gitdate}.xml.gz
166dfc
Source2:   http://people.redhat.com/rhughes/metadata/rhel-%{version}-%{gitdate}-icons.tar.gz
166dfc
Source3:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/adobe-flash.xml
166dfc
Source4:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/gstreamer-non-free.xml
166dfc
Source5:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/other-repos.xml
166dfc
166dfc
# specially prepared for RHEL
166dfc
Source6:   ibus.xml
166dfc
Source7:   fonts.xml.gz
166dfc
Source8:   fonts-icons.tar.gz
166dfc
166dfc
# extra applications not in RHEL
166dfc
Source9:   http://people.redhat.com/rhughes/metadata/epel-%{version}-%{gitdate}.xml.gz
166dfc
Source10:  http://people.redhat.com/rhughes/metadata/epel-%{version}-%{gitdate}-icons.tar.gz
166dfc
166dfc
# This is built using:
166dfc
# sshfs user@host:/media/bulk/mirror/RHEL mnt
166dfc
# reposync --repo rhel-7.6 -p mnt/rhel-7.6-candidate/
166dfc
# https://github.com/hughsie/appstream-scripts/blob/master/rhel/rhel-7.6-candidate.sh
166dfc
#
166dfc
# [rhel-7.6]
166dfc
# name=Nightly Packages for Enterprise Linux 7 - $basearch
166dfc
# baseurl=http://download.eng.brq.redhat.com/composes/nightly/latest-RHEL-7.6/compose/Client/x86_64/os/
166dfc
# enabled=0
166dfc
# gpgcheck=0
166dfc
#
166dfc
# For a long time (but not long enough to be older than the original release of
166dfc
# RHEL 7) we require applications to ship with AppData files if they want to
166dfc
# show up in the software center.
166dfc
#
166dfc
# Do avoid dropping important apps without .appdata.xml files we will grab
166dfc
# metadata from Fedora 23,24,25 for the missing components.
166dfc
#
166dfc
# So we never drop applications from one RHEL release to the next we'll also do:
166dfc
#
166dfc
# appstream-util merge-appstream rhel-7-new.xml.gz old/rhel-7.xml.gz new/rhel-7.xml.gz
166dfc
# appstream-util merge-appstream epel-7-new.xml.gz old/epel-7.xml.gz new/epel-7.xml.gz
166dfc
#
166dfc
# ...and then you must manually MERGE the icon tarballs rather than replacing
166dfc
# the tarball with the generated copy.
166dfc
#
166dfc
# You can also verify what was added or removed using:
166dfc
# appstream-util compare old/epel-7.xml.gz new/epel-7.xml.gz
166dfc
166dfc
BuildRequires: libappstream-glib
166dfc
166dfc
%description
166dfc
This package provides the distribution specific AppStream metadata required
166dfc
for the GNOME and KDE software centers.
166dfc
166dfc
%install
166dfc
166dfc
DESTDIR=%{buildroot} appstream-util install-origin rhel-7 %{SOURCE1} %{SOURCE2}
166dfc
DESTDIR=%{buildroot} appstream-util install-origin epel-7 %{SOURCE9} %{SOURCE10}
166dfc
DESTDIR=%{buildroot} appstream-util install \
166dfc
	%{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} %{SOURCE7} %{SOURCE8}
166dfc
166dfc
# work around the font origin issue
166dfc
mv %{buildroot}/usr/share/app-info/icons/fonts/64x64/* %{buildroot}/usr/share/app-info/icons/rhel-%{version}/64x64/
166dfc
rmdir %{buildroot}/usr/share/app-info/icons/fonts/64x64
166dfc
rmdir %{buildroot}/usr/share/app-info/icons/fonts
166dfc
166dfc
%files
166dfc
%attr(0644,root,root) %{_datadir}/app-info/xmls/*
166dfc
%{_datadir}/app-info/icons/rhel-%{version}/*/*.png
166dfc
%{_datadir}/app-info/icons/epel-%{version}/*/*.png
166dfc
%dir %{_datadir}/app-info
166dfc
%dir %{_datadir}/app-info/icons
166dfc
%dir %{_datadir}/app-info/icons/rhel-%{version}/64x64
166dfc
%dir %{_datadir}/app-info/icons/rhel-%{version}/128x128
166dfc
%dir %{_datadir}/app-info/icons/epel-%{version}/64x64
166dfc
%dir %{_datadir}/app-info/icons/epel-%{version}/128x128
166dfc
%dir %{_datadir}/app-info/xmls
166dfc
166dfc
%changelog
166dfc
* Thu Jun 14 2018 Richard Hughes <richard@hughsie.com> 7-20180614
166dfc
- Regenerate the RHEL metadata using rhel-7.6-candidate
166dfc
- Resolves: RHBZ#1570031
166dfc
166dfc
* Wed Mar 01 2017 Richard Hughes <richard@hughsie.com> 7-20170301
166dfc
- Rename the generated metadata files to placate RPMDiff.
166dfc
- Resolves: RHBZ#1386778
166dfc
166dfc
* Wed Mar 01 2017 Richard Hughes <richard@hughsie.com> 7-7
166dfc
- Regenerate the RHEL metadata using rhel-7.4-candidate
166dfc
- Resolves: RHBZ#1386778
166dfc
166dfc
* Wed Jul 29 2015 Richard Hughes <richard@hughsie.com> 7-6
166dfc
- Use a Red Hat screenshot mirror location
166dfc
- Resolves: #1237362
166dfc
166dfc
* Thu Jun 18 2015 Richard Hughes <richard@hughsie.com> 7-5
166dfc
- Do not duplicate the RHEL-7 icons in EPEL-7
166dfc
- Resolves: #1184202
166dfc
166dfc
* Thu Jun 18 2015 Richard Hughes <richard@hughsie.com> 7-4
166dfc
- Add the applications from EPEL 7
166dfc
- Resolves: #1184202
166dfc
166dfc
* Wed Jun 17 2015 Richard Hughes <richard@hughsie.com> 7-3
166dfc
- Add the missing GStreamer, fonts and IBus metadata
166dfc
- Resolves: #1184202
166dfc
166dfc
* Tue Jun 16 2015 Richard Hughes <richard@hughsie.com> 7-2
166dfc
- Regenerate the RHEL metadata using rhel-7.2-candidate
166dfc
- Ship HiDPI icons
166dfc
- Resolves: #1184202
166dfc
166dfc
* Thu Oct 29 2014 Richard Hughes <richard@hughsie.com> 7-1
166dfc
- Initial metadata version
166dfc
- Resolves: #1184202