11 Star 0 Fork 5

src-openEuler / perl-HTTP-Tiny

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-HTTP-Tiny.spec 2.24 KB
一键复制 编辑 原始数据 按行查看 历史
syyhao 提交于 2020-01-08 14:02 . delete redundant files
Name: perl-HTTP-Tiny
Version: 0.076
Release: 3
Summary: A small, simple, correct HTTP/1.1 client
License: GPL+ or Artistic
URL: https://metacpan.org/release/HTTP-Tiny
Source0: https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/HTTP-Tiny-%{version}.tar.gz
BuildArch: noarch
BuildRequires: make perl-generators perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(strict) perl(warnings) perl(bytes) perl(Carp) perl(Errno) perl(Fcntl)
BuildRequires: perl(IO::Socket) perl(MIME::Base64) perl(Socket) perl(Time::Local)
BuildRequires: perl(Exporter) perl(File::Basename) perl(File::Spec) perl(File::Temp)
BuildRequires: perl(IO::Dir) perl(IO::File) perl(IPC::Cmd) perl(lib) perl(open)
BuildRequires: perl(Test::More) >= 0.96
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
Requires: perl(bytes) perl(Carp) perl(Fcntl) perl(MIME::Base64) perl(Time::Local)
Recommends: perl(IO::Socket::IP) >= 0.32
Recommends: perl(IO::Socket::SSL) >= 1.56
Recommends: perl(Mozilla::CA)
%description
This is a very simple HTTP/1.1 client, designed for doing simple requests
without the overhead of a large framework like LWP::UserAgent.
It is more correct and more complete than HTTP::Lite. It supports proxies and
redirection. It also correctly resumes after EINTR.
If IO::Socket::IP 0.25 or later is installed, HTTP::Tiny will use it instead
of IO::Socket::INET for transparent support for both IPv4 and IPv6.
Cookie support requires HTTP::CookieJar or an equivalent class.
%package help
Summary: Documents for perl-HTTP-Tiny
Buildarch: noarch
%description help
Man pages and other related documents.
%prep
%autosetup -n HTTP-Tiny-%{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}/*
%files help
%doc Changes CONTRIBUTING.mkdn eg README
%{_mandir}/man3/*
%changelog
* Sat Jan 4 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.076-3
- Delete redundant files
* Tue Sep 17 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.076-2
- Package init
1
https://gitee.com/src-openeuler/perl-HTTP-Tiny.git
git@gitee.com:src-openeuler/perl-HTTP-Tiny.git
src-openeuler
perl-HTTP-Tiny
perl-HTTP-Tiny
openEuler-20.03-LTS

搜索帮助