Author: qboosh                       Date: Thu Mar 30 11:30:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without pdf

---- Files affected:
SPECS:
   gnuplot.spec (1.67 -> 1.68) 

---- Diffs:

================================================================
Index: SPECS/gnuplot.spec
diff -u SPECS/gnuplot.spec:1.67 SPECS/gnuplot.spec:1.68
--- SPECS/gnuplot.spec:1.67     Sat Sep 17 12:29:16 2005
+++ SPECS/gnuplot.spec  Thu Mar 30 13:30:04 2006
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without pdf     # don't use pdflib
+#
 Summary:       A program for plotting mathematical expressions and data
 Summary(de):   GNU-Plotter-Paket
 Summary(es):   Paquete para trazar gráficos
@@ -28,7 +32,7 @@
 BuildRequires: libpng-devel >= 1.0.8
 BuildRequires: libtool
 BuildRequires: ncurses-devel
-BuildRequires: pdflib-devel
+%{?with_pdf:BuildRequires:     pdflib-devel}
 BuildRequires: readline-devel
 BuildRequires: texinfo
 BuildRequires: zlib-devel
@@ -101,6 +105,7 @@
        --with-x \
        --without-lisp-files \
        --without-linux-vga \
+       %{!?with_pdf:--without-pdf} \
        --without-tutorial
 
 # The source tarball incorrectly includes a file that should not be there.
@@ -145,6 +150,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.68  2006/03/30 11:30:04  qboosh
+- added bcond_without pdf
+
 Revision 1.67  2005/09/17 10:29:16  arekm
 - rebuild with readline 5.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/gnuplot.spec?r1=1.67&r2=1.68&f=u

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

Reply via email to