11 Star 0 Fork 3

src-openEuler / perl-Net-Daemon

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
perl-Net-Daemon.spec 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
hexiaowen 提交于 2019-09-30 11:12 . Package init
Name: perl-Net-Daemon
Epoch: 1
Version: 0.48
Release: 2
Summary: Perl extension for portable daemons
License: GPL+ or Artistic
URL: https://metacpan.org/release/Net-Daemon
Source0: https://cpan.metacpan.org/authors/id/M/MN/MNOONING/Net-Daemon-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl perl-generators
Requires: perl
%description
Net::Daemon is an abstract base class for implementing portable server
applications in a very simple way. The module is designed for Perl 5.005
and threads, but can work with fork() and Perl 5.004.
The Net::Daemon class offers methods for the most common tasks a daemon
needs: Starting up, logging, accepting clients, authorization,
restricting its own environment for security and doing the true work.
You only have to override those methods that aren't appropriate for you,
but typically inheriting will safe you a lot of work anyways.
%package help
Summary: Man page for Net::Daemon
BuildArch: noarch
%description help
This package provide %{summary}.
%prep
%setup -q -n Net-Daemon-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PERLLOCAL=1 NO_PACKLIST=1
%make_build
%install
%make_install
%check
make test
%files
%defattr(-,root,root)
%doc ChangeLog README
%{perl_vendorlib}/Net*
%files help
%{_mandir}/man3/Net*.3*
%changelog
* Tue Sep 24 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:0.48-2
- Adjust requires
* Fri Aug 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:0.48-1
- Package init
1
https://gitee.com/src-openeuler/perl-Net-Daemon.git
git@gitee.com:src-openeuler/perl-Net-Daemon.git
src-openeuler
perl-Net-Daemon
perl-Net-Daemon
openEuler-20.03-LTS

搜索帮助