%define upstream_name Working-Daemon %define upstream_version 0.31 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Perl extension for turning your script inta daemon License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Working/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildArch: noarch %description This is a modular Daemon wrapper. It handles forking, master session, chroot pidfiles, and command line parsing. While it isn't perfect yet, it works better than any existing on CPAN. Notably it doesn't force itself on you unconditionally. The commandline parsing uses Getopt::Long %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Mon Nov 07 2011 kharec <kharec> 0.310.0-1.mga2 + Revision: 165039 - imported package perl-Working-Daemon * Mon Nov 07 2011 cpan2dist 0.31-1mga - initial mageia release, generated with cpan2dist