Chris Weyl 79ce63d
Name:       perl-Log-Trace 
Chris Weyl 79ce63d
Version:    1.070 
Chris Weyl 79ce63d
Release:    1%{?dist}
Chris Weyl 79ce63d
# lib/Log/Trace.pm -> GPLv2+ 
Chris Weyl 79ce63d
License:    GPLv2+
Chris Weyl 79ce63d
Group:      Development/Libraries
Chris Weyl 79ce63d
Summary:    A unified approach to tracing 
Chris Weyl 79ce63d
Source:     http://search.cpan.org/CPAN/authors/id/B/BB/BBC/Log-Trace-%{version}.tar.gz 
Chris Weyl 79ce63d
Url:        http://search.cpan.org/dist/Log-Trace
Chris Weyl 79ce63d
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Chris Weyl 79ce63d
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
Chris Weyl 79ce63d
BuildArch:  noarch
Chris Weyl 79ce63d
Chris Weyl 79ce63d
BuildRequires: perl(ExtUtils::MakeMaker)
Chris Weyl 79ce63d
BuildRequires: perl(Test::More)
Chris Weyl 79ce63d
Chris Weyl 79ce63d
# autoprov detects perl(DB), which is just wrong.  In this specific case,
Chris Weyl 79ce63d
# it's easier just to turn autoprov off.
Chris Weyl 79ce63d
AutoProv:   no
Chris Weyl 79ce63d
Provides:   perl(Log::Trace) = %{version}
Chris Weyl 79ce63d
Chris Weyl 79ce63d
%description
Chris Weyl 79ce63d
This module provides a unified approach to tracing. A script can 'use
Chris Weyl 79ce63d
Log::Trace qw( < mode > )' to set the behaviour of the TRACE function.By
Chris Weyl 79ce63d
default, the trace functions are exported to the calling package only.
Chris Weyl 79ce63d
You can export the trace functions to other packages with the 'Deep'
Chris Weyl 79ce63d
option. See the "OPTIONS" manpage for more information. 
Chris Weyl 79ce63d
Chris Weyl 79ce63d
Chris Weyl 79ce63d
%prep
Chris Weyl 79ce63d
%setup -q -n Log-Trace-%{version}
Chris Weyl 79ce63d
Chris Weyl 79ce63d
%build
Chris Weyl 79ce63d
%{__perl} Makefile.PL INSTALLDIRS=vendor
Chris Weyl 79ce63d
make %{?_smp_mflags}
Chris Weyl 79ce63d
Chris Weyl 79ce63d
%install
Chris Weyl 79ce63d
rm -rf %{buildroot}
Chris Weyl 79ce63d
Chris Weyl 79ce63d
make pure_install PERL_INSTALL_ROOT=%{buildroot}
Chris Weyl 79ce63d
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
Chris Weyl 79ce63d
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
Chris Weyl 79ce63d
Chris Weyl 79ce63d
%{_fixperms} %{buildroot}/*
Chris Weyl 79ce63d
Chris Weyl 79ce63d
%check
Chris Weyl 79ce63d
make test
Chris Weyl 79ce63d
Chris Weyl 79ce63d
%clean
Chris Weyl 79ce63d
rm -rf %{buildroot} 
Chris Weyl 79ce63d
Chris Weyl 79ce63d
%files
Chris Weyl 79ce63d
%defattr(-,root,root,-)
Chris Weyl 79ce63d
%doc README Changes COPYING 
Chris Weyl 79ce63d
%{perl_vendorlib}/*
Chris Weyl 79ce63d
%{_mandir}/man3/*.3*
Chris Weyl 79ce63d
Chris Weyl 79ce63d
%changelog
Chris Weyl 79ce63d
* Wed Apr 01 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.070-1
Chris Weyl 79ce63d
- submission
Chris Weyl 79ce63d
Chris Weyl 79ce63d
* Wed Apr 01 2009 Chris Weyl <cweyl@alumni.drew.edu> 1.070-0
Chris Weyl 79ce63d
- initial RPM packaging
Chris Weyl 79ce63d
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)
Chris Weyl 79ce63d