Name: perl-autobox-Core Version: 1.2 Release: 1%{?dist} Summary: Core functions exposed as methods in primitive types License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/autobox-Core/ Source0: http://www.cpan.org/modules/by-module/autobox/autobox-Core-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(autobox) >= 0.11 BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) Requires: perl(autobox) >= 0.11 Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description The autobox module lets you call methods on primitive datatypes such as scalars and arrays. %prep %setup -q -n autobox-Core-%{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 make test %files %doc README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu Aug 11 2011 Iain Arnell 1.2-1 - Specfile autogenerated by cpanspec 1.78.