%define upstream_name MouseX-Types-Path-Class %define upstream_version 0.07 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: A Path::Class type library for Mouse License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/MouseX/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(ExtUtils::MakeMaker) >= 6.590.0 BuildRequires: perl(Mouse) >= 0.390.0 BuildRequires: perl(MouseX::Types) >= 0.20.0 BuildRequires: perl(Path::Class) BuildRequires: perl(Test::More) >= 0.940.0 BuildRequires: perl(Test::UseAllModules) BuildArch: noarch %description MouseX::Types::Path::Class creates common the Mouse manpage types, coercions and option specifications useful for dealing with the Path::Class manpage objects as the Mouse manpage attributes. Coercions (see the Mouse::Util::TypeConstraints manpage) are made from both 'Str' and 'ArrayRef' to both the Path::Class::Dir manpage and the Path::Class::File manpage objects. If you have the MouseX::Getopt manpage installed, the Getopt option type ("=s") will be added for both the Path::Class::Dir manpage and the Path::Class::File manpage. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install %makeinstall_std %files %doc Changes META.yml MYMETA.yml README %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.70.0-2.mga3 + Revision: 370389 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Tue Jun 05 2012 jquelin <jquelin> 0.70.0-1.mga3 + Revision: 255177 - update to 0.07 * Thu Jun 30 2011 jquelin <jquelin> 0.60.0-1.mga2 + Revision: 116739 - imported package perl-MouseX-Types-Path-Class