Группа :: Разработка/Perl
Пакет: perl-MooseX-NonMoose
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define _unpackaged_files_terminate_build 1
%define dist MooseX-NonMoose
Name: perl-%dist
Version: 0.26
Release: alt1
Summary: Easy subclassing of non-Moose classes
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: http://www.cpan.org/authors/id/D/DO/DOY/MooseX-NonMoose-%{version}.tar.gz
BuildArch: noarch
# Automatically added by buildreq on Sun Nov 20 2011
BuildRequires: perl-Moose perl-Test-Fatal perl-Test-Script
%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 %dist-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README
%perl_vendor_privlib/MooseX
%changelog
…
Полный changelog можно просмотреть здесь
%define dist MooseX-NonMoose
Name: perl-%dist
Version: 0.26
Release: alt1
Summary: Easy subclassing of non-Moose classes
License: GPL or Artistic
Group: Development/Perl
URL: %CPAN %dist
Source: http://www.cpan.org/authors/id/D/DO/DOY/MooseX-NonMoose-%{version}.tar.gz
BuildArch: noarch
# Automatically added by buildreq on Sun Nov 20 2011
BuildRequires: perl-Moose perl-Test-Fatal perl-Test-Script
%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 %dist-%version
%build
%perl_vendor_build
%install
%perl_vendor_install
%files
%doc Changes README
%perl_vendor_privlib/MooseX
%changelog
…
Полный changelog можно просмотреть здесь