[packages/geeqie] - more versioned install time dependencies, bconds for BRs

qboosh qboosh at pld-linux.org
Sun Sep 11 08:15:48 CEST 2016


commit 9f84a673d4d78349dfbee757da3c9905777b70f8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Sep 11 08:17:15 2016 +0200

    - more versioned install time dependencies, bconds for BRs

 geeqie.spec | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/geeqie.spec b/geeqie.spec
index 7f1bcba..fbb6f06 100644
--- a/geeqie.spec
+++ b/geeqie.spec
@@ -22,8 +22,8 @@ Patch0:		libdir-fix.patch
 URL:		http://www.geeqie.org/
 BuildRequires:	autoconf >= 2.57
 BuildRequires:	automake
-BuildRequires:	clutter-devel >= 1.0
-BuildRequires:	clutter-gtk-devel >= 1.0
+%{?with_clutter:BuildRequires:	clutter-devel >= 1.0}
+%{?with_clutter:BuildRequires:	clutter-gtk-devel >= 1.0}
 BuildRequires:	exiv2-devel >= 0.11
 BuildRequires:	gdk-pixbuf2-devel >= 2
 BuildRequires:	gettext-tools
@@ -33,7 +33,7 @@ BuildRequires:	gnome-doc-utils
 %{!?with_gtk2:BuildRequires:	gtk+3-devel >= 3.0.0}
 BuildRequires:	intltool >= 0.40.0
 BuildRequires:	lcms2-devel >= 2.0
-BuildRequires:	libchamplain-devel >= 0.12
+%{?with_champlain:BuildRequires:	libchamplain-devel >= 0.12}
 BuildRequires:	libjpeg-devel
 BuildRequires:	libpng-devel
 BuildRequires:	libstdc++-devel
@@ -45,9 +45,11 @@ BuildRequires:	rpmbuild(macros) >= 1.197
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	xz
 Requires:	desktop-file-utils
+Requires:	exiv2-libs >= 0.11
 Requires:	glib2 >= 1:2.24.0
 %{?with_gtk2:Requires:	gtk+2 >= 2:2.20.0}
 %{!?with_gtk2:Requires:	gtk+3 >= 3.0.0}
+%{?with_champlain:Requires:	libchamplain >= 0.12}
 Requires:	libjpeg-progs
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/geeqie.git/commitdiff/9f84a673d4d78349dfbee757da3c9905777b70f8



More information about the pld-cvs-commit mailing list