diff --git a/HTTP-Response-Encoding-0.06.tar.gz b/HTTP-Response-Encoding-0.06.tar.gz new file mode 100644 index 0000000..eec6fe0 Binary files /dev/null and b/HTTP-Response-Encoding-0.06.tar.gz differ diff --git a/perl-HTTP-Response-Encoding.spec b/perl-HTTP-Response-Encoding.spec new file mode 100644 index 0000000..5f50159 --- /dev/null +++ b/perl-HTTP-Response-Encoding.spec @@ -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 - 0.06-1 +- Init package (Thanks to fedora team)