Package init
This commit is contained in:
commit
502a059ad3
BIN
Net-Daemon-0.48.tar.gz
Normal file
BIN
Net-Daemon-0.48.tar.gz
Normal file
Binary file not shown.
59
perl-Net-Daemon.spec
Normal file
59
perl-Net-Daemon.spec
Normal file
@ -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 <buildteam@openeuler.org> - 1:0.48-2
|
||||
- Adjust requires
|
||||
|
||||
* Fri Aug 30 2019 openEuler Buildteam <buildteam@openeuler.org> - 1:0.48-1
|
||||
- Package init
|
||||
Loading…
x
Reference in New Issue
Block a user