jplesnik pushed to perl-Algorithm-Cron (master). "Initial import"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Mar 25 14:47:34 UTC 2015


>From 33f56b88cd043dba2b3e4daa6aae81981dbd0529 Mon Sep 17 00:00:00 2001
From: Jitka Plesnikova <jplesnik at redhat.com>
Date: Wed, 25 Mar 2015 15:47:09 +0100
Subject: Initial import


diff --git a/.gitignore b/.gitignore
index e69de29..56738bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Algorithm-Cron-0.09.tar.gz
diff --git a/perl-Algorithm-Cron.spec b/perl-Algorithm-Cron.spec
new file mode 100644
index 0000000..1439419
--- /dev/null
+++ b/perl-Algorithm-Cron.spec
@@ -0,0 +1,53 @@
+Name:           perl-Algorithm-Cron
+Version:        0.09
+Release:        1%{?dist}
+Summary:        Abstract implementation of the cron(8) scheduling algorithm
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/Algorithm-Cron/
+Source0:        http://www.cpan.org/authors/id/P/PE/PEVANS/Algorithm-Cron-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(strict)
+BuildRequires:  perl(warnings)
+# Run-time
+BuildRequires:  perl(Carp)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(POSIX)
+BuildRequires:  perl(Time::timegm)
+# Tests
+BuildRequires:  perl(Test::Fatal)
+BuildRequires:  perl(Test::More) >= 0.88
+Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
+
+%description
+Objects in this class implement a time scheduling algorithm such as used by
+cron(8). Objects are stateless once constructed, and represent a single
+schedule as defined by a crontab(5) entry. The object implements a method
+next_time which returns an epoch timestamp value to indicate the next time
+included in the crontab schedule.
+
+%prep
+%setup -q -n Algorithm-Cron-%{version}
+
+%build
+perl Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%license LICENSE
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Wed Mar 25 2015 Jitka Plesnikova <jplesnik at redhat.com> - 0.09-1
+- Initial release
diff --git a/sources b/sources
index e69de29..53ea639 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+12f4b1a88b6affae48b3cf1934e1e21e  Algorithm-Cron-0.09.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-Algorithm-Cron.git/commit/?h=master&id=33f56b88cd043dba2b3e4daa6aae81981dbd0529

--
You received this message due to your preference settings at
https://apps.fedoraproject.org/notifications//fmnscmcommits.id.fedoraproject.org/email/29390


More information about the scm-commits mailing list