David King 2015-02-10 14:08:25 +00:00
parent 33f987fd6f
commit 83f0bb2e15

View File

@ -50,6 +50,7 @@ BuildRequires: pylint
BuildRequires: python-devel
BuildRequires: pkgconfig(pygobject-3.0)
BuildRequires: vala
BuildRequires: /usr/bin/appstream-util
# For the nautilus extension
BuildRequires: pkgconfig(libnautilus-extension)
@ -155,6 +156,12 @@ make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
#nuke the .la file(s)
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
%check
appstream-util validate-relax --nonet $RPM_BUILD_ROOT/%{_datadir}/appdata/*.appdata.xml
desktop-file-validate $RPM_BUILD_ROOT/%{_datadir}/applications/org.gnome.Totem.desktop
%post
/sbin/ldconfig
update-desktop-database &> /dev/null || :
@ -251,6 +258,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
* Tue Feb 10 2015 David King <amigadave@amigadave.com> - 1:3.14.2-2
- Update URL
- Use pkgconfig for BuildRequires
- Validate desktop file and AppData in check
* Thu Jan 29 2015 David King <amigadave@amigadave.com> - 1:3.14.2-1
- Update to 3.14.2