Depend on appstream-data for the AppStream metadata
This commit is contained in:
parent
4c2fa83923
commit
353a92457a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user