|
|
@@ -38,6 +38,7 @@
|
|
|
%define V_c_scan 0.74
|
|
|
%define V_appconfig 1.56
|
|
|
%define V_appconfig_std 1.07
|
|
|
+%define V_template 2.14
|
|
|
|
|
|
# package information
|
|
|
Name: perl-parse
|
|
|
@@ -66,6 +67,7 @@ Source9: http://www.cpan.org/modules/by-module/Parse/ParseLex-%{V_parse_lex
|
|
|
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
|
|
|
+Source13: http://www.cpan.org/modules/by-module/Template/Template-Toolkit-%{V_template}.tar.gz
|
|
|
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
@@ -90,6 +92,7 @@ AutoReqProv: no
|
|
|
- C::Scan (%{V_c_scan})
|
|
|
- AppConfig (%{V_appconfig})
|
|
|
- AppConfig::Std (%{V_appconfig_std})
|
|
|
+ - Template (%{V_template})
|
|
|
|
|
|
%track
|
|
|
prog perl-parse:Config-General = {
|
|
|
@@ -157,6 +160,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/AppConfig/
|
|
|
regex = AppConfig-Std-(__VER__)\.tar\.gz
|
|
|
}
|
|
|
+ prog perl-parse:Template = {
|
|
|
+ version = %{V_template}
|
|
|
+ url = http://www.cpan.org/modules/by-module/Template/
|
|
|
+ regex = Template-Toolkit-(__VER__)\.tar\.gz
|
|
|
+ }
|
|
|
|
|
|
%prep
|
|
|
%setup -q -c
|
|
|
@@ -172,6 +180,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 10
|
|
|
%setup -q -T -D -a 11
|
|
|
%setup -q -T -D -a 12
|
|
|
+ %setup -q -T -D -a 13
|
|
|
|
|
|
%build
|
|
|
|
|
|
@@ -191,6 +200,10 @@ AutoReqProv: no
|
|
|
%{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 -d %{SOURCE13} \
|
|
|
+ -A TT_XS_ENABLE=y -A TT_XS_DEFAULT=y -A TT_DBI=n \
|
|
|
+ -A TT_QUIET=n -A TT_ACCEPT=y \
|
|
|
+ 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`
|
|
|
|