Init package
This commit is contained in:
parent
aad76ba65a
commit
2d0514ce1f
BIN
HTTP-Response-Encoding-0.06.tar.gz
Normal file
BIN
HTTP-Response-Encoding-0.06.tar.gz
Normal file
Binary file not shown.
45
perl-HTTP-Response-Encoding.spec
Normal file
45
perl-HTTP-Response-Encoding.spec
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
Name: perl-HTTP-Response-Encoding
|
||||||
|
Version: 0.06
|
||||||
|
Release: 1
|
||||||
|
Summary: HTTP::Response::Encoding Perl module
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: https://metacpan.org/release/HTTP-Response-Encoding
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/D/DA/DANKOGAI/HTTP-Response-Encoding-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: make
|
||||||
|
BuildRequires: perl-generators
|
||||||
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(HTTP::Response)
|
||||||
|
BuildRequires: perl(LWP::UserAgent)
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||||||
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
|
|
||||||
|
%description
|
||||||
|
Adds encoding() to HTTP::Response.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n HTTP-Response-Encoding-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%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
|
||||||
|
%{perl_vendorlib}/*
|
||||||
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon May 30 2022 misaka00251 <misaka00251@misakanet.cn> - 0.06-1
|
||||||
|
- Init package (Thanks to fedora team)
|
||||||
Loading…
x
Reference in New Issue
Block a user