Name: perl-Check-ISA Version: 0.04 Release: 1%{?dist} # see lib/Check/ISA.pm License: GPL+ or Artistic Group: Development/Libraries Summary: DWIM, correct checking of an object's class Source: http://search.cpan.org/CPAN/authors/id/N/NU/NUFFIN/Check-ISA-%{version}.tar.gz Url: http://search.cpan.org/dist/Check-ISA BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Sub::Exporter) BuildRequires: perl(Test::More) BuildRequires: perl(Test::use::ok) # optional tests BuildRequires: perl(Moose), perl(Moose::Role) BuildRequireS: perl(asa) %description This module provides several functions to assist in testing whether a value is an object, and if so, ask about its class. %prep %setup -q -n Check-ISA-%{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 %{perl_vendorlib}/* %{_mandir}/man3/*.3* %changelog * Tue Nov 18 2008 Chris Weyl 0.04-1 - update for submission * Tue Nov 18 2008 Chris Weyl 0.04-0.1 - initial RPM packaging - generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.5)