SPECS: graphviz.spec - --without ocaml bcond

tommat tommat at pld-linux.org
Wed Nov 7 05:52:17 CET 2007


Author: tommat                       Date: Wed Nov  7 04:52:17 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- --without ocaml bcond

---- Files affected:
SPECS:
   graphviz.spec (1.71 -> 1.72) 

---- Diffs:

================================================================
Index: SPECS/graphviz.spec
diff -u SPECS/graphviz.spec:1.71 SPECS/graphviz.spec:1.72
--- SPECS/graphviz.spec:1.71	Mon Sep 17 18:30:39 2007
+++ SPECS/graphviz.spec	Wed Nov  7 05:52:12 2007
@@ -6,6 +6,7 @@
 # Conditional build:
 %bcond_without	dotnet	# don't build C# binding
 %bcond_without	java	# don't build Java binding
+%bcond_without	ocaml	# don't build ocaml binding
 #
 %ifarch i386
 %undefine with_dotnet
@@ -52,7 +53,7 @@
 BuildRequires:	lua51-devel >= 5.1
 BuildRequires:	ming-devel
 %{?with_dotnet:BuildRequires:	mono-csharp}
-BuildRequires:	ocaml
+%{?with_ocaml:BuildRequires:	ocaml}
 BuildRequires:	pango-devel >= 1.10
 BuildRequires:	perl-devel
 BuildRequires:	php-devel >= 3:5.0.0
@@ -265,6 +266,7 @@
 	lua_suffix=51 \
 	%{!?with_java:--disable-java} \
 	%{!?with_dotnet:--disable-sharp} \
+	%{!?with_ocaml:--disable-ocaml} \
 	--disable-static
 
 %{__make}
@@ -396,12 +398,14 @@
 %attr(755,root,root) %{_libdir}/graphviz/lua/gv.so
 %{_mandir}/mann/gv_lua.n*
 
+%if %{with ocaml}
 %files ocaml
 %defattr(644,root,root,755)
 %dir %{_libdir}/graphviz/ocaml
 %attr(755,root,root) %{_libdir}/graphviz/ocaml/libgv_ocaml.so*
 %{_libdir}/graphviz/ocaml/gv.ml*
 %{_mandir}/mann/gv_ocaml.n*
+%endif
 
 %files perl
 %defattr(644,root,root,755)
@@ -476,6 +480,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2007/11/07 04:52:12  tommat
+- --without ocaml bcond
+
 Revision 1.71  2007/09/17 16:30:39  baggins
 - rel 2
 - fixed stupid ifdefs in installed headers
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/graphviz.spec?r1=1.71&r2=1.72&f=u



More information about the pld-cvs-commit mailing list