Group :: Development/Perl
RPM: perl-Class-DBI
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define dist Class-DBI
Name: perl-%dist
Version: 0.96
Release: alt1
Summary: Simple Database Abstraction
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
BuildArch: noarch
# Added by buildreq2 on Thu Jul 14 2005
BuildRequires: perl-Class-Accessor perl-Class-Trigger perl-DBD-Pg perl-DBD-SQLite perl-DBIx-ContextualFetch perl-Ima-DBI perl-Storable perl-UNIVERSAL-moniker perl-devel
%description
Class::DBI provides a convenient abstraction layer to a database.
It not only provides a simple database to object mapping layer, but can
be used to implement several higher order database functions (triggers,
referential integrity, cascading delete etc.), at the application level,
rather than at the database.
%prep
%setup -q -n %dist-%version
# don't check existing installations
%__subst -p '/^eval "require/,/^}/s/^/#/' Makefile.PL
# apparently Test::More problem...
%__subst -p '/eep oop opop orp this that/s/^/ok (1,\n#/' t/04-lazy.t
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README
%dir %perl_vendor_privlib/Class
%perl_vendor_privlib/Class/DBI*
%changelog
…
Full changelog you can see here
Name: perl-%dist
Version: 0.96
Release: alt1
Summary: Simple Database Abstraction
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
BuildArch: noarch
# Added by buildreq2 on Thu Jul 14 2005
BuildRequires: perl-Class-Accessor perl-Class-Trigger perl-DBD-Pg perl-DBD-SQLite perl-DBIx-ContextualFetch perl-Ima-DBI perl-Storable perl-UNIVERSAL-moniker perl-devel
%description
Class::DBI provides a convenient abstraction layer to a database.
It not only provides a simple database to object mapping layer, but can
be used to implement several higher order database functions (triggers,
referential integrity, cascading delete etc.), at the application level,
rather than at the database.
%prep
%setup -q -n %dist-%version
# don't check existing installations
%__subst -p '/^eval "require/,/^}/s/^/#/' Makefile.PL
# apparently Test::More problem...
%__subst -p '/eep oop opop orp this that/s/^/ok (1,\n#/' t/04-lazy.t
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README
%dir %perl_vendor_privlib/Class
%perl_vendor_privlib/Class/DBI*
%changelog
…
Full changelog you can see here