ソースを参照

add three modules which look great and are needed by SVK (currently under packaging) anyway

Ralf S. Engelschall 20 年 前
コミット
bc2c4bdd0a
1 ファイル変更31 行追加1 行削除
  1. 31 1
      perl-util/perl-util.spec

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

@@ -54,6 +54,7 @@
 %define       V_data_table               1.43
 %define       V_data_compare             0.13
 %define       V_data_dumper_simple       0.06
+%define       V_data_hierarchy           0.21
 %define       V_exception_class          1.20
 %define       V_geography_countries      1.4
 %define       V_object_realize_later     0.15
@@ -81,6 +82,8 @@
 %define       V_path_class               0.08
 %define       V_anydata                  0.10
 %define       V_ootools                  1.79
+%define       V_clone                    0.15
+%define       V_clone_pp                 1.02
 
 #   package information
 Name:         perl-util
@@ -93,7 +96,7 @@ Class:        BASE
 Group:        Language
 License:      GPL/Artistic
 Version:      %{V_perl}
-Release:      20050303
+Release:      20050306
 
 #   list of sources
 Source0:      http://www.cpan.org/modules/by-module/Test/Test-%{V_test}.tar.gz
@@ -152,6 +155,9 @@ Source52:     http://www.cpan.org/modules/by-module/Data/Data-Dumper-Simple-%{V_
 Source53:     http://www.cpan.org/authors/id/K/KW/KWILLIAMS/Path-Class-%{V_path_class}.tar.gz
 Source54:     http://www.cpan.org/modules/by-module/AnyData/AnyData-%{V_anydata}.tar.gz
 Source55:     http://www.cpan.org/authors/id/D/DO/DOMIZIO/OOTools-%{V_ootools}.tar.gz
+Source56:     http://www.cpan.org/modules/by-module/Data/Data-Hierarchy-%{V_data_hierarchy}.tar.gz
+Source57:     http://www.cpan.org/modules/by-module/Clone/Clone-%{V_clone}.tar.gz
+Source58:     http://www.cpan.org/modules/by-module/Clone/Clone-PP-%{V_clone_pp}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -192,6 +198,7 @@ AutoReqProv:  no
     - Data::Table (%{V_data_table})
     - Data::Compare (%{V_data_compare})
     - Data::Dumper::Simple (%{V_data_dumper_simple})
+    - Data::Hierarchy (%{V_data_hierarchy})
     - Exception::Class (%{V_exception_class})
     - Geography::Countries (%{V_geography_countries})
     - Object::Realize::Later (%{V_object_realize_later})
@@ -219,6 +226,8 @@ AutoReqProv:  no
     - Path::Class (%{V_path_class})
     - AnyData (%{V_anydata})
     - OOTools (%{V_ootools})
+    - Clone (%{V_clone})
+    - Clone::PP (%{V_clone_pp})
 
 %track
     prog perl-util:Alias = {
@@ -366,6 +375,11 @@ AutoReqProv:  no
         url       = http://www.cpan.org/modules/by-module/Data/
         regex     = Data-Dumper-Simple-(__VER__)\.tar\.gz
     }
+    prog perl-util:Data-Hierarchy = {
+        version   = %{V_data_hierarchy}
+        url       = http://www.cpan.org/modules/by-module/Data/
+        regex     = Data-Hierarchy-(__VER__)\.tar\.gz
+    }
     prog perl-util:Exception-Class = {
         version   = %{V_exception_class}
         url       = http://www.cpan.org/modules/by-module/Exception/
@@ -501,6 +515,16 @@ AutoReqProv:  no
         url       = http://www.cpan.org/authors/id/D/DO/DOMIZIO/
         regex     = OOTools-(__VER__)\.tar\.gz
     }
+    prog perl-util:Clone = {
+        version   = %{V_clone}
+        url       = http://www.cpan.org/modules/by-module/Clone/
+        regex     = Clone-(__VER__)\.tar\.gz
+    }
+    prog perl-util:Clone-PP = {
+        version   = %{V_clone_pp}
+        url       = http://www.cpan.org/modules/by-module/Clone/
+        regex     = Clone-PP-(__VER__)\.tar\.gz
+    }
 
 %prep
     %setup -q -c
@@ -559,6 +583,9 @@ AutoReqProv:  no
     %setup -q -T -D -a 53
     %setup -q -T -D -a 54
     %setup -q -T -D -a 55
+    %setup -q -T -D -a 56
+    %setup -q -T -D -a 57
+    %setup -q -T -D -a 58
 
 %build
 
@@ -621,6 +648,9 @@ AutoReqProv:  no
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE53} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE54} configure build install
     %{l_prefix}/bin/perl-openpkg -d %{SOURCE55} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE56} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE57} configure build install
+    %{l_prefix}/bin/perl-openpkg -d %{SOURCE58} configure build install
     rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/replace
     rm -f $RPM_BUILD_ROOT%{l_prefix}/bin/prove
     %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup