rpms/perl-MooseX-Log-Log4perl/devel import.log, NONE, 1.1 perl-MooseX-Log-Log4perl.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Thu Nov 6 04:10:45 UTC 2008


Author: cweyl

Update of /cvs/extras/rpms/perl-MooseX-Log-Log4perl/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13130/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-MooseX-Log-Log4perl.spec 
Log Message:
"Initial branch import."


--- NEW FILE import.log ---
perl-MooseX-Log-Log4perl-0_31-1_fc9:HEAD:perl-MooseX-Log-Log4perl-0.31-1.fc9.src.rpm:1225944609


--- NEW FILE perl-MooseX-Log-Log4perl.spec ---
Name:       perl-MooseX-Log-Log4perl 
Version:    0.31 
Release:    1%{?dist}
# see lib/MooseX/Log/Log4perl.pm 
License:    GPL+ or Artistic 
Group:      Development/Libraries
Summary:    A Logging Role for Moose based on Log::Log4perl 
Source:     http://search.cpan.org/CPAN/authors/id/L/LA/LAMMEL/MooseX-Log-Log4perl-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/MooseX-Log-Log4perl
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(ExtUtils::MakeMaker) 
BuildRequires: perl(IO::Scalar)
BuildRequires: perl(Log::Log4perl)
BuildRequires: perl(Moose)
BuildRequires: perl(Test::More)
# optional tests
BuildRequires: perl(Test::Pod)


%description
A logging role building a very lightweight wrapper to Log::Log4perl for use
with your the Moose classes. The initialization of the Log4perl instance must
be performed prior to logging the first log message. Otherwise the default
initialization will happen, probably not doing the things you expect.

For compatibility the 'logger' attribute can be accessed to use a common
interface for application logging.

For simple logging needs use MooseX::Log::Log4perl::Easy to directly add
log_<level> methods to your class instance.

%prep
%setup -q -n MooseX-Log-Log4perl-%{version}

perl -pi -e 's|^#!perl|#!/usr/bin/perl|' t/*.t

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc README Changes t/
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Mon Nov 03 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.31-1
- touch-up for submission

* Sun Nov 02 2008 Chris Weyl <cweyl at alumni.drew.edu> 0.31-0.1
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-MooseX-Log-Log4perl/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	5 Nov 2008 22:47:48 -0000	1.1
+++ .cvsignore	6 Nov 2008 04:10:15 -0000	1.2
@@ -0,0 +1 @@
+MooseX-Log-Log4perl-0.31.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-MooseX-Log-Log4perl/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	5 Nov 2008 22:47:48 -0000	1.1
+++ sources	6 Nov 2008 04:10:15 -0000	1.2
@@ -0,0 +1 @@
+302a2413b6faeff398cdb0a9f267e8d6  MooseX-Log-Log4perl-0.31.tar.gz




More information about the Fedora-perl-devel-list mailing list