Name: perl-Object-Pluggable
Version: 1.29
Release: 1%{?dist}
Summary: Base class for creating plugin-enabled objects
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Object-Pluggable/
Source0: http://www.cpan.org/authors/id/H/HI/HINRIK/Object-Pluggable-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Task::Weaken)
BuildRequires: perl(Test::More)
BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage), perl(Pod::Parser) >= 1.36
Requires: perl(Task::Weaken)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Object::Pluggable is a base class for creating plug-in enabled objects. It
is a generic port of POE::Component::IRC's plugin system.
%prep
%setup -q -n Object-Pluggable-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%install
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 dist.ini examples LICENSE META.json README
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Thu Nov 04 2010 Marcela Mašláňová <mmaslano@redhat.com> 1.29-1
- Specfile autogenerated by cpanspec 1.78.