[perl-Time-Clock] Initial import (839706).

Bill Pemberton wfp at fedoraproject.org
Mon Jul 16 16:26:24 UTC 2012


commit 6bac126f85900196ae66b0bc48eb67defe714c34
Author: Bill Pemberton <wfp5p at virginia.edu>
Date:   Mon Jul 16 12:26:02 2012 -0400

    Initial import (839706).

 .gitignore           |    1 +
 perl-Time-Clock.spec |   62 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources              |    1 +
 3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..768e847 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Time-Clock-1.02.tar.gz
diff --git a/perl-Time-Clock.spec b/perl-Time-Clock.spec
new file mode 100644
index 0000000..8be05d9
--- /dev/null
+++ b/perl-Time-Clock.spec
@@ -0,0 +1,62 @@
+Name:		perl-Time-Clock
+Version:	1.02
+Release:	4%{?dist}
+Summary:	Twenty-four hour clock object with nanosecond precision
+License:	GPL+ or Artistic
+Group:		Development/Libraries
+URL:		http://search.cpan.org/dist/Time-Clock/
+Source0:	http://www.cpan.org/authors/id/J/JS/JSIRACUSA/Time-Clock-%{version}.tar.gz
+BuildArch:	noarch
+BuildRequires:	perl(Carp)
+BuildRequires:	perl(constant)
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(Test::More)
+BuildRequires:	perl(Test::Pod)
+BuildRequires:	perl(Time::HiRes)
+Requires:	perl(Time::HiRes)
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+A Time::Clock object is a twenty-four hour clock with nanosecond precision
+and wrap-around. It is a clock only; it has absolutely no concept of dates.
+Vagaries of date/time such as leap seconds and daylight savings time are
+unsupported.
+
+%prep
+%setup -q -n Time-Clock-%{version}
+
+%build
+find . -type f -executable -exec chmod -x {} \;
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes
+%{perl_vendorlib}/Time/
+%{_mandir}/man3/Time::Clock.3pm*
+
+%changelog
+* Mon Jul 16 2012 Bill Pemberton <wfp5p at virginia.edu> - 1.02-4
+- remove buildroot and clean
+- remove defattr from files section
+- add Carp, constant, Test::Pod, and Time::HiRes to BuildRequires
+- add Time::HiRes to Requires
+
+* Tue Jun 26 2012 Bill Pemberton <wfp5p at virginia.edu> - 1.02-3
+- Remove execute bit from pm files
+- Explicity reference man page in files section
+
+* Tue Jun 26 2012 Bill Pemberton <wfp5p at virginia.edu> - 1.02-2
+- Initial version
+
diff --git a/sources b/sources
index e69de29..7ac4857 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6a5c938edd37f5e4da35454cec6eae3b  Time-Clock-1.02.tar.gz


More information about the scm-commits mailing list