perl-FCGI package init
This commit is contained in:
parent
f203178f73
commit
a15644ffb5
BIN
FCGI-0.78.tar.gz
Normal file
BIN
FCGI-0.78.tar.gz
Normal file
Binary file not shown.
55
perl-FCGI.spec
Normal file
55
perl-FCGI.spec
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
Name: perl-FCGI
|
||||||
|
Epoch: 1
|
||||||
|
Version: 0.78
|
||||||
|
Release: 11
|
||||||
|
Summary: FastCGI Perl bindings
|
||||||
|
License: OML
|
||||||
|
URL: https://metacpan.org/release/FCGI
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/E/ET/ETHER/FCGI-%{version}.tar.gz
|
||||||
|
BuildRequires: findutils gcc make perl-interpreter perl-devel perl-generators
|
||||||
|
BuildRequires: perl(Config) perl(Cwd) perl(ExtUtils::MakeMaker) >= 6.76
|
||||||
|
BuildRequires: perl(File::Copy) perl(Getopt::Long) perl(IO::File)
|
||||||
|
BuildRequires: perl(strict) perl(XSLoader) perl(Test)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
Requires: perl(Carp) perl(XSLoader)
|
||||||
|
|
||||||
|
%description
|
||||||
|
FastCGI Perl bingdings.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Documentation for perl-FCGI
|
||||||
|
Requires: perl-FCGI = %{epoch}:%{version}-%{release}
|
||||||
|
Provides: perl-FCGI-doc = %{epoch}:%{version}-%{release}
|
||||||
|
Obsoletes: perl-FCGI-doc < %{epoch}:%{version}-%{release}
|
||||||
|
|
||||||
|
%description help
|
||||||
|
Documentation for developing programs that will use FCGI.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n FCGI-%{version} -p1 -S git
|
||||||
|
find . -type f -exec chmod -c -x {} +
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" NO_PACKLIST=1
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
%{_fixperms} %{buildroot}/*
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license LICENSE
|
||||||
|
%{perl_vendorarch}/*
|
||||||
|
%exclude %dir %{perl_vendorarch}/auto
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_mandir}/man3/*.3*
|
||||||
|
%doc ChangeLog README
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Apr 14 2020 Jeffery.Gao <gaojianxing@huawei.com> - 1:0.78-11
|
||||||
|
- Package init
|
||||||
|
|
||||||
4
perl-FCGI.yaml
Normal file
4
perl-FCGI.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version-control: metacpan
|
||||||
|
src_repo: FCGI
|
||||||
|
tag_prefix: "^"
|
||||||
|
seperator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user