Author: rotom                        Date: Sun Mar 12 20:36:16 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added few bconds

---- Files affected:
SPECS:
   scilab.spec (1.57 -> 1.58) 

---- Diffs:

================================================================
Index: SPECS/scilab.spec
diff -u SPECS/scilab.spec:1.57 SPECS/scilab.spec:1.58
--- SPECS/scilab.spec:1.57      Tue Feb 21 22:31:48 2006
+++ SPECS/scilab.spec   Sun Mar 12 21:36:10 2006
@@ -7,7 +7,12 @@
 # - amd64 version(problem with -fPIC)
 #
 # Conditional build:
-%bcond_without gtk2            # without gtk2
+%bcond_with    gtk2            # with gtk2
+%bcond_with    xawd3d          # with xawd3d
+%bcond_with    x               # with x
+%bcond_with    f2c             # with f2c
+%bcond_without pvm             # without pvm
+%bcond_without ocaml           # without ocaml
 
 Summary:       Program for scientifical and technical computations, compatible 
with Matlab
 Summary(pl):   Program do obliczeń naukowo-inżynierskich, zgodny ze słynnym 
Matlabem
@@ -30,7 +35,8 @@
 Patch7:                %{name}-cflags.patch
 URL:           http://www.scilab.org/
 BuildRequires: XFree86-devel
-BuildRequires: Xaw3d-devel
+%{?with_xawd3d:BuildRequires:  Xaw3d-devel}
+%{?with_f2c:BuildRequires:     f2c}
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: gcc-g77
@@ -38,10 +44,10 @@
 BuildRequires: libtool
 BuildRequires: libzvt-devel >= 2.0
 BuildRequires: ncurses-devel
-BuildRequires: ocaml
+%{?with_ocaml:BuildRequires:   ocaml}
 BuildRequires: pango-devel
 BuildRequires: pkgconfig
-BuildRequires: pvm-devel
+%{?with_pvm:BuildRequires:     pvm-devel}
 BuildRequires: readline-devel
 BuildRequires: sablotron
 BuildRequires: tcl-devel
@@ -118,7 +124,12 @@
        --without-java \
        --with-pvm-include=%{_includedir} \
        --with-pvm-library=%{_libdir} \
-%{?with_gtk2:--with-gtk2}
+       %{?with_gtk2:--with-gtk2} \
+       %{?with_xawd3d:--with-xawd3d} \
+       %{?with_x:--with-x} \
+       %{?with_f2c:--with-f2c} \
+       %{!?with_pvm:--without-pvm} \
+       %{!?with_ocaml:--without-ocaml}
 
 %{__make} -j1 all
 
@@ -193,8 +204,8 @@
 %{_libdir}/%{name}-%{version}/bin/Blatdoc
 %{_libdir}/%{name}-%{version}/bin/Blatdocs
 
-%dir %{_libdir}/%{name}-%{version}/pvm3
-%attr(755,root,root) %{_libdir}/%{name}-%{version}/pvm3/*
+%{?with_pvm:%dir %{_libdir}/%{name}-%{version}/pvm3}
+%{?with_pvm:%attr(755,root,root) %{_libdir}/%{name}-%{version}/pvm3/*}
 
 ### links
 %{_libdir}/%{name}-%{version}/imp
@@ -251,6 +262,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.58  2006/03/12 20:36:10  rotom
+- added few bconds
+
 Revision 1.57  2006/02/21 21:31:48  rotom
 - up to 4.0
 - still many to check and many to do
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/scilab.spec?r1=1.57&r2=1.58&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to