Kaynağa Gözat

add a few more useful modules

Ralf S. Engelschall 21 yıl önce
ebeveyn
işleme
284a137d2c
1 değiştirilmiş dosya ile 31 ekleme ve 1 silme
  1. 31 1
      perl-ds/perl-ds.spec

+ 31 - 1
perl-ds/perl-ds.spec

@@ -35,6 +35,9 @@
 %define       V_tree_simple     1.10
 %define       V_tree_trie       1.0
 %define       V_tree_bptree     1.06
+%define       V_array_window    0.4
+%define       V_array_each      0.02
+%define       V_array_sort      0.02
 
 #   package information
 Name:         perl-ds
@@ -47,7 +50,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20040903
+Release:      20040919
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Bit/Bit-Vector-%{V_bit_vector}.tar.gz
@@ -60,6 +63,9 @@ Source6:      http://www.cpan.org/modules/by-module/Tree/Tree-Nary-%{V_tree_nary
 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/Array/Array-Sort-%{V_array_sort}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -81,6 +87,9 @@ AutoReqProv:  no
     - Tree::Simple (%{V_tree_simple})
     - Tree::Trie (%{V_tree_trie})
     - Tree::BPTree (%{V_tree_bptree})
+    - Array::Window (%{V_array_window})
+    - Array::Each (%{V_array_each})
+    - Array::Sort (%{V_array_sort})
 
 %track
     prog perl-ds:Bit-Vector = {
@@ -134,6 +143,21 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Tree/
         regex     = Tree-BPTree-(__VER__)\.tar\.gz
     }
+    prog perl-ds:Array-Window = {
+        version   = %{V_array_window}
+        url       = http://www.cpan.org/modules/by-module/Array/
+        regex     = Array-Window-(__VER__)\.tar\.gz
+    }
+    prog perl-ds:Array-Each = {
+        version   = %{V_array_each}
+        url       = http://www.cpan.org/modules/by-module/Array/
+        regex     = Array-Each-(__VER__)\.tar\.gz
+    }
+    prog perl-ds:Array-Sort = {
+        version   = %{V_array_sort}
+        url       = http://www.cpan.org/modules/by-module/Array/
+        regex     = Array-Sort-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -146,6 +170,9 @@ AutoReqProv:  no
     %setup -q -T -D -a 7
     %setup -q -T -D -a 8
     %setup -q -T -D -a 9
+    %setup -q -T -D -a 10
+    %setup -q -T -D -a 11
+    %setup -q -T -D -a 12
 
 %build
 
@@ -162,6 +189,9 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE7}  configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE8}  configure build install
     %{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 -F perl-openpkg-files fixate cleanup
     %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`