Blob Blame History Raw
Summary:   Fedora AppStream metadata
Name:      appstream-data
Version:   21
Release:   2%{?dist}
BuildArch: noarch
License:   CC0 and CC-BY and CC-BY-SA and GFDL
URL:       https://github.com/hughsie/createrepo_as
Source1:   http://people.freedesktop.org/~hughsient/temp/fedora-%{version}.xml.gz
Source2:   http://people.freedesktop.org/~hughsient/temp/fedora-%{version}-icons.tar.gz

BuildRequires: libappstream-glib

%description
This package provides the distribution specific AppStream metadata required
for the GNOME and KDE software centers. The upstream data is built weekly using
createrepo_as and the extra data in fedora-appstream.

%install

DESTDIR=%{buildroot} appstream-util install %{SOURCE1} %{SOURCE2}

%files
%attr(0644,root,root) %{_datadir}/app-info/xmls/*
%{_datadir}/app-info/icons/fedora-%{version}/*.png
%dir %{_datadir}/app-info
%dir %{_datadir}/app-info/icons
%dir %{_datadir}/app-info/icons/fedora-%{version}
%dir %{_datadir}/app-info/xmls

%changelog
* Wed Jun 11 2014 Richard Hughes <richard@hughsie.com> 21-2
- Own the correct directories
- Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1107802#c5

* Tue Jun 10 2014 Richard Hughes <richard@hughsie.com> 21-1
- Initial version for Fedora package review