SPECS: fluxbox.spec - added imlib2 bcond

qboosh qboosh at pld-linux.org
Wed Dec 7 12:14:02 CET 2005


Author: qboosh                       Date: Wed Dec  7 11:14:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added imlib2 bcond

---- Files affected:
SPECS:
   fluxbox.spec (1.90 -> 1.91) 

---- Diffs:

================================================================
Index: SPECS/fluxbox.spec
diff -u SPECS/fluxbox.spec:1.90 SPECS/fluxbox.spec:1.91
--- SPECS/fluxbox.spec:1.90	Sun Jun 12 21:35:04 2005
+++ SPECS/fluxbox.spec	Wed Dec  7 12:13:57 2005
@@ -1,6 +1,7 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_without	imlib2		# disable imlib2 (pixmap themes) support
 %bcond_with	old_wheel	# build with right wheel direction
 #
 #%define		snap 20041111
@@ -30,7 +31,7 @@
 BuildRequires:	autoconf >= 2.52
 BuildRequires:	automake
 BuildRequires:	gettext-devel
-BuildRequires:	imlib2-devel
+%{?with_imlib:BuildRequires:	imlib2-devel >= 1.0.0}
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool
 BuildRequires:	xft-devel
@@ -39,8 +40,8 @@
 Requires:	vfmg >= 0.9.16-3
 Requires:	xinitrc-ng
 Provides:	blackbox
-BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:	blackbox
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define         _sysconfdir     /etc/X11/%{name}
 %define		_wmpropsdir	/usr/share/wm-properties
@@ -92,7 +93,7 @@
 	--enable-gnome \
 	--enable-xinerama \
 	--enable-nls \
-	--enable-imlib2
+	%{?with_imlib2:--enable-imlib2}
 
 %{__make}
 
@@ -164,6 +165,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.91  2005/12/07 11:13:57  qboosh
+- added imlib2 bcond
+
 Revision 1.90  2005/06/12 19:35:04  megabajt
 - up to 0.9.13
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/fluxbox.spec?r1=1.90&r2=1.91&f=u




More information about the pld-cvs-commit mailing list