Name: perl-MooseX-NonMoose Version: 0.26 Release: 1%{?dist} Summary: Easy subclassing of non-Moose classes License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-NonMoose/ Source0: file:///home/dave/mirrors/minicpan//authors/id/D/DO/DOY/MooseX-NonMoose-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Spec) BuildRequires: perl(List::MoreUtils) BuildRequires: perl(Module::Runtime) BuildRequires: perl(Moose) BuildRequires: perl(Moose::Exporter) BuildRequires: perl(Moose::Role) >= 2.0000 BuildRequires: perl(Moose::Util) BuildRequires: perl(Test::Fatal) BuildRequires: perl(Test::Moose) BuildRequires: perl(Test::More) >= 0.88 BuildRequires: perl(Try::Tiny) Requires: perl(List::MoreUtils) Requires: perl(Module::Runtime) Requires: perl(Moose::Exporter) Requires: perl(Moose::Role) >= 2.0000 Requires: perl(Moose::Util) Requires: perl(Try::Tiny) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description MooseX::NonMoose allows for easily subclassing non-Moose classes with Moose, taking care of the annoying details connected with doing this, such as setting up proper inheritance from Moose::Object and installing (and inlining, at make_immutable time) a constructor that makes sure things like BUILD methods are called. It tries to be as non-intrusive as possible - when this module is used, inheriting from non-Moose classes and inheriting from Moose classes should work identically, aside from the few caveats mentioned below. One of the goals of this module is that including it in a Moose::Exporter-based package used across an entire application should be possible, without interfering with classes that only inherit from Moose modules, or even classes that don't inherit from anything at all. %prep %setup -q -n MooseX-NonMoose-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes dist.ini LICENSE META.json README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun Mar 01 2015 Dave Cross 0.26-1 - Specfile autogenerated by cpanspec 1.78.