%define module Log-Agent %define name perl-%{module} %define version 0.306 %define release 1mdk Summary: Log::Agent module for perl Name: %{name} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/M/MR/MROGASKI/%{module}-%{version}.tar.bz2 URL: http://www.cpan.org Requires: perl BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildArch: noarch %description Log::Agent is a general logging framework aimed at reusable modules. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %install rm -rf $RPM_BUILD_ROOT %{makeinstall_std} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Fri Dec 10 2004 Michael Scherer <misc@mandrake.org> 0.306-1mdk - compress to bz2 - do not own standard dir - from Gaetan Lehmann <gaetan.lehmann@jouy.inra.fr> - initial contrib.