File perl-DBIx-Class-Schema-Loader.spec of Package perl-DBIx-Class-Schema-Loader
%define _real_name DBIx-Class-Schema-Loader
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
Summary: Dynamic definition of a DBIx::Class::Schema
Name: perl-DBIx-Class-Schema-Loader
Version: 0.04005
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~ilmari/DBIx-Class-Schema-Loader-0.04005/lib/DBIx/Class/Schema/Loader.pm
Buildarch: noarch
BuildRequires: perl-Class-Accessor >= 0.30
BuildRequires: perl-DBIx-Class perl-DBD-SQLite perl-UNIVERSAL-require perl-Lingua-EN-Inflect-Number perl-Data-Dump perl-Class-Data-Accessor
Source: http://search.cpan.org/CPAN/authors/id/I/IL/ILMARI/DBIx-Class-Schema-Loader-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Dynamic definition of a DBIx::Class::Schema
%prep
%setup -n %{_real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
%{__make}
%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%{_mandir}/man3/*.gz
%dir %{perl_vendorlib}/DBIx/Class/Schema/Loader
%dir %{perl_vendorlib}/DBIx/Class/Schema
%dir %{perl_vendorlib}/DBIx/Class
%dir %{perl_vendorlib}/DBIx/
%{perl_vendorlib}/DBIx/Class/Schema/Loader.pm
%{perl_vendorlib}/DBIx/Class/Schema/Loader/*
%changelog
* Tue Feb 03 2009 Leo Eraly <leo@unstable.be> - 0.04005-1
- Initial package