SPECS: perl-DateTime-Event-ICal.spec (NEW) - new
glen
glen at pld-linux.org
Tue Aug 22 18:02:34 CEST 2006
Author: glen Date: Tue Aug 22 16:02:34 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- new
---- Files affected:
SPECS:
perl-DateTime-Event-ICal.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-DateTime-Event-ICal.spec
diff -u /dev/null SPECS/perl-DateTime-Event-ICal.spec:1.1
--- /dev/null Tue Aug 22 18:02:34 2006
+++ SPECS/perl-DateTime-Event-ICal.spec Tue Aug 22 18:02:29 2006
@@ -0,0 +1,65 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir DateTime
+%define pnam Event-ICal
+Summary: DateTime::Event::ICal - Perl DateTime extension for computing rfc2445 recurrences
+Name: perl-DateTime-Event-ICal
+Version: 0.09
+Release: 1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-authors/id/F/FG/FGLOCK/DateTime-Event-ICal-%{version}.tar.gz
+# Source0-md5: a68e58f5aac48a739249118d078e9947
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(DateTime)
+BuildRequires: perl(DateTime::Event::Recurrence) >= 0.11
+%endif
+Requires: perl-DateTime >= 1:0.34-1.1
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This module provides convenience methods that let you easily create
+DateTime::Set objects for rfc2445 style recurrences.
+
+%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 TODO
+%{perl_vendorlib}/DateTime/Event/*.pm
+%{_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 2006/08/22 16:02:29 glen
+- new
+
================================================================
More information about the pld-cvs-commit
mailing list