From 1e25b7dbb00a79a012febe58ac491bd4f50ca7dd Mon Sep 17 00:00:00 2001 From: CentOS Buildsys Date: Apr 04 2013 12:36:50 +0000 Subject: import perl-Time-Local-1.2300-1.el7.src.rpm --- diff --git a/.perl-Time-Local.metadata b/.perl-Time-Local.metadata new file mode 100644 index 0000000..11e4f81 --- /dev/null +++ b/.perl-Time-Local.metadata @@ -0,0 +1 @@ +1632bff3578cfdc8a23d3abed5ad205ef279fa23 SOURCES/Time-Local-1.2300.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 0e7897f..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 - -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/perl-Time-Local.spec b/SPECS/perl-Time-Local.spec new file mode 100644 index 0000000..b93fd4c --- /dev/null +++ b/SPECS/perl-Time-Local.spec @@ -0,0 +1,54 @@ +Name: perl-Time-Local +Version: 1.2300 +Release: 1%{?dist} +Summary: Efficiently compute time from local and GMT time +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Time-Local/ +Source0: http://www.cpan.org/authors/id/D/DR/DROLSKY/Time-Local-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 +BuildRequires: perl(strict) +BuildRequires: perl(warnings) +# Run-time: +BuildRequires: perl(Carp) +BuildRequires: perl(Config) +BuildRequires: perl(constant) +BuildRequires: perl(Exporter) +BuildRequires: perl(vars) +# Tests: +BuildRequires: perl(Test::More) >= 0.88 +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +This module provides functions that 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 Time-Local-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes LICENSE README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Fri Mar 15 2013 Petr Pisar 1.2300-1 +- Specfile autogenerated by cpanspec 1.78.