123 Star 0 Fork 8

src-openEuler/perl-HTTP-Daemon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-HTTP-Daemon.spec 2.58 KB
一键复制 编辑 原始数据 按行查看 历史
kkz 提交于 2023-09-20 15:48 . upgrade to 6.16
Name: perl-HTTP-Daemon
Version: 6.16
Release: 1
Summary: A simple http server class
License: Artistic-1.0 or GPL-1.0+
Url: http://search.cpan.org/dist/HTTP-Daemon/
Source: http://www.cpan.org/authors/id/O/OA/OALDERS/HTTP-Daemon-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(Test::More)
BuildRequires: perl-generators
BuildRequires: perl-interpreter
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(HTTP::Request)
BuildRequires: perl(File::Spec)
BuildRequires: perl(HTTP::Tiny) >= 0.042
BuildRequires: perl(Module::Metadata)
BuildRequires: perl(Test::Needs)
Requires: perl(HTTP::Date) >= 6
Requires: perl(HTTP::Response) >= 6
Requires: perl(HTTP::Status) >= 6
Requires: perl(IO::Socket)
Requires: perl(LWP::MediaTypes) >= 6
Requires: perl
Requires: perl(IO::Socket::IP) >= 0.25
%description
Instances of the `HTTP::Daemon' class are HTTP/1.1 servers that listen
on a socket for incoming requests. The `HTTP::Daemon' is a subclass of
`IO::Socket::INET', so you can perform socket operations directly on it
too.
The accept() method will return when a connection from a client is
available. The returned value will be an `HTTP::Daemon::ClientConn'
object which is another `IO::Socket::INET' subclass. Calling the
get_request() method on this object will read data from the client and
return an `HTTP::Request' object. The ClientConn object also provide
methods to send back various responses.
This HTTP daemon does not fork(2) for you. Your application, i.e. the
user of the `HTTP::Daemon' is responsible for forking if that is
desirable. Also note that the user is responsible for generating
responses that conform to the HTTP/1.1 protocol.
%package help
Summary: Development support for perl-HTTP-Daemon
%description help
Development headers and libraries for perl-HTTP-Daemon.
%prep
%autosetup -n HTTP-Daemon-%{version} -p1
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
%make_build
%install
%{make_install}
%{_fixperms} %{buildroot}/*
%check
make test
%files
%license LICENCE
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING README
%{perl_vendorlib}/*
%files help
%doc Changes CONTRIBUTING README
%{_mandir}/man3/*
%changelog
* Wed Sep 20 2023 zhaoshuang <zhaoshuang@uniontech.com> - 6.16-1
- update version to 6.16
* Tue Oct 25 2022 wangyuhang <wangyuhang27@huawei.com> - 6.14-1
- update version to 6.14
* Thu Jul 23 2020 xinghe <xinghe1@huawei.com> - 6.12-1
- update version to 6.12
* Mon Jan 6 2020 duyeyu <duyeyu@huawei.com> - 6.01-26
- Package init
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/perl-HTTP-Daemon.git
git@gitee.com:src-openeuler/perl-HTTP-Daemon.git
src-openeuler
perl-HTTP-Daemon
perl-HTTP-Daemon
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385