rpms/perl-POE-Component-Logger/devel perl-POE-Component-Logger.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl (cweyl) fedora-extras-commits at redhat.com
Sun Jul 9 00:56:14 UTC 2006


Author: cweyl

Update of /cvs/extras/rpms/perl-POE-Component-Logger/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30767/devel

Modified Files:
	.cvsignore sources 
Added Files:
	perl-POE-Component-Logger.spec 
Log Message:
auto-import perl-POE-Component-Logger-1.00-0.fc5 on branch devel from perl-POE-Component-Logger-1.00-0.fc5.src.rpm


--- NEW FILE perl-POE-Component-Logger.spec ---
Name:           perl-POE-Component-Logger
Version:        1.00        
Release:        0%{?dist}
Summary:        A POE logging class 

Group:          Development/Libraries
License:        Artistic or GPL        
URL:            http://search.cpan.org/dist/POE-Component-Logger            
Source0: http://search.cpan.org/CPAN/authors/id/M/MS/MSERGEANT/POE-Component-Logger-%{version}.tar.gz        
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  perl
BuildRequires:  perl(POE) >= 0.11, perl(Log::Dispatch::Config) >= 0.10
Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
POE::Component::Logger provides a simple logging component that uses
Log::Dispatch::Config to drive it, allowing you to log to multiple places at
once (e.g. to STDERR and Syslog at the same time) and also to flexibly define
your logger's output.

It is very simple to use, because it creates a Logger::log method (yes, this
is namespace corruption, so shoot me). If you don't like this, feel free to
post directly to your logger as follows:

  $kernel->post('logger', 'log', "An error occurred: $!");

All logging is done in the background, so don't expect immediate output -
the output will only occur after control goes back to the kernel so it can
process the next event.


%prep
%setup -q -n POE-Component-Logger-%{version}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
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} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*


%check
make test


%clean
rm -rf %{buildroot}


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


%changelog
* Fri Jul 07 2006 Chris Weyl <cweyl at alumni.drew.edu> 1.00-0
- Initial spec file for F-E


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-POE-Component-Logger/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	9 Jul 2006 00:56:02 -0000	1.1
+++ .cvsignore	9 Jul 2006 00:56:14 -0000	1.2
@@ -0,0 +1 @@
+POE-Component-Logger-1.00.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-POE-Component-Logger/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	9 Jul 2006 00:56:02 -0000	1.1
+++ sources	9 Jul 2006 00:56:14 -0000	1.2
@@ -0,0 +1 @@
+b36cfad2d2d446103cbcf671270681ff  POE-Component-Logger-1.00.tar.gz




More information about the scm-commits mailing list