Name: perl-MooseX-Role-WithOverloading Version: 0.05 Release: 1%{?dist} # lib/MooseX/Role/WithOverloading.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Roles which support overloading Source: http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/MooseX-Role-WithOverloading-%{version}.tar.gz Url: http://search.cpan.org/dist/MooseX-Role-WithOverloading BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildRequires: perl(aliased) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Moose) >= 0.90 BuildRequires: perl(MooseX::Types) BuildRequires: perl(namespace::autoclean) >= 0.09 BuildRequires: perl(namespace::clean) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(XSLoader) %{?perl_default_filter} %description MooseX::Role::WithOverloading allows you to write a Moose::Role that defines overloaded operators and allows those operator overloadings to be composed into the classes/roles/instances it's compiled to, while plain roles would lose the overloading. %prep %setup -q -n MooseX-Role-WithOverloading-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} ';' find %{buildroot} -type f -name '*.bs' -a -size 0 -exec rm -f {} ';' find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';' %{_fixperms} %{buildroot}/* %check make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorarch}/* %exclude %dir %{perl_vendorarch}/auto %{_mandir}/man3/*.3* %changelog * Sat Feb 06 2010 Chris Weyl 0.05-1 - submission * Sat Feb 06 2010 Chris Weyl 0.05-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)