5ba9fb1
Name:           perl-MooseX-Types-LoadableClass
5ba9fb1
Version:        0.006
5ba9fb1
Release:        1%{?dist}
5ba9fb1
Summary:        ClassName type constraint with coercion to load the class
5ba9fb1
License:        GPL+ or Artistic
5ba9fb1
Group:          Development/Libraries
5ba9fb1
URL:            http://search.cpan.org/dist/MooseX-Types-LoadableClass/
5ba9fb1
Source0:        http://www.cpan.org/authors/id/B/BO/BOBTFISH/MooseX-Types-LoadableClass-%{version}.tar.gz
5ba9fb1
BuildArch:      noarch
5ba9fb1
BuildRequires:  perl(Class::Load) >= 0.06
5ba9fb1
BuildRequires:  perl(ExtUtils::MakeMaker)
5ba9fb1
BuildRequires:  perl(Moose)
5ba9fb1
BuildRequires:  perl(MooseX::Types) >= 0.22
5ba9fb1
BuildRequires:  perl(namespace::clean)
5ba9fb1
BuildRequires:  perl(Test::Exception)
5ba9fb1
BuildRequires:  perl(Test::More) >= 0.88
5ba9fb1
Requires:       perl(Class::Load) >= 0.06
5ba9fb1
Requires:       perl(MooseX::Types) >= 0.22
5ba9fb1
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
5ba9fb1
5ba9fb1
%{?perl_default_filter}
5ba9fb1
5ba9fb1
%description
5ba9fb1
ClassName type constraint with coercion to load the class.
5ba9fb1
5ba9fb1
%prep
5ba9fb1
%setup -q -n MooseX-Types-LoadableClass-%{version}
5ba9fb1
5ba9fb1
%build
5ba9fb1
%{__perl} Makefile.PL INSTALLDIRS=vendor
5ba9fb1
make %{?_smp_mflags}
5ba9fb1
5ba9fb1
%install
5ba9fb1
make pure_install DESTDIR=%{buildroot}
5ba9fb1
5ba9fb1
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
5ba9fb1
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
5ba9fb1
5ba9fb1
%{_fixperms} %{buildroot}/*
5ba9fb1
5ba9fb1
%check
5ba9fb1
make test
5ba9fb1
5ba9fb1
%files
5ba9fb1
%defattr(-,root,root,-)
5ba9fb1
%doc Changes README
5ba9fb1
%{perl_vendorlib}/*
5ba9fb1
%{_mandir}/man3/*
5ba9fb1
5ba9fb1
%changelog
5ba9fb1
* Mon Aug 29 2011 Iain Arnell <iarnell@gmail.com> 0.006-1
5ba9fb1
- Specfile autogenerated by cpanspec 1.78.