|
|
@@ -43,6 +43,9 @@
|
|
|
%define V_template 2.14
|
|
|
%define V_yaml 0.39
|
|
|
%define V_ogdl 20041124
|
|
|
+%define V_text_csv_pp 1.01
|
|
|
+%define V_text_csv_xs 0.23
|
|
|
+%define V_text_csv_simple 1.00
|
|
|
|
|
|
# package information
|
|
|
Name: perl-parse
|
|
|
@@ -55,7 +58,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20051108
|
|
|
+Release: 20051113
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
|
|
|
@@ -77,12 +80,17 @@ Source15: http://osdn.dl.sourceforge.net/ogdl/ogdlutils-%{V_ogdl}.tgz
|
|
|
Source16: http://www.cpan.org/modules/by-module/String/String-Tokenizer-%{V_string_tokenizer}.tar.gz
|
|
|
Source17: http://www.cpan.org/modules/by-module/Config/Config-Context-%{V_config_context}.tar.gz
|
|
|
Source18: http://www.cpan.org/modules/by-module/Config/Config-Scoped-%{V_config_scoped}.tar.gz
|
|
|
+Source19: http://www.cpan.org/modules/by-module/Text/Text-CSV_PP-%{V_text_csv_pp}.tar.gz
|
|
|
+Source20: http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tar.gz
|
|
|
+Source21: http://www.cpan.org/modules/by-module/Text/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-util, perl-openpkg >= %{V_perl}-20040126
|
|
|
-PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-util
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20051031
|
|
|
+PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
|
|
|
+BuildPreReq: perl-util
|
|
|
+PreReq: perl-util
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -107,6 +115,9 @@ AutoReqProv: no
|
|
|
- Template (%{V_template})
|
|
|
- YAML (%{V_yaml})
|
|
|
- OGDL (%{V_ogdl})
|
|
|
+ - Text::CSV_PP (%{V_text_csv_pp})
|
|
|
+ - Text::CSV_XS (%{V_text_csv_xs})
|
|
|
+ - Text::CSV::Simple (%{V_text_csv_simple})
|
|
|
|
|
|
%track
|
|
|
prog perl-parse:Config-General = {
|
|
|
@@ -204,6 +215,21 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Config/
|
|
|
regex = Config-Scoped-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-parse:Text-CSV_PP = {
|
|
|
+ version = %{V_text_csv_pp}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Text/
|
|
|
+ regex = Text-CSV_PP-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-parse:Text-CSV_XS = {
|
|
|
+ version = %{V_text_csv_xs}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Text/
|
|
|
+ regex = Text-CSV_XS-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-parse:Text-CSV-Simple = {
|
|
|
+ version = %{V_text_csv_simple}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Text/
|
|
|
+ regex = Text-CSV-Simple-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -225,6 +251,9 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 16
|
|
|
%setup -q -T -D -a 17
|
|
|
%setup -q -T -D -a 18
|
|
|
+ %setup -q -T -D -a 19
|
|
|
+ %setup -q -T -D -a 20
|
|
|
+ %setup -q -T -D -a 21
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -257,6 +286,9 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE17} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE18} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE19} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE20} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE21} 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`
|
|
|
|