commit b8fe4e731c1d9dc7dfe2d307f5fa304234b8f507 Author: Iain Arnell <iarnell@xxxxxxxxx> Date: Tue Nov 2 12:31:13 2010 +0100 initial import .gitignore | 1 + perl-MooseX-InsideOut.spec | 57 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 59 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..5dae08e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/MooseX-InsideOut-0.105.tar.gz diff --git a/perl-MooseX-InsideOut.spec b/perl-MooseX-InsideOut.spec new file mode 100644 index 0000000..f2b0ee1 --- /dev/null +++ b/perl-MooseX-InsideOut.spec @@ -0,0 +1,57 @@ +Name: perl-MooseX-InsideOut +Version: 0.105 +Release: 1%{?dist} +Summary: Inside-out objects with Moose +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/MooseX-InsideOut/ +Source0: http://www.cpan.org/authors/id/D/DO/DOY/MooseX-InsideOut-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl(Class::MOP) >= 0.80 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Hash::Util::FieldHash::Compat) +BuildRequires: perl(Moose) >= 0.94 +BuildRequires: perl(namespace::clean) >= 0.11 +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(Class::MOP) >= 0.80 +Requires: perl(Moose) >= 0.94 +Requires: perl(namespace::clean) >= 0.11 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_filter} + +%description +MooseX::InsideOut provides meta-roles for inside-out objects. That is, it +sets up attribute slot storage somewhere other than inside $self. This +means that you can extend non-Moose classes, whose internals you either +don't want to care about or aren't hash-based. + +%prep +%setup -q -n MooseX-InsideOut-%{version} + +%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 +TEST_POD=1 make test + +%files +%defattr(-,root,root,-) +%doc Changes dist.ini LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Oct 05 2010 Iain Arnell <iarnell@xxxxxxxxx> 0.105-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..ecb039e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +2d9b8b37ae5c168707a2ae4751b531c6 MooseX-InsideOut-0.105.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel