%define module Perl6-Signature %define version 0.03 %define release %mkrel 1 Name: perl-%{module} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Summary: Parse, query, and pretty-print Perl 6 signatures Url: http://search.cpan.org/dist/%{module} Source: http://www.cpan.org/modules/by-module/Perl6/%{module}-%{version}.tar.gz BuildRequires: perl(Moose) BuildRequires: perl(Parse::RecDescent) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(Text::Balanced) BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version} %description _Alpha release - everything here is subject to change_ *Perl6::Signature* models routine signatures as specified in Synopsis 6 of the Perl 6 documentation. These signatures offer a rich language for expressing type constraints, default values, and the optionality (among other things) of routine parameters. Included is a parser for the Signature language, accessors and convenience methods for querying Signature objects, and a pretty-printer for producing their canonical textual representation. %prep %setup -q -n %{module}-%{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 Changes README %{_mandir}/man3/* %perl_vendorlib/Perl6 %changelog * Thu Dec 04 2008 Guillaume Rousse <guillomovitch@mandriva.org> 0.03-1mdv2009.1 + Revision: 310078 - import perl-Perl6-Signature * Thu Dec 04 2008 cpan2dist 0.03-1mdv - initial mdv release, generated with cpan2dist