7bccacc
Name:           perl-autobox-Core
7bccacc
Version:        1.2
1410bfb
Release:        3%{?dist}
7bccacc
Summary:        Core functions exposed as methods in primitive types
7bccacc
License:        GPL+ or Artistic
7bccacc
Group:          Development/Libraries
7bccacc
URL:            http://search.cpan.org/dist/autobox-Core/
7bccacc
Source0:        http://www.cpan.org/modules/by-module/autobox/autobox-Core-%{version}.tar.gz
7bccacc
BuildArch:      noarch
7bccacc
BuildRequires:  perl(autobox) >= 0.11
7bccacc
BuildRequires:  perl(ExtUtils::MakeMaker)
7bccacc
BuildRequires:  perl(Test::More)
7bccacc
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
7bccacc
7bccacc
%{?perl_default_filter}
7bccacc
7bccacc
%description
7bccacc
The autobox module lets you call methods on primitive datatypes such as
7bccacc
scalars and arrays.
7bccacc
7bccacc
%prep
7bccacc
%setup -q -n autobox-Core-%{version}
7bccacc
7bccacc
%build
7bccacc
%{__perl} Makefile.PL INSTALLDIRS=vendor
7bccacc
make %{?_smp_mflags}
7bccacc
7bccacc
%install
7bccacc
make pure_install DESTDIR=%{buildroot}
7bccacc
7bccacc
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
7bccacc
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
7bccacc
7bccacc
%{_fixperms} %{buildroot}/*
7bccacc
7bccacc
%check
7bccacc
make test
7bccacc
7bccacc
%files
7bccacc
%doc README
7bccacc
%{perl_vendorlib}/*
7bccacc
%{_mandir}/man3/*
7bccacc
7bccacc
%changelog
1410bfb
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-3
1410bfb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1410bfb
68ea221
* Sun Aug 14 2011 Iain Arnell <iarnell@gmail.com> 1.2-2
68ea221
- remove explicit requires perl(autobox)
68ea221
7bccacc
* Thu Aug 11 2011 Iain Arnell <iarnell@gmail.com> 1.2-1
7bccacc
- Specfile autogenerated by cpanspec 1.78.