From d9f47cfbb5e41c22badb43229931c3430bd4cdcd Mon Sep 17 00:00:00 2001 From: David King Date: Mon, 2 Feb 2015 21:35:43 +0000 Subject: [PATCH] Use pkgconfig for BuildRequires https://fedoraproject.org/wiki/Packaging:PkgConfigBuildRequires --- eog.spec | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/eog.spec b/eog.spec index 90b586f..9f36c69 100644 --- a/eog.spec +++ b/eog.spec @@ -18,27 +18,27 @@ Source: http://download.gnome.org/sources/eog/3.15/%{name}-%{version}.tar.xz # There is no need to add the + here. License: GPLv2+ and GFDL Group: User Interface/Desktops -BuildRequires: glib2-devel >= %{glib2_version} -BuildRequires: gtk3-devel >= %{gtk3_version} -BuildRequires: libexif-devel >= %{libexif_version} -BuildRequires: exempi-devel -BuildRequires: lcms2-devel -BuildRequires: intltool >= 0.50.0-1 -BuildRequires: libjpeg-devel -BuildRequires: gettext + +BuildRequires: pkgconfig(exempi-2.0) +BuildRequires: pkgconfig(gdk-pixbuf-2.0) +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version} +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gsettings-desktop-schemas) +BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version} +BuildRequires: pkgconfig(lcms2) +BuildRequires: pkgconfig(libexif) >= %{libexif_version} +BuildRequires: pkgconfig(libpeas-1.0) >= 0.7.4 +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: gnome-desktop3-devel >= %{gnome_desktop_version} -BuildRequires: libXt-devel -BuildRequires: libxml2-devel -BuildRequires: librsvg2-devel -BuildRequires: libpeas-devel >= 0.7.4 -BuildRequires: gdk-pixbuf2-devel -BuildRequires: shared-mime-info -BuildRequires: gsettings-desktop-schemas-devel -BuildRequires: dbus-glib-devel -BuildRequires: gobject-introspection-devel -BuildRequires: zlib-devel +BuildRequires: gettext +BuildRequires: intltool >= 0.50.1 BuildRequires: itstool +BuildRequires: libjpeg-devel +BuildRequires: zlib-devel Requires: gsettings-desktop-schemas Requires: glib2%{?_isa} >= %{glib2_version} @@ -133,6 +133,7 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || : %changelog * Mon Feb 02 2015 David King - 3.15.1-1 - Update to 3.15.1 +- Use pkgconfig for BuildRequires * Thu Nov 20 2014 Kalev Lember - 3.14.3-1 - Update to 3.14.3