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:   21-Sep-2006 16:56:37
  Branch: HEAD                             Handle: 2006092115563700

  Modified files:
    openpkg-src/perl-dbi    perl-dbi.spec

  Log:
    add DBD::PgLite, a DBD::SQLite wrapping DBD which provides some
    emulated PostgreSQL features on top of SQLite

  Summary:
    Revision    Changes     Path
    1.212       +13 -3      openpkg-src/perl-dbi/perl-dbi.spec
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: openpkg-src/perl-dbi/perl-dbi.spec
  ============================================================================
  $ cvs diff -u -r1.211 -r1.212 perl-dbi.spec
  --- openpkg-src/perl-dbi/perl-dbi.spec        19 Sep 2006 19:27:04 -0000      
1.211
  +++ openpkg-src/perl-dbi/perl-dbi.spec        21 Sep 2006 14:56:37 -0000      
1.212
  @@ -40,6 +40,7 @@
   %define       V_dbd_oracle      1.18a
   %define       V_dbd_sybase      1.07_01
   %define       V_dbd_odbc        1.13
  +%define       V_dbd_pglite      0.09
   
   #   package information
   Name:         perl-dbi
  @@ -52,7 +53,7 @@
   Group:        Language
   License:      GPL/Artistic
   Version:      %{V_perl}
  -Release:      20060919
  +Release:      20060921
   
   #   package options
   %option       with_dbd_sqlite  yes
  @@ -79,6 +80,7 @@
   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
  +Source16:     
http://www.cpan.org/modules/by-module/DBD/DBD-PgLite-%{V_dbd_pglite}.tar.gz
   Patch0:       perl-dbi.patch
   
   #   build information
  @@ -89,8 +91,8 @@
   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
  +BuildPreReq:  sqlite, perl-locale >= %{V_perl}-20060921
  +PreReq:       sqlite, perl-locale >= %{V_perl}-20060921
   %endif
   %if "%{with_dbd_mysql}" == "yes"
   BuildPreReq:  mysql
  @@ -128,6 +130,7 @@
       - DBD::CSV (%{V_dbd_csv})
       - DBD::Sprite (%{V_dbd_sprite})
       - DBD::SQLite (%{V_dbd_sqlite}) [%{with_dbd_sqlite}]
  +    - DBD::PgLite (%{V_dbd_pglite}) [%{with_dbd_sqlite}]
       - DBD::mysql (%{V_dbd_mysql}) [%{with_dbd_mysql}]
       - DBD::Pg (%{V_dbd_pgsql}) [%{with_dbd_pgsql}]
       - DBD::Oracle (%{V_dbd_oracle}) [%{with_dbd_oracle}]
  @@ -210,6 +213,11 @@
           url       = http://www.cpan.org/modules/by-module/DBD/
           regex     = DBD-SQLite-(__VER__)\.tar\.gz
       }
  +    prog perl-dbi:DBD-PgLite = {
  +        version   = %{V_dbd_pglite}
  +        url       = http://www.cpan.org/modules/by-module/DBD/
  +        regex     = DBD-PgLite-(__VER__)\.tar\.gz
  +    }
       prog perl-dbi:DBD-Sybase = {
           version   = %{V_dbd_sybase}
           url       = http://www.peppler.org/downloads/
  @@ -233,6 +241,7 @@
       %setup -q -T -D -a 13
       %setup -q -T -D -a 14
       %setup -q -T -D -a 15
  +    %setup -q -T -D -a 16
       %patch -p0
   
   %build
  @@ -269,6 +278,7 @@
         #   perform regular build and install
         %{l_prefix}/bin/perl-openpkg configure build install
       ) || exit $?
  +    %{l_prefix}/bin/perl-openpkg -d DBD-PgLite-%{V_dbd_pglite} configure 
build install
   %endif
   
   %if "%{with_dbd_mysql}" == "yes"
  @@ .
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
CVS Repository Commit List                     [email protected]

Reply via email to