|
@@ -39,6 +39,7 @@
|
|
|
%define V_appconfig 1.56
|
|
%define V_appconfig 1.56
|
|
|
%define V_appconfig_std 1.07
|
|
%define V_appconfig_std 1.07
|
|
|
%define V_template 2.14
|
|
%define V_template 2.14
|
|
|
|
|
+%define V_yaml 0.35
|
|
|
|
|
|
|
|
# package information
|
|
# package information
|
|
|
Name: perl-parse
|
|
Name: perl-parse
|
|
@@ -68,6 +69,7 @@ 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
|
|
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
|
|
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
|
|
Source13: http://www.cpan.org/modules/by-module/Template/Template-Toolkit-%{V_template}.tar.gz
|
|
|
|
|
+Source14: http://www.cpan.org/modules/by-module/YAML/YAML-%{V_yaml}.tar.gz
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
Prefix: %{l_prefix}
|
|
@@ -93,6 +95,7 @@ AutoReqProv: no
|
|
|
- AppConfig (%{V_appconfig})
|
|
- AppConfig (%{V_appconfig})
|
|
|
- AppConfig::Std (%{V_appconfig_std})
|
|
- AppConfig::Std (%{V_appconfig_std})
|
|
|
- Template (%{V_template})
|
|
- Template (%{V_template})
|
|
|
|
|
+ - YAML (%{V_yaml})
|
|
|
|
|
|
|
|
%track
|
|
%track
|
|
|
prog perl-parse:Config-General = {
|
|
prog perl-parse:Config-General = {
|
|
@@ -165,6 +168,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/Template/
|
|
url = http://www.cpan.org/modules/by-module/Template/
|
|
|
regex = Template-Toolkit-(__VER__)\.tar\.gz
|
|
regex = Template-Toolkit-(__VER__)\.tar\.gz
|
|
|
}
|
|
}
|
|
|
|
|
+ prog perl-parse:YAML = {
|
|
|
|
|
+ version = %{V_yaml}
|
|
|
|
|
+ url = http://www.cpan.org/modules/by-module/YAML/
|
|
|
|
|
+ regex = YAML-(__VER__)\.tar\.gz
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
%prep
|
|
%prep
|
|
|
%setup -q -c
|
|
%setup -q -c
|
|
@@ -181,6 +189,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 11
|
|
%setup -q -T -D -a 11
|
|
|
%setup -q -T -D -a 12
|
|
%setup -q -T -D -a 12
|
|
|
%setup -q -T -D -a 13
|
|
%setup -q -T -D -a 13
|
|
|
|
|
+ %setup -q -T -D -a 14
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
|
|
|
|
|
@@ -204,6 +213,7 @@ AutoReqProv: no
|
|
|
-A TT_XS_ENABLE=y -A TT_XS_DEFAULT=y -A TT_DBI=n \
|
|
-A TT_XS_ENABLE=y -A TT_XS_DEFAULT=y -A TT_DBI=n \
|
|
|
-A TT_QUIET=n -A TT_ACCEPT=y \
|
|
-A TT_QUIET=n -A TT_ACCEPT=y \
|
|
|
configure build install
|
|
configure build install
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -F perl-openpkg-files fixate cleanup
|
|
%{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`
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} `cat perl-openpkg-files`
|
|
|
|
|
|