package init
This commit is contained in:
parent
8486e49002
commit
1ae075e1c2
BIN
PSGI-1.102.tar.gz
Normal file
BIN
PSGI-1.102.tar.gz
Normal file
Binary file not shown.
42
perl-PSGI.spec
Normal file
42
perl-PSGI.spec
Normal file
@ -0,0 +1,42 @@
|
||||
Name: perl-PSGI
|
||||
Version: 1.102
|
||||
Release: 1
|
||||
License: CC-BY-SA
|
||||
Summary: Perl Web Server Gateway Interface Specification
|
||||
Source0: https://cpan.metacpan.org/authors/id/M/MI/MIYAGAWA/PSGI-%{version}.tar.gz
|
||||
URL: https://metacpan.org/release/PSGI
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
BuildArch: noarch
|
||||
BuildRequires: coreutils make perl-interpreter perl-generators perl(inc::Module::Install)
|
||||
BuildRequires: perl(Module::Install::Metadata) perl(Module::Install::Repository)
|
||||
BuildRequires: perl(Module::Install::WriteAll) sed
|
||||
%{?perl_default_filter}
|
||||
%description
|
||||
This document specifies a standard interface between web servers and Perl web
|
||||
applications or frameworks, to promote web application portability and reduce
|
||||
the duplicated efforts by web application framework developers.
|
||||
|
||||
%prep
|
||||
%setup -q -n PSGI-%{version}
|
||||
rm -r ./inc/*
|
||||
sed -i -e '/^inc\//d' MANIFEST
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make pure_install DESTDIR=$RPM_BUILD_ROOT
|
||||
%{_fixperms} $RPM_BUILD_ROOT/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%files
|
||||
%doc Changes
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Fri May 14 2021 zhangtao <zhangtao307@huawei.com> - 1.102-1
|
||||
- package init
|
||||
Loading…
x
Reference in New Issue
Block a user