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