Name: perl-MooseX-MultiInitArg Version: 0.01 Release: 1%{?dist} # lib/MooseX/MultiInitArg.pm -> GPL+ or Artistic # lib/MooseX/MultiInitArg/Attribute.pm -> GPL+ or Artistic # lib/MooseX/MultiInitArg/Trait.pm -> GPL+ or Artistic License: GPL+ or Artistic Group: Development/Libraries Summary: Attributes with aliases for constructor arguments Source: http://search.cpan.org/CPAN/authors/id/F/FR/FRODWITH/MooseX-MultiInitArg-%{version}.tar.gz Url: http://search.cpan.org/dist/MooseX-MultiInitArg BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(Moose) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) %description If you've ever wanted to be able to call an attribute any number of things while you're passing arguments to your object constructor, Now You Can. The primary motivator is that I have some attributes that were named inconsistently, and I wanted to rename them without breaking backwards compatibility with my existing API. %prep %setup -q -n MooseX-MultiInitArg-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf %{buildroot} make pure_install PERL_INSTALL_ROOT=%{buildroot} find %{buildroot} -type f -name .packlist -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 README %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Sat Jan 17 2009 Chris Weyl 0.01-1 - update for submission * Mon Jan 05 2009 Chris Weyl 0.01-0 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.7)