SPECS: libgphoto2.spec - bcond for EOS 20D experimental code added

bszx bszx at pld-linux.org
Tue Jul 4 17:36:30 CEST 2006


Author: bszx                         Date: Tue Jul  4 15:36:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond for EOS 20D experimental code added

---- Files affected:
SPECS:
   libgphoto2.spec (1.50 -> 1.51) 

---- Diffs:

================================================================
Index: SPECS/libgphoto2.spec
diff -u SPECS/libgphoto2.spec:1.50 SPECS/libgphoto2.spec:1.51
--- SPECS/libgphoto2.spec:1.50	Wed Jun 21 20:59:53 2006
+++ SPECS/libgphoto2.spec	Tue Jul  4 17:36:25 2006
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_with	apidocs		# without documentation which needed gtk-doc and TeX
 %bcond_without	baudboy		# use lockdev library instead of baudboy
+%bcond_with	20d		# canon EOS 20D experimental code 
 #
 Summary:	Libraries for digital cameras
 Summary(es):	Foto GNU (gphoto) Release 2
@@ -10,7 +11,7 @@
 Summary(pt_BR):	GNU Photo - programa GNU para câmeras digitais
 Name:		libgphoto2
 Version:	2.2.1
-Release:	1
+Release:	2
 License:	LGPL
 Group:		Applications
 Source0:	http://dl.sourceforge.net/gphoto/%{name}-%{version}.tar.gz
@@ -136,6 +137,7 @@
 %{__automake}
 cd ..
 
+%{?with_20d:CFLAGS="%rpmcflags -DCANON_EXPERIMENTAL_20D"}
 %configure \
 	%{!?with_baudboy:--disable-baudboy} \
 	--disable-resmgr \
@@ -285,6 +287,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.51  2006/07/04 15:36:25  bszx
+- bcond for EOS 20D experimental code added
+
 Revision 1.50  2006/06/21 18:59:53  qboosh
 - updated to 2.2.1
 - removed outdated pl.po sources, added pl.po-update patch instead
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libgphoto2.spec?r1=1.50&r2=1.51&f=u



More information about the pld-cvs-commit mailing list