diff --git a/.gitignore b/.gitignore index e69de29..f5194e1 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,4 @@ +/fedora-21-icons.tar.gz +/fedora-21.xml.gz +/fedora-20-icons.tar.gz +/fedora-20.xml.gz diff --git a/appstream-data.spec b/appstream-data.spec new file mode 100644 index 0000000..1c65f01 --- /dev/null +++ b/appstream-data.spec @@ -0,0 +1,36 @@ +Summary: Fedora AppStream metadata +Name: appstream-data +Version: 20 +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 20-2 +- Own the correct directories +- Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1107802#c5 + +* Tue Jun 10 2014 Richard Hughes 20-1 +- Initial version for Fedora package review diff --git a/sources b/sources index e69de29..338d3fb 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +834cdaf2d8c7fc947ed04b09ea61606f fedora-20-icons.tar.gz +d175582c710550a2a989cd01a7e52395 fedora-20.xml.gz