Ver código fonte

bump up with CPAN stuff

Ralf S. Engelschall 24 anos atrás
pai
commit
cf1af3fac9
1 arquivos alterados com 21 adições e 10 exclusões
  1. 21 10
      perl-parse/perl-parse.spec

+ 21 - 10
perl-parse/perl-parse.spec

@@ -24,8 +24,11 @@
 ##
 
 #   versions of individual parts
-%define       V_inifiles          2.27
-%define       V_recdescent        1.80
+%define       V_config_inifiles   2.27
+%define       V_config_general    1.36
+%define       V_config_simple     2.81
+%define       V_parse_recdescent  1.80
+%define       V_parse_lex         2.15
 
 #   package information
 Name:         perl-parse
@@ -36,12 +39,15 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [REL]
 Group:        Language
 License:      GPL/Artistic
-Version:      20020517
-Release:      20020517
+Version:      20020606
+Release:      20020606
 
 #   list of sources
-Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_inifiles}.tar.gz
-Source1: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-%{V_recdescent}.tar.gz
+Source0:      http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
+Source1:      http://www.cpan.org/modules/by-module/Config/Config-General-%{V_config_general}.tar.gz
+Source2:      http://www.cpan.org/modules/by-module/Config/Config-Simple-%{V_config_simple}.tar.gz
+Source3:      http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-%{V_parse_recdescent}.tar.gz
+Source4:      http://www.cpan.org/modules/by-module/Parse/ParseLex-%{V_parse_lex}.tar.gz
 
 #   build information
 Prefix:       %{l_prefix}
@@ -53,12 +59,17 @@ AutoReqProv:  no
 
 %description
     Perl modules for use with parsing algorythms:
-    - Config::IniFiles (%{V_inifiles})
-    - Parse::RecDescent (%{V_recdescent})
+    - Config::IniFiles (%{V_config_inifiles})
+    - Config::General (%{V_config_general})
+    - Parse::RecDescent (%{V_parse_recdescent})
+    - Parse::Nibbler (%{V_parse_nibbler})
 
 %prep
     %setup0 -q -c -n %{name}-%{version}
-    %setup1  -q -T -D -a 1
+    %setup1 -q -T -D -a 1
+    %setup2 -q -T -D -a 2
+    %setup3 -q -T -D -a 3
+    %setup4 -q -T -D -a 4
 
 %build
 
@@ -80,7 +91,7 @@ AutoReqProv:  no
     chmod a+x $perl
 
     # uncompress and build modules
-    for mod in %{SOURCE0} %{SOURCE1}; do
+    for mod in %{SOURCE0} %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4}; do
         dir=`echo "$mod" | sed -e 's;^.*/\([^/]*\)\.tar\.gz$;\1;'`
         cd $dir
         chmod -R u+rw .