SPECS: libgphoto2.spec - Renamed bcond (doc -> apidocs)

adgor adgor at pld-linux.org
Wed Nov 9 19:29:40 CET 2005


Author: adgor                        Date: Wed Nov  9 18:29:40 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Renamed bcond (doc -> apidocs)

---- Files affected:
SPECS:
   libgphoto2.spec (1.33 -> 1.34) 

---- Diffs:

================================================================
Index: SPECS/libgphoto2.spec
diff -u SPECS/libgphoto2.spec:1.33 SPECS/libgphoto2.spec:1.34
--- SPECS/libgphoto2.spec:1.33	Sun Oct 30 10:27:10 2005
+++ SPECS/libgphoto2.spec	Wed Nov  9 19:29:34 2005
@@ -1,6 +1,6 @@
 # $Revision$, $Date$
 # Conditional build:
-%bcond_without	doc             # without documentation which needed gtk-doc and TeX
+%bcond_without	apidocs             # without documentation which needed gtk-doc and TeX
 #
 # TODO: check resmgr linking (temporarly disabled)
 #
@@ -20,7 +20,7 @@
 BuildRequires:	autoconf
 BuildRequires:	automake
 BuildRequires:	gettext-devel
-%{?with_doc:BuildRequires:	gtk-doc >= 0.10}
+%{?with_apidocs:BuildRequires:	gtk-doc >= 0.10}
 BuildRequires:	libexif-devel
 BuildRequires:	libtool >= 1:1.4.2-9
 BuildRequires:	libusb-devel
@@ -51,7 +51,7 @@
 Summary(pt_BR):	Arquivos de desenvolvimento do libgphoto2
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
-Requires:	gtk-doc-common
+%{?with_apidocs:Requires:	gtk-doc-common}
 Requires:	libexif-devel
 Requires:	libusb-devel
 Requires:	lockdev-devel
@@ -112,8 +112,8 @@
 %configure \
 	ac_cv_file__proc_meminfo=yes \
 	--without-resmgr \
-	%{?with_doc:--enable-docs} \
-	%{?with_doc:--with-html-dir=%{_gtkdocdir}}
+	%{?with_apidocs:--enable-docs} \
+	%{?with_apidocs:--with-html-dir=%{_gtkdocdir}}
 
 %{__make}
 
@@ -123,7 +123,7 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT \
 	pkgconfigdir=%{_pkgconfigdir} \
-	%{?with_doc:apidocdir=%{_gtkdocdir}}
+	%{?with_apidocs:apidocdir=%{_gtkdocdir}}
 
 %find_lang %{name} --all-name
 
@@ -204,7 +204,7 @@
 %{_includedir}/gphoto2
 %{_pkgconfigdir}/*.pc
 %{_mandir}/man3/*
-%{?with_doc:%{_gtkdocdir}/*}
+%{?with_apidocs:%{_gtkdocdir}/*}
 
 %files static
 %defattr(644,root,root,755)
@@ -216,6 +216,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.34  2005/11/09 18:29:34  adgor
+- Renamed bcond (doc -> apidocs)
+
 Revision 1.33  2005/10/30 09:27:10  arekm
 - rel 2 (rebuild with new lockdev)
 
================================================================

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




More information about the pld-cvs-commit mailing list