Name: perl-IO-Any Version: 0.04 Release: 2%{?dist} Summary: Read or write files, folders, or strings, guessing the correct object type License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/IO-Any/ Source0: http://search.cpan.org/CPAN/authors/id/J/JK/JKUTEJ/IO-Any-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(File::Slurp) BuildRequires: perl(IO::AtomicFile) BuildRequires: perl(IO::String) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::Differences) BuildRequires: perl(Test::Exception) BuildRequires: perl(Test::More) BuildRequires: perl(AnyEvent) BuildRequires: perl(Test::Distribution) # BuildRequires: perl(Test::Fixme) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description The aim is to provide read/write anything. The module tries to guess what the "anything" is based on some rules. See "new" method Pod for examples and "new" and "_guess_what" code for the implementation. %prep %setup -q -n IO-Any-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Mon Jan 17 2011 RĂ¼diger Landmann 0.04-2 - Correct BuildRequires to enable tests to run - Remove redundant explicit Requires * Mon Jan 17 2011 RĂ¼diger Landmann 0.04-1 - Specfile autogenerated by cpanspec 1.78.