1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
%define dist Ima-DBI Name: perl-%dist Version: 0.35 Release: alt2 Summary: Database connection caching and organization License: GPL or Artistic Group: Development/Perl URL: %CPAN %dist Source: %dist-%version.tar.gz BuildArch: noarch # this dependency cannot be detected automatically Requires: perl-DBIx-ContextualFetch # Automatically added by buildreq on Tue Oct 04 2011 BuildRequires: perl-Class-Data-Inheritable perl-DBI-devel perl-DBIx-ContextualFetch perl-Test-Pod %description Ima::DBI attempts to organize and facilitate caching and more efficient use of database connections and statement handles by storing DBI and SQL information with your class (instead of as seperate objects). This allows you to pass around just one object without worrying about a trail of DBI handles behind it. %prep %setup -q -n %dist-%version # don't check for existing installation sed -i- '/^eval { require/,/^}/s/^/#/' Makefile.PL %build %perl_vendor_build %install %perl_vendor_install %files %doc Changes README %perl_vendor_privlib/Ima %changelog * Tue Oct 04 2011 Alexey Tourbin <at@altlinux.ru> 0.35-alt2 - rebuilt * Sun Aug 05 2007 Alexey Tourbin <at@altlinux.ru> 0.35-alt1 - 0.33 -> 0.35 * Mon Aug 29 2005 Alexey Tourbin <at@altlinux.ru> 0.33-alt2 - removed build dependency on perl-Class-WhiteHole (cpan #14359) - added dependency on perl-DBIx-ContextualFetch - eliminated build dependency on itself * Wed Jul 06 2005 Alexey Tourbin <at@altlinux.ru> 0.33-alt1 - initial revision