2010-11-05 11:38:33 +00:00
|
|
|
# vim: set sw=4 ts=4 et nu:
|
2012-01-09 12:07:39 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-Log-Dispatch-Array
|
|
|
|
#
|
|
|
|
# Copyright (c) 2012 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.
|
2010-11-05 11:38:33 +00:00
|
|
|
|
2012-01-09 12:07:39 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
2010-11-05 11:38:33 +00:00
|
|
|
Name: perl-Log-Dispatch-Array
|
|
|
|
Version: 1.001
|
|
|
|
Release: 0
|
|
|
|
Summary: Log events to an array
|
2012-01-09 12:07:39 +00:00
|
|
|
License: Artistic-1.0 or GPL-1.0+
|
2010-11-05 11:38:33 +00:00
|
|
|
Group: Development/Libraries/Perl
|
2012-01-09 12:07:39 +00:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/Log-Dispatch-Array-%{version}.tar.gz
|
|
|
|
Url: http://search.cpan.org/dist/Log-Dispatch-Array
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-01 13:48:25 +00:00
|
|
|
%{perl_requires}
|
2012-01-09 12:07:39 +00:00
|
|
|
BuildRequires: make
|
2010-11-05 11:38:33 +00:00
|
|
|
BuildRequires: perl
|
2010-12-03 14:41:08 +00:00
|
|
|
BuildRequires: perl-macros
|
2010-11-05 11:38:33 +00:00
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
BuildRequires: perl(Log::Dispatch::Output)
|
2012-01-09 12:07:39 +00:00
|
|
|
BuildRequires: perl(Test::Deep)
|
2010-11-05 11:38:33 +00:00
|
|
|
Requires: perl(Log::Dispatch::Output)
|
|
|
|
|
|
|
|
%description
|
|
|
|
This provides a Log::Dispatch log output system that appends logged events
|
|
|
|
to an array reference. This is probably only useful for testing the
|
|
|
|
logging of your code.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n "Log-Dispatch-Array-%{version}"
|
|
|
|
%__sed -i '/^auto_install/d' Makefile.PL
|
|
|
|
|
|
|
|
%build
|
|
|
|
%__perl Makefile.PL PREFIX="%{_prefix}"
|
|
|
|
%__make %{?jobs:-j%{jobs}}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%check
|
|
|
|
%__make test
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Changes README
|
|
|
|
%dir %{perl_vendorlib}/Log
|
|
|
|
%dir %{perl_vendorlib}/Log/Dispatch
|
|
|
|
%{perl_vendorlib}/Log/Dispatch/Array.pm
|
|
|
|
%dir %{perl_vendorarch}/auto/Log
|
|
|
|
%dir %{perl_vendorarch}/auto/Log/Dispatch
|
|
|
|
%{perl_vendorarch}/auto/Log/Dispatch/Array
|
|
|
|
%doc %{perl_man3dir}/Log::Dispatch::Array.%{perl_man3ext}%{ext_man}
|
|
|
|
|
2012-01-09 12:07:39 +00:00
|
|
|
%changelog
|