Name: perl-MooseX-LazyRequire Version: 0.05 Release: 1%{?dist} Summary: Required attributes which fail only when trying to use them License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-LazyRequire/ Source0: http://www.cpan.org/authors/id/F/FL/FLORA/MooseX-LazyRequire-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(aliased) >= 0.30 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Exporter) BuildRequires: perl(Moose::Role) BuildRequires: perl(MooseX::Types::Moose) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.88 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description This module adds a lazy_required option to Moose attribute declarations. %prep %setup -q -n MooseX-LazyRequire-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Jun 07 2010 Iain Arnell 0.05-1 - Specfile autogenerated by cpanspec 1.78.