%define pkg_name File-Slurp %define pkg_version 9999.12 %define rpm_pkg_version 9999.12 %define rpm_pkg_release 2.n0i.12 Summary: Read/write/append files quickly Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Group: Development/Libraries License: Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/U/UR/URI/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: reb00t-rpmdevtools BuildRequires: perl(ExtUtils::MakeMaker) %{!?_without_test:BuildRequires: perl(Test::More)} %description This module provides subs that allow you to read or write entire files with one simple call. They are designed to be simple to use, have flexible ways to pass in or get the file contents and to be very efficient. There is also a sub to read in all the files in a directory other than "." and ".." %prep %setup -q -n %{pkg_name}-%{pkg_version} %{fix_mod} %{fix_perl_path extras/} %build %{perl_build} %{!?_without_test:%{__make} test} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc Changes extras/ README %changelog * Thu May 31 2007 Marius Feraru - 9999.12-2.n0i.12 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 * Mon Mar 27 2006 Marius Feraru - 9999.12-1.n0i.11 - version 9999.12 * Thu Feb 02 2006 Marius Feraru 9999.11-1.n0i.10 - version 9999.11 * Thu Jul 21 2005 Marius Feraru 9999.09-1.n0i.9 - spec file (re)created using N0i::CPAN::RPMizer/1.01 - rebuild on perl 5.8.7 * Sun Mar 20 2005 Marius Feraru 0:9999.07-1.n0i.8 - automatic rebuild (perl 5.8.6) * Mon Jan 31 2005 Marius Feraru 0:9999.07-1.n0i.7 - version 9999.07 * Tue Nov 30 2004 Marius FERARU 0:9999.06-1.n0i.6 - version 9999.06 * Fri Apr 30 2004 Marius Feraru 0:9999.04-1.n0i.5 - automatic rebuild * Wed Apr 21 2004 Marius Feraru 0:9999.04-1.n0i.4 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101 - rebuild for perl 5.8.4 * Wed Feb 25 2004 Marius FERARU 0:9999.04-1.n0i.3 - version 9999.04 * Fri Jan 23 2004 Marius FERARU 0:9999.03-0.n0i.2 - automatic rebuild (perl v.5.8.3) * Mon Jan 05 2004 Marius FERARU 0:9999.03-0.n0i.1 - version 9999.03 - spec file (re?)created using N0i::CPAN::RPMizer/2003102001