Depend on appstream-data for the AppStream metadata

This commit is contained in:
Richard Hughes 2014-06-12 13:44:46 +01:00
parent 4c2fa83923
commit 353a92457a
2 changed files with 6 additions and 10 deletions

View File

@ -5,15 +5,14 @@
Summary: A software center for GNOME
Name: gnome-software
Version: 3.13.3
Release: 0.1.git%{shortcommit}%{?dist}
Release: 0.2.git%{shortcommit}%{?dist}
License: GPLv2+
Group: Applications/System
URL: https://wiki.gnome.org/Apps/Software
#Source0: http://download.gnome.org/sources/gnome-software/3.13/%{name}-%{version}.tar.xz
Source0: %{name}-%{version}-%{shortcommit}.tar.xz
Source1: http://people.freedesktop.org/~hughsient/temp/fedora-%{?distrotag}.xml.gz
Source2: http://people.freedesktop.org/~hughsient/temp/fedora-%{?distrotag}-icons.tar.gz
Requires: appstream-data
Requires: epiphany-runtime
Requires: gsettings-desktop-schemas
Requires: PackageKit
@ -51,9 +50,6 @@ make %{?_smp_mflags}
%__rm %{buildroot}%{_libdir}/gs-plugins-%{gs_plugin_version}/*.la
# install AppStream data for Fedora
DESTDIR=%{buildroot} appstream-util install %{SOURCE1} %{SOURCE2}
# make the software center load faster
desktop-file-edit %{buildroot}%{_datadir}/applications/org.gnome.Software.desktop \
--set-key=X-AppInstall-Package --set-value=%{name}
@ -84,8 +80,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%dir %{_datadir}/gnome-software
%{_datadir}/gnome-software/*.png
%{_datadir}/appdata/*.appdata.xml
%{_datadir}/app-info/xmls/*
%{_datadir}/app-info/icons/fedora-%{?distrotag}/*.png
%{_mandir}/man1/gnome-software.1.gz
%{_datadir}/icons/hicolor/*/apps/*
%{_datadir}/gnome-software/featured.ini
@ -99,6 +93,10 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
%{_datadir}/gnome-software/modulesets.d/*.xml
%changelog
* Thu Jun 12 2014 Richard Hughes <rhughes@redhat.com> - 3.13.3-0.2.git7491627
- Depend on the newly-created appstream-data package and stop shipping
the metadata here.
* Sat Jun 07 2014 Kalev Lember <kalevlember@gmail.com> - 3.13.3-0.1.git7491627
- Update to 3.13.3 git snapshot

View File

@ -1,3 +1 @@
c3cfc9e2ead11da01099587a7885839f gnome-software-3.13.3-7491627.tar.xz
dbbfad01efe0fa2866ec93e18f63f1f0 fedora-21-icons.tar.gz
b3625ff48605f96a44539a0cb23c6dfe fedora-21.xml.gz