Blame SPECS/appstream-data.spec

72d63f
Summary:   Cached AppStream metadata
72d63f
Name:      appstream-data
72d63f
Version:   7
72d63f
Release:   6%{?dist}
72d63f
BuildArch: noarch
72d63f
License:   CC0 and CC-BY and CC-BY-SA and GFDL
72d63f
URL:       http://people.redhat.com/rhughes/metadata/
72d63f
Source1:   http://people.redhat.com/rhughes/metadata/rhel-%{version}.xml.gz
72d63f
Source2:   http://people.redhat.com/rhughes/metadata/rhel-%{version}-icons.tar.gz
72d63f
Source3:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/adobe-flash.xml
72d63f
Source4:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/gstreamer-non-free.xml
72d63f
Source5:   https://raw.githubusercontent.com/hughsie/fedora-appstream/master/appstream-extra/other-repos.xml
72d63f
72d63f
# specially prepared for RHEL
72d63f
Source6:   ibus.xml
72d63f
Source7:   fonts.xml.gz
72d63f
Source8:   fonts-icons.tar.gz
72d63f
72d63f
# extra applications not in RHEL
72d63f
Source9:   http://people.redhat.com/rhughes/metadata/epel-%{version}.xml.gz
72d63f
Source10:  http://people.redhat.com/rhughes/metadata/epel-%{version}-icons.tar.gz
72d63f
72d63f
# This is built using:
72d63f
# sshfs user@host:/media/mirror/RHEL /media/mirror/
72d63f
# reposync -r rhel-7.2-candidate -p /media/mirror/
72d63f
# https://github.com/hughsie/appstream-scripts/blob/master/rhel/rhel-7.2-candidate.sh
72d63f
#
72d63f
# Be sure to use appstream-glib 0.4.1 or newer when generating!
72d63f
72d63f
BuildRequires: libappstream-glib
72d63f
72d63f
%description
72d63f
This package provides the distribution specific AppStream metadata required
72d63f
for the GNOME and KDE software centers.
72d63f
72d63f
%install
72d63f
72d63f
DESTDIR=%{buildroot} appstream-util install %{SOURCE1} %{SOURCE2}
72d63f
DESTDIR=%{buildroot} appstream-util install \
72d63f
	%{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE6} \
72d63f
	%{SOURCE7} %{SOURCE8} %{SOURCE9} %{SOURCE10}
72d63f
72d63f
# work around the not-yet-in-rhel install-origin
72d63f
mv %{buildroot}/usr/share/app-info/icons/fonts/64x64/* %{buildroot}/usr/share/app-info/icons/rhel-%{version}/64x64/
72d63f
rmdir %{buildroot}/usr/share/app-info/icons/fonts/64x64
72d63f
rmdir %{buildroot}/usr/share/app-info/icons/fonts
72d63f
72d63f
%files
72d63f
%attr(0644,root,root) %{_datadir}/app-info/xmls/*
72d63f
%{_datadir}/app-info/icons/rhel-%{version}/*/*.png
72d63f
%{_datadir}/app-info/icons/epel-%{version}/*/*.png
72d63f
%dir %{_datadir}/app-info
72d63f
%dir %{_datadir}/app-info/icons
72d63f
%dir %{_datadir}/app-info/icons/rhel-%{version}/64x64
72d63f
%dir %{_datadir}/app-info/icons/rhel-%{version}/128x128
72d63f
%dir %{_datadir}/app-info/icons/epel-%{version}/64x64
72d63f
%dir %{_datadir}/app-info/icons/epel-%{version}/128x128
72d63f
%dir %{_datadir}/app-info/xmls
72d63f
72d63f
%changelog
72d63f
* Wed Jul 29 2015 Richard Hughes <richard@hughsie.com> 7-6
72d63f
- Use a Red Hat screenshot mirror location
72d63f
- Resolves: #1237362
72d63f
72d63f
* Thu Jun 18 2015 Richard Hughes <richard@hughsie.com> 7-5
72d63f
- Do not duplicate the RHEL-7 icons in EPEL-7
72d63f
- Resolves: #1184202
72d63f
72d63f
* Thu Jun 18 2015 Richard Hughes <richard@hughsie.com> 7-4
72d63f
- Add the applications from EPEL 7
72d63f
- Resolves: #1184202
72d63f
72d63f
* Wed Jun 17 2015 Richard Hughes <richard@hughsie.com> 7-3
72d63f
- Add the missing GStreamer, fonts and IBus metadata
72d63f
- Resolves: #1184202
72d63f
72d63f
* Tue Jun 16 2015 Richard Hughes <richard@hughsie.com> 7-2
72d63f
- Regenerate the RHEL metadata using rhel-7.2-candidate
72d63f
- Ship HiDPI icons
72d63f
- Resolves: #1184202
72d63f
72d63f
* Thu Oct 29 2014 Richard Hughes <richard@hughsie.com> 7-1
72d63f
- Initial metadata version
72d63f
- Resolves: #1184202