Name: perl-Plack-Middleware-Debug Version: 0.16 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: http://www.cpan.org/modules/by-module/Plack/Plack-Middleware-Debug-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008001 BuildRequires: perl(Class::Method::Modifiers) >= 1.05 BuildRequires: perl(Data::Dump) BuildRequires: perl(Encode) >= 2.23 BuildRequires: perl(File::ShareDir) >= 1.00 BuildRequires: perl(Module::Build) BuildRequires: perl(parent) BuildRequires: perl(Plack) BuildRequires: perl(Test::More) >= 0.70 BuildRequires: perl(Text::MicroTemplate) >= 0.15 Requires: perl(Class::Method::Modifiers) >= 1.05 Requires: perl(Data::Dump) Requires: perl(Encode) >= 2.23 Requires: perl(File::ShareDir) >= 1.00 Requires: perl(parent) Requires: perl(Plack) Requires: perl(Text::MicroTemplate) >= 0.15 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} Build.PL --installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install --destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes cpanfile dist.ini LICENSE META.json README README.mkdn %{perl_vendorlib}/* %{_mandir}/man3/* /usr/lib64/perl5/vendor_perl/auto/Plack/Middleware/Debug/.packlist %changelog * Sun Dec 06 2015 Dave Cross 0.16-1 - Specfile autogenerated by cpanspec 1.78.