2007-01-15 23:31:16 +00:00
#
2011-12-13 15:12:50 +00:00
# spec file for package perl-Net-Daemon
2007-01-15 23:31:16 +00:00
#
2020-09-30 11:17:35 +00:00
# Copyright (c) 2020 SUSE LLC
2007-01-15 23:31:16 +00:00
#
2009-06-18 15:09:10 +00:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2020-09-30 11:17:35 +00:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2007-01-15 23:31:16 +00:00
#
2011-12-13 15:12:50 +00:00
2007-01-15 23:31:16 +00:00
Name : perl-Net-Daemon
2020-09-30 11:17:35 +00:00
Version : 0.49
2011-12-13 15:12:50 +00:00
Release : 0
2020-09-30 11:17:35 +00:00
#Upstream: Am Eisteich 9 72555 Metzingen Germany Phone: +49 7123 14887 Email: joe@ispsoft.de All rights reserved. You may distribute this package under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.
2011-03-31 12:02:21 +00:00
%define cpan_name Net-Daemon
Summary : Perl extension for portable daemons
2020-09-30 11:17:35 +00:00
License : Artistic-1.0 OR GPL-1.0-or-later
2007-01-15 23:31:16 +00:00
Group : Development/Libraries/Perl
2020-09-30 11:17:35 +00:00
URL : https://metacpan.org/release/%{cpan_name}
Source0 : https://cpan.metacpan.org/authors/id/T/TO/TODDR/%{cpan_name} -%{version} .tar.gz
Source1 : cpanspec.yml
2025-08-12 18:15:56 +02:00
Source100 : README.md
2011-03-31 12:02:21 +00:00
BuildArch : noarch
2007-01-15 23:31:16 +00:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
2010-12-03 14:44:10 +00:00
BuildRequires : perl
BuildRequires : perl-macros
2020-09-30 11:17:35 +00:00
BuildRequires : perl(Sys::Syslog) >= 0.29
Requires : perl(Sys::Syslog) >= 0.29
2011-03-31 12:02:21 +00:00
%{perl_requires}
2007-01-15 23:31:16 +00:00
%description
Net::Daemon is an abstract base class for implementing portable server
2011-03-31 12:02:21 +00:00
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.
2007-01-15 23:31:16 +00:00
%prep
2011-03-31 12:02:21 +00:00
%setup -q -n %{cpan_name} -%{version}
2007-01-15 23:31:16 +00:00
%build
2020-09-30 11:17:35 +00:00
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
2011-03-31 12:02:21 +00:00
%check
2020-09-30 11:17:35 +00:00
make test
2007-01-15 23:31:16 +00:00
%install
2011-03-31 12:02:21 +00:00
%perl_make_install
2007-01-15 23:31:16 +00:00
%perl_process_packlist
2011-03-31 12:02:21 +00:00
%perl_gen_filelist
2007-01-15 23:31:16 +00:00
2011-03-31 12:02:21 +00:00
%files -f %{name}.files
2020-09-30 11:17:35 +00:00
%defattr (-,root,root,755)
%doc ChangeLog README
2007-01-15 23:31:16 +00:00
2007-07-16 16:17:03 +00:00
%changelog