Initial version for Fedora package review

This commit is contained in:
Richard Hughes 2014-06-12 13:34:13 +01:00
parent f6c8a178e3
commit ff6168a3ae
3 changed files with 40 additions and 0 deletions

2
.gitignore vendored
View File

@ -0,0 +1,2 @@
/fedora-21-icons.tar.gz
/fedora-21.xml.gz

36
appstream-data.spec Normal file
View File

@ -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 <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

View File

@ -0,0 +1,2 @@
da1d03be88bf29c0c91849dfcdaad02f fedora-21-icons.tar.gz
6966c5ea83822b680a145d4d3ff5f5df fedora-21.xml.gz