1.1 --- a/perl-parse/perl-parse.spec Tue Sep 20 17:37:48 2011 +0200 1.2 +++ b/perl-parse/perl-parse.spec Wed Sep 21 13:46:39 2011 +0200 1.3 @@ -1,6 +1,6 @@ 1.4 ## 1.5 ## perl-parse.spec -- OpenPKG RPM Package Specification 1.6 -## Copyright (c) 2000-2008 OpenPKG Foundation e.V. <http://openpkg.net/> 1.7 +## Copyright (c) 2000-2011 OpenPKG Foundation e.V. <http://openpkg.net/> 1.8 ## 1.9 ## Permission to use, copy, modify, and distribute this software for 1.10 ## any purpose with or without fee is hereby granted, provided that 1.11 @@ -22,34 +22,36 @@ 1.12 ## 1.13 1.14 # versions of individual parts 1.15 -%define V_perl 5.10.0 1.16 -%define V_config_inifiles 2.48 1.17 -%define V_config_general 2.42 1.18 -%define V_config_simple 4.58 1.19 +%define V_perl 5.14 1.20 +%define V_config_inifiles 2.68 1.21 +%define V_config_general 2.50 1.22 +%define V_config_simple 4.59 1.23 %define V_config_context 0.10 1.24 -%define V_config_scoped 0.12 1.25 +%define V_config_scoped 0.13 1.26 %define V_string_tokenizer 0.05 1.27 -%define V_parse_recdescent 1.95.1 1.28 -%define V_parse_recdescent_faq 6.0.e 1.29 +%define V_parse_recdescent 1.962.2 1.30 +%define V_parse_recdescent_faq 7.5 1.31 %define V_parse_recdescent_deparse 1.00 1.32 %define V_parse_recdescent_consumer 1.03 1.33 %define V_parse_recdescent_topiary 0.05 1.34 %define V_parse_yapp 1.05 1.35 -%define V_parse_eyapp 1.146 1.36 +%define V_parse_eyapp 1.181 1.37 %define V_parse_earley 0.15 1.38 -%define V_parse_lex 2.15 1.39 +%define V_parse_lex 2.20 1.40 %define V_parse_flex 0.12 1.41 %define V_c_scan 0.74 1.42 %define V_appconfig 1.66 1.43 %define V_appconfig_std 1.07 1.44 %define V_ogdl 20041124 1.45 -%define V_text_csv_xs 0.64 1.46 +%define V_text_csv_pp 1.06 1.47 +%define V_text_csv_xs 0.85 1.48 %define V_text_csv_simple 1.00 1.49 -%define V_getopt_long 2.38 1.50 -%define V_getopt_attribute 1.44 1.51 +%define V_getopt_long 2.38_02 1.52 +%define V_getopt_attribute 2.101700 1.53 %define V_getopt_argvfile 1.11 1.54 %define V_getopt_fancy 0.06 1.55 %define V_getopt_ll 1.0.0 1.56 +%define V_getopt_flex 1.07 1.57 1.58 # package information 1.59 Name: perl-parse 1.60 @@ -62,42 +64,44 @@ 1.61 Group: Perl 1.62 License: GPL/Artistic 1.63 Version: %{V_perl} 1.64 -Release: 20090416 1.65 +Release: 20110914 1.66 1.67 # list of sources 1.68 -Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz 1.69 -Source1: http://www.cpan.org/modules/by-module/Config/Config-General-%{V_config_general}.tar.gz 1.70 -Source2: http://www.cpan.org/modules/by-module/Config/Config-Simple-%{V_config_simple}.tar.gz 1.71 -Source3: http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-v%{V_parse_recdescent}.tar.gz 1.72 -Source4: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-FAQ-%{V_parse_recdescent_faq}.tar.gz 1.73 -Source5: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Deparse-%{V_parse_recdescent_deparse}.tar.gz 1.74 -Source6: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Consumer-%{V_parse_recdescent_consumer}.tar.gz 1.75 -Source7: http://www.cpan.org/modules/by-module/Parse/Parse-Yapp-%{V_parse_yapp}.tar.gz 1.76 -Source8: http://www.cpan.org/modules/by-module/Parse/Parse-Earley-%{V_parse_earley}.tar.gz 1.77 -Source9: http://www.cpan.org/modules/by-module/Parse/ParseLex-%{V_parse_lex}.tar.gz 1.78 -Source10: http://www.cpan.org/modules/by-module/C/C-Scan-%{V_c_scan}.tar.gz 1.79 -Source11: http://www.cpan.org/modules/by-module/AppConfig/AppConfig-%{V_appconfig}.tar.gz 1.80 -Source12: http://www.cpan.org/modules/by-module/AppConfig/AppConfig-Std-%{V_appconfig_std}.tar.gz 1.81 +Source0: http://www.cpan.org/authors/id/S/SH/SHLOMIF/Config-IniFiles-%{V_config_inifiles}.tar.gz 1.82 +Source1: http://www.cpan.org/authors/id/T/TL/TLINDEN/Config-General-%{V_config_general}.tar.gz 1.83 +Source2: http://www.cpan.org/authors/id/S/SH/SHERZODR/Config-Simple-%{V_config_simple}.tar.gz 1.84 +Source3: http://www.cpan.org/authors/id/D/DC/DCONWAY/Parse-RecDescent-%{V_parse_recdescent}.tar.gz 1.85 +Source4: http://www.cpan.org/authors/id/T/TB/TBONE/Parse-RecDescent-FAQ-%{V_parse_recdescent_faq}.tar.gz 1.86 +Source5: http://www.cpan.org/authors/id/S/SI/SIMON/Parse-RecDescent-Deparse-%{V_parse_recdescent_deparse}.tar.gz 1.87 +Source6: http://www.cpan.org/authors/id/T/TB/TBONE/Parse-RecDescent-Consumer-%{V_parse_recdescent_consumer}.tar.gz 1.88 +Source7: http://www.cpan.org/authors/id/F/FD/FDESAR/Parse-Yapp-%{V_parse_yapp}.tar.gz 1.89 +Source8: http://www.cpan.org/authors/id/L/LP/LPALMER/Parse-Earley-%{V_parse_earley}.tar.gz 1.90 +Source9: http://www.cpan.org/authors/id/P/PS/PSCUST/ParseLex-%{V_parse_lex}.tar.gz 1.91 +Source10: http://www.cpan.org/authors/id/H/HV/HVDS/C-Scan-%{V_c_scan}.tar.gz 1.92 +Source11: http://www.cpan.org/authors/id/A/AB/ABW/AppConfig-%{V_appconfig}.tar.gz 1.93 +Source12: http://www.cpan.org/authors/id/N/NE/NEILB/AppConfig-Std-%{V_appconfig_std}.tar.gz 1.94 Source13: http://switch.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz 1.95 -Source14: http://www.cpan.org/modules/by-module/String/String-Tokenizer-%{V_string_tokenizer}.tar.gz 1.96 -Source15: http://www.cpan.org/modules/by-module/Config/Config-Context-%{V_config_context}.tar.gz 1.97 -Source16: http://www.cpan.org/modules/by-module/Config/Config-Scoped-%{V_config_scoped}.tar.gz 1.98 -Source17: http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tgz 1.99 -Source18: http://www.cpan.org/modules/by-module/Text/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz 1.100 -Source19: http://www.cpan.org/modules/by-module/Getopt/Getopt-Long-%{V_getopt_long}.tar.gz 1.101 -Source20: http://www.cpan.org/modules/by-module/Getopt/Getopt-Attribute-%{V_getopt_attribute}.tar.gz 1.102 -Source21: http://www.cpan.org/modules/by-module/Getopt/Getopt-ArgvFile-%{V_getopt_argvfile}.tar.gz 1.103 -Source22: http://www.cpan.org/modules/by-module/Getopt/Getopt-Fancy-%{V_getopt_fancy}.tar.gz 1.104 -Source23: http://www.cpan.org/modules/by-module/Getopt/Getopt-LL-%{V_getopt_ll}.tar.gz 1.105 -Source24: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Topiary-%{V_parse_recdescent_topiary}.tar.gz 1.106 -Source25: http://www.cpan.org/modules/by-module/Parse/Parse-Flex-%{V_parse_flex}.tar.gz 1.107 -Source26: http://www.cpan.org/modules/by-module/Parse/Parse-Eyapp-%{V_parse_eyapp}.tar.gz 1.108 +Source14: http://www.cpan.org/authors/id/S/ST/STEVAN/String-Tokenizer-%{V_string_tokenizer}.tar.gz 1.109 +Source15: http://www.cpan.org/authors/id/M/MG/MGRAHAM/Config-Context-%{V_config_context}.tar.gz 1.110 +Source16: http://www.cpan.org/authors/id/G/GA/GAISSMAI/Config-Scoped-%{V_config_scoped}.tar.gz 1.111 +Source17: http://www.cpan.org/modules/by-module/Text/Text-CSV_PP-%{V_text_csv_pp}.tar.gz 1.112 +Source18: http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tgz 1.113 +Source19: http://www.cpan.org/authors/id/T/TM/TMTM/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz 1.114 +Source20: http://www.cpan.org/authors/id/J/JV/JV/Getopt-Long-%{V_getopt_long}.tar.gz 1.115 +Source21: http://www.cpan.org/authors/id/M/MA/MARCEL/Getopt-Attribute-%{V_getopt_attribute}.tar.gz 1.116 +Source22: http://www.cpan.org/authors/id/J/JS/JSTENZEL/Getopt-ArgvFile-%{V_getopt_argvfile}.tar.gz 1.117 +Source23: http://www.cpan.org/authors/id/B/BA/BATMAN/Getopt-Fancy-%{V_getopt_fancy}.tar.gz 1.118 +Source24: http://www.cpan.org/authors/id/A/AS/ASKSH/Getopt-LL-%{V_getopt_ll}.tar.gz 1.119 +Source25: http://www.cpan.org/authors/id/I/IV/IVORW/Parse-RecDescent-Topiary-%{V_parse_recdescent_topiary}.tar.gz 1.120 +Source26: http://www.cpan.org/authors/id/I/IO/IOANNIS/Parse-Flex-%{V_parse_flex}.tar.gz 1.121 +Source27: http://www.cpan.org/authors/id/C/CA/CASIANO/Parse-Eyapp-%{V_parse_eyapp}.tar.gz 1.122 +Source28: http://www.cpan.org/authors/id/R/RP/RPKELLY/Getopt-Flex-%{V_getopt_flex}.tar.gz 1.123 1.124 # build information 1.125 Prefix: %{l_prefix} 1.126 BuildRoot: %{l_buildroot} 1.127 -BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20051031 1.128 -PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl} 1.129 +BuildPreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20051031 1.130 +PreReq: OpenPKG, openpkg >= 20060823, perl >= %{V_perl} 1.131 BuildPreReq: perl-util, perl-module, flex 1.132 PreReq: perl-util, perl-module, flex 1.133 AutoReq: no 1.134 @@ -125,6 +129,7 @@ 1.135 - AppConfig (%{V_appconfig}) 1.136 - AppConfig::Std (%{V_appconfig_std}) 1.137 - OGDL (%{V_ogdl}) 1.138 + - Text::CSV_PP (%{V_text_csv_pp}) 1.139 - Text::CSV_XS (%{V_text_csv_xs}) 1.140 - Text::CSV::Simple (%{V_text_csv_simple}) 1.141 - Getopt::Long (%{V_getopt_long}) 1.142 @@ -132,21 +137,22 @@ 1.143 - Getopt::ArgvFile (%{V_getopt_argvfile}) 1.144 - Getopt::Fancy (%{V_getopt_fancy}) 1.145 - Getopt::LL (%{V_getopt_ll}) 1.146 + - Getopt::Flex (%{V_getopt_flex}) 1.147 1.148 %track 1.149 prog perl-parse:Config-General = { 1.150 version = %{V_config_general} 1.151 - url = http://www.cpan.org/modules/by-module/Config/ 1.152 + url = http://www.cpan.org/authors/id/T/TL/TLINDEN/ 1.153 regex = Config-General-(__VER__)\.tar\.gz 1.154 } 1.155 prog perl-parse:Config-IniFiles = { 1.156 version = %{V_config_inifiles} 1.157 - url = http://www.cpan.org/modules/by-module/Config/ 1.158 + url = http://www.cpan.org/authors/id/S/SH/SHLOMIF/ 1.159 regex = Config-IniFiles-(__VER__)\.tar\.gz 1.160 } 1.161 prog perl-parse:Config-Simple = { 1.162 version = %{V_config_simple} 1.163 - url = http://www.cpan.org/modules/by-module/Config/ 1.164 + url = http://www.cpan.org/authors/id/S/SH/SHERZODR/ 1.165 regex = Config-Simple-(__VER__)\.tar\.gz 1.166 } 1.167 prog perl-parse:Parse-RecDescent = { 1.168 @@ -156,84 +162,89 @@ 1.169 } 1.170 prog perl-parse:Parse-RecDescent-Consumer = { 1.171 version = %{V_parse_recdescent_consumer} 1.172 - url = http://www.cpan.org/modules/by-module/Parse/ 1.173 + url = http://www.cpan.org/authors/id/T/TB/TBONE/ 1.174 regex = Parse-RecDescent-Consumer-(__VER__)\.tar\.gz 1.175 } 1.176 prog perl-parse:Parse-RecDescent-Deparse = { 1.177 version = %{V_parse_recdescent_deparse} 1.178 - url = http://www.cpan.org/modules/by-module/Parse/ 1.179 + url = http://www.cpan.org/authors/id/S/SI/SIMON/ 1.180 regex = Parse-RecDescent-Deparse-(__VER__)\.tar\.gz 1.181 } 1.182 prog perl-parse:Parse-RecDescent-FAQ = { 1.183 version = %{V_parse_recdescent_faq} 1.184 - url = http://www.cpan.org/modules/by-module/Parse/ 1.185 + url = http://www.cpan.org/authors/id/T/TB/TBONE/ 1.186 regex = Parse-RecDescent-FAQ-(__VER__)\.tar\.gz 1.187 } 1.188 prog perl-parse:Parse-RecDescent-Topiary = { 1.189 version = %{V_parse_recdescent_topiary} 1.190 - url = http://www.cpan.org/modules/by-module/Parse/ 1.191 + url = http://www.cpan.org/authors/id/I/IV/IVORW/ 1.192 regex = Parse-RecDescent-Topiary-(__VER__)\.tar\.gz 1.193 } 1.194 prog perl-parse:Parse-Yapp = { 1.195 version = %{V_parse_yapp} 1.196 - url = http://www.cpan.org/modules/by-module/Parse/ 1.197 + url = http://www.cpan.org/authors/id/F/FD/FDESAR/ 1.198 regex = Parse-Yapp-(__VER__)\.tar\.gz 1.199 } 1.200 prog perl-parse:Parse-Eyapp = { 1.201 version = %{V_parse_eyapp} 1.202 - url = http://www.cpan.org/modules/by-module/Parse/ 1.203 + url = http://www.cpan.org/authors/id/C/CA/CASIANO/ 1.204 regex = Parse-Eyapp-(__VER__)\.tar\.gz 1.205 } 1.206 prog perl-parse:Parse-Earley = { 1.207 version = %{V_parse_earley} 1.208 - url = http://www.cpan.org/modules/by-module/Parse/ 1.209 + url = http://www.cpan.org/authors/id/L/LP/LPALMER/ 1.210 regex = Parse-Earley-(__VER__)\.tar\.gz 1.211 } 1.212 prog perl-parse:Parse-Lex = { 1.213 version = %{V_parse_lex} 1.214 - url = http://www.cpan.org/modules/by-module/Parse/ 1.215 + url = http://www.cpan.org/authors/id/P/PS/PSCUST/ 1.216 regex = ParseLex-(__VER__)\.tar\.gz 1.217 } 1.218 prog perl-parse:Parse-Flex = { 1.219 version = %{V_parse_flex} 1.220 - url = http://www.cpan.org/modules/by-module/Parse/ 1.221 + url = http://www.cpan.org/authors/id/I/IO/IOANNIS/ 1.222 regex = Parse-Flex-(__VER__)\.tar\.gz 1.223 } 1.224 prog perl-parse:C-Scan = { 1.225 version = %{V_c_scan} 1.226 - url = http://www.cpan.org/modules/by-module/C/ 1.227 + url = http://www.cpan.org/authors/id/H/HV/HVDS/ 1.228 regex = C-Scan-(__VER__)\.tar\.gz 1.229 } 1.230 prog perl-parse:AppConfig = { 1.231 version = %{V_appconfig} 1.232 - url = http://www.cpan.org/modules/by-module/AppConfig/ 1.233 + url = http://www.cpan.org/authors/id/A/AB/ABW/ 1.234 regex = AppConfig-(__VER__)\.tar\.gz 1.235 } 1.236 prog perl-parse:AppConfig-Std = { 1.237 version = %{V_appconfig_std} 1.238 - url = http://www.cpan.org/modules/by-module/AppConfig/ 1.239 + url = http://www.cpan.org/authors/id/N/NE/NEILB/ 1.240 regex = AppConfig-Std-(__VER__)\.tar\.gz 1.241 } 1.242 prog perl-parse:OGDL = { 1.243 version = %{V_ogdl} 1.244 - url = http://prdownloads.sourceforge.net/ogdl/ 1.245 + url = http://sourceforge.net/projects/ogdl/files/ 1.246 regex = ogdlutils-(__VER__)\.tgz 1.247 } 1.248 prog perl-parse:String-Tokenizer = { 1.249 version = %{V_string_tokenizer} 1.250 - url = http://www.cpan.org/modules/by-module/String/ 1.251 + url = http://www.cpan.org/authors/id/S/ST/STEVAN/ 1.252 regex = String-Tokenizer-(__VER__)\.tar\.gz 1.253 } 1.254 prog perl-parse:Config-Context = { 1.255 version = %{V_config_context} 1.256 - url = http://www.cpan.org/modules/by-module/Config/ 1.257 + url = http://www.cpan.org/authors/id/M/MG/MGRAHAM/ 1.258 regex = Config-Context-(__VER__)\.tar\.gz 1.259 } 1.260 prog perl-parse:Config-Scoped = { 1.261 version = %{V_config_scoped} 1.262 - url = http://www.cpan.org/modules/by-module/Config/ 1.263 + url = http://www.cpan.org/authors/id/G/GA/GAISSMAI/ 1.264 regex = Config-Scoped-(__VER__)\.tar\.gz 1.265 } 1.266 + prog perl-parse:Text-CSV_PP = { 1.267 + version = %{V_text_csv_pp} 1.268 + url = http://www.cpan.org/modules/by-module/Text/ 1.269 + regex = Text-CSV_PP-(__VER__)\.tar\.gz 1.270 + } 1.271 prog perl-parse:Text-CSV_XS = { 1.272 version = %{V_text_csv_xs} 1.273 url = http://www.cpan.org/modules/by-module/Text/ 1.274 @@ -241,34 +252,39 @@ 1.275 } 1.276 prog perl-parse:Text-CSV-Simple = { 1.277 version = %{V_text_csv_simple} 1.278 - url = http://www.cpan.org/modules/by-module/Text/ 1.279 + url = http://www.cpan.org/authors/id/T/TM/TMTM/ 1.280 regex = Text-CSV-Simple-(__VER__)\.tar\.gz 1.281 } 1.282 prog perl-parse:Getopt-Long = { 1.283 version = %{V_getopt_long} 1.284 - url = http://www.cpan.org/modules/by-module/Getopt/ 1.285 + url = http://www.cpan.org/authors/id/J/JV/JV/ 1.286 regex = Getopt-Long-(__VER__)\.tar\.gz 1.287 } 1.288 prog perl-parse:Getopt-Attribute = { 1.289 version = %{V_getopt_attribute} 1.290 - url = http://www.cpan.org/modules/by-module/Getopt/ 1.291 + url = http://www.cpan.org/authors/id/M/MA/MARCEL/ 1.292 regex = Getopt-Attribute-(__VER__)\.tar\.gz 1.293 } 1.294 prog perl-parse:Getopt-ArgvFile = { 1.295 version = %{V_getopt_argvfile} 1.296 - url = http://www.cpan.org/modules/by-module/Getopt/ 1.297 + url = http://www.cpan.org/authors/id/J/JS/JSTENZEL/ 1.298 regex = Getopt-ArgvFile-(__VER__)\.tar\.gz 1.299 } 1.300 prog perl-parse:Getopt-Fancy = { 1.301 version = %{V_getopt_fancy} 1.302 - url = http://www.cpan.org/modules/by-module/Getopt/ 1.303 + url = http://www.cpan.org/authors/id/B/BA/BATMAN/ 1.304 regex = Getopt-Fancy-(__VER__)\.tar\.gz 1.305 } 1.306 prog perl-parse:Getopt-LL = { 1.307 version = %{V_getopt_ll} 1.308 - url = http://www.cpan.org/modules/by-module/Getopt/ 1.309 + url = http://www.cpan.org/authors/id/A/AS/ASKSH/ 1.310 regex = Getopt-LL-(__VER__)\.tar\.gz 1.311 } 1.312 + prog perl-parse:Getopt-Flex = { 1.313 + version = %{V_getopt_flex} 1.314 + url = http://www.cpan.org/authors/id/R/RP/RPKELLY/ 1.315 + regex = Getopt-Flex-(__VER__)\.tar\.gz 1.316 + } 1.317 1.318 %prep 1.319 %setup -q -c 1.320 @@ -298,6 +314,8 @@ 1.321 %setup -q -T -D -a 24 1.322 %setup -q -T -D -a 25 1.323 %setup -q -T -D -a 26 1.324 + %setup -q -T -D -a 27 1.325 + %setup -q -T -D -a 28 1.326 1.327 %build 1.328 1.329 @@ -335,6 +353,8 @@ 1.330 %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install 1.331 %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install 1.332 %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install 1.333 + %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install 1.334 + %{l_prefix}/bin/perl-openpkg -d %{SOURCE28} configure build install 1.335 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup 1.336 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` 1.337