%global pkg_name File-Temp %global pkg_version 0.19 %global rpm_pkg_version 0.19 %global rpm_pkg_release 1.n0i.2 Summary: Create temporary files safely Name: perl-%{pkg_name} Version: %{rpm_pkg_version} Release: %{rpm_pkg_release}%{?cpan_version}%{?dist} Epoch: 0 Group: Development/Libraries License: GPL+ or Artistic URL: http://search.cpan.org/dist/%{pkg_name}/ Source0: http://www.cpan.org/authors/id/T/TJ/TJENNESS/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl BuildRequires: perl(File::Spec) >= 0.8 BuildRequires: perl(Fcntl) >= 1.03 BuildRequires: perl(File::Path) %global perl_filter_req 'perl\\(VMS' %description File::Temp can be used to create and open temporary files in a safe way. There is both a function interface and an object-oriented interface. The File::Temp constructor or the tempfile() function can be used to return the name and the open filehandle of a temporary file. The tempdir() function can be used to create a temporary directory. %prep %setup -q -n %{pkg_name}-%{pkg_version} %build %{perl_build} %install %{__rm} -rf $RPM_BUILD_ROOT %{perl_install} %clean %{__rm} -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{perl_files} %doc ChangeLog README %changelog * Wed Nov 21 2007 Marius Feraru - 0:0.19-1.n0i.2 - version 0.19 - spec update (new reb00t build tools) * Thu May 31 2007 Marius Feraru - 0:0.18-1.n0i.1 - spec file (re)created using N0i::CPAN::RPMizer/1.14.8 - version 0.18