%define upstream_name PerlIO-eol %define upstream_version 0.14 Name: perl-%{upstream_name} Version: %perl_convert_version %{upstream_version} Release: %mkrel 5 Summary: PerlIO layer for normalizing line endings License: GPL+ or Artistic Group: Development/Perl Url: http://search.cpan.org/dist/%{upstream_name}/ Source0: http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/%{upstream_name}-%{upstream_version}.tar.bz2 BuildRequires: perl-devel %description This perl module enable you to normalize line endings This layer normalizes any of CR, LF, CRLF and Native into the designated line ending. It works for both input and output handles. %prep %setup -q -n %{upstream_name}-%{upstream_version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %check make test %install rm -rf $RPM_BUILD_ROOT %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc README Changes %{_mandir}/*/* %{perl_vendorarch}/PerlIO %{perl_vendorarch}/auto/PerlIO %changelog * Sun Jan 13 2013 umeabot <umeabot> 0.140.0-5.mga3 + Revision: 371789 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild * Wed May 30 2012 jquelin <jquelin> 0.140.0-4.mga3 + Revision: 251054 - rebuild for perl 5.16 * Sun Jun 12 2011 sander85 <sander85> 0.140.0-3.mga2 + Revision: 104909 - Rebuild for perl 5.14 * Sat Jan 22 2011 jquelin <jquelin> 0.140.0-2.mga1 + Revision: 31044 - mageia rebuild - imported package perl-PerlIO-eol