packages: libxml2/libxml2.spec - apidocs bcond

glen glen at pld-linux.org
Sun May 9 12:35:28 CEST 2010


Author: glen                         Date: Sun May  9 10:35:28 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- apidocs bcond

---- Files affected:
packages/libxml2:
   libxml2.spec (1.178 -> 1.179) 

---- Diffs:

================================================================
Index: packages/libxml2/libxml2.spec
diff -u packages/libxml2/libxml2.spec:1.178 packages/libxml2/libxml2.spec:1.179
--- packages/libxml2/libxml2.spec:1.178	Sun Apr  4 21:44:45 2010
+++ packages/libxml2/libxml2.spec	Sun May  9 12:35:23 2010
@@ -1,10 +1,11 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_without	apidocs		# do not build and package API docs
 %bcond_without	python		# don't build python module
 %bcond_without	static_libs	# don't build static libraries
 %bcond_without	zlib		# don't use zlib
-#
+
 Summary:	libXML library
 Summary(es.UTF-8):	Biblioteca libXML version 2
 Summary(pl.UTF-8):	Biblioteka libXML wersja 2
@@ -230,9 +231,11 @@
 %{_libdir}/libxml2.a
 %endif
 
+%if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
 %{_gtkdocdir}/libxml2
+%endif
 
 %files progs
 %defattr(644,root,root,755)
@@ -257,6 +260,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.179  2010/05/09 10:35:23  glen
+- apidocs bcond
+
 Revision 1.178  2010/04/04 19:44:45  jajcus
 - install egg-info file for the python package
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libxml2/libxml2.spec?r1=1.178&r2=1.179&f=u



More information about the pld-cvs-commit mailing list