%define upstream_name Log-Trace %define upstream_version 1.070 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 1 Summary: A guide to using Log::Trace License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Log/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Test::More) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release} %description A module to provide a unified approach to tracing. A script can 'use Log::Trace qw( < mode > )' to set the behaviour of the TRACE function. By default, the trace functions are exported to the calling package only. You can export the trace functions to other packages with the 'Deep' option. See the "OPTIONS" manpage for more information. All exports are in uppercase (to minimise collisions with "real" functions). %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %{make} %check %{make} test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc README Changes %{_mandir}/man3/* %perl_vendorlib/* %changelog * Fri Jul 10 2009 Jérôme Quelin <jquelin@mandriva.org> 1.70.0-1mdv2010.0 + Revision: 394296 - import perl-Log-Trace * Fri Jul 10 2009 cpan2dist 1.070-1mdv - initial mdv release, generated with cpan2dist