Name: perl-Rose-DB
Version: 0.773
Release: 1%{?dist}
Summary: DBI wrapper and abstraction layer
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Rose-DB/
Source0: http://www.cpan.org/authors/id/J/JS/JSIRACUSA/Rose-DB-%{version}.tar.gz
Patch0: Rose-DB-0.769-use-Clone.patch
BuildArch: noarch
BuildRequires: perl(lib)
BuildRequires: perl(base)
BuildRequires: perl(constant)
BuildRequires: perl(Bit::Vector::Overload) >= 6.4
BuildRequires: perl(Clone)
BuildRequires: perl(Carp)
BuildRequires: perl(DateTime::Duration)
BuildRequires: perl(DateTime::Format::MySQL)
BuildRequires: perl(DateTime::Format::Oracle)
BuildRequires: perl(DateTime::Format::Pg) >= 0.11
BuildRequires: perl(DBI)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Rose::DateTime::Util) >= 0.532
BuildRequires: perl(Rose::Object) >= 0.854
BuildRequires: perl(SQL::ReservedWords)
BuildRequires: perl(Test::More)
BuildRequires: perl(Time::Clock)
BuildRequires: perl(Test::Pod) >= 1.0
BuildRequires: perl(Scalar::Util)
BuildRequires: perl(DateTime::Infinite)
BuildRequires: perl(Exporter)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Rose::DB is a wrapper and abstraction layer for DBI-related functionality.
A Rose::DB object "has a" DBI object; it is not a subclass of DBI.
%prep
%setup -q -n Rose-DB-%{version}
%patch0 -p1
%build
find . -type f -executable -exec chmod -x {} \;
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
export AUTOMATED_TESTING=1
make test
%files
%doc Changes
%{perl_vendorlib}/Rose/
%{_mandir}/man3/Rose::DB*.3pm*
%changelog
* Tue Oct 29 2013 Bill Pemberton <wfp5p@worldbroken.com> - 0.773-1
- update to version 0.773
* Mon Nov 26 2012 Bill Pemberton <wfp5p@virginia.edu> - 0.770-1
- update to 0.770
* Mon Jul 30 2012 Bill Pemberton <wfp5p@virginia.edu> - 0.769-5
- add more BuildRequires
- remove filter_from_requires
* Mon Jul 16 2012 Bill Pemberton <wfp5p@virginia.edu> - 0.769-4
- remove buildroot and clean
- remove defattr from files section
- add constant to BuildRequires
* Wed Jun 27 2012 Bill Pemberton <wfp5p@virginia.edu> - 0.769-3
- Patch to use Clone instead of Clone::PP
* Tue Jun 26 2012 Bill Pemberton <wfp5p@virginia.edu> - 0.769-2
- Make files more specific
* Mon Feb 15 2010 Bill Pemberton <wfp5p@virginia.edu> - 0.769-1
- Initial version