SPECS: perl-DateTime-Event-Cron.spec (NEW) - initial, builds here, ...

agaran agaran at pld-linux.org
Thu Jan 3 13:17:53 CET 2008


Author: agaran                       Date: Thu Jan  3 12:17:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial, builds here, tests passing here, rel 1, stbr(ac)

---- Files affected:
SPECS:
   perl-DateTime-Event-Cron.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/perl-DateTime-Event-Cron.spec
diff -u /dev/null SPECS/perl-DateTime-Event-Cron.spec:1.1
--- /dev/null	Thu Jan  3 13:17:53 2008
+++ SPECS/perl-DateTime-Event-Cron.spec	Thu Jan  3 13:17:48 2008
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without	tests		# do not perform "make test"
+#
+%include	/usr/lib/rpm/macros.perl
+%define	pdir	DateTime
+%define	pnam	Event-Cron
+Summary:	DateTime::Event::Cron - DateTime extension for generating recurrence sets from crontab lines and files.
+#Summary(pl):	
+Name:		perl-DateTime-Event-Cron
+Version:	0.07
+Release:	1
+# same as perl
+License:	GPL v1+ or Artistic
+Group:		Development/Languages/Perl
+Source0:	http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5:	ee2867ca4ef50ecf595904af3d322ee8
+BuildRequires:	perl-devel >= 1:5.8.0
+BuildRequires:	rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires:	perl(Set::Crontab)
+%endif
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+DateTime::Event::Cron generated DateTime events or DateTime::Set objects
+based on crontab-style entries.
+
+# %description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+	INSTALLDIRS=vendor
+%{__make}
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/DateTime/Event/*.pm
+#%%{perl_vendorlib}/DateTime/Event/Cron
+%{_mandir}/man3/*
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-01-03 12:17:48  agaran
+- initial, builds here, tests passing here, rel 1, stbr(ac)
+
================================================================


More information about the pld-cvs-commit mailing list