OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 13-Nov-2005 11:21:01
Branch: HEAD Handle: 2005111310210100
Modified files:
openpkg-src/perl-dbi perl-dbi.spec
Log:
add SQL::Builder, SQL::Interpolate and DBD::CSV
Summary:
Revision Changes Path
1.179 +76 -46 openpkg-src/perl-dbi/perl-dbi.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-dbi/perl-dbi.spec
============================================================================
$ cvs diff -u -r1.178 -r1.179 perl-dbi.spec
--- openpkg-src/perl-dbi/perl-dbi.spec 6 Nov 2005 08:20:21 -0000
1.178
+++ openpkg-src/perl-dbi/perl-dbi.spec 13 Nov 2005 10:21:01 -0000
1.179
@@ -23,20 +23,23 @@
##
# versions of individual parts
-%define V_perl 5.8.7
-%define V_dbi 1.48
-%define V_sql_statement 1.14
-%define V_sql_abstract 1.20
-%define V_sql_routine 0.70.3
-%define V_dbd_anydata 0.08
-%define V_dbd_sprite 0.56
-%define V_dbd_sqlite 1.09
-%define V_dbd_mysql 3.0002
-%define V_dbd_pgsql 1.43
-%define V_dbd_oracle 1.16
-%define V_dbd_sybase 1.07_01
-%define V_dbd_odbc 1.13
-%define V_dbd_mock 0.28
+%define V_perl 5.8.7
+%define V_dbi 1.48
+%define V_sql_statement 1.14
+%define V_sql_abstract 1.20
+%define V_sql_routine 0.70.3
+%define V_sql_builder 0.033
+%define V_sql_interpolate 0.33
+%define V_dbd_mock 0.28
+%define V_dbd_anydata 0.08
+%define V_dbd_csv 0.22
+%define V_dbd_sprite 0.56
+%define V_dbd_sqlite 1.09
+%define V_dbd_mysql 3.0002
+%define V_dbd_pgsql 1.43
+%define V_dbd_oracle 1.16
+%define V_dbd_sybase 1.07_01
+%define V_dbd_odbc 1.13
# package information
Name: perl-dbi
@@ -49,7 +52,7 @@
Group: Language
License: GPL/Artistic
Version: %{V_perl}
-Release: 20051106
+Release: 20051113
# package options
%option with_dbd_sqlite no
@@ -64,15 +67,18 @@
Source1:
http://www.cpan.org/modules/by-module/SQL/SQL-Statement-%{V_sql_statement}.tar.gz
Source2:
http://www.cpan.org/modules/by-module/SQL/SQL-Abstract-%{V_sql_abstract}.tar.gz
Source3:
http://www.cpan.org/modules/by-module/SQL/DUNCAND/SQL-Routine-v%{V_sql_routine}.tar.gz
-Source4:
http://www.cpan.org/modules/by-module/DBD/DBD-Mock-%{V_dbd_mock}.tar.gz
-Source5:
http://www.cpan.org/modules/by-module/DBD/DBD-AnyData-%{V_dbd_anydata}.tar.gz
-Source6:
http://www.cpan.org/modules/by-module/DBD/DBD-Sprite-%{V_dbd_sprite}.tar.gz
-Source7:
http://www.cpan.org/modules/by-module/DBD/DBD-SQLite-%{V_dbd_sqlite}.tar.gz
-Source8:
http://www.cpan.org/modules/by-module/DBD/DBD-mysql-%{V_dbd_mysql}.tar.gz
-Source9:
http://www.cpan.org/modules/by-module/DBD/DBD-Pg-%{V_dbd_pgsql}.tar.gz
-Source10:
http://www.cpan.org/modules/by-module/DBD/DBD-Oracle-%{V_dbd_oracle}.tar.gz
-Source11:
http://www.cpan.org/modules/by-module/DBD/DBD-ODBC-%{V_dbd_odbc}.tar.gz
-Source12:
http://www.peppler.org/downloads/DBD-Sybase-%{V_dbd_sybase}.tar.gz
+Source4:
http://www.cpan.org/modules/by-module/SQL/SQL-Builder-%{V_sql_builder}.tar.gz
+Source5:
http://www.cpan.org/modules/by-module/SQL/SQL-Interpolate-%{V_sql_interpolate}.tar.gz
+Source6:
http://www.cpan.org/modules/by-module/DBD/DBD-Mock-%{V_dbd_mock}.tar.gz
+Source7:
http://www.cpan.org/modules/by-module/DBD/DBD-AnyData-%{V_dbd_anydata}.tar.gz
+Source8:
http://www.cpan.org/modules/by-module/DBD/DBD-CSV-%{V_dbd_csv}.tar.gz
+Source9:
http://www.cpan.org/modules/by-module/DBD/DBD-Sprite-%{V_dbd_sprite}.tar.gz
+Source10:
http://www.cpan.org/modules/by-module/DBD/DBD-SQLite-%{V_dbd_sqlite}.tar.gz
+Source11:
http://www.cpan.org/modules/by-module/DBD/DBD-mysql-%{V_dbd_mysql}.tar.gz
+Source12:
http://www.cpan.org/modules/by-module/DBD/DBD-Pg-%{V_dbd_pgsql}.tar.gz
+Source13:
http://www.cpan.org/modules/by-module/DBD/DBD-Oracle-%{V_dbd_oracle}.tar.gz
+Source14:
http://www.cpan.org/modules/by-module/DBD/DBD-ODBC-%{V_dbd_odbc}.tar.gz
+Source15:
http://www.peppler.org/downloads/DBD-Sybase-%{V_dbd_sybase}.tar.gz
Patch0: perl-dbi.patch
# build information
@@ -80,8 +86,8 @@
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}, perl-openpkg
>= %{V_perl}-20040126
PreReq: OpenPKG, openpkg >= 20040130, perl >= %{V_perl}
-BuildPreReq: perl-util, perl-net, perl-locale
-PreReq: perl-util, perl-net, perl-locale
+BuildPreReq: perl-module, perl-util, perl-net, perl-locale, perl-text
+PreReq: perl-module, perl-util, perl-net, perl-locale, perl-text
%if "%{with_dbd_sqlite}" == "yes"
BuildPreReq: sqlite
PreReq: sqlite
@@ -115,8 +121,11 @@
- SQL::Statement (%{V_sql_statement})
- SQL::Abstract (%{V_sql_abstract})
- SQL::Routine (%{V_sql_routine})
+ - SQL::Builder (%{V_sql_builder})
+ - SQL::Interpolate (%{V_sql_interpolate})
- DBD::Mock (%{V_dbd_mock})
- DBD::AnyData (%{V_dbd_anydata})
+ - DBD::CSV (%{V_dbd_csv})
- DBD::Sprite (%{V_dbd_sprite})
- DBD::SQLite (%{V_dbd_sqlite}) [%{with_dbd_sqlite}]
- DBD::mysql (%{V_dbd_mysql}) [%{with_dbd_mysql}]
@@ -126,6 +135,36 @@
- DBD::ODBC (%{V_dbd_odbc}) [%{with_dbd_odbc}]
%track
+ prog perl-dbi:DBI = {
+ version = %{V_dbi}
+ url = http://www.cpan.org/modules/by-module/DBI/
+ regex = DBI-(\d+\.\d\d)\.tar\.gz
+ }
+ prog perl-dbi:SQL-Statement = {
+ version = %{V_sql_statement}
+ url = http://www.cpan.org/modules/by-module/SQL/
+ regex = SQL-Statement-(__VER__)\.tar\.gz
+ }
+ prog perl-dbi:SQL-Abstract = {
+ version = %{V_sql_abstract}
+ url = http://www.cpan.org/modules/by-module/SQL/
+ regex = SQL-Abstract-(__VER__)\.tar\.gz
+ }
+ prog perl-dbi:SQL-Routine = {
+ version = %{V_sql_routine}
+ url = http://www.cpan.org/modules/by-module/SQL/DUNCAND/
+ regex = SQL-Routine-v(__VER__)\.tar\.gz
+ }
+ prog perl-dbi:SQL-Builder = {
+ version = %{V_sql_builder}
+ url = http://www.cpan.org/modules/by-module/SQL/
+ regex = SQL-Builder-v(__VER__)\.tar\.gz
+ }
+ prog perl-dbi:SQL-Interpolate = {
+ version = %{V_sql_interpolate}
+ url = http://www.cpan.org/modules/by-module/SQL/
+ regex = SQL-Interpolate-v(__VER__)\.tar\.gz
+ }
prog perl-dbi:DBD-Mock = {
version = %{V_dbd_mock}
url = http://www.cpan.org/modules/by-module/DBD/
@@ -136,6 +175,11 @@
url = http://www.cpan.org/modules/by-module/DBD/
regex = DBD-AnyData-(__VER__)\.tar\.gz
}
+ prog perl-dbi:DBD-CSV = {
+ version = %{V_dbd_csv}
+ url = http://www.cpan.org/modules/by-module/DBD/
+ regex = DBD-CSV-(__VER__)\.tar\.gz
+ }
prog perl-dbi:DBD-mysql = {
version = %{V_dbd_mysql}
url = http://www.cpan.org/modules/by-module/DBD/
@@ -171,26 +215,6 @@
url = http://www.peppler.org/downloads/
regex = DBD-Sybase-(__VER__)\.tar\.gz
}
- prog perl-dbi:DBI = {
- version = %{V_dbi}
- url = http://www.cpan.org/modules/by-module/DBI/
- regex = DBI-(\d+\.\d\d)\.tar\.gz
- }
- prog perl-dbi:SQL-Statement = {
- version = %{V_sql_statement}
- url = http://www.cpan.org/modules/by-module/SQL/
- regex = SQL-Statement-(__VER__)\.tar\.gz
- }
- prog perl-dbi:SQL-Abstract = {
- version = %{V_sql_abstract}
- url = http://www.cpan.org/modules/by-module/SQL/
- regex = SQL-Abstract-(__VER__)\.tar\.gz
- }
- prog perl-dbi:SQL-Routine = {
- version = %{V_sql_routine}
- url = http://www.cpan.org/modules/by-module/SQL/DUNCAND/
- regex = SQL-Routine-v(__VER__)\.tar\.gz
- }
%prep
%setup -q -c
@@ -206,6 +230,9 @@
%setup -q -T -D -a 10
%setup -q -T -D -a 11
%setup -q -T -D -a 12
+ %setup -q -T -D -a 13
+ %setup -q -T -D -a 14
+ %setup -q -T -D -a 15
%patch -p0 -d DBD-SQLite-%{V_dbd_sqlite}
%build
@@ -222,6 +249,9 @@
%{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE6} configure build install
+ %{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
%if "%{with_dbd_sqlite}" == "yes"
# build DBD::SQLite
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]