5c18c6e
Name:           perl-Ima-DBI
704f2bd
Version:        0.35
704f2bd
Release:        1%{?dist}
5c18c6e
Summary:        Database connection caching and organization
5c18c6e
Group:          Development/Libraries
704f2bd
License:        GPL+ or Artistic
5c18c6e
URL:            http://search.cpan.org/dist/Ima-DBI
5c18c6e
Source0:        http://search.cpan.org/CPAN/authors/id/T/TM/TMTM/Ima-DBI-%{version}.tar.gz
5c18c6e
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5c18c6e
5c18c6e
BuildArch:      noarch
5c18c6e
BuildRequires:  perl(Class::Data::Inheritable) 
c66f36f
# No longer needed as of 0.34
c66f36f
# BuildRequires:  perl(Class::WhiteHole)
5c18c6e
BuildRequires:  perl(DBIx::ContextualFetch)
c66f36f
Requires:  perl(Class::Data::Inheritable)
c66f36f
# No longer needed as of 0.34
c66f36f
# Requires: perl(Class::WhiteHole) 
5c18c6e
Requires:  perl(DBIx::ContextualFetch)
5c18c6e
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
5c18c6e
5c18c6e
%description
5c18c6e
%{summary}.
5c18c6e
5c18c6e
%prep
5c18c6e
%setup -q -n Ima-DBI-%{version}
5c18c6e
5c18c6e
%build
5c18c6e
%{__perl} Makefile.PL INSTALLDIRS=vendor
5c18c6e
make %{?_smp_mflags}
5c18c6e
5c18c6e
%install
5c18c6e
rm -rf $RPM_BUILD_ROOT
5c18c6e
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
5c18c6e
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
5c18c6e
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
5c18c6e
chmod -R u+w $RPM_BUILD_ROOT/*
5c18c6e
5c18c6e
%check
5c18c6e
make test
5c18c6e
5c18c6e
%clean
5c18c6e
rm -rf $RPM_BUILD_ROOT
5c18c6e
5c18c6e
%files
5c18c6e
%defattr(-,root,root,-)
5c18c6e
%doc Changes
5c18c6e
%{perl_vendorlib}/Ima
5c18c6e
%{_mandir}/man3/*.3*
5c18c6e
5c18c6e
5c18c6e
%changelog
704f2bd
* Sun Aug 26 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.35-1
704f2bd
- 0.35
704f2bd
- license tag fix
704f2bd
a7100fc
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.34-2
a7100fc
- bump for fc6
a7100fc
c66f36f
* Tue Jan 10 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.34-1
c66f36f
- bump to 0.34
c66f36f
5c18c6e
* Wed Aug 17 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.33-3
5c18c6e
- minor cleanups
5c18c6e
5c18c6e
* Fri Jul  8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.33-2
5c18c6e
- cleanups
5c18c6e
5c18c6e
* Wed Jul  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.33-1
5c18c6e
- Initial package for Fedora Extras