Name: perl-Plack-Middleware-ConsoleLogger Version: 0.02 Release: 1%{?dist} Summary: Write logs to Firebug or Webkit Inspector License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Plack-Middleware-ConsoleLogger/ Source0: http://www.cpan.org/authors/id/M/MI/MIYAGAWA/Plack-Middleware-ConsoleLogger-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.8.1 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(parent) BuildRequires: perl(Plack) >= 0.99 BuildRequires: perl(Test::More) BuildRequires: perl(Test::Requires) Requires: perl(parent) Requires: perl(Plack) >= 0.99 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This middleware captures logs from PSGI applications and plack middleware components and makes them available to see on JavaScript console for Firebug and Webkit Inspector. %prep %setup -q -n Plack-Middleware-ConsoleLogger-%{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 Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Tue Nov 23 2010 Dave Cross 0.02-1 - Specfile autogenerated by cpanspec 1.78.