rpms/perl-Apache-LogRegex/devel perl-Apache-LogRegex.spec, NONE, 1.1 sources, NONE, 1.1

Gavin Henry (ghenry) fedora-extras-commits at redhat.com
Mon Aug 22 12:10:04 UTC 2005


Author: ghenry

Update of /cvs/extras/rpms/perl-Apache-LogRegex/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3390/devel

Added Files:
	perl-Apache-LogRegex.spec sources 
Log Message:
auto-import perl-Apache-LogRegex-1.2-4 on branch devel from perl-Apache-LogRegex-1.2-4.src.rpm


--- NEW FILE perl-Apache-LogRegex.spec ---
Name:           perl-Apache-LogRegex
Version:        1.2
Release:        4%{?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
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}
perldoc -t perlartistic > Artistic
perldoc -t perlgpl      > COPYING 


%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 Artistic COPYING
%{perl_vendorlib}/Apache/
%{_mandir}/man3/*.3*

%changelog
* Sat Aug 20 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.2-4
- Changed Licence names to COPYING and Artistic

* Fri Aug 19 2005 Gavin Henry <ghenry[AT]suretecsystems.com> - 1.2-3
- Added new perldoc commands for GPL and Artistic Licences

* 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.


--- NEW FILE sources ---
268f87285fbfb5b7b811e4d779e7835c  Apache-LogRegex-1.2.tar.gz




More information about the fedora-extras-commits mailing list