From ff6168a3ae269ef06d3a53893eca90c7d1894a51 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Jun 12 2014 12:34:13 +0000 Subject: Initial version for Fedora package review --- diff --git a/.gitignore b/.gitignore index e69de29..5003980 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1,2 @@ +/fedora-21-icons.tar.gz +/fedora-21.xml.gz diff --git a/appstream-data.spec b/appstream-data.spec new file mode 100644 index 0000000..b709358 --- /dev/null +++ b/appstream-data.spec @@ -0,0 +1,36 @@ +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 21-2 +- Own the correct directories +- Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1107802#c5 + +* Tue Jun 10 2014 Richard Hughes 21-1 +- Initial version for Fedora package review diff --git a/sources b/sources index e69de29..7233d01 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +da1d03be88bf29c0c91849dfcdaad02f fedora-21-icons.tar.gz +6966c5ea83822b680a145d4d3ff5f5df fedora-21.xml.gz