|
|
@@ -45,6 +45,11 @@
|
|
|
%define V_text_csv_pp 1.05
|
|
|
%define V_text_csv_xs 0.31
|
|
|
%define V_text_csv_simple 1.00
|
|
|
+%define V_getopt_long 2.36
|
|
|
+%define V_getopt_attribute 1.42
|
|
|
+%define V_getopt_argvfile 1.11
|
|
|
+%define V_getopt_fancy 0.05
|
|
|
+%define V_getopt_ll 0.0.5
|
|
|
|
|
|
# package information
|
|
|
Name: perl-parse
|
|
|
@@ -57,7 +62,7 @@ Class: BASE
|
|
|
Group: Perl
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20070817
|
|
|
+Release: 20070910
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
|
|
|
@@ -81,6 +86,11 @@ Source17: http://www.cpan.org/modules/by-module/Config/Config-Scoped-%{V_con
|
|
|
Source18: http://www.cpan.org/modules/by-module/Text/Text-CSV_PP-%{V_text_csv_pp}.tar.gz
|
|
|
Source19: http://www.cpan.org/modules/by-module/Text/Text-CSV_XS-%{V_text_csv_xs}.tar.gz
|
|
|
Source20: http://www.cpan.org/modules/by-module/Text/Text-CSV-Simple-%{V_text_csv_simple}.tar.gz
|
|
|
+Source21: http://www.cpan.org/modules/by-module/Getopt/Getopt-Long-%{V_getopt_long}.tar.gz
|
|
|
+Source22: http://www.cpan.org/modules/by-module/Getopt/Getopt-Attribute-%{V_getopt_attribute}.tar.gz
|
|
|
+Source23: http://www.cpan.org/modules/by-module/Getopt/Getopt-ArgvFile-%{V_getopt_argvfile}.tar.gz
|
|
|
+Source24: http://www.cpan.org/modules/by-module/Getopt/Getopt-Fancy-%{V_getopt_fancy}.tar.gz
|
|
|
+Source25: http://www.cpan.org/modules/by-module/Getopt/Getopt-LL-%{V_getopt_ll}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -115,6 +125,11 @@ AutoReqProv: no
|
|
|
- Text::CSV_PP (%{V_text_csv_pp})
|
|
|
- Text::CSV_XS (%{V_text_csv_xs})
|
|
|
- Text::CSV::Simple (%{V_text_csv_simple})
|
|
|
+ - Getopt::Long (%{V_getopt_long})
|
|
|
+ - Getopt::Attribute (%{V_getopt_attribute})
|
|
|
+ - Getopt::ArgvFile (%{V_getopt_argvfile})
|
|
|
+ - Getopt::Fancy (%{V_getopt_fancy})
|
|
|
+ - Getopt::LL (%{V_getopt_ll})
|
|
|
|
|
|
%track
|
|
|
prog perl-parse:Config-General = {
|
|
|
@@ -222,6 +237,31 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Text/
|
|
|
regex = Text-CSV-Simple-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-parse:Getopt-Long = {
|
|
|
+ version = %{V_getopt_long}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Getopt/
|
|
|
+ regex = Getopt-Long-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-parse:Getopt-Attribute = {
|
|
|
+ version = %{V_getopt_attribute}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Getopt/
|
|
|
+ regex = Getopt-Attribute-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-parse:Getopt-ArgvFile = {
|
|
|
+ version = %{V_getopt_argvfile}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Getopt/
|
|
|
+ regex = Getopt-ArgvFile-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-parse:Getopt-Fancy = {
|
|
|
+ version = %{V_getopt_fancy}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Getopt/
|
|
|
+ regex = Getopt-Fancy-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-parse:Getopt-LL = {
|
|
|
+ version = %{V_getopt_ll}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Getopt/
|
|
|
+ regex = Getopt-LL-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -245,6 +285,11 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 18
|
|
|
%setup -q -T -D -a 19
|
|
|
%setup -q -T -D -a 20
|
|
|
+ %setup -q -T -D -a 21
|
|
|
+ %setup -q -T -D -a 22
|
|
|
+ %setup -q -T -D -a 23
|
|
|
+ %setup -q -T -D -a 24
|
|
|
+ %setup -q -T -D -a 25
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -279,6 +324,11 @@ AutoReqProv: no
|
|
|
%{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 -d %{SOURCE22} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE23} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE24} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE25} 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`
|
|
|
|