%define upstream_name Log-Dispatch %define upstream_version 2.34 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Perl modules for logging messages to multiple outputs License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Log/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Class::Load) BuildRequires: perl(ExtUtils::MakeMaker) >= 6.300.0 BuildRequires: perl(File::Temp) BuildRequires: perl(Params::Validate) >= 0.150.0 BuildRequires: perl(Test::More) >= 0.880.0 BuildArch: noarch %description Log::Dispatch is a suite of OO modules for logging messages to multiple outputs, each of which can have a minimum and maximum log level. It is designed to be easily subclassed, both for creating a new dispatcher object and particularly for creating new outputs. %package ApacheLog Summary: Apache mod_perl dispatcher for Log::Dispatch Group: Development/Perl %description ApacheLog Log::Dispatch::ApacheLog is a dispatcher for apache logging, used with mod_perl. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make CFLAGS="%{optflags}" %check %make test %install %makeinstall_std %files %doc Changes INSTALL LICENSE META.json META.yml MYMETA.yml README %{perl_vendorlib}/Log %exclude %{perl_vendorlib}/Log/Dispatch/ApacheLog.pm %exclude %{_mandir}/*/Log::Dispatch::ApacheLog* %{_mandir}/*/* %files ApacheLog %{perl_vendorlib}/Log/Dispatch/ApacheLog.pm %{_mandir}/*/Log::Dispatch::ApacheLog* %changelog * Sun Jan 13 2013 umeabot <umeabot> 2.340.0-2.mga3 + Revision: 369217 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 08 2013 jquelin <jquelin> 2.340.0-1.mga3 + Revision: 342361 - update to 2.34 * Tue Jun 05 2012 jquelin <jquelin> 2.320.0-1.mga3 + Revision: 255078 - update to 2.32 * Thu Mar 24 2011 jquelin <jquelin> 2.290.0-1.mga1 + Revision: 76640 - update to 2.29 * Sun Jan 23 2011 jquelin <jquelin> 2.280.0-1.mga1 + Revision: 33923 - mageia rebuild - imported package perl-Log-Dispatch