From ed3a5682b1ff4da6fb3afc41fa6bd3b7102e33c7 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Nov 14 2008 15:08:46 +0000 Subject: Without pdl -> no perl package --- diff --git a/plplot.spec b/plplot.spec index 809a1db..5714700 100644 --- a/plplot.spec +++ b/plplot.spec @@ -204,6 +204,7 @@ Requires: octave(api) = %{octave_api} %endif +%if %{with pdl} %package perl Summary: Examples for using plplot with PDL Group: Development/Libraries @@ -211,6 +212,7 @@ Requires: %{name} = %{version}-%{release} %description perl %{summary}. +%endif %package tk @@ -553,10 +555,12 @@ fi %{_datadir}/plplot%{version}/examples/test_octave.sh %endif +%if %{with pdl} %files perl %defattr(-,root,root,-) %{_datadir}/plplot%{version}/examples/perl/ %{_datadir}/plplot%{version}/examples/test_perl.sh +%endif %files tk %defattr(-,root,root,-)