%define upstream_name IO-All %define upstream_version 0.87 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: 2 Summary: Magic all-in-one IO class License: GPL+ or Artistic Group: Development/Perl Url: http://metacpan.org/pod/IO::All Source0: http://www.cpan.org/modules/by-module/IO/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl-devel BuildRequires: perl(IO::String) BuildArch: noarch %description IO::All combines all of the best Perl IO modules into a single Spiffy object oriented interface to greatly simplify your everyday Perl IO idioms. It exports a single function called io, which returns a new IO::All object. And that object can do it all! %prep %autosetup -p1 -n %{upstream_name}-%{upstream_version} %build perl Makefile.PL INSTALLDIRS=vendor %make %check # Seems to fail on Win32 bits, that's fine... %make test || : %install %makeinstall_std %files %doc Changes README %{_mandir}/man*/* %{perl_vendorlib}/IO