Name: perl-MooseX-Object-Pluggable Version: 0.0011 Release: 1%{?dist} Summary: Make your classes pluggable License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/MooseX-Object-Pluggable/ Source0: http://www.cpan.org/authors/id/G/GR/GRODITI/MooseX-Object-Pluggable-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(Module::Pluggable::Object) BuildRequires: perl(Moose) >= 0.35 Requires: perl(Module::Pluggable::Object) Requires: perl(Moose) >= 0.35 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module is meant to be loaded as a role from Moose-based classes it will add five methods and four attributes to assist you with the loading and handling of plugins and extensions for plugins. I understand that this may pollute your namespace, however I took great care in using the least ambiguous names possible. %prep %setup -q -n MooseX-Object-Pluggable-%{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 README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sun May 17 2009 Dave Cross 0.0011-1 - Specfile autogenerated by cpanspec 1.77.