Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
perl-Log-Dispatch
perl-Log-Dispatch.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-Log-Dispatch.spec of Package perl-Log-Dispatch
# # spec file for package perl-Log-Dispatch # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: perl-Log-Dispatch Version: 2.29 Release: 3 License: Artistic-2.0 %define cpan_name Log-Dispatch Summary: Dispatches messages to one or more outputs Url: http://search.cpan.org/dist/Log-Dispatch/ Group: Development/Libraries/Perl #Source: http://www.cpan.org/authors/id/D/DR/DROLSKY/Log-Dispatch-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.gz %if 0%{?suse_version} <= 1110 Patch1: Log-Dispatch-old_Test-More.patch %endif BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: perl BuildRequires: perl-macros BuildRequires: perl(File::Temp) BuildRequires: perl(Params::Validate) >= 0.15 Requires: perl(Params::Validate) >= 0.15 %{perl_requires} %description This module manages a set of Log::Dispatch::* output objects that can be logged to via a unified interface. The idea is that you create a Log::Dispatch object and then add various logging objects to it (such as a file logger or screen logger). Then you call the 'log' method of the dispatch object, which passes the message to each of the objects, which in turn decide whether or not to accept the message and what to do with it. This makes it possible to call single method and send a message to a log file, via email, to the screen, and anywhere else, all with very little code needed on your part, once the dispatching object has been created. %prep %setup -q -n %{cpan_name}-%{version} %if 0%{?suse_version} <= 1110 %patch1 -p1 # only needed for the maintainer: rm t/02-email-exit.t %endif %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf %{buildroot} %files -f %{name}.files %defattr(644,root,root,755) %doc Changes LICENSE README %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor