Ver código fonte

add a few useful modules which partly are needed by the new perl-biz module

Ralf S. Engelschall 20 anos atrás
pai
commit
fa78f86f83
1 arquivos alterados com 45 adições e 15 exclusões
  1. 45 15
      perl-ds/perl-ds.spec

+ 45 - 15
perl-ds/perl-ds.spec

@@ -26,6 +26,9 @@
 %define       V_perl              5.8.6
 %define       V_bit_vector        6.4
 %define       V_set_scalar        1.19
+%define       V_set_intspan       1.08
+%define       V_set_array         0.11
+%define       V_set_object        1.10
 %define       V_io_string         1.06
 %define       V_io_stringy        2.110
 %define       V_tie_ixhash        1.21
@@ -52,25 +55,28 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20050417
+Release:      20050430
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Bit/Bit-Vector-%{V_bit_vector}.tar.gz
 Source1:      http://www.cpan.org/modules/by-module/Set/Set-Scalar-%{V_set_scalar}.tar.gz
-Source2:      http://www.cpan.org/modules/by-module/IO/IO-String-%{V_io_string}.tar.gz
-Source3:      http://www.cpan.org/modules/by-module/IO/IO-stringy-%{V_io_stringy}.tar.gz
-Source4:      http://www.cpan.org/modules/by-module/Tie/Tie-IxHash-%{V_tie_ixhash}.tar.gz
-Source5:      http://www.cpan.org/modules/by-module/Tree/Tree-DAG_Node-%{V_tree_dag_node}.tar.gz
-Source6:      http://www.cpan.org/modules/by-module/Tree/Tree-Nary-%{V_tree_nary}.tar.gz
-Source7:      http://www.cpan.org/modules/by-module/Tree/Tree-Simple-%{V_tree_simple}.tar.gz
-Source8:      http://www.cpan.org/modules/by-module/Tree/Tree-Trie-%{V_tree_trie}.tar.gz
-Source9:      http://www.cpan.org/modules/by-module/Tree/Tree-BPTree-%{V_tree_bptree}.tar.gz
-Source10:     http://www.cpan.org/modules/by-module/Array/Array-Window-%{V_array_window}.tar.gz
-Source11:     http://www.cpan.org/modules/by-module/Array/Array-Each-%{V_array_each}.tar.gz
-Source12:     http://www.cpan.org/modules/by-module/Scalar/Scalar-List-Utils-%{V_scalar_list_utils}.tar.gz
-Source13:     http://www.cpan.org/modules/by-module/Heap/Heap-%{V_heap}.tar.gz
-Source14:     http://www.cpan.org/modules/by-module/Graph/Graph-%{V_graph}.tar.gz
-Source15:     http://www.cpan.org/modules/by-module/Graph/Graph-Simple-%{V_graph_simple}.tar.gz
+Source2:      http://www.cpan.org/modules/by-module/Set/Set-IntSpan-%{V_set_intspan}.tar.gz
+Source3:      http://www.cpan.org/modules/by-module/Set/Set-Array-%{V_set_array}.tar.gz
+Source4:      http://www.cpan.org/modules/by-module/Set/Set-Object-%{V_set_object}.tar.gz
+Source5:      http://www.cpan.org/modules/by-module/IO/IO-String-%{V_io_string}.tar.gz
+Source6:      http://www.cpan.org/modules/by-module/IO/IO-stringy-%{V_io_stringy}.tar.gz
+Source7:      http://www.cpan.org/modules/by-module/Tie/Tie-IxHash-%{V_tie_ixhash}.tar.gz
+Source8:      http://www.cpan.org/modules/by-module/Tree/Tree-DAG_Node-%{V_tree_dag_node}.tar.gz
+Source9:      http://www.cpan.org/modules/by-module/Tree/Tree-Nary-%{V_tree_nary}.tar.gz
+Source10:     http://www.cpan.org/modules/by-module/Tree/Tree-Simple-%{V_tree_simple}.tar.gz
+Source11:     http://www.cpan.org/modules/by-module/Tree/Tree-Trie-%{V_tree_trie}.tar.gz
+Source12:     http://www.cpan.org/modules/by-module/Tree/Tree-BPTree-%{V_tree_bptree}.tar.gz
+Source13:     http://www.cpan.org/modules/by-module/Array/Array-Window-%{V_array_window}.tar.gz
+Source14:     http://www.cpan.org/modules/by-module/Array/Array-Each-%{V_array_each}.tar.gz
+Source15:     http://www.cpan.org/modules/by-module/Scalar/Scalar-List-Utils-%{V_scalar_list_utils}.tar.gz
+Source16:     http://www.cpan.org/modules/by-module/Heap/Heap-%{V_heap}.tar.gz
+Source17:     http://www.cpan.org/modules/by-module/Graph/Graph-%{V_graph}.tar.gz
+Source18:     http://www.cpan.org/modules/by-module/Graph/Graph-Simple-%{V_graph_simple}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -84,6 +90,9 @@ AutoReqProv:  no
     Perl modules for use with data structures:
     - Bit::Vector (%{V_bit_vector})
     - Set::Scalar (%{V_set_scalar})
+    - Set::IntSpan (%{V_set_intspan})
+    - Set::Array (%{V_set_array})
+    - Set::Object (%{V_set_object})
     - IO::String (%{V_io_string})
     - IO::stringy (%{V_io_stringy})
     - Tie::IxHash (%{V_tie_ixhash})
@@ -121,6 +130,21 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Set/
         regex     = Set-Scalar-(__VER__)\.tar\.gz
     }
+    prog perl-ds:Set-IntSpan = {
+        version   = %{V_set_intspan}
+        url       = http://www.cpan.org/modules/by-module/Set/
+        regex     = Set-IntSpan-(__VER__)\.tar\.gz
+    }
+    prog perl-ds:Set-Array = {
+        version   = %{V_set_array}
+        url       = http://www.cpan.org/modules/by-module/Set/
+        regex     = Set-Array-(__VER__)\.tar\.gz
+    }
+    prog perl-ds:Set-Object = {
+        version   = %{V_set_object}
+        url       = http://www.cpan.org/modules/by-module/Set/
+        regex     = Set-Object-(__VER__)\.tar\.gz
+    }
     prog perl-ds:Tie-IxHash = {
         version   = %{V_tie_ixhash}
         url       = http://www.cpan.org/modules/by-module/Tie/
@@ -202,6 +226,9 @@ AutoReqProv:  no
     %setup -q -T -D -a 13
     %setup -q -T -D -a 14
     %setup -q -T -D -a 15
+    %setup -q -T -D -a 16
+    %setup -q -T -D -a 17
+    %setup -q -T -D -a 18
 
 %build
 
@@ -224,6 +251,9 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE13} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE18} 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`