113 Star 0 Fork 20

src-openEuler/perl-libwww-perl

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-libwww-perl.spec 5.17 KB
一键复制 编辑 原始数据 按行查看 历史
Funda Wang 提交于 2025-01-18 13:04 +08:00 . drop useless perl(:MODULE_COMPAT) requirement
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((Authen::NTLM|Encode|File::Listing|HTTP::Date|HTTP::Negotiate|HTTP::Request|HTTP::Response|HTTP::Status|LWP::MediaTypes|MIME::Base64|Net::FTP|Net::HTTP|URI|WWW::RobotRules)\\)$
Name: perl-libwww-perl
Version: 6.77
Release: 2
Summary: The World-Wide Web library for Perl
License: GPL-1.0-or-later OR Artistic-1.0-Perl
URL: https://metacpan.org/release/libwww-perl
Source0: https://cpan.metacpan.org/authors/id/O/OA/OALDERS/libwww-perl-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-generators perl-interpreter perl(:VERSION) >= 5.8.1
BuildRequires: perl(CPAN::Meta::Requirements) >= 2.120620 perl(ExtUtils::MakeMaker) >= 6.76
BuildRequires: perl(File::Copy) perl(Getopt::Long) perl(Module::Metadata) perl(strict) perl(warnings)
BuildRequires: perl(base) perl(Carp) perl(Digest::MD5) perl(Encode) >= 2.12 perl(Encode::Locale)
BuildRequires: perl(Exporter) perl(HTML::Entities) perl(HTML::HeadParser) perl(HTTP::Config)
BuildRequires: perl(HTTP::Date) >= 6 perl(HTTP::Headers::Util) perl(HTTP::Request) >= 6
BuildRequires: perl(HTTP::Request::Common) >= 6 perl(HTTP::Response) >= 6 perl(HTTP::Status) >= 6
BuildRequires: perl(IO::Select) perl(IO::Socket) perl(LWP::MediaTypes) >= 6
BuildRequires: perl(MIME::Base64) >= 2.1 perl(Net::HTTP) >= 6.07 perl(parent)
BuildRequires: perl(Scalar::Util) perl(Try::Tiny) perl(URI) >= 1.10 perl(URI::Escape)
BuildRequires: perl(WWW::RobotRules) >= 6 perl(Config) perl(File::Spec)
BuildRequires: perl(File::Temp) perl(FindBin) perl(HTTP::Daemon) >= 6
BuildRequires: perl(Test::Fatal) perl(Test::More) perl(Test::RequiresInternet)
BuildRequires: perl(utf8) perl(Test::Needs) perl(Test::LeakTrace)
BuildRequires: perl(File::Listing) >= 6 perl(HTTP::Cookies) >= 6 perl(HTTP::Negotiate) >= 6
BuildRequires: perl(HTTP::CookieJar::LWP)
BuildConflicts: perl(HTTP::Status) = 6.17
Requires: perl(Authen::NTLM) >= 1.02 perl(Encode) >= 2.12
Requires: perl(HTML::HeadParser) perl(HTTP::Config) perl(HTTP::Cookies) >= 6
Requires: perl(HTTP::Date) >= 6 perl(HTTP::Headers::Util) perl(HTTP::Negotiate) >= 6
Requires: perl(HTTP::Request) >= 6 perl(HTTP::Request::Common) >= 6 perl(HTTP::Response) >= 6
Requires: perl(HTTP::Status) >= 6 perl(LWP::MediaTypes) >= 6 perl(MIME::Base64) >= 2.1
Requires: perl(Net::FTP) >= 2.58 perl(Net::HTTP) >= 6.07 perl(URI) >= 1.10
Requires: perl(URI::Escape) perl(WWW::RobotRules) >= 6
Requires: perl(File::Listing) >= 6 perl(HTTP::Cookies) >= 6 perl(HTTP::Negotiate) >= 6
Suggests: perl(CPAN::Config) perl(HTML::FormatPS) perl(HTML::FormatText)
Suggests: perl(HTML::Parse) perl(LWP::Protocol::https) >= 6.02
Provides: perl(LWP::Debug::TraceHTTP::Socket) = %{version}
Provides: perl(LWP::Protocol::http::Socket) = %{version}
Provides: perl(LWP::Protocol::http::SocketMethods) = %{version}
%description
The libwww-perl collection is a set of Perl modules which provides a simple
and consistent application programming interface (API) to the World-Wide Web.
The main focus of the library is to provide classes and functions that allow
you to write WWW clients. The library also contain modules that are of more general
use and even classes that help you implement simple HTTP servers.
%package help
Summary: Documentation for perl-libwww-perl
%description help
Documentation for perl-libwww-perl.
%prep
%autosetup -n libwww-perl-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 --aliases < /dev/null
%make_build
%install
make pure_install DESTDIR=$RPM_BUILD_ROOT
%{__chmod} -Rf a+rX,u+w,g-w,o-w $RPM_BUILD_ROOT/*
%check
unset PERL_LWP_ENV_HTTP_TEST_SERVER_TIMEOUT PERL_LWP_ENV_HTTP_TEST_URL
make test
%files
%license LICENSE
%{_bindir}/*
%{perl_vendorlib}/
%files help
%doc Changes README.SSL
%{_mandir}/man1/
%{_mandir}/man3/
%changelog
* Sat Jan 18 2025 Funda Wang <fundawang@yeah.net> - 6.77-2
- drop useless perl(:MODULE_COMPAT) requirement
* Mon Dec 02 2024 yaoxin <yao_xin001@hoperun.com> - 6.77-1
- Update to 6.77:
* Simplify code slightly for Perl v5.8+
* Move HTTP::CookieJar::LWP to test requires
* Update lwp-request to suport PATCH HTTP method
* Making it possible to use IPv6 in https call through https proxy
environment (in case of using CONNECT method to create a tunnel)
* Add cookie_jar_class attribute to allow different cookie jar modules to be used more easily
* Fix a bug in no_proxy that allowed partial matches to a proxy address to disable a proxy
* Remove dynamic dependency on HTTP::Status
* Raise minimum version of HTML::HeadParser to 3.71
* Apply perlimports to tests
- License compliance rectification
* Sat Nov 12 2022 dan <fzhang@zhixundn.com> 6.67-1
- update to 6.67
* Tue Jun 14 2022 SimpleUpdate Robot <tc@openeuler.org> - 6.66-1
- Upgrade to version 6.66
* Mon Dec 6 2021 guozhaorui <guozhaorui1@huawei.com> - 6.58-1
- update version to 6.58
* Fri Jan 29 2021 yuanxin <yuanxin24@huawei.com> - 6.51-1
- upgrade version to 6.51
* Wed Jul 29 2020 shixuantong <shixuantong@huawei.com> - 6.46-1
- update to 6.46-1
* Thu Oct 24 2019 Zaiwang Li <lizaiwang1@huawei.com> - 6.35-2
- Init package.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-libwww-perl.git
git@gitee.com:src-openeuler/perl-libwww-perl.git
src-openeuler
perl-libwww-perl
perl-libwww-perl
master

搜索帮助