%global pkg_name Time-Local %global pkg_version 1.18 %global rpm_pkg_version 1.18 %global rpm_pkg_release 1.n0i.6 Summary: Implements timelocal() and timegm() 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/D/DR/DROLSKY/%{pkg_name}-%{pkg_version}.tar.gz BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: rpm-build-reb00t-perl %description These routines are the inverse of built-in perl functions localtime() and gmtime(). They accept a date as a six-element array, and return the corresponding time(2) value in seconds since the system epoch (Midnight, January 1, 1970 GMT on Unix, for example). This value can be positive or negative, though POSIX only requires support for positive values, so dates before the system's epoch may not work on all operating systems. %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 Changes LICENSE README %changelog * Thu Nov 01 2007 Marius Feraru - 0:1.18-1.n0i.6 - version 1.18 * Tue May 22 2007 Marius Feraru - 0:1.17-1.n0i.5 - spec file (re)created using N0i::CPAN::RPMizer v1.14.7 - version 1.17 * Fri Apr 30 2004 Marius Feraru 0:1.10-2.n0i.4 - automatic rebuild * Thu Apr 22 2004 Marius FERARU 0:1.10-1.n0i.3 - version 1.10 * Wed Apr 21 2004 Marius Feraru 0:1.09-2.n0i.2 - automatic rebuild * Thu Apr 08 2004 Marius Feraru 0:1.09-1.n0i.1 - version 1.09 - spec file (re?)created using N0i::CPAN::RPMizer/2004032101