SPECS: perl-PDL.spec - release 4.2: plplot bcond, off by default (plplot it...

radek radek at pld-linux.org
Thu Aug 28 15:49:49 CEST 2008


Author: radek                        Date: Thu Aug 28 13:49:49 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- release 4.2: plplot bcond, off by default (plplot itself is currently broken)

---- Files affected:
SPECS:
   perl-PDL.spec (1.104 -> 1.105) 

---- Diffs:

================================================================
Index: SPECS/perl-PDL.spec
diff -u SPECS/perl-PDL.spec:1.104 SPECS/perl-PDL.spec:1.105
--- SPECS/perl-PDL.spec:1.104	Wed Apr 23 11:25:32 2008
+++ SPECS/perl-PDL.spec	Thu Aug 28 15:49:43 2008
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_without	karma	# build package with PDL::Graphics::Karma modules
 %bcond_without	html	# don't generate package with PDL documentation in HTML
+%bcond_with	plplot	# don't build / link with plplot (currently broken)
 %bcond_with	tests	# perform "make test"
 			# require a valid DISPLAY
 #
@@ -13,7 +14,7 @@
 Summary(pt_BR.UTF-8):	Módulo PDL para perl
 Name:		perl-PDL
 Version:	2.4.3
-Release:	4.1
+Release:	4.2
 Epoch:		1
 # same as perl
 License:	GPL v1+ or Artistic
@@ -43,7 +44,7 @@
 BuildRequires:	perl-Tk
 BuildRequires:	perl-devel >= 1:5.8.0
 BuildRequires:	perl-perldoc
-BuildRequires:	plplot-devel >= 5.2.1
+%{?with_plplot:BuildRequires:	plplot-devel >= 5.2.1}
 BuildRequires:	proj-devel
 BuildRequires:	rpm-perlprov >= 4.1-13
 BuildRequires:	xorg-lib-libX11-devel
@@ -939,6 +940,7 @@
 %{_mandir}/man3/PDL::Graphics2D*
 %{_mandir}/man3/PDL::Graphics::PGPLOT*
 
+%if %{with plplot}
 %files Graphics-PLplot
 %defattr(644,root,root,755)
 %doc Graphics/PLplot/{Changes,README}
@@ -947,6 +949,7 @@
 %{perl_vendorarch}/auto/PDL/Graphics/PLplot/PLplot.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/PDL/Graphics/PLplot/PLplot.so
 %{_mandir}/man3/PDL::Graphics::PLplot.3pm*
+%endif
 
 %files Graphics-TriD
 %defattr(644,root,root,755)
@@ -1094,6 +1097,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.105  2008/08/28 13:49:43  radek
+- release 4.2: plplot bcond, off by default (plplot itself is currently broken)
+
 Revision 1.104  2008/04/23 09:25:32  baggins
 - more BR
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/perl-PDL.spec?r1=1.104&r2=1.105&f=u



More information about the pld-cvs-commit mailing list