Name: perl-Plack-Middleware-Debug Version: 0.07 Release: 1%{?dist} Summary: Display information about the current request/response License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Plack-Middleware-Debug/ Source0: file:///home/dave/cpan/authors/id/M/MI/MIYAGAWA/Plack-Middleware-Debug-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 1:5.8.1 BuildRequires: perl(Class::Method::Modifiers) >= 1.05 BuildRequires: perl(Data::Dump) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::ShareDir) >= 1.00 BuildRequires: perl(parent) BuildRequires: perl(Plack) BuildRequires: perl(Test::More) >= 0.70 BuildRequires: perl(Text::MicroTemplate) Requires: perl(Class::Method::Modifiers) >= 1.05 Requires: perl(Data::Dump) Requires: perl(File::ShareDir) >= 1.00 Requires: perl(parent) Requires: perl(Plack) Requires: perl(Text::MicroTemplate) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The debug middleware offers a configurable set of panels that displays information about the current request and response. The information is generated only for responses with a status of 200 (OK) and a Content-Type that contains text/html or application/xhtml+xml and is embedded in the HTML that is sent back to the browser. Also the code is injected directly before the tag so if there is no such tag, the information will not be injected. %prep %setup -q -n Plack-Middleware-Debug-%{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 README.mkdn %{perl_vendorlib}/* %{_mandir}/man3/* /blib/lib/auto/share/dist/Plack-Middleware-Debug/debug_toolbar/* %changelog * Wed Mar 17 2010 Dave Cross 0.07-1 - Specfile autogenerated by cpanspec 1.78.