perl-parse/perl-parse.spec

changeset 59
65ddf2e1fe94
parent 57
b2ef87c65d24
child 158
f144dd621b72
equal deleted inserted replaced
0:e662eb8141e8 1:ff3adf7569d2
41 %define V_parse_flex 0.12 41 %define V_parse_flex 0.12
42 %define V_c_scan 0.74 42 %define V_c_scan 0.74
43 %define V_appconfig 1.66 43 %define V_appconfig 1.66
44 %define V_appconfig_std 1.07 44 %define V_appconfig_std 1.07
45 %define V_ogdl 20041124 45 %define V_ogdl 20041124
46 %define V_text_csv_pp 1.06
47 %define V_text_csv_xs 0.58 46 %define V_text_csv_xs 0.58
48 %define V_text_csv_simple 1.00 47 %define V_text_csv_simple 1.00
49 %define V_getopt_long 2.37 48 %define V_getopt_long 2.37
50 %define V_getopt_attribute 1.44 49 %define V_getopt_attribute 1.44
51 %define V_getopt_argvfile 1.11 50 %define V_getopt_argvfile 1.11
61 Distribution: OpenPKG Community 60 Distribution: OpenPKG Community
62 Class: BASE 61 Class: BASE
63 Group: Perl 62 Group: Perl
64 License: GPL/Artistic 63 License: GPL/Artistic
65 Version: %{V_perl} 64 Version: %{V_perl}
66 Release: 20081228 65 Release: 20090106
67 66
68 # list of sources 67 # list of sources
69 Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz 68 Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
70 Source1: http://www.cpan.org/modules/by-module/Config/Config-General-%{V_config_general}.tar.gz 69 Source1: http://www.cpan.org/modules/by-module/Config/Config-General-%{V_config_general}.tar.gz
71 Source2: http://www.cpan.org/modules/by-module/Config/Config-Simple-%{V_config_simple}.tar.gz 70 Source2: http://www.cpan.org/modules/by-module/Config/Config-Simple-%{V_config_simple}.tar.gz
81 Source12: http://www.cpan.org/modules/by-module/AppConfig/AppConfig-Std-%{V_appconfig_std}.tar.gz 80 Source12: http://www.cpan.org/modules/by-module/AppConfig/AppConfig-Std-%{V_appconfig_std}.tar.gz
82 Source13: http://switch.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz 81 Source13: http://switch.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz
83 Source14: http://www.cpan.org/modules/by-module/String/String-Tokenizer-%{V_string_tokenizer}.tar.gz 82 Source14: http://www.cpan.org/modules/by-module/String/String-Tokenizer-%{V_string_tokenizer}.tar.gz
84 Source15: http://www.cpan.org/modules/by-module/Config/Config-Context-%{V_config_context}.tar.gz 83 Source15: http://www.cpan.org/modules/by-module/Config/Config-Context-%{V_config_context}.tar.gz
85 Source16: http://www.cpan.org/modules/by-module/Config/Config-Scoped-%{V_config_scoped}.tar.gz 84 Source16: http://www.cpan.org/modules/by-module/Config/Config-Scoped-%{V_config_scoped}.tar.gz
86 Source17: http://www.cpan.org/modules/by-module/Text/Text-CSV_PP-%{V_text_csv_pp}.tar.gz 85 Source17: http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tgz
87 Source18: http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tgz 86 Source18: http://www.cpan.org/modules/by-module/Text/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz
88 Source19: http://www.cpan.org/modules/by-module/Text/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz 87 Source19: http://www.cpan.org/modules/by-module/Getopt/Getopt-Long-%{V_getopt_long}.tar.gz
89 Source20: http://www.cpan.org/modules/by-module/Getopt/Getopt-Long-%{V_getopt_long}.tar.gz 88 Source20: http://www.cpan.org/modules/by-module/Getopt/Getopt-Attribute-%{V_getopt_attribute}.tar.gz
90 Source21: http://www.cpan.org/modules/by-module/Getopt/Getopt-Attribute-%{V_getopt_attribute}.tar.gz 89 Source21: http://www.cpan.org/modules/by-module/Getopt/Getopt-ArgvFile-%{V_getopt_argvfile}.tar.gz
91 Source22: http://www.cpan.org/modules/by-module/Getopt/Getopt-ArgvFile-%{V_getopt_argvfile}.tar.gz 90 Source22: http://www.cpan.org/modules/by-module/Getopt/Getopt-Fancy-%{V_getopt_fancy}.tar.gz
92 Source23: http://www.cpan.org/modules/by-module/Getopt/Getopt-Fancy-%{V_getopt_fancy}.tar.gz 91 Source23: http://www.cpan.org/modules/by-module/Getopt/Getopt-LL-%{V_getopt_ll}.tar.gz
93 Source24: http://www.cpan.org/modules/by-module/Getopt/Getopt-LL-%{V_getopt_ll}.tar.gz 92 Source24: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Topiary-%{V_parse_recdescent_topiary}.tar.gz
94 Source25: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Topiary-%{V_parse_recdescent_topiary}.tar.gz 93 Source25: http://www.cpan.org/modules/by-module/Parse/Parse-Flex-%{V_parse_flex}.tar.gz
95 Source26: http://www.cpan.org/modules/by-module/Parse/Parse-Flex-%{V_parse_flex}.tar.gz 94 Source26: http://www.cpan.org/modules/by-module/Parse/Parse-Eyapp-%{V_parse_eyapp}.tar.gz
96 Source27: http://www.cpan.org/modules/by-module/Parse/Parse-Eyapp-%{V_parse_eyapp}.tar.gz
97 95
98 # build information 96 # build information
99 Prefix: %{l_prefix} 97 Prefix: %{l_prefix}
100 BuildRoot: %{l_buildroot} 98 BuildRoot: %{l_buildroot}
101 BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20051031 99 BuildPreReq: OpenPKG, openpkg >= 20040130
102 PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl} 100 PreReq: OpenPKG, openpkg >= 20040130
101 BuildPreReq: perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20051031, tar
102 PreReq: perl >= %{V_perl}
103 BuildPreReq: perl-util, perl-module, flex 103 BuildPreReq: perl-util, perl-module, flex
104 PreReq: perl-util, perl-module, flex 104 PreReq: perl-util, perl-module, flex
105 AutoReq: no 105 AutoReq: no
106 AutoReqProv: no 106 AutoReqProv: no
107 107
125 - Parse::Flex (%{V_parse_flex}) 125 - Parse::Flex (%{V_parse_flex})
126 - C::Scan (%{V_c_scan}) 126 - C::Scan (%{V_c_scan})
127 - AppConfig (%{V_appconfig}) 127 - AppConfig (%{V_appconfig})
128 - AppConfig::Std (%{V_appconfig_std}) 128 - AppConfig::Std (%{V_appconfig_std})
129 - OGDL (%{V_ogdl}) 129 - OGDL (%{V_ogdl})
130 - Text::CSV_PP (%{V_text_csv_pp})
131 - Text::CSV_XS (%{V_text_csv_xs}) 130 - Text::CSV_XS (%{V_text_csv_xs})
132 - Text::CSV::Simple (%{V_text_csv_simple}) 131 - Text::CSV::Simple (%{V_text_csv_simple})
133 - Getopt::Long (%{V_getopt_long}) 132 - Getopt::Long (%{V_getopt_long})
134 - Getopt::Attribute (%{V_getopt_attribute}) 133 - Getopt::Attribute (%{V_getopt_attribute})
135 - Getopt::ArgvFile (%{V_getopt_argvfile}) 134 - Getopt::ArgvFile (%{V_getopt_argvfile})
234 } 233 }
235 prog perl-parse:Config-Scoped = { 234 prog perl-parse:Config-Scoped = {
236 version = %{V_config_scoped} 235 version = %{V_config_scoped}
237 url = http://www.cpan.org/modules/by-module/Config/ 236 url = http://www.cpan.org/modules/by-module/Config/
238 regex = Config-Scoped-(__VER__)\.tar\.gz 237 regex = Config-Scoped-(__VER__)\.tar\.gz
239 }
240 prog perl-parse:Text-CSV_PP = {
241 version = %{V_text_csv_pp}
242 url = http://www.cpan.org/modules/by-module/Text/
243 regex = Text-CSV_PP-(__VER__)\.tar\.gz
244 } 238 }
245 prog perl-parse:Text-CSV_XS = { 239 prog perl-parse:Text-CSV_XS = {
246 version = %{V_text_csv_xs} 240 version = %{V_text_csv_xs}
247 url = http://www.cpan.org/modules/by-module/Text/ 241 url = http://www.cpan.org/modules/by-module/Text/
248 regex = Text-CSV_XS-(__VER__)\.t(ar\.)?gz 242 regex = Text-CSV_XS-(__VER__)\.t(ar\.)?gz
304 %setup -q -T -D -a 22 298 %setup -q -T -D -a 22
305 %setup -q -T -D -a 23 299 %setup -q -T -D -a 23
306 %setup -q -T -D -a 24 300 %setup -q -T -D -a 24
307 %setup -q -T -D -a 25 301 %setup -q -T -D -a 25
308 %setup -q -T -D -a 26 302 %setup -q -T -D -a 26
309 %setup -q -T -D -a 27
310 303
311 %build 304 %build
312 305
313 %install 306 %install
314 rm -rf $RPM_BUILD_ROOT 307 rm -rf $RPM_BUILD_ROOT
342 %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install 335 %{l_prefix}/bin/perl-openpkg -d %{SOURCE22} configure build install
343 %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install 336 %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
344 %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install 337 %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
345 %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install 338 %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} configure build install
346 %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install 339 %{l_prefix}/bin/perl-openpkg -d %{SOURCE26} configure build install
347 %{l_prefix}/bin/perl-openpkg -d %{SOURCE27} configure build install
348 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup 340 %{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
349 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files` 341 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
350 342
351 %files -f files 343 %files -f files
352 344

mercurial