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: 30-Apr-2005 12:19:27
Branch: HEAD Handle: 2005043011192700
Modified files:
openpkg-src/perl-dbi perl-dbi.spec
Log:
add the new powerful SQL::Routine module here, too
Summary:
Revision Changes Path
1.150 +21 -11 openpkg-src/perl-dbi/perl-dbi.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/perl-dbi/perl-dbi.spec
============================================================================
$ cvs diff -u -r1.149 -r1.150 perl-dbi.spec
--- openpkg-src/perl-dbi/perl-dbi.spec 29 Apr 2005 06:34:32 -0000
1.149
+++ openpkg-src/perl-dbi/perl-dbi.spec 30 Apr 2005 10:19:27 -0000
1.150
@@ -27,6 +27,7 @@
%define V_dbi 1.48
%define V_sql_statement 1.14
%define V_sql_abstract 1.18
+%define V_sql_routine 0.61
%define V_dbd_anydata 0.08
%define V_dbd_sprite 0.50
%define V_dbd_sqlite 1.08
@@ -47,7 +48,7 @@
Group: Language
License: GPL/Artistic
Version: %{V_perl}
-Release: 20050429
+Release: 20050430
# package options
%option with_dbd_sqlite no
@@ -61,14 +62,15 @@
Source0: http://www.cpan.org/modules/by-module/DBI/DBI-%{V_dbi}.tar.gz
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/DBD/DBD-AnyData-%{V_dbd_anydata}.tar.gz
-Source4:
http://www.cpan.org/modules/by-module/DBD/DBD-Sprite-%{V_dbd_sprite}.tar.gz
-Source5:
http://www.cpan.org/modules/by-module/DBD/DBD-SQLite-%{V_dbd_sqlite}.tar.gz
-Source6:
http://www.cpan.org/modules/by-module/DBD/DBD-mysql-%{V_dbd_mysql}.tar.gz
-Source7:
http://www.cpan.org/modules/by-module/DBD/DBD-Pg-%{V_dbd_pgsql}.tar.gz
-Source8:
http://www.cpan.org/modules/by-module/DBD/DBD-Oracle-%{V_dbd_oracle}.tar.gz
-Source9:
http://www.cpan.org/modules/by-module/DBD/DBD-ODBC-%{V_dbd_odbc}.tar.gz
-Source10:
http://www.peppler.org/downloads/DBD-Sybase-%{V_dbd_sybase}.tar.gz
+Source3:
http://www.cpan.org/modules/by-module/SQL/SQL-Routine-%{V_sql_routine}.tar.gz
+Source4:
http://www.cpan.org/modules/by-module/DBD/DBD-AnyData-%{V_dbd_anydata}.tar.gz
+Source5:
http://www.cpan.org/modules/by-module/DBD/DBD-Sprite-%{V_dbd_sprite}.tar.gz
+Source6:
http://www.cpan.org/modules/by-module/DBD/DBD-SQLite-%{V_dbd_sqlite}.tar.gz
+Source7:
http://www.cpan.org/modules/by-module/DBD/DBD-mysql-%{V_dbd_mysql}.tar.gz
+Source8:
http://www.cpan.org/modules/by-module/DBD/DBD-Pg-%{V_dbd_pgsql}.tar.gz
+Source9:
http://www.cpan.org/modules/by-module/DBD/DBD-Oracle-%{V_dbd_oracle}.tar.gz
+Source10:
http://www.cpan.org/modules/by-module/DBD/DBD-ODBC-%{V_dbd_odbc}.tar.gz
+Source11:
http://www.peppler.org/downloads/DBD-Sybase-%{V_dbd_sybase}.tar.gz
Patch0: perl-dbi.patch
# build information
@@ -76,8 +78,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
-PreReq: perl-util, perl-net
+BuildPreReq: perl-util, perl-net, perl-locale
+PreReq: perl-util, perl-net, perl-locale
%if "%{with_dbd_sqlite}" == "yes"
BuildPreReq: sqlite, sqlite::with_v3 = yes
PreReq: sqlite, sqlite::with_v3 = yes
@@ -110,6 +112,7 @@
- DBI (%{V_dbi})
- SQL::Statement (%{V_sql_statement})
- SQL::Abstract (%{V_sql_abstract})
+ - SQL::Routine (%{V_sql_routine})
- DBD::AnyData (%{V_dbd_anydata})
- DBD::Sprite (%{V_dbd_sprite})
- DBD::SQLite (%{V_dbd_sqlite}) [%{with_dbd_sqlite}]
@@ -175,6 +178,11 @@
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/
+ regex = SQL-Routine-(__VER__)\.tar\.gz
+ }
%prep
%setup -q -c
@@ -188,6 +196,7 @@
%setup -q -T -D -a 8
%setup -q -T -D -a 9
%setup -q -T -D -a 10
+ %setup -q -T -D -a 11
%patch -p0 -d DBD-SQLite-%{V_dbd_sqlite}
%build
@@ -202,6 +211,7 @@
%{l_prefix}/bin/perl-openpkg -d %{SOURCE2} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE3} configure build install
%{l_prefix}/bin/perl-openpkg -d %{SOURCE4} configure build install
+ %{l_prefix}/bin/perl-openpkg -d %{SOURCE5} configure build install
%if "%{with_dbd_sqlite}" == "yes"
# build DBD::SQLite
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]