Name: perl-String-Escape Version: 2010.002 Release: 4%{?dist} Summary: String::Escape Perl module License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/String-Escape/ Source0: http://search.cpan.org/CPAN/authors/id/E/EV/EVO/String-Escape-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Test::More) BuildRequires: perl(Test::Pod) BuildRequires: perl(Test::Pod::Coverage) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module provides a flexible calling interface to some frequently- performed string conversion functions, including applying and expanding standard C/Unix-style backslash escapes like \n and \t, wrapping and removing double-quotes, and truncating to fit within a desired length. %prep %setup -q -n String-Escape-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check make test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 2010.002-4 - Mass rebuild with perl-5.12.0 * Sun Feb 14 2010 Xavier Bachelot <xavier@bachelot.org> 2010.002-3 - Fix Source0:. * Mon Feb 08 2010 Xavier Bachelot <xavier@bachelot.org> 2010.002-2 - Remove unwanted Requires: perl(Test::More). * Tue Feb 02 2010 Xavier Bachelot <xavier@bachelot.org> 2010.002-1 - Specfile autogenerated by cpanspec 1.78. - Add missing BR:s.