Group :: Desenvolvimento/Perl
RPM: perl-HTML-Mason-PSGIHandler
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Group: Development/Perl
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(FindBin.pm) perl(IO/Handle.pm) perl(IPC/Open3.pm) perl(base.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-HTML-Mason-PSGIHandler
Version: 0.53
Release: alt1_18
Summary: PSGI handler for HTML::Mason
License: GPL+ or Artistic
URL: https://metacpan.org/release/HTML-Mason-PSGIHandler
Source0: https://cpan.metacpan.org/authors/id/R/RU/RUZ/HTML-Mason-PSGIHandler-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(CGI/PSGI.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(HTML/Mason.pm)
BuildRequires: perl(Plack/Test.pm)
BuildRequires: perl(Test/More.pm)
Source44: import.info
%description
HTML::Mason::PSGIHandler is a PSGI handler for HTML::Mason. It's based on
HTML::Mason::CGIHandler and allows you to process Mason templates on any
web servers that support PSGI.
%prep
%setup -q -n HTML-Mason-PSGIHandler-%{version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%doc --no-dereference LICENSE
%{perl_vendor_privlib}/*
%changelog
…
Todas as alterações você pod ver aqui
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(FindBin.pm) perl(IO/Handle.pm) perl(IPC/Open3.pm) perl(base.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-HTML-Mason-PSGIHandler
Version: 0.53
Release: alt1_18
Summary: PSGI handler for HTML::Mason
License: GPL+ or Artistic
URL: https://metacpan.org/release/HTML-Mason-PSGIHandler
Source0: https://cpan.metacpan.org/authors/id/R/RU/RUZ/HTML-Mason-PSGIHandler-%{version}.tar.gz
BuildArch: noarch
BuildRequires: rpm-build-perl
BuildRequires: perl(CGI/PSGI.pm)
BuildRequires: perl(ExtUtils/MakeMaker.pm)
BuildRequires: perl(HTML/Mason.pm)
BuildRequires: perl(Plack/Test.pm)
BuildRequires: perl(Test/More.pm)
Source44: import.info
%description
HTML::Mason::PSGIHandler is a PSGI handler for HTML::Mason. It's based on
HTML::Mason::CGIHandler and allows you to process Mason templates on any
web servers that support PSGI.
%prep
%setup -q -n HTML-Mason-PSGIHandler-%{version}
%build
/usr/bin/perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
%make_build
%install
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
# %{_fixperms} $RPM_BUILD_ROOT/*
%check
make test
%files
%doc Changes README
%doc --no-dereference LICENSE
%{perl_vendor_privlib}/*
%changelog
…
Todas as alterações você pod ver aqui