File gnome-software-appdata.spec of Package gnome-software-appdata

#
# spec file for package gnome-software-appdata
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           gnome-software-appdata
Version:        13.1
Release:        0
Summary:        Appstore metadata for gnome-software
License:        GPL-2.0+
Group:          System/GUI/GNOME
Url:            https://wiki.gnome.org/Design/Apps/Software
Source0:        appdata.xml.gz
Source1:        app-icons.tar.gz
Source2:        README
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
Supplements:    gnome-software

%description
Provide a set of meta-data for GNOME-Software to work with

%prep
cp %{SOURCE2} .

%build

%install
install -d -m 0755 %{buildroot}%{_datadir}/app-info/xmls
install -d -m 0755 %{buildroot}%{_datadir}/app-info/icons
install -m 0644 %{SOURCE0} %{buildroot}%{_datadir}/app-info/xmls/
(
cd %{buildroot}%{_datadir}/app-info/icons
tar --no-overwrite-dir -xf %{SOURCE1}
)

%files
%defattr(-,root,root)
%doc README
%{_datadir}/app-info/

%changelog
openSUSE Build Service is sponsored by