%define upstream_name MooseX-Daemonize %define upstream_version 0.13 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: A Role with the core daemonization and pidfile management License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/MooseX/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Moose) BuildRequires: perl(MooseX::Getopt) BuildRequires: perl(MooseX::Types::Path::Class) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::More) BuildArch: noarch %description Often you want to write a persistant daemon that has a pid file, and responds appropriately to Signals. This module provides a set of basic roles as an infrastructure to do that. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %files %doc Changes META.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sat Aug 20 2011 jquelin <jquelin> 0.130.0-1.mga2 + Revision: 134619 - adding missing buildrequires: - imported package perl-MooseX-Daemonize * Sat Aug 20 2011 cpan2dist 0.13-1mga - initial mageia release, generated with cpan2dist