From c105ba99b3f2ff9c0eae7dd609da9d388d32a97f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= msuchy@fedoraproject.org Date: Thu, 11 Sep 2008 09:35:39 +0000 Subject: Inital upload of perl-Schedule-Cron-Events to devel.
--- .cvsignore | 1 + import.log | 1 + perl-Schedule-Cron-Events.spec | 60 ++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 63 insertions(+) create mode 100644 import.log create mode 100644 perl-Schedule-Cron-Events.spec
diff --git a/.cvsignore b/.cvsignore index e69de29..3b87eb2 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Schedule-Cron-Events-1.8.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..f12981e --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +perl-Schedule-Cron-Events-1_8-14_f10:HEAD:perl-Schedule-Cron-Events-1.8-14.f10.src.rpm:1221125471 diff --git a/perl-Schedule-Cron-Events.spec b/perl-Schedule-Cron-Events.spec new file mode 100644 index 0000000..038b049 --- /dev/null +++ b/perl-Schedule-Cron-Events.spec @@ -0,0 +1,60 @@ +Name: perl-Schedule-Cron-Events +Version: 1.8 +Release: 14%{?dist} +Summary: Take a line from a crontab and find out when events will occur +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Schedule-Cron-Events/ +Source0: http://www.cpan.org/modules/by-module/Schedule/Schedule-Cron-Events-%%7Bvers... +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl(Set::Crontab) +BuildArch: noarch +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Given a line from a crontab, tells you the time at which cron will next run +the line, or when the last event occurred, relative to any date you choose. +The object keeps that reference date internally, and updates it when you +call nextEvent() or previousEvent() - such that successive calls will give +you a sequence of events going forward, or backwards, in time. + +%prep +%setup -q -n Schedule-Cron-Events-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +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 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc README +%{_bindir}/cron_event_predict.plx +%{perl_vendorlib}/* +%{_mandir}/man1/* +%{_mandir}/man3/* + +%changelog +* Wed Sep 10 2008 Miroslav Suchý msuchy@redhat.com 1.8-14 +- fix mixed tab and space + +* Thu Sep 4 2008 Miroslav Suchý msuchy@redhat.com 1.8-12 +- add build requires + +* Fri Aug 29 2008 Miroslav Suchý msuchy@redhat.com 1.8-2 +- Specfile autogenerated by cpanspec 1.77. diff --git a/sources b/sources index e69de29..0ba598a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c9cc7e3ce3e00935cdba315404be91bf Schedule-Cron-Events-1.8.tar.gz
perl-devel@lists.fedoraproject.org