%define name perl-PerlIO-eol %define real_name PerlIO-eol %define version 0.13 %define release 3mdk Summary: PerlIO layer for normalizing line endings Name: %{name} Version: %{version} Release: %{release} License: GPL or Artistic Group: Development/Perl Source: http://search.cpan.org/CPAN/authors/id/A/AU/AUTRIJUS/%{real_name}-%{version}.tar.bz2 URL: http://search.cpan.org/dist/%{real_name}/ BuildRequires: perl-devel BuildRoot: %{_tmppath}/%{name}-buildroot %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 %{real_name}-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make 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 * Mon Nov 15 2004 Michael Scherer <misc@mandrake.org> 0.13-3mdk - Rebuild for new perl * Fri Oct 29 2004 Michael Scherer <misc@mandrake.org> 0.13-2mdk - BuildRequires * Sun Oct 24 2004 Michael Scherer <misc@mandrake.org> 0.13-1mdk - First Mandrakelinux package