[perl-Time-Out] Initial import (#1068842).

David Dick ddick at fedoraproject.org
Wed Feb 26 09:34:54 UTC 2014


commit d89d274f5b20764f001fab0df02c6615ab4cb742
Author: David Dick <ddick at cpan.org>
Date:   Wed Feb 26 20:35:32 2014 +1100

    Initial import (#1068842).

 .gitignore         |    1 +
 perl-Time-Out.spec |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources            |    1 +
 3 files changed, 53 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..9311374 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Time-Out-0.11.tar.gz
diff --git a/perl-Time-Out.spec b/perl-Time-Out.spec
new file mode 100644
index 0000000..8772cce
--- /dev/null
+++ b/perl-Time-Out.spec
@@ -0,0 +1,51 @@
+Name:           perl-Time-Out
+Version:        0.11
+Release:        1%{?dist}
+Summary:        Easily timeout long running operations
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Time-Out/
+Source0:        http://www.cpan.org/modules/by-module/Time/Time-Out-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(Config)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+BuildRequires:  perl(IO::Handle)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(Test)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Pod) >= 1.00
+BuildRequires:  perl(warnings)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Time::Out provides an easy interface to alarm(2) based timeouts. Nested
+timeouts are supported.
+
+%prep
+%setup -q -n Time-Out-%{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
+* Sat Feb 22 2014 David Dick <ddick at cpan.org> - 0.11-1
+- Initial release
diff --git a/sources b/sources
index e69de29..7f08372 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+02501f7c839c49d3693ed1217e0682e4  Time-Out-0.11.tar.gz


More information about the scm-commits mailing list