%define module Apache-LogRegex %define name perl-%{module} %define version 1.2 %define release 1mdk Name: %{name} Version: %{version} Release: %{release} Summary: Perl module to parse a line from an Apache logfile into a hash License: GPL or Artistic Group: Development/Perl Source0: %{module}-%{version}.tar.bz2 Url: http://search.cpan.org/dist/%{module}/ BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: perl-devel %description This implements a simple Perl class to parse Apache log files. %prep %setup -q -n %{module}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %check %{__make} test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README %{perl_vendorlib}/Apache/* %{_mandir}/*/* %changelog * Fri Jun 24 2005 Rafael Garcia-Suarez <rgarciasuarez@mandriva.com> 1.2-1mdk - First Mandriva release