|
@@ -32,6 +32,7 @@
|
|
|
%define V_dbix_anydbd 2.01
|
|
%define V_dbix_anydbd 2.01
|
|
|
%define V_dbix_sqlengine 0.93
|
|
%define V_dbix_sqlengine 0.93
|
|
|
%define V_dbix_simple 1.26
|
|
%define V_dbix_simple 1.26
|
|
|
|
|
+%define V_dbix_wrapper 0.24
|
|
|
%define V_dbix_contextualfetch 1.03
|
|
%define V_dbix_contextualfetch 1.03
|
|
|
%define V_ima_dbi 0.34
|
|
%define V_ima_dbi 0.34
|
|
|
%define V_class_dbi 3.0.3
|
|
%define V_class_dbi 3.0.3
|
|
@@ -53,7 +54,7 @@ Class: BASE
|
|
|
Group: Language
|
|
Group: Language
|
|
|
License: GPL/Artistic
|
|
License: GPL/Artistic
|
|
|
Version: %{V_perl}
|
|
Version: %{V_perl}
|
|
|
-Release: 20060311
|
|
|
|
|
|
|
+Release: 20060327
|
|
|
|
|
|
|
|
# list of sources
|
|
# list of sources
|
|
|
Source0: http://www.cpan.org/modules/by-module/DBIx/DBIx-DBSchema-%{V_dbix_dbschema}.tar.gz
|
|
Source0: http://www.cpan.org/modules/by-module/DBIx/DBIx-DBSchema-%{V_dbix_dbschema}.tar.gz
|
|
@@ -73,6 +74,7 @@ Source13: http://www.cpan.org/modules/by-module/Class/Class-DBI-Plugin-Abstr
|
|
|
Source14: http://www.cpan.org/modules/by-module/Class/Class-DBI-Plugin-RetrieveAll-%{V_class_dbi_plugin_retrieveall}.tar.gz
|
|
Source14: http://www.cpan.org/modules/by-module/Class/Class-DBI-Plugin-RetrieveAll-%{V_class_dbi_plugin_retrieveall}.tar.gz
|
|
|
Source15: http://www.cpan.org/modules/by-module/Class/Class-DBI-AsForm-%{V_class_dbi_asform}.tar.gz
|
|
Source15: http://www.cpan.org/modules/by-module/Class/Class-DBI-AsForm-%{V_class_dbi_asform}.tar.gz
|
|
|
Source16: http://www.cpan.org/modules/by-module/Class/Class-DBI-View-%{V_class_dbi_view}.tar.gz
|
|
Source16: http://www.cpan.org/modules/by-module/Class/Class-DBI-View-%{V_class_dbi_view}.tar.gz
|
|
|
|
|
+Source17: http://www.cpan.org/modules/by-module/DBIx/DBIx-Wrapper-%{V_dbix_wrapper}.tar.gz
|
|
|
Patch0: perl-dbix.patch
|
|
Patch0: perl-dbix.patch
|
|
|
|
|
|
|
|
# build information
|
|
# build information
|
|
@@ -95,6 +97,7 @@ AutoReqProv: no
|
|
|
- DBIx::AnyDBD (%{V_dbix_anydbd})
|
|
- DBIx::AnyDBD (%{V_dbix_anydbd})
|
|
|
- DBIx::SQLEngine (%{V_dbix_sqlengine})
|
|
- DBIx::SQLEngine (%{V_dbix_sqlengine})
|
|
|
- DBIx::Simple (%{V_dbix_simple})
|
|
- DBIx::Simple (%{V_dbix_simple})
|
|
|
|
|
+ - DBIx::Wrapper (%{V_dbix_wrapper})
|
|
|
- DBIx::ContextualFetch (%{V_dbix_contextualfetch})
|
|
- DBIx::ContextualFetch (%{V_dbix_contextualfetch})
|
|
|
- Ima::DBI (%{V_ima_dbi})
|
|
- Ima::DBI (%{V_ima_dbi})
|
|
|
- Class::DBI (%{V_class_dbi})
|
|
- Class::DBI (%{V_class_dbi})
|
|
@@ -146,6 +149,11 @@ AutoReqProv: no
|
|
|
url = http://www.cpan.org/modules/by-module/DBIx/
|
|
url = http://www.cpan.org/modules/by-module/DBIx/
|
|
|
regex = DBIx-Simple-(__VER__)\.tar\.gz
|
|
regex = DBIx-Simple-(__VER__)\.tar\.gz
|
|
|
}
|
|
}
|
|
|
|
|
+ prog perl-dbix:DBIx-Wrapper = {
|
|
|
|
|
+ version = %{V_dbix_wrapper}
|
|
|
|
|
+ url = http://www.cpan.org/modules/by-module/DBIx/
|
|
|
|
|
+ regex = DBIx-Wrapper-(__VER__)\.tar\.gz
|
|
|
|
|
+ }
|
|
|
prog perl-dbix:DBIx-ContextualFetch = {
|
|
prog perl-dbix:DBIx-ContextualFetch = {
|
|
|
version = %{V_dbix_contextualfetch}
|
|
version = %{V_dbix_contextualfetch}
|
|
|
url = http://www.cpan.org/modules/by-module/DBIx/
|
|
url = http://www.cpan.org/modules/by-module/DBIx/
|
|
@@ -210,6 +218,7 @@ AutoReqProv: no
|
|
|
%setup -q -T -D -a 14
|
|
%setup -q -T -D -a 14
|
|
|
%setup -q -T -D -a 15
|
|
%setup -q -T -D -a 15
|
|
|
%setup -q -T -D -a 16
|
|
%setup -q -T -D -a 16
|
|
|
|
|
+ %setup -q -T -D -a 17
|
|
|
%patch -p0
|
|
%patch -p0
|
|
|
|
|
|
|
|
%build
|
|
%build
|
|
@@ -234,6 +243,7 @@ AutoReqProv: no
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE14} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE15} configure build install
|
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
|
|
%{l_prefix}/bin/perl-openpkg -d %{SOURCE16} configure build install
|
|
|
|
|
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE17} 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`
|
|
|
|
|
|