SPECS: mplayer.spec - unify: use doc bcond for docs

glen glen at pld-linux.org
Sun Jan 29 20:17:33 CET 2006


Author: glen                         Date: Sun Jan 29 19:17:33 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- unify: use doc bcond for docs

---- Files affected:
SPECS:
   mplayer.spec (1.308 -> 1.309) 

---- Diffs:

================================================================
Index: SPECS/mplayer.spec
diff -u SPECS/mplayer.spec:1.308 SPECS/mplayer.spec:1.309
--- SPECS/mplayer.spec:1.308	Thu Dec  1 18:30:27 2005
+++ SPECS/mplayer.spec	Sun Jan 29 20:17:28 2006
@@ -40,7 +40,7 @@
 %bcond_without	mencoder	# disable mencoder (a/v encoder) compilation
 %bcond_without	libdts		# disable libdts support
 %bcond_without	sdl		# disable SDL
-%bcond_without	docs		# don't build docs (slow)
+%bcond_without	doc		# don't build docs (slow)
 %bcond_with	gtk2		# EXPERIMENTAL support for GTK+ version 2
 %bcond_with	xlibs
 %bcond_with	shared	# experimental libmplayer.so support
@@ -123,7 +123,7 @@
 BuildRequires:	audiofile-devel
 BuildRequires:	cdparanoia-III-devel
 %{?with_divx4linux:BuildRequires:	divx4linux-devel >= 1:5.01.20020418}
-BuildRequires:	docbook-style-xsl
+%{?with_doc:BuildRequires:	docbook-style-xsl}
 %{?with_dxr3:BuildRequires:	em8300-devel}
 BuildRequires:	enca-devel
 BuildRequires:	esound-devel
@@ -395,7 +395,7 @@
 # now build regular version
 build --disable-gui
 
-%if %{with docs}
+%if %{with doc}
 %{__make} -j1 -C DOCS/xml
 %endif
 
@@ -535,6 +535,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.309  2006/01/29 19:17:28  glen
+- unify: use doc bcond for docs
+
 Revision 1.308  2005/12/01 17:30:27  pluto
 - jack patch merged with bio2jack patch.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/mplayer.spec?r1=1.308&r2=1.309&f=u



More information about the pld-cvs-commit mailing list