Sophie

Sophie

distrib > Mandriva > 2009.1 > x86_64 > by-pkgid > 2e8ceae9be1a19736fc76d7e36771e15 > files > 2

perl-Class-DBI-Loader-0.34-3mdv2009.0.src.rpm

%define module	Class-DBI-Loader
%define name	perl-%{module}
%define version 0.34
%define release %mkrel 3

Name:		%{name}
Version:	%{version}
Release:	%{release}
Summary:	Dynamic definition of Class::DBI sub classes
License:	GPL or Artistic
Group:		Development/Perl
URL:		http://search.cpan.org/dist/%{module}
Source0:	http://search.cpan.org/CPAN/authors/id/D/DM/DMAKI/%{module}-%{version}.tar.bz2
BuildArch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}
BuildRequires:	perl-Lingua-EN-Inflect
BuildRequires:	perl-DBI >= 0.89

%description
Class::DBI::Loader automate the definition of Class::DBI sub-classes.
scan table schemas and setup columns, primary key.
class names are defined by table names and namespace option.
Class::DBI::Loader supports MySQL, Postgres and SQLite.

%prep
%setup -q -n %{module}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
%{__make} test

%install
rm -rf %{buildroot}
%makeinstall_std

%clean 
rm -rf %{buildroot}

%files
%defattr(-,root,root)
%doc Changes README
%{perl_vendorlib}/Class
%{_mandir}/*/*



%changelog
* Wed Jul 30 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.34-3mdv2009.0
+ Revision: 255948
- rebuild

* Fri Dec 21 2007 Olivier Blin <oblin@mandriva.com> 0.34-1mdv2008.1
+ Revision: 136683
- restore BuildRoot

  + Thierry Vignaud <tvignaud@mandriva.com>
    - kill re-definition of %%buildroot on Pixel's request

* Tue May 01 2007 Olivier Thauvin <nanardon@mandriva.org> 0.34-1mdv2008.0
+ Revision: 19789
- 0.34


* Thu Jul 06 2006 Arnaud de Lorbeau <adelorbeau@seanodes.com> 0.33-2mdv2007.0
- Add buildrequires

* Fri Jun 30 2006 Arnaud de Lorbeau <adelorbeau@seanodes.com> 0.33-1mdv2007.0
- 0.33