%define upstream_name Catalyst-Log-Log4perl %define upstream_version 1.05 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: Integrates Log::Log4perl with Catalyst License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Catalyst/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Catalyst) >= 5.600.0 BuildRequires: perl(Data::Dump) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.420.0 BuildRequires: perl(Log::Log4perl) >= 1.40.0 BuildRequires: perl(MRO::Compat) BuildRequires: perl(Params::Validate) BuildArch: noarch %description This module provides a the Catalyst::Log manpage implementation that uses the Log::Log4perl manpage as the underlying log mechanism. It provides all the methods listed in the Catalyst::Log manpage, with the exception of: levels enable disable These methods simply return 0 and do nothing, as similar functionality is already provided by the Log::Log4perl manpage. %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 * Fri Oct 14 2011 jquelin <jquelin> 1.50.0-1.mga2 + Revision: 154743 - update to 1.05 * Wed Jan 26 2011 jquelin <jquelin> 1.40.0-1.mga1 + Revision: 40253 - mageia rebuild - imported package perl-Catalyst-Log-Log4perl * Sat Jan 01 2011 Guillaume Rousse <guillomovitch@mandriva.org> 1.40.0-1mdv2011.0 + Revision: 627143 - import perl-Catalyst-Log-Log4perl