|
|
@@ -36,6 +36,8 @@
|
|
|
%define V_parse_earley 0.15
|
|
|
%define V_parse_lex 2.15
|
|
|
%define V_c_scan 0.74
|
|
|
+%define V_appconfig 1.56
|
|
|
+%define V_appconfig_std 1.07
|
|
|
|
|
|
# package information
|
|
|
Name: perl-parse
|
|
|
@@ -48,7 +50,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20041031
|
|
|
+Release: 20041107
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
|
|
|
@@ -62,6 +64,8 @@ Source7: http://www.cpan.org/modules/by-module/Parse/Parse-Yapp-%{V_parse_y
|
|
|
Source8: http://www.cpan.org/modules/by-module/Parse/Parse-Earley-%{V_parse_earley}.tar.gz
|
|
|
Source9: http://www.cpan.org/modules/by-module/Parse/ParseLex-%{V_parse_lex}.tar.gz
|
|
|
Source10: http://www.cpan.org/modules/by-module/C/C-Scan-%{V_c_scan}.tar.gz
|
|
|
+Source11: http://www.cpan.org/modules/by-module/AppConfig/AppConfig-%{V_appconfig}.tar.gz
|
|
|
+Source12: http://www.cpan.org/modules/by-module/AppConfig/AppConfig-Std-%{V_appconfig_std}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -84,6 +88,8 @@ AutoReqProv: no
|
|
|
- Parse::Earley (%{V_parse_earley})
|
|
|
- ParseLex (%{V_parse_lex})
|
|
|
- C::Scan (%{V_c_scan})
|
|
|
+ - AppConfig (%{V_appconfig})
|
|
|
+ - AppConfig::Std (%{V_appconfig_std})
|
|
|
|
|
|
%track
|
|
|
prog perl-parse:Config-General = {
|
|
|
@@ -141,6 +147,16 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/C/
|
|
|
regex = C-Scan-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-parse:AppConfig = {
|
|
|
+ version = %{V_appconfig}
|
|
|
+ url = http://www.cpan.org/modules/by-module/AppConfig/
|
|
|
+ regex = AppConfig-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
+ prog perl-parse:AppConfig-Std = {
|
|
|
+ version = %{V_appconfig_std}
|
|
|
+ url = http://www.cpan.org/modules/by-module/AppConfig/
|
|
|
+ regex = AppConfig-Std-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -154,6 +170,8 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 8
|
|
|
%setup -q -T -D -a 9
|
|
|
%setup -q -T -D -a 10
|
|
|
+ %setup -q -T -D -a 11
|
|
|
+ %setup -q -T -D -a 12
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -171,6 +189,8 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE8} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE9} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE10} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE11} configure build install
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE12} 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`
|
|
|
|