diff --git a/banshee.spec b/banshee.spec index 16a1f79..0266be5 100644 --- a/banshee.spec +++ b/banshee.spec @@ -1,6 +1,6 @@ Name: banshee Version: 2.6.2 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Easily import, manage, and play selections from your music collection License: MIT @@ -34,6 +34,7 @@ BuildRequires: libmtp-devel >= 0.2.0 # https://bugzilla.redhat.com/show_bug.cgi?id=867133 BuildRequires: dbus-glib-devel BuildRequires: GConf2-devel +BuildRequires: libappstream-glib # Web Browser BuildRequires: webkitgtk-devel @@ -129,6 +130,18 @@ make %{?_smp_mflags} V=1 %install make install DESTDIR=%{buildroot} +# Update the screenshot shown in the software center +# +# NOTE: It would be *awesome* if this file was pushed upstream. +# +# See http://people.freedesktop.org/~hughsient/appdata/#screenshots for more details. +# +appstream-util replace-screenshots $RPM_BUILD_ROOT%{_datadir}/appdata/banshee.appdata.xml \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/banshee/a.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/banshee/b.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/banshee/c.png \ + https://raw.githubusercontent.com/hughsie/fedora-appstream/master/screenshots-extra/banshee/d.png + # clean-up .a archives find %{buildroot} \( -name '*.la' -or -name '*.a' \) -exec rm -f {} \; @@ -181,6 +194,9 @@ update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || : %{_libdir}/pkgconfig/banshee-*.pc %changelog +* Mon Mar 30 2015 Richard Hughes - 2.6.2-9 +- Use better AppData screenshots + * Wed Dec 10 2014 Tom Callaway 2.6.2-8 - add sqlite hinting