Name: perl-Log-Dispatchouli Version: 1.100712 Release: 1%{?dist} Summary: Simple wrapper around Log::Dispatch License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Log-Dispatchouli/ Source0: http://www.cpan.org/authors/id/R/RJ/RJBS/Log-Dispatchouli-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Log::Dispatch) BuildRequires: perl(Log::Dispatch::Array) BuildRequires: perl(Log::Dispatch::File) BuildRequires: perl(Log::Dispatch::Screen) BuildRequires: perl(Log::Dispatch::Syslog) BuildRequires: perl(Params::Util) BuildRequires: perl(String::Flogger) BuildRequires: perl(Try::Tiny) >= 0.04 # tests BuildRequires: perl(Pod::Coverage::TrustPod) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) # not automatically detected Requires: perl(Log::Dispatch::Array) Requires: perl(Log::Dispatch::File) Requires: perl(Log::Dispatch::Screen) Requires: perl(Log::Dispatch::Syslog) %{?perl_default_filter} %description Log::Dispatchouli is a thin layer above Log::Dispatch and meant to make it dead simple to add logging to a program without having to think much about categories, facilities, levels, or things like that. It is meant to make logging just configurable enough that you can find the logs you want and just easy enough that you will actually log things. %prep %setup -q -n Log-Dispatchouli-%{version} # test fails rm t/release-pod-coverage.t %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check RELEASE_TESTING=1 make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Apr 02 2010 Iain Arnell 1.100712-1 - Specfile autogenerated by cpanspec 1.78. - use perl_default_filter and DESTDIR