Name: perl-File-Slurp-Unicode Version: 0.7.1 Release: 1%{?dist} Summary: Reading/Writing of Complete Files with Character Encoding Support License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/File-Slurp-Unicode/ Source0: http://www.cpan.org/authors/id/D/DA/DAVID/File-Slurp-Unicode-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: perl >= 0:5.10.0 BuildRequires: perl(File::Slurp) BuildRequires: perl(Module::Build) Requires: perl(File::Slurp) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description This module wraps File::Slurp and adds character encoding support through the encoding parameter. It exports the same functions which take all the same parameters as File::Slurp. Please see the File::Slurp documentation for basic usage; only the differences are described from here on out. %prep %setup -q -n File-Slurp-Unicode-%{version} %build %{__perl} Build.PL installdirs=vendor ./Build %install rm -rf $RPM_BUILD_ROOT ./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 %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc Changes README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Wed Aug 22 2012 Mary Ellen Foster 0.7.1-1 - Specfile autogenerated by cpanspec 1.78.