%define upstream_name Log-Trace %define upstream_version 1.070 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 3 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 %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 * Sun Jan 13 2013 umeabot <umeabot> 1.70.0-3.mga3 + Revision: 369229 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jan 18 2011 jquelin <jquelin> 1.70.0-2.mga1 + Revision: 22581 - cleaning spec file - imported package perl-Log-Trace