Name: perl-MooseX-Has-Options Version: 0.002 Release: 1%{?dist} Summary: Succinct options for Moose License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-Has-Options/ Source0: http://www.cpan.org/authors/id/P/PS/PSHANGOV/MooseX-Has-Options-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(File::Find) BuildRequires: perl(File::Temp) BuildRequires: perl(Moose) BuildRequires: perl(namespace::autoclean) BuildRequires: perl(Package::Stash) >= 0.18 BuildRequires: perl(strict) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Most) BuildRequires: perl(Test::Script) BuildRequires: perl(warnings) Requires: perl(Package::Stash) >= 0.18 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description This module provides a succinct syntax for declaring options for Moose attributes. It hijacks the 'has' function imported by Moose and replaces it with one that understands the options syntax. %prep %setup -q -n MooseX-Has-Options-%{version} # silence rpmlint sed -i 's/\r//' Changes %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{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 %files %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Mar 19 2012 Iain Arnell 0.002-1 - Specfile autogenerated by cpanspec 1.79.