commit e283611cd175de74a8bd50aa42e54712be451474 Author: David Dick <ddick@xxxxxxxx> Date: Thu Jan 29 06:00:17 2015 +1100 Initial import (#1183924). .gitignore | 1 + perl-Time-TAI64.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 52 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..307e492 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Time-TAI64-2.11.tar.gz diff --git a/perl-Time-TAI64.spec b/perl-Time-TAI64.spec new file mode 100644 index 0000000..a19211d --- /dev/null +++ b/perl-Time-TAI64.spec @@ -0,0 +1,50 @@ +Name: perl-Time-TAI64 +Version: 2.11 +Release: 1%{?dist} +Summary: Perl extension for converting TAI64 strings into standard unix timestamps +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Time-TAI64/ +Source0: http://www.cpan.org/modules/by-module/Time/Time-TAI64-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(Exporter) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(POSIX) +BuildRequires: perl(strict) +BuildRequires: perl(Test::More) +BuildRequires: perl(Time::HiRes) +BuildRequires: perl(vars) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This package provides routines to convert TAI64 strings, like timestamps +produced by multilog, into values that can be processed by other perl +functions to display the timestamp in a human-readable form and/or use +in mathematical computations. + +%prep +%setup -q -n Time-TAI64-%{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 README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Tue Jan 20 2015 David Dick <ddick@xxxxxxxx> - 2.11-1 +- Initial release diff --git a/sources b/sources index e69de29..128e7a0 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +6f91734171a72b418bd70456fda487ce Time-TAI64-2.11.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel