|
|
@@ -35,6 +35,7 @@
|
|
|
%define V_parse_yapp 1.05
|
|
|
%define V_parse_earley 0.15
|
|
|
%define V_parse_lex 2.15
|
|
|
+%define V_c_scan 0.74
|
|
|
|
|
|
# package information
|
|
|
Name: perl-parse
|
|
|
@@ -47,7 +48,7 @@ Class: BASE
|
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
|
-Release: 20041018
|
|
|
+Release: 20041031
|
|
|
|
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/Config/Config-IniFiles-%{V_config_inifiles}.tar.gz
|
|
|
@@ -60,12 +61,13 @@ Source6: http://www.cpan.org/modules/by-module/Parse/Parse-RecDescent-Consu
|
|
|
Source7: http://www.cpan.org/modules/by-module/Parse/Parse-Yapp-%{V_parse_yapp}.tar.gz
|
|
|
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
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg >= %{V_perl}-20040126
|
|
|
-PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-util, perl-openpkg >= %{V_perl}-20040126
|
|
|
+PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-util
|
|
|
AutoReq: no
|
|
|
AutoReqProv: no
|
|
|
|
|
|
@@ -81,6 +83,7 @@ AutoReqProv: no
|
|
|
- Parse::Yapp (%{V_parse_yapp})
|
|
|
- Parse::Earley (%{V_parse_earley})
|
|
|
- ParseLex (%{V_parse_lex})
|
|
|
+ - C::Scan (%{V_c_scan})
|
|
|
|
|
|
%track
|
|
|
prog perl-parse:Config-General = {
|
|
|
@@ -133,6 +136,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Parse/
|
|
|
regex = ParseLex-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-parse:C-Scan = {
|
|
|
+ version = %{V_c_scan}
|
|
|
+ url = http://www.cpan.org/modules/by-module/C/
|
|
|
+ regex = C-Scan-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -145,6 +153,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 7
|
|
|
%setup -q -T -D -a 8
|
|
|
%setup -q -T -D -a 9
|
|
|
+ %setup -q -T -D -a 10
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -161,6 +170,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE7} configure build install
|
|
|
%{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 -F perl-openpkg-files fixate cleanup
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
|
|
|
|