%define module Log-Dispatch-Config %define version 1.02 %define release %mkrel 3 %define pdir Log Summary: %{module} module for perl Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl URL: http://search.cpan.org/search?dist=%{module} Source0: http://search.cpan.org/CPAN/authors/id/M/MI/MIYAGAWA/%{module}-%{version}.tar.bz2 BuildArch: noarch BuildRequires: perl-devel perl-Test-Simple >= 0.42 perl-AppConfig >= 1.52 BuildRequires: perl-IO-stringy perl-Log-Dispatch >= 2.11-2mdk BuildRoot: %{_tmppath}/%{name}-buildroot %description %{module} module for perl. Log::Dispatch::Config is a subclass of Log::Dispatch and provides a way to configure Log::Dispatch object with configulation file (default, in AppConfig format). I mean, this is log4j for Perl, not with all API compatibility though. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make make test %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %files %defattr(644,root,root,755) %doc Changes README %{perl_vendorlib}/Log/Dispatch* %{_mandir}/*/* %changelog * Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.02-3mdv2009.0 + Revision: 241649 - rebuild - kill re-definition of %%buildroot on Pixel's request + Olivier Blin <oblin@mandriva.com> - restore BuildRoot * Thu Aug 09 2007 Funda Wang <fundawang@mandriva.org> 1.02-1mdv2008.0 + Revision: 60693 - New version 1.02 * Tue Sep 27 2005 Oden Eriksson <oeriksson@mandriva.com> 1.01-6mdk - fix deps - run the test suite * Mon Jan 19 2004 Lenny Cartier <lenny@mandrakesoft.com> 1.01-5mdk - use requires_exceptions * Tue Aug 12 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.01-4mdk - rebuild - use %%makeinstall_std macro - don't set PREFIX - use %%make macro - drop $RPM_OPT_FLAGS, no need * Wed Aug 21 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.01-3mdk - rebuild * Mon Jun 17 2002 Lenny Cartier <lenny@mandrakesoft.com> 1.01-2mdk - from Peter Chen <petechen@86.private> : - Remove blank line from description. * Thu Jun 13 2002 Peter Chen <petechen@netilla.com> 1.01-1mdk - 1.01