From 935ad00b958930905283c0fefaa60061cd75bdc7 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Mon, 17 Jul 2006 19:32:25 +0000 Subject: [PATCH] add two graph generating modules --- perl-text/perl-text.spec | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/perl-text/perl-text.spec b/perl-text/perl-text.spec index 273344a79c..b1fe667015 100644 --- a/perl-text/perl-text.spec +++ b/perl-text/perl-text.spec @@ -31,6 +31,8 @@ %define V_text_quoted 1.8 %define V_text_shellwords 1.08 %define V_text_vimcolor 0.11 +%define V_text_bargraph 1.0 +%define V_text_graph 0.23 %define V_string_approx 3.26 %define V_string_format 1.14 %define V_string_shellquote 1.03 @@ -48,7 +50,7 @@ Class: BASE Group: Language License: GPL/Artistic Version: %{V_perl} -Release: 20060410 +Release: 20060717 # list of sources Source0: http://www.cpan.org/modules/by-module/Text/Text-Template-%{V_text_template}.tar.gz @@ -58,11 +60,13 @@ Source3: http://www.cpan.org/modules/by-module/Text/Text-Autoformat-%{V_tex Source4: http://www.cpan.org/modules/by-module/Text/Text-Quoted-%{V_text_quoted}.tar.gz Source5: http://www.cpan.org/modules/by-module/Text/Text-Shellwords-%{V_text_shellwords}.tar.gz Source6: http://www.cpan.org/modules/by-module/Text/Text-VimColor-%{V_text_vimcolor}.tar.gz -Source7: http://www.cpan.org/modules/by-module/String/String-Approx-%{V_string_approx}.tar.gz -Source8: http://www.cpan.org/modules/by-module/String/String-Format-%{V_string_format}.tar.gz -Source9: http://www.cpan.org/modules/by-module/String/String-ShellQuote-%{V_string_shellquote}.tar.gz -Source10: http://www.cpan.org/modules/by-module/Pod/Pod-Escapes-%{V_pod_escapes}.tar.gz -Source11: http://www.cpan.org/modules/by-module/Pod/Pod-Simple-%{V_pod_simple}.tar.gz +Source7: http://www.cpan.org/modules/by-module/Text/Text-BarGraph-%{V_text_bargraph}.tar.gz +Source8: http://www.cpan.org/modules/by-module/Text/Text-Graph-%{V_text_graph}.tar.gz +Source9: http://www.cpan.org/modules/by-module/String/String-Approx-%{V_string_approx}.tar.gz +Source10: http://www.cpan.org/modules/by-module/String/String-Format-%{V_string_format}.tar.gz +Source11: http://www.cpan.org/modules/by-module/String/String-ShellQuote-%{V_string_shellquote}.tar.gz +Source12: http://www.cpan.org/modules/by-module/Pod/Pod-Escapes-%{V_pod_escapes}.tar.gz +Source13: http://www.cpan.org/modules/by-module/Pod/Pod-Simple-%{V_pod_simple}.tar.gz # build information Prefix: %{l_prefix} @@ -83,6 +87,8 @@ AutoReqProv: no - Text::Quoted (%{V_text_quoted}) - Text::Shellwords (%{V_text_shellwords}) - Text::VimColor (%{V_text_vimcolor}) + - Text::BarGraph (%{V_text_bargraph}) + - Text::Graph (%{V_text_graph}) - String::Approx (%{V_string_approx}) - String::Format (%{V_string_format}) - String::ShellQuote (%{V_string_shellquote}) @@ -125,6 +131,16 @@ AutoReqProv: no url = http://www.cpan.org/modules/by-module/Text/ regex = Text-VimColor-(__VER__)\.tar\.gz } + prog perl-text:Text-BarGraph = { + version = %{V_text_bargraph} + url = http://www.cpan.org/modules/by-module/Text/ + regex = Text-BarGraph-(__VER__)\.tar\.gz + } + prog perl-text:Text-Graph = { + version = %{V_text_graph} + url = http://www.cpan.org/modules/by-module/Text/ + regex = Text-Graph-(__VER__)\.tar\.gz + } prog perl-text:String-Approx = { version = %{V_string_approx} url = http://www.cpan.org/modules/by-module/String/ @@ -164,6 +180,8 @@ AutoReqProv: no %setup -q -T -D -a 9 %setup -q -T -D -a 10 %setup -q -T -D -a 11 + %setup -q -T -D -a 12 + %setup -q -T -D -a 13 %build @@ -182,6 +200,8 @@ AutoReqProv: no %{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install + %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} configure build install + %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`