commit 41fcd6d0fde9ec0ccd73851e90758aa2302906d4 Author: dogsheng <960055655@qq.com> Date: Tue Nov 19 11:52:10 2019 +0800 Package init diff --git a/HTTP-Cookies-6.04.tar.gz b/HTTP-Cookies-6.04.tar.gz new file mode 100644 index 0000000..8291726 Binary files /dev/null and b/HTTP-Cookies-6.04.tar.gz differ diff --git a/perl-HTTP-Cookies.spec b/perl-HTTP-Cookies.spec new file mode 100644 index 0000000..310b2ef --- /dev/null +++ b/perl-HTTP-Cookies.spec @@ -0,0 +1,60 @@ +%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}perl\\((HTTP::Date|HTTP::Headers::Util|Win32)\\)$ + +Name: perl-HTTP-Cookies +Version: 6.04 +Release: 5 +Summary: HTTP cookie jars +License: GPL+ or Artistic +URL: https://metacpan.org/release/HTTP-Cookies +Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTTP-Cookies-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl-generators perl-interpreter perl(:VERSION) >= 5.8.1 +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76 perl(strict) perl(warnings) +BuildRequires: perl(Carp) perl(HTTP::Date) >= 6 perl(HTTP::Headers::Util) >= 6 +BuildRequires: perl(HTTP::Request) perl(locale) perl(vars) +BuildRequires: perl(File::Spec) perl(HTTP::Response) perl(Test) +BuildRequires: perl(Test::More) perl(URI) + +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) +Requires: perl(Carp) perl(HTTP::Date) >= 6 perl(HTTP::Headers::Util) >= 6 + +Conflicts: perl-libwww-perl < 6 + +%description +This class is for objects that represent a "cookie jar" -- that is, a +database of all the HTTP cookies that a given LWP::UserAgent object +knows about. + +%package help +Summary: Documentation for perl-HTTP-Cookies + +%description help +Documentation for perl-HTTP-Cookies. + +%prep +%autosetup -n HTTP-Cookies-%{version} -p1 + +%build +perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 +%make_build + +%install +make pure_install DESTDIR=%{buildroot} +%{_fixperms} %{buildroot}/* + +%check +make test + +%files +%license LICENSE +%{perl_vendorlib}/* +%exclude /usr/lib64/perl5/perllocal.pod + +%files help +%doc Changes CONTRIBUTORS README.md +%{_mandir}/man3/ + + +%changelog +* Wed Oct 23 2019 Zaiwang Li - 6.04-5 +- Init Package.