The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
%define upstream_name    DISTNAME
%define upstream_version DISTVERS

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    DISTSUMMARY
License:    GPL+ or Artistic
Group:      Development/Perl
Url:        http://search.cpan.org/dist/%{upstream_name}
Source0:    http://www.cpan.org/modules/by-module/DISTTOPLEVEL/%{upstream_name}-%{upstream_version}.DISTEXTENSION

DISTBUILDREQUIRES
DISTARCH

%description
DISTDESCR

%prep
%setup -q -n %{upstream_name}-%{upstream_version}

%build
DISTBUILDBUILDER
DISTMAKER

%check
DISTMAKER test

%install
DISTINSTALL

%files
DISTDOC
%{_mandir}/man3/*
%perl_vendorlib/*
DISTEXTRA

%changelog
* DISTDATE cpan2dist DISTVERS-1mga
- initial mageia release, generated with cpan2dist