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/authors/id/M/MI/MIYAGAWA/Plack-Middleware-Debug-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl-generators 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(Plack::Test) BuildRequires: perl(Test::Requires) BuildRequires: perl(Test::More) >= 0.70 BuildRequires: perl(Text::MicroTemplate) >= 0.15 BuildRequires: perl(Module::Build::Tiny) 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 --installdirs=vendor --prefix=/usr --destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; find $RPM_BUILD_ROOT -name ".packlist" -exec rm {} 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/* %changelog * Wed Oct 26 2016 jaromir.talir@nic.cz 0.16-1 - Specfile autogenerated by cpanspec 1.78.