diff --git a/eog.spec b/eog.spec index 45e159e..a7a8dc1 100644 --- a/eog.spec +++ b/eog.spec @@ -17,8 +17,7 @@ Version: 2.25.1 Release: 1%{?dist} URL: http://www.gnome.org Source: http://download.gnome.org/sources/eog/2.25/%{name}-%{version}.tar.bz2 -# needs to be redone -#Patch0: eog-2.19.4-svgz.patch +Patch0: libxml.patch # The GFDL has an "or later version" clause embedded inside the license. # There is no need to add the + here. License: GPLv2+ and GFDL @@ -44,6 +43,9 @@ BuildRequires: gnome-doc-utils BuildRequires: gnome-desktop-devel >= %{gnome_desktop_version} BuildRequires: gnome-icon-theme >= %{gnome_icon_theme_version} BuildRequires: libXt-devel +BuildRequires: libxml2-devel +# for libxml.patch +BuildRequires: autoconf, automake libtool Requires(post): desktop-file-utils >= %{desktop_file_utils_version} Requires(post): scrollkeeper @@ -75,6 +77,10 @@ This package allows you to develop plugins to extend EOG. %prep %setup -q +%patch0 -p1 -b .libxml + +# Patch 0 patches configure.ac +autoconf echo "NoDisplay=true" >> data/eog.desktop.in # just in case