Update desktop file validation checks
https://fedoraproject.org/wiki/Packaging:Guidelines#desktop-file-install_usage
This commit is contained in:
parent
d9f47cfbb5
commit
85ca81fe71
10
eog.spec
10
eog.spec
@ -3,7 +3,6 @@
|
||||
%define gtk3_version 3.14.0
|
||||
%define glib2_version 2.38.0
|
||||
%define gnome_desktop_version 2.91.2
|
||||
%define desktop_file_utils_version 0.9
|
||||
%define libexif_version 0.6.14
|
||||
|
||||
Summary: Eye of GNOME image viewer
|
||||
@ -33,7 +32,7 @@ BuildRequires: pkgconfig(libpeas-gtk-1.0) >= 0.7.4
|
||||
BuildRequires: pkgconfig(librsvg-2.0)
|
||||
BuildRequires: pkgconfig(shared-mime-info)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: desktop-file-utils >= %{desktop_file_utils_version}
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: intltool >= 0.50.1
|
||||
BuildRequires: itstool
|
||||
@ -41,11 +40,7 @@ BuildRequires: libjpeg-devel
|
||||
BuildRequires: zlib-devel
|
||||
|
||||
Requires: gsettings-desktop-schemas
|
||||
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||
Requires: gtk3%{?_isa} >= %{gtk3_version}
|
||||
|
||||
Requires(post): desktop-file-utils >= %{desktop_file_utils_version}
|
||||
Requires(postun): desktop-file-utils >= %{desktop_file_utils_version}
|
||||
|
||||
%description
|
||||
The Eye of GNOME image viewer (eog) is the official image viewer for the
|
||||
@ -89,6 +84,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/eog/plugins/*.la
|
||||
|
||||
|
||||
%check
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/eog.desktop
|
||||
|
||||
|
||||
@ -134,6 +131,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :
|
||||
* Mon Feb 02 2015 David King <amigadave@amigadave.com> - 3.15.1-1
|
||||
- Update to 3.15.1
|
||||
- Use pkgconfig for BuildRequires
|
||||
- Update desktop file validation checks
|
||||
|
||||
* Thu Nov 20 2014 Kalev Lember <kalevlember@gmail.com> - 3.14.3-1
|
||||
- Update to 3.14.3
|
||||
|
Loading…
Reference in New Issue
Block a user