[perl-Time-Interval] Initial import (#903829).
Normunds Neimanis
normunds at fedoraproject.org
Thu Feb 14 20:13:18 UTC 2013
commit 1f32f7ad59199e3445cad21df7a366ae445b088d
Author: Normunds Neimanis <fedorapkg,lv>
Date: Thu Feb 14 22:13:06 2013 +0200
Initial import (#903829).
.gitignore | 1 +
perl-Time-Interval.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..834345e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Time-Interval-1.232.tar.gz
diff --git a/perl-Time-Interval.spec b/perl-Time-Interval.spec
new file mode 100644
index 0000000..ee21cc2
--- /dev/null
+++ b/perl-Time-Interval.spec
@@ -0,0 +1,57 @@
+Name: perl-Time-Interval
+Version: 1.232
+Release: 1%{?dist}
+Summary: Perl module that converts time intervals of days, hours, minutes, and seconds
+
+Group: Development/Libraries
+License: GPL+ or Artistic
+URL: http://search.cpan.org/dist/Time-Interval
+Source0: http://search.cpan.org/CPAN/authors/id/A/AH/AHICOX/Time-Interval-%{version}.tar.gz
+
+
+BuildArch: noarch
+BuildRequires: perl(ExtUtils::MakeMaker)
+BuildRequires: perl(Date::Parse)
+BuildRequires: perl(Test)
+BuildRequires: perl(Exporter)
+BuildRequires: perl(vars)
+
+
+Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+Requires: perl(Date::Parse)
+
+
+%description
+This is a rather simple perl module for dealing with time intervals. Among
+other things, this module can tell you the number of hours, minutes, and
+seconds elapsed between two dates.
+
+
+%prep
+%setup -q -n Time-Interval-%{version}
+
+
+%build
+perl Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+
+%install
+make pure_install DESTDIR=%{buildroot}
+find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
+%{_fixperms} %{buildroot}/*
+
+
+%check
+make test
+
+
+%files
+%doc Changes README LICENSE
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+
+%changelog
+* Thu Jan 31 2013 Normunds Neimanis <fedorapkg at rule.lv> 1.232-1
+- Initial package for Fedora
diff --git a/sources b/sources
index e69de29..581b836 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+10193d128b85f2952c02e534f8e75ba0 Time-Interval-1.232.tar.gz
More information about the perl-devel
mailing list