SPECS: glib2.spec - wo doc bcond

adgor adgor at pld-linux.org
Mon Jun 27 21:47:06 CEST 2005


Author: adgor                        Date: Mon Jun 27 19:47:06 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- wo doc bcond

---- Files affected:
SPECS:
   glib2.spec (1.107 -> 1.108) 

---- Diffs:

================================================================
Index: SPECS/glib2.spec
diff -u SPECS/glib2.spec:1.107 SPECS/glib2.spec:1.108
--- SPECS/glib2.spec:1.107	Wed Jun 15 23:14:59 2005
+++ SPECS/glib2.spec	Mon Jun 27 21:47:01 2005
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 # Conditional build:
+%bcond_without  doc             # disable gtk-doc
 %bcond_without	static_libs	# don't build static library
 #
 Summary:	Useful routines for 'C' programming
@@ -150,12 +151,12 @@
 %{__autoheader}
 %{__automake}
 %configure \
-	--enable-threads \
-	--enable-gtk-doc \
-	--with-html-dir=%{_gtkdocdir} \
-	--enable-static \
 	--enable-debug=%{?debug:yes} \
+	%{?with_doc:--enable-gtk-doc} \
 	--enable-man \
+	--enable-static \
+	--enable-threads \
+	--with-html-dir=%{_gtkdocdir} \
 	%{!?with_static_libs:--disable-static}
 %{__make}
 
@@ -195,7 +196,7 @@
 %{_pkgconfigdir}/*
 %{_libdir}/glib-2.0
 %{_includedir}/*
-%{_gtkdocdir}/*
+%{?with_doc:%{_gtkdocdir}/*}
 %{_aclocaldir}/*
 %{_mandir}/man?/*
 
@@ -211,6 +212,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.108  2005/06/27 19:47:01  adgor
+- wo doc bcond
+
 Revision 1.107  2005/06/15 21:14:59  witekfl
 - added header "Conditional build:"
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/glib2.spec?r1=1.107&r2=1.108&f=u




More information about the pld-cvs-commit mailing list