Name: perl-Apache-Log-Parser Version: 0.02 Release: 1%{?dist} Summary: Parser for Apache Log (common, combined, and any other custom styles by LogFormat) License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Apache-Log-Parser/ Source0: http://www.cpan.org/authors/id/T/TA/TAGOMORIS/Apache-Log-Parser-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.008001 BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Deep) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) >= 0.98 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Apache::Log::Parser is a parser module for Apache logs, accepts 'common', 'combined', and any other custom style. It works relatively fast, and process quoted double-quotation properly. %prep %setup -q -n Apache-Log-Parser-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes cpanfile LICENSE META.json README README.md %{perl_vendorlib}/* %{_bindir}/* %{_mandir}/man3/* %changelog * Tue Jul 14 2015 Dave Cross 0.02-1 - Specfile autogenerated by cpanspec 1.78.