[Bug 166251] Review Request: perl-Apache-LogRegex

bugzilla at redhat.com bugzilla at redhat.com
Fri Aug 19 09:40:46 UTC 2005


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: perl-Apache-LogRegex


https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=166251





------- Additional Comments From ghenry at suretecsystems.com  2005-08-19 05:40 EST -------
I can't remember how to get an extra file in the doc section. Here's the latest
specfile:

Name:           perl-Apache-LogRegex
Version:        1.2
Release:        3%{?dist}
Summary:        Parse a line from an Apache logfile into a hash

Group:          Development/Libraries
License:        GPL or Artistic
URL:            http://search.cpan.org/dist/Apache-LogRegex/
Source0:       
http://search.cpan.org/CPAN/authors/id/P/PE/PETERHI/Apache-LogRegex-%{version}.tar.gz
Source1:        GNU_GPL.txt
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
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 -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc README GNU_GPL.txt
%{perl_vendorlib}/Apache/
%{_mandir}/man3/*.3*

%changelog
* Fri Aug 19 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.2-3
- Cleaning up specifle.

* Thu Aug 18 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.2-2
- Second build.

* Sun Jul 3 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.2-1
- First build.


-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the fedora-extras-list mailing list