Group :: Development/Perl
RPM: perl-Tie-DBI
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define dist Tie-DBI
Name: perl-%dist
Version: 1.01
Release: alt1
Summary: Tie Perl hashes to DBI relational databases
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
# use Encode explicitely
Patch0: %name-0.94-alt-Encode.patch
BuildArch: noarch
# Automatically added by buildreq on Thu Mar 10 2005 (-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
%patch0 -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
…
Full changelog you can see here
Name: perl-%dist
Version: 1.01
Release: alt1
Summary: Tie Perl hashes to DBI relational databases
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: %dist-%version.tar.bz2
# use Encode explicitely
Patch0: %name-0.94-alt-Encode.patch
BuildArch: noarch
# Automatically added by buildreq on Thu Mar 10 2005 (-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
%patch0 -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
…
Full changelog you can see here