ec3f56e
Name:           perl-Class-DBI-SQLite
4fd181c
Version:        0.11
709b78e
Release:        3%{?dist}
ec3f56e
Summary:        Extension to Class::DBI for sqlite
ec3f56e
Group:          Development/Libraries
709b78e
License:        GPL+ or Artistic
ec3f56e
URL:            http://search.cpan.org/dist/Class-DBI-SQLite/
ec3f56e
Source0:        http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/Class-DBI-SQLite-%{version}.tar.gz
ec3f56e
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ec3f56e
ec3f56e
BuildArch:      noarch
709b78e
BuildRequires:	perl(Class::DBI), perl(DBD::SQLite), perl(Test::More)
ec3f56e
Requires:  perl(DBD::SQLite)
ec3f56e
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
ec3f56e
ec3f56e
%description
ec3f56e
%{summary}.
ec3f56e
ec3f56e
%prep
ec3f56e
%setup -q -n Class-DBI-SQLite-%{version}
ec3f56e
perldoc -t perlartistic > Artistic
ec3f56e
perldoc -t perlgpl > COPYING
ec3f56e
ec3f56e
%build
ec3f56e
%{__perl} Makefile.PL INSTALLDIRS=vendor
ec3f56e
make %{?_smp_mflags}
ec3f56e
ec3f56e
%install
ec3f56e
rm -rf $RPM_BUILD_ROOT
ec3f56e
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
ec3f56e
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
ec3f56e
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
ec3f56e
chmod -R u+w $RPM_BUILD_ROOT/*
ec3f56e
ec3f56e
%check
ec3f56e
make test
ec3f56e
ec3f56e
%clean
ec3f56e
rm -rf $RPM_BUILD_ROOT
ec3f56e
ec3f56e
%files
ec3f56e
%defattr(-,root,root,-)
ec3f56e
%doc Artistic COPYING Changes
ec3f56e
%{perl_vendorlib}/Class/DBI
ec3f56e
%{_mandir}/man3/*.3*
ec3f56e
ec3f56e
ec3f56e
%changelog
709b78e
* Fri Aug 24 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-3
709b78e
- license fix
709b78e
7aa719d
* Fri Sep 15 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-2
7aa719d
- bump for fc6
7aa719d
4fd181c
* Mon Jan  9 2006 Tom "spot" Callaway <tcallawa@redhat.com> 0.11-1
4fd181c
- bump to 0.11
4fd181c
ec3f56e
* Sun Sep  4 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-2
ec3f56e
- add R: perl(DBD::SQLite)
ec3f56e
- remove R: perl(Class::DBI)
ec3f56e
ec3f56e
* Thu Sep  1 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.10-1
ec3f56e
- bump to 0.10
ec3f56e
ec3f56e
* Thu Sep  1 2005 Paul Howarth <paul@city-fan.org> 0.09-3
ec3f56e
- remove redundant BR: perl
ec3f56e
- include license text
ec3f56e
- honor %%{?_smp_mflags}
ec3f56e
- include BR: perl(DBD::SQLite)
ec3f56e
ec3f56e
* Fri Jul  8 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.09-2
ec3f56e
- cleanups
ec3f56e
ec3f56e
* Wed Jul  6 2005 Tom "spot" Callaway <tcallawa@redhat.com> 0.09-1
ec3f56e
- Initial package for Fedora Extras