commit 502a059ad3a6cad10d6b6f5726b2790c8fe28c46 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:12:56 2019 -0400 Package init diff --git a/Net-Daemon-0.48.tar.gz b/Net-Daemon-0.48.tar.gz new file mode 100644 index 0000000..0080a45 Binary files /dev/null and b/Net-Daemon-0.48.tar.gz differ diff --git a/perl-Net-Daemon.spec b/perl-Net-Daemon.spec new file mode 100644 index 0000000..4f22a44 --- /dev/null +++ b/perl-Net-Daemon.spec @@ -0,0 +1,59 @@ +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 - 1:0.48-2 +- Adjust requires + +* Fri Aug 30 2019 openEuler Buildteam - 1:0.48-1 +- Package init