Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37894693
en ru br
ALT Linux repos
S:3.0.17-alt2
5.0: 3.0.17-alt1
4.1: 3.0.17-alt1
4.0: 3.0.15-alt1
3.0: 0.96-alt1

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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin