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 58 59 60 61 62 63 64
%define dist Tie-DBI Name: perl-%dist Version: 1.02 Release: alt1 Summary: Tie Perl hashes to DBI relational databases License: GPL or Artistic Group: Development/Perl URL: %CPAN %dist Source: %dist-%version.tar Patch: %name-%version-%release.patch BuildArch: noarch # Automatically added by buildreq on Wed Jul 29 2009 (-bi) BuildRequires: perl-DBI perl-Encode perl-devel %description This module allows you to tie Perl associative arrays (hashes) to SQL databases using the DBI interface. The tied hash is associated with a table in a local or networked database. One field of the table becomes the hash key, and another becomes the value. Once tied, all the standard hash operations work, including iteration over keys and values. %prep %setup -q -n %dist-%version %patch -p1 %build %ifndef _mysql_testdb %def_without test %endif %ifdef __buildreqs %def_without test %endif %perl_vendor_build %install %perl_vendor_install %files %doc Changes README %dir %perl_vendor_privlib/Tie %perl_vendor_privlib/Tie/DBI.pm %perl_vendor_privlib/Tie/RDBM.pm %changelog * Wed Jul 29 2009 Alexey Tourbin <at@altlinux.ru> 1.02-alt1 - 1.01 -> 1.02 * Thu Mar 10 2005 Alexey Tourbin <at@altlinux.ru> 1.01-alt1 - 0.94 -> 1.01 * Sun Dec 19 2004 Alexey Tourbin <at@altlinux.ru> 0.94-alt1 - 0.93 -> 0.94 - manual pages not packaged (use perldoc) * Thu Apr 15 2004 Alexey Tourbin <at@altlinux.ru> 0.93-alt2 - fixed URL * Mon Sep 29 2003 Alexey Tourbin <at@altlinux.ru> 0.93-alt1 - initial revision (this module is required for full-featured perl-Template)