Name: perl-Apache-LogRegex Version: 1.4 Release: 2%{?dist} Summary: Parse a line from an Apache logfile into a hash License: GPL or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Apache-LogRegex/ Source0: http://www.cpan.org/authors/id/P/PE/PETERHI/Apache-LogRegex-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Designed as a simple class to parse Apache log files. It will construct a regex that will parse the given log file format and can then parse lines from the log file line by line returning a hash of each line. %prep %setup -q -n Apache-LogRegex-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$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 make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Apr 18 2007 Steven Pritchard 1.4-2 - BR ExtUtils::MakeMaker. * Mon Oct 30 2006 Steven Pritchard 1.4-1 - Update to 1.4. - Cleanup to more closely match cpanspec output. * Tue Sep 26 2006 Steven Pritchard 1.3-1 - Update to 1.3. - Fix find option order. * Sat Aug 20 2005 Gavin Henry - 1.2-4 - Changed Licence names to COPYING and Artistic * Fri Aug 19 2005 Gavin Henry - 1.2-3 - Added new perldoc commands for GPL and Artistic Licences * Thu Aug 18 2005 Gavin Henry - 1.2-2 - Second build. * Sun Jul 3 2005 Gavin Henry - 1.2-1 - First build.