packages: gnome-vfs2/gnome-vfs2.spec - HAL bcond

baggins baggins at pld-linux.org
Tue Feb 22 17:15:23 CET 2011


Author: baggins                      Date: Tue Feb 22 16:15:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- HAL bcond

---- Files affected:
packages/gnome-vfs2:
   gnome-vfs2.spec (1.218 -> 1.219) 

---- Diffs:

================================================================
Index: packages/gnome-vfs2/gnome-vfs2.spec
diff -u packages/gnome-vfs2/gnome-vfs2.spec:1.218 packages/gnome-vfs2/gnome-vfs2.spec:1.219
--- packages/gnome-vfs2/gnome-vfs2.spec:1.218	Sat Feb  5 23:37:12 2011
+++ packages/gnome-vfs2/gnome-vfs2.spec	Tue Feb 22 17:15:18 2011
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with	hal		# build pmount-hal (HAL is deprecated)
+#
 Summary:	GNOME - virtual file system
 Summary(pl.UTF-8):	GNOME - wirtualny system plików
 Name:		gnome-vfs2
@@ -29,7 +33,7 @@
 BuildRequires:	glib2-devel >= 1:2.18.0
 BuildRequires:	gnome-common >= 2.20.0
 BuildRequires:	gtk-doc >= 1.8
-BuildRequires:	hal-devel >= 0.5.9
+%{?with_hal:BuildRequires:	hal-devel >= 0.5.9}
 BuildRequires:	heimdal-devel
 BuildRequires:	intltool >= 0.36.2
 BuildRequires:	libselinux-devel
@@ -65,7 +69,7 @@
 Summary:	gnome-vfs library
 Summary(pl.UTF-8):	Biblioteka gnome-vfs
 Group:		Libraries
-Requires:	hal-libs >= 0.5.9
+%{?with_hal:Requires:	hal-libs >= 0.5.9}
 
 %description libs
 This package contains gnome-vfs libraries.
@@ -136,6 +140,7 @@
 %{__autoconf}
 %{__automake}
 %configure \
+	%{__enable_disable hal hal} \
 	--disable-howl \
 	--disable-schemas-install \
 	--enable-gtk-doc \
@@ -246,6 +251,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.219  2011/02/22 16:15:18  baggins
+- HAL bcond
+
 Revision 1.218  2011/02/05 22:37:12  wiget
 - drop obsoleted rm
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gnome-vfs2/gnome-vfs2.spec?r1=1.218&r2=1.219&f=u



More information about the pld-cvs-commit mailing list