Name: perl-Tie-DBI
Version: 1.05
Release: 4%{?dist}
Summary: Tie hashes to DBI relational databases
Group: Development/Libraries
License: GPL+ or Artistic
URL: http://search.cpan.org/dist/Tie-DBI/
Source0: http://search.cpan.org/CPAN/authors/id/L/LD/LDS/Tie-DBI-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Test::More), perl(DBD::SQLite)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
This distribution contains Tie::DBI and Tie::RDBM, two modules that
allow you to tie associative arrays to relational databases using the
DBI library. The hash is tied to a table in a local or networked
database. Reading from the hash retrieves values from the datavbase.
Storing into the hash updates the database (if you have sufficient
privileges).
%prep
%setup -q -n Tie-DBI-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*
%check
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README
%{perl_vendorlib}/Tie
%{_mandir}/man3/*.3*
%changelog
* Tue Jun 21 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.05-4
- Perl mass rebuild
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.05-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Dec 23 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.05-2
- 661697 rebuild for fixing problems with vendorach/lib
* Wed Jul 14 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.05-1
- update to 1.05
* Fri May 07 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.02-8
- Mass rebuild with perl-5.12.0
* Fri Dec 4 2009 Stepan Kasal <skasal@redhat.com> - 1.02-7
- rebuild against perl 5.10.1
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.02-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.02-4
Rebuild for new perl
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.02-3
- license tag fix
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.02-2
- bump for fc6
* Fri Jul 7 2006 Tom "spot" Callaway <tcallawa@redhat.com> 1.02-1
- bump to 1.02
* Fri Jul 8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.01-2
- cleanups, new description
* Wed Jul 6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 1.01-1
- Initial package for Fedora Extras