File perl-Catalyst-Model-DBIC-Schema.spec of Package perl-Catalyst-Model-DBIC-Schema

%define _real_name Catalyst-Model-DBIC-Schema
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)

Summary: DBIx::Class::Schema Model Class
Name: perl-Catalyst-Model-DBIC-Schema
Version: 0.21
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~bogdan/Catalyst-Model-DBIC-Schema-0.21/lib/Catalyst/Model/DBIC/Schema.pm

Buildarch: noarch

BuildRequires: perl-DBIx-Class perl-Test-Simple perl-Catalyst-Runtime perl-UNIVERSAL-require perl-Class-Data-Accessor perl-Class-Accessor perl-Catalyst-Devel
Requires: perl-DBIx-Class perl-Test-Simple perl-UNIVERSAL-require perl-Class-Data-Accessor perl-Class-Accessor

Source: http://search.cpan.org/CPAN/authors/id/B/BO/BOGDAN/Catalyst-Model-DBIC-Schema-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
DBIx::Class::Schema Model Class

%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}/Catalyst/
%dir %{perl_vendorlib}/Catalyst/Helper
%dir %{perl_vendorlib}/Catalyst/Helper/Model
%dir %{perl_vendorlib}/Catalyst/Model
%dir %{perl_vendorlib}/Catalyst/Model/DBIC
%dir %{perl_vendorlib}/Catalyst/Helper/Model/DBIC
%{perl_vendorlib}/Catalyst/Helper/Model/DBIC/Schema.pm
%{perl_vendorlib}/Catalyst/Model/DBIC/Schema.pm

%changelog
* Tue Feb 03 2009 Leo Eraly <leo@unstable.be> - 0.21-1
- Initial package
openSUSE Build Service is sponsored by