%define upstream_name Mixin-Linewise %define upstream_version 0.003 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 2 Summary: Get linewise writeers for strings and filenames License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name} Source0: http://www.cpan.org/modules/by-module/Mixin/%{upstream_name}-%{upstream_version}.tar.gz BuildRequires: perl(Carp) BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(IO::File) BuildRequires: perl(IO::String) BuildRequires: perl(Sub::Exporter) BuildArch: noarch %description It's boring to deal with opening files for IO, converting strings to handle-like objects, and all that. With the Mixin::Linewise::Readers manpage and the Mixin::Linewise::Writers manpage, you can just write a method to handle handles, and methods for handling strings and filenames are added for you. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor %make %check %make test %install rm -rf %buildroot %makeinstall_std %clean rm -rf %buildroot %files %defattr(-,root,root) %doc Changes LICENSE README META.yml %{_mandir}/man3/* %perl_vendorlib/* %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.3.0-2.mga3 + Revision: 369734 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Thu Jan 20 2011 jquelin <jquelin> 0.3.0-1.mga1 + Revision: 26578 - mageia rebuild - imported package perl-Mixin-Linewise