Name: perl-MooseX-LazyLogDispatch Version: 0.02 Release: 1%{?dist} Summary: Logging Role for Moose License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-LazyLogDispatch/ Source0: http://www.cpan.org/authors/id/B/BL/BLBLACK/MooseX-LazyLogDispatch-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(IO::Scalar) >= 2.110 BuildRequires: perl(Log::Dispatch::Configurator) BuildRequires: perl(Moose) BuildRequires: perl(Test::More) >= 0.42 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Log::Dispatch role for use with your Moose classes. %prep %setup -q -n MooseX-LazyLogDispatch-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$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 ChangeLog README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Feb 17 2009 Allisson Azevedo 0.02-1 - Initial rpm release.