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